wpa_supplicant fails with ndiswrapper andmadwifi driver for Atheros 802.11a/b/g card

Michael Reilly michaelr
Thu Nov 11 23:38:48 PST 2004


I was asked to post the output of 'iwlist wlan0 scan' on my Atheros card to 
help diagnose the problem of the card not working with ndiswrapper but 
working fine with driverloader.

With ndiswrapper 0.11 -

bash-2.05b# modprobe ndiswrapper
bash-2.05b# ifconfig wlan0 up
bash-2.05b# iwlist wlan0 scan
wlan0     No scan results
bash-2.05b# iwlist wlan0 scan
wlan0     No scan results
bash-2.05b# iwlist wlan0 scan
wlan0     No scan results

One time entering the iwlist command resulted in output.  However I could 
not get any results other than "No scan results" no matter how many times I 
tried after I got this once -

bash-2.05b# iwlist wlan0 scan
wlan0     Scan completed :
           Cell 01 - Address: 00:0F:3D:FA:9E:2A
                     ESSID:"xxxxxxxx"
                     Protocol:IEEE 802.11g
                     Mode:Managed
                     Frequency:2.462GHz
                     Quality:0/100  Signal level:-43 dBm  Noise level:-256 dBm
                     Encryption key:on
                     Bit Rate:1Mb/s
                     Bit Rate:2Mb/s
                     Bit Rate:5.5Mb/s
                     Bit Rate:11Mb/s
                     Bit Rate:6Mb/s
                     Bit Rate:12Mb/s
                     Bit Rate:24Mb/s
                     Bit Rate:36Mb/s
                     Bit Rate:9Mb/s
                     Bit Rate:18Mb/s
                     Bit Rate:48Mb/s
                     Bit Rate:54Mb/s
                     Extra:bcn_int=100
                     Extra:atim=0
 
Extra:wpa_ie=dd160050f20101000050f20201000050f20201000050f202
           Cell 02 - Address: 00:40:96:A0:BE:EB
                     ESSID:"yyyyyyyy"
                     Protocol:IEEE 802.11b
                     Mode:Managed
                     Frequency:2.442GHz
                     Quality:0/100  Signal level:-48 dBm  Noise level:-256 dBm
                     Encryption key:on
                     Bit Rate:11Mb/s
                     Extra:bcn_int=100
                     Extra:atim=0
 
Extra:wpa_ie=dd180050f20101000050f20201000050f20201000050f2022800
           Cell 03 - Address: 00:0F:3D:FA:9E:2A
                     ESSID:"zzzzzzzz"
                     Protocol:IEEE 802.11a
                     Mode:Managed
                     Frequency:5.26GHz
                     Quality:0/100  Signal level:-25 dBm  Noise level:-256 dBm
                     Encryption key:on
                     Bit Rate:6Mb/s
                     Bit Rate:9Mb/s
                     Bit Rate:12Mb/s
                     Bit Rate:18Mb/s
                     Bit Rate:24Mb/s
                     Bit Rate:36Mb/s
                     Bit Rate:48Mb/s
                     Bit Rate:54Mb/s
                     Extra:bcn_int=100
                     Extra:atim=0
 
Extra:wpa_ie=dd160050f20101000050f20201000050f20201000050f202

I note that the Quality is shown as 0/100.  Perhaps this is not supported by 
ndiswrapper?


For reference with driverloader 2.09 -

bash-2.05b# modprobe driverloader
bash-2.05b# ifconfig eth1 up
bash-2.05b# iwlist eth1 scan
eth1      Scan completed :
           Cell 01 - Address: 00:0F:3D:FA:9E:2A
                     ESSID:"xxxxxxxx"
                     Mode:Managed
                     Frequency:2.462GHz
                     Quality:100/100  Signal level:-52 dBm  Noise level:-154 dBm
                     Encryption key:on
                     Bit Rate:1Mb/s
                     Bit Rate:2Mb/s
                     Bit Rate:5.5Mb/s
                     Bit Rate:11Mb/s
                     Bit Rate:6Mb/s
                     Bit Rate:12Mb/s
                     Bit Rate:24Mb/s
                     Bit Rate:36Mb/s
                     Bit Rate:9Mb/s
                     Bit Rate:18Mb/s
                     Bit Rate:48Mb/s
                     Bit Rate:54Mb/s
                     Extra:bcn_int=100
 
Extra:wpa_ie=dd160050f20101000050f20201000050f20201000050f202
           Cell 02 - Address: 00:40:96:A0:BE:EB
                     ESSID:"yyyyyyyy"
                     Mode:Managed
                     Frequency:2.442GHz
                     Quality:100/100  Signal level:-44 dBm  Noise level:-154 dBm
                     Encryption key:on
                     Bit Rate:11Mb/s
                     Extra:bcn_int=100
 
Extra:wpa_ie=dd180050f20101000050f20201000050f20201000050f2022800
           Cell 03 - Address: 00:0F:3D:FA:9E:2A
                     ESSID:"zzzzzzzz"
                     Mode:Managed
                     Frequency:5.26GHz
                     Quality:100/100  Signal level:-27 dBm  Noise level:-154 dBm
                     Encryption key:on
                     Bit Rate:6Mb/s
                     Bit Rate:9Mb/s
                     Bit Rate:12Mb/s
                     Bit Rate:18Mb/s
                     Bit Rate:24Mb/s
                     Bit Rate:36Mb/s
                     Bit Rate:48Mb/s
                     Bit Rate:54Mb/s
                     Extra:bcn_int=100
 
Extra:wpa_ie=dd160050f20101000050f20201000050f20201000050f202


Thanks,

michael
-- 
---- ---- ----
Michael Reilly    michaelr at cisco.com
     Cisco Systems,  California




More information about the Hostap mailing list