EAPOL-Key timeout with WinXP supplicant

Whoopie whoopie79 at gmx.net
Mon Dec 27 11:03:02 EST 2004


Hi,
I don´t get madwifi (CVS from Dec 27th, 2004) , hostapd (also CVS from Dec 
27th, 2004) and WinXP SP2 supplicant to work.

These are the messages from hostapd:
Configuration file: /etc/hostapd.conf
madwifi_set_iface_flags: dev_up=0
Using interface ath0 with hwaddr 00:09:5b:ec:e3:d2 and ssid 'SMC'
madwifi_set_ieee8021x: enabled=1
madwifi_configure_wpa: group key cipher=1
madwifi_configure_wpa: pairwise key ciphers=0x2
madwifi_configure_wpa: key management algorithms=0x2
madwifi_configure_wpa: rsn capabilities=0x0
madwifi_configure_wpa: enable WPA= 0x1
madwifi_set_iface_flags: dev_up=1
madwifi_set_privacy: enabled=1
WPA: group state machine entering state GTK_INIT
GMK - hexdump(len=32): 48 f5 bc ca f6 67 0f a1 97 3c cc 96 36 04 bc c7 39 0b
1e 22 7c aa 75 22 f4 f0 e6 eb 05 13 69 da
GTK - hexdump(len=32): 89 b1 77 45 a7 ca 99 4a 44 a5 e3 8d 8b b7 ca 0a ba af
2a 46 e6 74 b2 d3 49 21 b1 53 e8 3e 03 db
WPA: group state machine entering state SETKEYSDONE
madwifi_set_key: alg=TKIP addr=00:00:00:00:00:00 key_idx=1
Flushing old station entries
Deauthenticate all stations
Wireless event: cmd=0x8b19 len=12
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0e:35:50:5b:ad IEEE 802.11: associated
  New STA
ath0: STA 00:0e:35:50:5b:ad WPA: event 1 notification
ath0: STA 00:0e:35:50:5b:ad WPA: start authentication
WPA: 00:0e:35:50:5b:ad WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:0e:35:50:5b:ad key_idx=0
ath0: STA 00:0e:35:50:5b:ad IEEE 802.1X: unauthorizing port
madwifi_set_sta_authorized: addr=00:0e:35:50:5b:ad authorized=0
WPA: 00:0e:35:50:5b:ad WPA_PTK_GROUP entering state IDLE
WPA: 00:0e:35:50:5b:ad WPA_PTK entering state AUTHENTICATION
WPA: 00:0e:35:50:5b:ad WPA_PTK entering state AUTHENTICATION2
WPA: 00:0e:35:50:5b:ad WPA_PTK entering state INITPSK
WPA: 00:0e:35:50:5b:ad WPA_PTK entering state PTKSTART
ath0: STA 00:0e:35:50:5b:ad WPA: sending 1/4 msg of 4-Way Handshake
IEEE 802.1X: 5 bytes from 00:0e:35:50:5b:ad
   IEEE 802.1X: version=1 type=1 length=0
   ignoring 1 extra octets after IEEE 802.1X packet
ath0: STA 00:0e:35:50:5b:ad WPA: EAPOL-Key timeout
WPA: 00:0e:35:50:5b:ad WPA_PTK entering state PTKSTART
ath0: STA 00:0e:35:50:5b:ad WPA: sending 1/4 msg of 4-Way Handshake
ath0: STA 00:0e:35:50:5b:ad WPA: EAPOL-Key timeout
WPA: 00:0e:35:50:5b:ad WPA_PTK entering state PTKSTART
ath0: STA 00:0e:35:50:5b:ad WPA: sending 1/4 msg of 4-Way Handshake
ath0: STA 00:0e:35:50:5b:ad WPA: EAPOL-Key timeout
WPA: 00:0e:35:50:5b:ad WPA_PTK entering state PTKSTART
ath0: STA 00:0e:35:50:5b:ad WPA: sending 1/4 msg of 4-Way Handshake
WPA: 00:0e:35:50:5b:ad WPA_PTK entering state DISCONNECT
madwifi_sta_deauth: addr=00:0e:35:50:5b:ad reason_code=2
WPA: 00:0e:35:50:5b:ad WPA_PTK entering state DISCONNECTED
WPA: 00:0e:35:50:5b:ad WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:0e:35:50:5b:ad key_idx=0
ath0: STA 00:0e:35:50:5b:ad IEEE 802.1X: unauthorizing port
madwifi_set_sta_authorized: addr=00:0e:35:50:5b:ad authorized=0
ath0: STA 00:0e:35:50:5b:ad IEEE 802.11: deauthenticated due to local deauth
request
Wireless event: cmd=0x8c04 len=20
ath0: STA 00:0e:35:50:5b:ad IEEE 802.11: deassociated
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:0e:35:50:5b:ad IEEE 802.11: associated
  New STA

My hostapd.conf:

interface=ath0
driver=madwifi
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
debug=0
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0

ssid=test-AP
macaddr_acl=1
accept_mac_file=/etc/hostapd.accept
auth_algs=3
wpa=1
wpa_passphrase=thisisatest
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
wpa_group_rekey=600
wpa_strict_rekey=1
wpa_gmk_rekey=86400

I´m sure I´m using the right WPA-PSK at the WinXP client. It´s an Intel Pro 
Wireless 2200BG card with the newest driver (version 9.0.1.9).

Thanks for helping,
Whoopie 




More information about the HostAP mailing list