ndiswrapper + wpa_supplicant + SMC 2802W

tacorner at chello.at tacorner
Thu Apr 28 01:03:36 PDT 2005


I recently purchased a PCI Wifi Card, EZ Connect g SMC 2802W.  I am using a
recent (last week) version of ndiswrapper from cvs and wpa_supplicant-0.4.0.  I
can create an Ad-Hoc connection with a laptop using a cardbus card under
ndiswrapper.  This Ad-Hoc connection has no encryption however.  When I try to
connect to my netgear WG602 AP it associates, but never completes the WPA
authentication.

/etc/wpa_supplicant.conf:

ap_scan=1
network={
  ssid=<my-essid>
  priority=5
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=TKIP
  group=TKIP
  psk=<my-pass-phrase>
}

Then running:
iwconfig wlan0 mode Managed
iwconfig wlan0 essid <my-essid>
wpa_supplicant -Dndiswrapper -iwlan0 -c/etc/wpa_supplicant.conf -dd

I get:  (this goes on forever, but it is mostly repition)

Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ap_scan=1
Line: 3 - start of a new network block
ssid - hexdump_ascii(len=8):
     63 6f 72 6e 65 72 34 35                           corner45
priority=5 (0x5)
proto: 0x1
key_mgmt: 0x2
pairwise: 0x8
group: 0x8
PSK (ASCII passphrase) - hexdump_ascii(len=26): [REMOVED]
PSK (from passphrase) - hexdump(len=32): [REMOVED]
Priority group 5
   id=0 ssid='corner45'
Initializing interface (2) 'wlan0'
ioctl[SIOCSIWPMKSA]: No such device
Own MAC address: 00:04:e2:da:59:82
Setting scan request: 0 sec 100000 usec
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 312 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 5
0: 00:0f:b5:39:c6:83 ssid='corner45' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
   selected
Trying to associate with 00:0f:b5:39:c6:83 (SSID='corner45' freq=2412 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
State: SCANNING -> ASSOCIATING
Setting authentication timeout: 5 sec 0 usec
Wireless event: cmd=0x8c02 len=187
Custom wireless event:
'ASSOCINFO(ReqIEs=0008636f726e65723435010402040b1632080c1218243048606cdd160050f2
0101000050f20201000050f20201000050f202
RespIEs=010882848b962430486c32040c121860dd06001018020200)'
Association info event
req_ies - hexdump(len=50): 00 08 63 6f 72 6e 65 72 34 35 01 04 02 04 0b 16 32
08 0c 12 18 24 30 48 60 6c dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2
02 01 00 00 50 f2 02
resp_ies - hexdump(len=24): 01 08 82 84 8b 96 24 30 48 6c 32 04 0c 12 18 60 dd
06 00 10 18 02 02 00
assoc_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
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0f:b5:39:c6:83
State: ASSOCIATING -> ASSOCIATED
Association event - clear replay counter
Associated to a new BSS: BSSID=00:0f:b5:39:c6:83
No keys have been configured - skip key clearing
Associated with 00:0f:b5:39:c6:83
Setting authentication timeout: 10 sec 0 usec
Wireless event: cmd=0x8c02 len=187
Custom wireless event:
'ASSOCINFO(ReqIEs=0008636f726e65723435010402040b1632080c1218243048606cdd160050f2
0101000050f20201000050f20201000050f202
RespIEs=010882848b962430486c32040c121860dd06001018020300)'
Association info event
req_ies - hexdump(len=50): 00 08 63 6f 72 6e 65 72 34 35 01 04 02 04 0b 16 32
08 0c 12 18 24 30 48 60 6c dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2
02 01 00 00 50 f2 02
resp_ies - hexdump(len=24): 01 08 82 84 8b 96 24 30 48 6c 32 04 0c 12 18 60 dd
06 00 10 18 02 03 00
assoc_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
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0f:b5:39:c6:83
State: ASSOCIATED -> ASSOCIATED
Association event - clear replay counter
Associated with 00:0f:b5:39:c6:83
Setting authentication timeout: 10 sec 0 usec
Wireless event: cmd=0x8c02 len=187
Custom wireless event:
'ASSOCINFO(ReqIEs=0008636f726e65723435010402040b1632080c1218243048606cdd160050f2
0101000050f20201000050f20201000050f202
RespIEs=010882848b962430486c32040c121860dd06001018020200)'
Association info event
req_ies - hexdump(len=50): 00 08 63 6f 72 6e 65 72 34 35 01 04 02 04 0b 16 32
08 0c 12 18 24 30 48 60 6c dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2
02 01 00 00 50 f2 02
resp_ies - hexdump(len=24): 01 08 82 84 8b 96 24 30 48 6c 32 04 0c 12 18 60 dd
06 00 10 18 02 02 00
assoc_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
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0f:b5:39:c6:83
State: ASSOCIATED -> ASSOCIATED
Association event - clear replay counter
Associated with 00:0f:b5:39:c6:83
Setting authentication timeout: 10 sec 0 usec
Wireless event: cmd=0x8c02 len=187
Custom wireless event:
'ASSOCINFO(ReqIEs=0008636f726e65723435010402040b1632080c1218243048606cdd160050f2
0101000050f20201000050f20201000050f202
RespIEs=010882848b962430486c32040c121860dd06001018020300)'
Association info event
req_ies - hexdump(len=50): 00 08 63 6f 72 6e 65 72 34 35 01 04 02 04 0b 16 32
08 0c 12 18 24 30 48 60 6c dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2
02 01 00 00 50 f2 02
resp_ies - hexdump(len=24): 01 08 82 84 8b 96 24 30 48 6c 32 04 0c 12 18 60 dd
06 00 10 18 02 03 00
assoc_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
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0f:b5:39:c6:83
State: ASSOCIATED -> ASSOCIATED
Association event - clear replay counter
Associated with 00:0f:b5:39:c6:83
Setting authentication timeout: 10 sec 0 usec
Wireless event: cmd=0x8c02 len=187
Custom wireless event:
'ASSOCINFO(ReqIEs=0008636f726e65723435010402040b1632080c1218243048606cdd160050f2
0101000050f20201000050f20201000050f202
RespIEs=010882848b962430486c32040c121860dd06001018020200)'
Association info event
req_ies - hexdump(len=50): 00 08 63 6f 72 6e 65 72 34 35 01 04 02 04 0b 16 32
08 0c 12 18 24 30 48 60 6c dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2
02 01 00 00 50 f2 02
resp_ies - hexdump(len=24): 01 08 82 84 8b 96 24 30 48 6c 32 04 0c 12 18 60 dd
06 00 10 18 02 02 00
assoc_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
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0f:b5:39:c6:83
State: ASSOCIATED -> ASSOCIATED
Association event - clear replay counter
Associated with 00:0f:b5:39:c6:83
Setting authentication timeout: 10 sec 0 usec
CTRL-EVENT-TERMINATING - signal 2 received
State: ASSOCIATED -> DISCONNECTED
No keys have been configured - skip key clearing

....

ad infinitum

Tom Corner
---------------------------------------------------
|\/\/\___/\/\/| Carol Anne Corner &
\____ o o ____/ Thomas Corner tacorner at chello.at
     )   (     28-Apr-2005 09:16:32  Vienna,  Austria
    ( * * )   mailer: xfmail
     \___/ Web Page: www.corner.chello.at
---------------------------------------------------




More information about the Hostap mailing list