Hi, there --
Technically a kubuntu question, about the Hardy RC, but I suspect that it's more generally relevant so I'm posting it to this (more general) forum.
Working on getting my Dell 1500 miniPCI wireless card running; it's based on the Broadcom4328 chipset (grr). Of course, to make things interesting, my home network uses WPA2 as its encryption scheme.
I've install wpa_supplicant, network-manager and network-manager-kde, ndiswrapper, and the windows drivers for the card. The card is seen just fine:
Scanning, I can see my network, and it correctly advertises itself and its capabilities:Code:ian@marlier-linux:/usr/share/doc/wpasupplicant$ iwconfig lo no wireless extensions. eth0 no wireless extensions. wlan0 IEEE 802.11g ESSID:off/any Mode:Managed Frequency:2.457 GHz Access Point: Not-Associated Bit Rate:130 Mb/s Tx-Power:32 dBm RTS thr:2347 B Fragment thr:2346 B Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0
So far, so good.Code:ian@marlier-linux:/usr/share/doc/wpasupplicant$ iwlist scan Cell 07 - Address: 00:19:E3:33:00:D8 ESSID:"medium" Protocol:IEEE 802.11g Mode:Managed Frequency:2.457 GHz (Channel 10) Quality:100/100 Signal level:-30 dBm Noise level:-96 dBm Encryption key:on Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s 11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s 48 Mb/s; 54 Mb/s Extra:bcn_int=100 Extra:atim=0 IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : CCMP TKIP Authentication Suites (1) : PSK IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (1) : TKIP Authentication Suites (1) : PSK
However, trying to connect to the network using the NetworkManager applet fails; the progress bar gets to 28%, I'm asked for the network password, but the connection isn't ever established.
To debug, I created a wpa_supplicant.conf file manually, and tried using it. This is the conf file that I first created:
However, invoking wpa supplicant with debug turned on (wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -Dwext -w -d) showed that it would connect to the network but never really make the connection. Eventually an authentication timeout would occur.Code:ian@marlier-linux:/usr/share/doc/wpasupplicant$ cat /etc/wpa_supplicant.conf.orig ap_scan=1 network={ ssid="medium" scan_ssid=0 proto=WPA key_mgmt=WPA-PSK psk= <snip> }
Having seen a note somewhere on the wiki, I tried changing the ap_scan parameter to 0, giving me a wpa_supplicant config that looked like this:
And, AHA! It worked! wpa_supplicant was able to authenticate just fine.Code:ian@marlier-linux:/usr/share/doc/wpasupplicant$ cat /etc/wpa_supplicant.conf ap_scan=0 network={ ssid="medium" scan_ssid=0 proto=WPA key_mgmt=WPA-PSK psk= <snip> }
But, that still leaves me with this question: How do I get NetworkManager to set the ap_scan=0 parameter to wpa_supplicant when it invokes that helper? There's got to be a way...doesn't there?
(And, yes, I could just manage things another way...but I'd kinda rather fix this way, or figure out why it's not working, at least...)
Thanks!
- Ian



Adv Reply


Bookmarks