wpa_supplicant does not work with a 3Com access point

Kamil Iskra kamil.89050
Thu Jul 22 13:48:13 PDT 2004


Hi,

I'm having problems using WPA-PSK (TKIP) with the following access point:

3Com OfficeConnect Wireless 11b Cable/DSL Gateway 3CRWE53172

I'm using wpa_supplicant 0.2.4 and the CVS version of ndiswrapper (I have
an Intel PRO/Wireless 2100 3B adapter).  I've also tried the linuxant
driverloader with wpa_supplicant 0.2.3, but that didn't work either.

I've made sure that I'm using the latest firmware version (1.00) in the AP.
WPA works fine with this laptop if using Windows XP.  I can successfully
use this AP under Linux if I configure it for WEP.

I've kept the settings in wpa_supplicant.conf unchanged, with the exception
of the network block section, where I kept just one entry:

network={
        ssid="3Com"
        proto=WPA
        key_mgmt=WPA-PSK
        psk=<my key in hex>
        priority=5
}

wpa_supplicant writes:

Trying to associate with 00:0d:54:a8:79:53 (SSID='3Com' freq=2432 MHz)
Authentication with 00:0d:54:a8:79:53 timed out.
Trying to associate with 00:0d:54:a8:79:53 (SSID='3Com' freq=2432 MHz)
Authentication with 00:0d:54:a8:79:53 timed out.

and so it goes on...  I'm attaching the output generated with the "-dd"
option.  I have no idea how it's supposed to look, but to my inexperienced
eyes the lines "WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)"
look a bit suspicious.

The log files of the AP are rather scarce, all they contain is a number of
"connected" and "disconnected" entries.  There is usually a delay of 13
seconds between "connected" and "disconnected", the next "connected"
usually follows immediately.

Can anybody help?  Is there anything I can do?

Kamil
-------------- next part --------------
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=0
eapol_version=1
ap_scan=1
Line: 184 - start of a new network block
SSID - hexdump_ascii(len=4):
     33 43 6f 6d                                       3Com            
proto: 0x1
key_mgmt: 0x2
PSK - hexdump(len=32): <my key in hex>
priority=5
Priority group 5
   id=0 ssid='3Com'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 100000 usec
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=0
Scan timeout - try to get results
Received 412 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 5
0: 00:0d:54:a8:79:53 ssid='3Com' wpa_ie_len=24 rsn_ie_len=0
   selected
Trying to associate with 00:0d:54:a8:79:53 (SSID='3Com' freq=2462 MHz)
Cancelling scan request
WPA: using IEEE 802.11i/D3.0
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
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8c02 len=127
Custom wireless event: 'ASSOCINFO(ReqIEs=000433436f6d010482848b96dd180050f20101000050f20201000050f20201000050f2020000 RespIEs=010482840b16)'
Association info event
req_ies - hexdump(len=38): 00 04 33 43 6f 6d 01 04 82 84 8b 96 dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
assoc_wpa_ie - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0d:54:a8:79:53
Association event - clear replay counter
Associated to a new BSS: BSSID=00:0d:54:a8:79:53
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: txStart
WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
Setting authentication timeout: 10 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=29 idleWhile=59
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=28 idleWhile=58
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=27 idleWhile=57
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=26 idleWhile=56
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=25 idleWhile=55
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=24 idleWhile=54
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=23 idleWhile=53
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=22 idleWhile=52
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=21 idleWhile=51
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=20 idleWhile=50
Authentication with 00:0d:54:a8:79:53 timed out.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=19 idleWhile=49
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=18 idleWhile=48
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=17 idleWhile=47
Scan timeout - try to get results
Received 412 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 5
0: 00:0d:54:a8:79:53 ssid='3Com' wpa_ie_len=24 rsn_ie_len=0
   selected
Trying to associate with 00:0d:54:a8:79:53 (SSID='3Com' freq=2462 MHz)
Cancelling scan request
WPA: using IEEE 802.11i/D3.0
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
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8c02 len=127
Custom wireless event: 'ASSOCINFO(ReqIEs=000433436f6d010482848b96dd180050f20101000050f20201000050f20201000050f2020000 RespIEs=010482840b16)'
Association info event
req_ies - hexdump(len=38): 00 04 33 43 6f 6d 01 04 82 84 8b 96 dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
assoc_wpa_ie - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0d:54:a8:79:53
Association event - clear replay counter
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
Setting authentication timeout: 10 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=16 idleWhile=46
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=15 idleWhile=45
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=14 idleWhile=44
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=13 idleWhile=43
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=12 idleWhile=42
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=11 idleWhile=41
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=10 idleWhile=40
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=9 idleWhile=39
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=8 idleWhile=38
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=7 idleWhile=37
Authentication with 00:0d:54:a8:79:53 timed out.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=6 idleWhile=36
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=5 idleWhile=35
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=4 idleWhile=34
Scan timeout - try to get results
Received 412 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 5
0: 00:0d:54:a8:79:53 ssid='3Com' wpa_ie_len=24 rsn_ie_len=0
   selected
Trying to associate with 00:0d:54:a8:79:53 (SSID='3Com' freq=2462 MHz)
Cancelling scan request
WPA: using IEEE 802.11i/D3.0
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
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8c02 len=39
Custom wireless event: 'ASSOCINFO(ReqIEs= RespIEs=)'
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0d:54:a8:79:53
Association event - clear replay counter
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
Setting authentication timeout: 10 sec 0 usec
Wireless event: cmd=0x8c02 len=127
Custom wireless event: 'ASSOCINFO(ReqIEs=000433436f6d010482848b96dd180050f20101000050f20201000050f20201000050f2020000 RespIEs=010482840b16)'
Association info event
req_ies - hexdump(len=38): 00 04 33 43 6f 6d 01 04 82 84 8b 96 dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
assoc_wpa_ie - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0d:54:a8:79:53
Association event - clear replay counter
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
Setting authentication timeout: 10 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=3 idleWhile=33
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=2 idleWhile=32
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=1 idleWhile=31
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=0 idleWhile=30
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: txStart
WPA: drop TX EAPOL in non-IEEE 802.1X mode (type=1 len=0)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=29 idleWhile=29
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=28 idleWhile=28
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=27 idleWhile=27
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=26 idleWhile=26
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=25 idleWhile=25
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=24 idleWhile=24
Authentication with 00:0d:54:a8:79:53 timed out.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=23 idleWhile=23
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=22 idleWhile=22
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=21 idleWhile=21
Scan timeout - try to get results
Received 412 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 5
0: 00:0d:54:a8:79:53 ssid='3Com' wpa_ie_len=24 rsn_ie_len=0
   selected
Trying to associate with 00:0d:54:a8:79:53 (SSID='3Com' freq=2462 MHz)
Cancelling scan request
WPA: using IEEE 802.11i/D3.0
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
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8c02 len=39
Custom wireless event: 'ASSOCINFO(ReqIEs= RespIEs=)'
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0d:54:a8:79:53
Association event - clear replay counter
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
Setting authentication timeout: 10 sec 0 usec
Wireless event: cmd=0x8c02 len=127
Custom wireless event: 'ASSOCINFO(ReqIEs=000433436f6d010482848b96dd180050f20101000050f20201000050f20201000050f2020000 RespIEs=010482840b16)'
Association info event
req_ies - hexdump(len=38): 00 04 33 43 6f 6d 01 04 82 84 8b 96 dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
assoc_wpa_ie - hexdump(len=26): dd 18 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02 00 00
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:0d:54:a8:79:53
Association event - clear replay counter
EAPOL: External notification - portValid=0
EAPOL: External notification - EAP success=0
EAPOL: External notification - portEnabled=1
Setting authentication timeout: 10 sec 0 usec
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=20 idleWhile=20
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=19 idleWhile=19
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=18 idleWhile=18
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=17 idleWhile=17
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=16 idleWhile=16
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=15 idleWhile=15
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=14 idleWhile=14
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=13 idleWhile=13
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=12 idleWhile=12
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=11 idleWhile=11
Authentication with 00:0d:54:a8:79:53 timed out.
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=10 idleWhile=10
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=9 idleWhile=9
EAPOL: Port Timers tick - authWhile=0 heldWhile=0 startWhen=8 idleWhile=8
Scan timeout - try to get results
Received 240 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 5
0: 00:0d:54:a8:79:53 ssid='3Com' wpa_ie_len=24 rsn_ie_len=0



More information about the Hostap mailing list