I tried the madwifi driver; sometimes it works, but only for 15 minutes or so and then the driver goes into some loop reauthenticating forever (I'm guessing a driver bug).
So anyway I decided to try ndiswrapper. I used the beta package which had a driver inside it that looks like it works (neta3ab). But I am not sure what I need to put into the wireless.conf to get the card talking.
Here is what I get when I do an "iwlist wlan0 scanning":
Code: Select all
Cell 01 - Address: blah:blah:etc
ESSID:"MySSID"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437 GHz (Channel 6)
Quality:0/100 Signal level:-46dBm Noise level:-256dBm
Encrytion key:on
Bit rates:...54 Mb/s
Extra:bcn-int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise ciphers (1) : TKIP
Authentication Suites (1) : PSK
Here is my wpa_supplicant.conf that made it sorta work in madwifi (just for reference):
Code: Select all
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
eapol_version=2
ap_scan=1
fast_reauth=1
network={
ssid="MySSID"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
psk=mydecodedpsk...
}
Code: Select all
ESSID="MyESSID"
MODE="Managed"
KEY="s:mypsk"
When I do "dhcpcd -t 20 -d wlan0" it spits back the correct MAC address, but I never see any evidence of an IP, and the blinking lights on the card never indicate any change from the "looking for network association" condition.
Oh, by the way, the file rc.wireless had an invocation of /sbin/insmod, which didn't seem to work (couldn't find ndiswrapper), so I replaced it with "/sbin/modprobe ndiswrapper". Hope that is kosher...
If anyone can give a hint what else I need in that wireless.conf, or any other ideas, I'd appreciate it. I've been spending many hours trying to get this working.