WPA-PSK failures with WUSB54Gv2 / ndiswrapper

Stephen Hill stephenphill at gmail.com
Wed Apr 6 16:44:57 EDT 2005


Help!

I can not get wpa-psk to work with my ndiswrapper-handled
Linksys WUSB54Gv2.  I have looked at the mailing list and
seen somewhat similar problems, but no answers that
help me ( ie, I already have broadcast of ssid ).   I really
don't know if this is an ndiswrapper issue, or wpa_supplicant,
or something stupid I overlooked.

My setup:

ndiswrapper-1.1 ( have also used 0.12, same results )
wpa_supplicant 0.3.8 ( have also used 0.2.7, same results )

Linux, Fedora Core 2, 'Linux version 2.6.10-1.771_FC2'
( I have not had problems with the 4K stacks so I have
not switched kernels )

WUSB54Gv2 USB adapter, connecting to a Netgear WGR614,
set up with ssid "BLOBNET", and broadcasting the ssid.
( version 5, firmware V1.0.7_1.0.6 )

Drivers off the CD that came with it.

The connection is great with no security or 128-bit WEP.
I also and pretty sure that WPA-PSK worked about 3
months ago, when I first played with this ( but I had
a different network adapter at the time, a PCI card ).

When the module loads I get these messages:

eth1: ndiswrapper ethernet device 00:12:17:93:6c:35 using driver
wusb54gv2, configuration file 13B1:000A.0.conf
eth1: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP
usbcore: registered new driver ndiswrapper

That looks good, but it worries me that it doesn't list WPA with
PSK.  Does that matter, or is that just implied?  The Netgear
box only supports WPA-PSK.

When I try WPA-PSK I have no luck.  I removed the key that
was used for WEP, and created /etc/wpa_supplicant with
the following contents:

> ctrl_interface=/var/run/wpa_supplicant # for wpa_cli support
>
> network={
>   ssid="BLOBNET"
>   proto=WPA
>   key_mgmt=WPA-PSK
>   psk="ashortpassphrase"
> }

I set up the Netgear router/AP for WPA-PSK, and used the
same phrase (just for this testing, I'll use a better one
for real use).

I bring up the interface and run wpa_supplicant:

> ifconfig eth1 up
> wpa_supplicant -Dndiswrapper -ieth1 -c/etc/wpa_supplicant -dd

I see it initializing the interface, reading the
config file, finding "BLOBNET" in it, it says it
found a 16 char ascii passphrase, and generated a
32 char phrase/key from it, etc.  Then it keeps
looping around trying to connect and timing out.

Any ideas?

Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 548 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:0f:b5:27:15:ce ssid='BLOBNET' wpa_ie_len=24 rsn_ie_len=0
 selected
Trying to associate with 00:0f:b5:27:15:ce (SSID='BLOBNET' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02
01 00 00 50 f2 0
2 01 00 00 50 f2 02
No keys have been configured - skip key clearing
Setting authentication timeout: 5 sec 0 usec
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:00:00:00:00:00 into blacklist
No keys have been configured - skip key clearing
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 548 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:0f:b5:27:15:ce ssid='BLOBNET' wpa_ie_len=24 rsn_ie_len=0
 selected
Trying to associate with 00:0f:b5:27:15:ce (SSID='BLOBNET' freq=2462 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Own WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02
01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
Setting authentication timeout: 5 sec 0 usec
Authentication with 00:00:00:00:00:00 timed out.
No keys have been configured - skip key clearing
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 548 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:0f:b5:27:15:ce ssid='BLOBNET' wpa_ie_len=24 rsn_ie_len=0
 selected
Trying to associate with 00:0f:b5:27:15:ce (SSID='BLOBNET' freq=2462 MHz)
Cancelling scan request

It just loops over and over and over....


Thanks for any help. 

Stephen Hill
stephenphill at gmail.com



More information about the HostAP mailing list