802.1x-MD5 test faild

warren warren001
Thu Dec 9 21:19:19 PST 2004


Hi all,

I've got a trouble testing 802.1x. The connection is always failed.
I use AiroPeek to sniffer the wireless packet and found that 
AP already sent EAP-Success to the client.
But the client does not think it's authorized and then sent "Disassociation"
to the AP. So the connection always fail. From the debug message you can
find the line "Authentication with 00:11:22:33:44:55 timed out."
Is the config file that I used correct ?
Or something I'm missing to make 802.1x-MD5 work well ?
Please give me some hint about this problem. Thanks.

the config file list below,

network={
 ssid="test"
 key_mgmt=IEEE8021X
 scan_ssid=1
 eap=MD5
 identity=""wayne"
 password="1234"
 wep_key1="1234567890"
 wep_tx_keyidx=1
}

Debug message list below.

Trying to associate with 00:11:22:33:44:55 (SSID='test' freq=2412 MHz)
Cancelling scan request
Automatic auth_alg selection: 0x1
No keys have been configured - skip key clearing
wpa_driver_madwifi_set_drop_unencrypted: enabled=1
wpa_driver_madwifi_associate
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - portControl=Auto
Wireless event: cmd=0x8b1a len=25
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:11:22:33:44:55
Association event - clear replay counter
Associated to a new BSS: BSSID=00:11:22:33:44:55
No keys have been configured - skip key clearing
Associated with 00:11:22:33:44:55
EAPOL: External notification - portValid=0
EAPOL: External notification - portEnabled=1
EAPOL: SUPP_PAE entering state CONNECTING
EAPOL: txStart
EAPOL: SUPP_BE entering state IDLE
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
Setting authentication timeout: 10 sec 0 usec
RX EAPOL from 00:11:22:33:44:55
Setting authentication timeout: 10 sec 0 usec
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_PAE entering state RESTART
EAP: EAP entering state INITIALIZE
EAP: EAP entering state IDLE
EAPOL: SUPP_PAE entering state AUTHENTICATING
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request method=1 id=0
EAP: EAP entering state IDENTITY
EAP: EAP-Request Identity data - hexdump_ascii(len=0):
EAP: using real identity - hexdump_ascii(len=5):
     77 61 79 6e 65                                    wayne           
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
EAPOL: SUPP_BE entering state RECEIVE
WPA: EAPOL frame too short, len 9, expecting at least 99
RX EAPOL from 00:11:22:33:44:55
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Request method=4 id=1
EAP: EAP entering state GET_METHOD
EAP: initialize selected EAP method (4, MD5)
EAP: EAP entering state METHOD
EAP-MD5: generating Challenge Response
EAP: EAP entering state SEND_RESPONSE
EAP: EAP entering state IDLE
EAPOL: SUPP_BE entering state RESPONSE
EAPOL: txSuppRsp
EAPOL: SUPP_BE entering state RECEIVE
WPA: EAPOL frame too short, len 45, expecting at least 99
RX EAPOL from 00:11:22:33:44:55
EAPOL: Received EAP-Packet frame
EAPOL: SUPP_BE entering state REQUEST
EAPOL: getSuppRsp
EAP: EAP entering state RECEIVED
EAP: Received EAP-Success
EAP: Workaround for unexpected identifier field in EAP Success: reqId=2 lastId=1 (these are supposed to be same)
EAP: EAP entering state SUCCESS
EAPOL: SUPP_BE entering state RECEIVE
EAPOL: SUPP_BE entering state SUCCESS
EAPOL: SUPP_BE entering state IDLE
WPA: EAPOL frame too short, len 8, expecting at least 99
Authentication with 00:11:22:33:44:55 timed out.
wpa_driver_madwifi_disassociate
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
Starting AP scan (broadcast SSID)
Wireless event: cmd=0x8b15 len=20
Wireless event: new AP: 00:00:00:00:00:00
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.shmoo.com/pipermail/hostap/attachments/20041210/df93ea4c/attachment.htm 



More information about the Hostap mailing list