<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi all,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I've got a trouble testing 802.1x. The connection is always
failed.</FONT></DIV>
<DIV><FONT size=2>I use AiroPeek to sniffer the wireless packet and found that
<BR>AP already sent EAP-Success to the client.<BR>But the client does not think
it's authorized and then sent "Disassociation"<BR>to the AP. So the connection
always fail. From the debug message you can<BR>find the line "Authentication
with 00:11:22:33:44:55 timed out."<BR>Is the config file that I used correct
?<BR>Or something I'm missing to make 802.1x-MD5 work well ?<BR>Please give me
some hint about this problem. Thanks.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>the config file list below,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT
size=2>network={<BR> ssid="test"<BR> key_mgmt=IEEE8021X<BR> scan_ssid=1<BR> eap=MD5<BR> identity=""wayne"<BR> password="1234"<BR> wep_key1="1234567890"<BR> wep_tx_keyidx=1<BR>}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Debug message list below.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>Trying to associate with 00:11:22:33:44:55 (SSID='test'
freq=2412 MHz)<BR>Cancelling scan request<BR>Automatic auth_alg selection:
0x1<BR>No keys have been configured - skip key
clearing<BR>wpa_driver_madwifi_set_drop_unencrypted:
enabled=1<BR>wpa_driver_madwifi_associate<BR>Setting authentication timeout: 5
sec 0 usec<BR>EAPOL: External notification - portControl=Auto<BR>Wireless event:
cmd=0x8b1a len=25<BR>Wireless event: cmd=0x8b15 len=20<BR>Wireless event: new
AP: 00:11:22:33:44:55<BR>Association event - clear replay counter<BR>Associated
to a new BSS: BSSID=00:11:22:33:44:55<BR>No keys have been configured - skip key
clearing<BR>Associated with 00:11:22:33:44:55<BR>EAPOL: External notification -
portValid=0<BR>EAPOL: External notification - portEnabled=1<BR>EAPOL: SUPP_PAE
entering state CONNECTING<BR>EAPOL: txStart<BR>EAPOL: SUPP_BE entering state
IDLE<BR>EAP: EAP entering state INITIALIZE<BR>EAP: EAP entering state
IDLE<BR>Setting authentication timeout: 10 sec 0 usec<BR>RX EAPOL from
00:11:22:33:44:55<BR>Setting authentication timeout: 10 sec 0 usec<BR>EAPOL:
Received EAP-Packet frame<BR>EAPOL: SUPP_PAE entering state RESTART<BR>EAP: EAP
entering state INITIALIZE<BR>EAP: EAP entering state IDLE<BR>EAPOL: SUPP_PAE
entering state AUTHENTICATING<BR>EAPOL: SUPP_BE entering state REQUEST<BR>EAPOL:
getSuppRsp<BR>EAP: EAP entering state RECEIVED<BR>EAP: Received EAP-Request
method=1 id=0<BR>EAP: EAP entering state IDENTITY<BR>EAP: EAP-Request Identity
data - hexdump_ascii(len=0):<BR>EAP: using real identity -
hexdump_ascii(len=5):<BR> 77 61 79 6e
65
wayne <BR>EAP: EAP
entering state SEND_RESPONSE<BR>EAP: EAP entering state IDLE<BR>EAPOL: SUPP_BE
entering state RESPONSE<BR>EAPOL: txSuppRsp<BR>EAPOL: SUPP_BE entering state
RECEIVE<BR>WPA: EAPOL frame too short, len 9, expecting at least 99<BR>RX EAPOL
from 00:11:22:33:44:55<BR>EAPOL: Received EAP-Packet frame<BR>EAPOL: SUPP_BE
entering state REQUEST<BR>EAPOL: getSuppRsp<BR>EAP: EAP entering state
RECEIVED<BR>EAP: Received EAP-Request method=4 id=1<BR>EAP: EAP entering state
GET_METHOD<BR>EAP: initialize selected EAP method (4, MD5)<BR>EAP: EAP entering
state METHOD<BR>EAP-MD5: generating Challenge Response<BR>EAP: EAP entering
state SEND_RESPONSE<BR>EAP: EAP entering state IDLE<BR>EAPOL: SUPP_BE entering
state RESPONSE<BR>EAPOL: txSuppRsp<BR>EAPOL: SUPP_BE entering state
RECEIVE<BR>WPA: EAPOL frame too short, len 45, expecting at least 99<BR>RX EAPOL
from 00:11:22:33:44:55<BR>EAPOL: Received EAP-Packet frame<BR>EAPOL: SUPP_BE
entering state REQUEST<BR>EAPOL: getSuppRsp<BR>EAP: EAP entering state
RECEIVED<BR>EAP: Received EAP-Success<BR>EAP: Workaround for unexpected
identifier field in EAP Success: reqId=2 lastId=1 (these are supposed to be
same)<BR>EAP: EAP entering state SUCCESS<BR>EAPOL: SUPP_BE entering state
RECEIVE<BR>EAPOL: SUPP_BE entering state SUCCESS<BR>EAPOL: SUPP_BE entering
state IDLE<BR>WPA: EAPOL frame too short, len 8, expecting at least
99<BR>Authentication with 00:11:22:33:44:55 timed
out.<BR>wpa_driver_madwifi_disassociate<BR>No keys have been configured - skip
key clearing<BR>EAPOL: External notification - portEnabled=0<BR>EAPOL: SUPP_PAE
entering state DISCONNECTED<BR>EAPOL: SUPP_BE entering state INITIALIZE<BR>EAP:
EAP entering state DISABLED<BR>EAPOL: External notification -
portValid=0<BR>Setting scan request: 0 sec 0 usec<BR>Starting AP scan (broadcast
SSID)<BR>Wireless event: cmd=0x8b15 len=20<BR>Wireless event: new AP:
00:00:00:00:00:00</FONT></DIV></BODY></HTML>