EAPOL-Key timeout s in 1/4 msg of 4-Way Handshake

Simon Santesteban laenrek at yahoo.es
Wed May 25 08:39:40 EDT 2005


Hello

Im trying to setup hostapd with an atheros card.
I compiled madwifi and hostap, and tried different
versions (madwifi-head, madwifi-bsd, hostap-0.3.7,
hostap-0.4.1), apply some patches, but allways end
with the same behaviour: WPA: EAPOL-Key timeout in 1/4
msg of handshake

Hostap says:

# hostapd /root/wireless-wpa/hostapd2.conf

Configuration file: /root/wireless-wpa/hostapd2.conf
madwifi_set_iface_flags: dev_up=0
Using interface ath0 with hwaddr 00:02:6f:20:cf:a5 and
ssid 'wifi'
madwifi_set_ieee8021x: enabled=1
madwifi_configure_wpa: group key cipher=1
madwifi_configure_wpa: pairwise key ciphers=0xa
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): 2f c6 f0 ad 6a 5f f5 51 e1 be
9d a7 cd 9b 9b 0e eb ce 30 27 d2 f8 97 b1 02 69 53 44
d5 40 1b 36
GTK - hexdump(len=32): 52 33 25 5b 95 1b 40 b3 ea d2
01 c6 dc 63 09 f2 0a 33 0c 72 97 a5 2b c1 2e 6b c1 c5
d3 83 b1 48
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
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff
reason_code=3
Deauthenticate all stations
l2_packet_receive - recv: Network is down
Wireless event: cmd=0x8b19 len=12
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:80:5a:22:c2:7e IEEE 802.11: associated
  New STA
ath0: STA 00:80:5a:22:c2:7e WPA: event 1 notification
madwifi_sta_clear_stats: addr=00:80:5a:22:c2:7e
ath0: STA 00:80:5a:22:c2:7e WPA: start authentication
WPA: 00:80:5a:22:c2:7e WPA_PTK entering state
INITIALIZE
madwifi_del_key: addr=00:80:5a:22:c2:7e key_idx=0
ath0: STA 00:80:5a:22:c2:7e IEEE 802.1X: unauthorizing
port
madwifi_set_sta_authorized: addr=00:80:5a:22:c2:7e
authorized=0
WPA: 00:80:5a:22:c2:7e WPA_PTK_GROUP entering state
IDLE
WPA: 00:80:5a:22:c2:7e WPA_PTK entering state
AUTHENTICATION
WPA: 00:80:5a:22:c2:7e WPA_PTK entering state
AUTHENTICATION2
WPA: 00:80:5a:22:c2:7e WPA_PTK entering state INITPSK
WPA: 00:80:5a:22:c2:7e WPA_PTK entering state PTKSTART
ath0: STA 00:80:5a:22:c2:7e WPA: sending 1/4 msg of
4-Way Handshake
TX EAPOL - hexdump(len=113): 00 80 5a 22 c2 7e 00 02
6f 20 cf a5 88 8e 02 03 00 5f fe 00 89 00 20 00 00 00
00 00 00 00 01 b9 da f1 56 3d 7d 7f e9 85 7b f3 23 82
a5 47 f8 77 50 00 e5 39 23 51 df c1 c0 d9 38 b2 e4 11
75 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
ath0: STA 00:80:5a:22:c2:7e WPA: EAPOL-Key timeout
WPA: 00:80:5a:22:c2:7e WPA_PTK entering state PTKSTART
ath0: STA 00:80:5a:22:c2:7e WPA: sending 1/4 msg of
4-Way Handshake
TX EAPOL - hexdump(len=113): 00 80 5a 22 c2 7e 00 02
6f 20 cf a5 88 8e 02 03 00 5f fe 00 89 00 20 00 00 00
00 00 00 00 02 b9 da f1 56 3d 7d 7f e9 85 7b f3 23 82
a5 47 f8 77 50 00 e5 39 23 51 df c1 c0 d9 38 b2 e4 11
75 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Wireless event: cmd=0x8c02 len=101
Custom wireless event: 'STA-TRAFFIC-STAT
mac=00:80:5a:22:c2:7e
rx_packets=0
tx_packets=2
rx_bytes=0
tx_bytes=214
'
Wireless event: cmd=0x8c04 len=20
ath0: STA 00:80:5a:22:c2:7e IEEE 802.11: deassociated
ath0: STA 00:80:5a:22:c2:7e WPA: event 2 notification
madwifi_del_key: addr=00:80:5a:22:c2:7e key_idx=0
ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument
WPA: 00:80:5a:22:c2:7e WPA_PTK entering state
DISCONNECTED
WPA: 00:80:5a:22:c2:7e WPA_PTK entering state
INITIALIZE
madwifi_del_key: addr=00:80:5a:22:c2:7e key_idx=0
ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument
ath0: STA 00:80:5a:22:c2:7e IEEE 802.1X: unauthorizing
port
madwifi_set_sta_authorized: addr=00:80:5a:22:c2:7e
authorized=0
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
Signal 2 received - terminating
Flushing old station entries
madwifi_sta_deauth: addr=ff:ff:ff:ff:ff:ff
reason_code=3
Deauthenticate all stations
madwifi_set_privacy: enabled=0
madwifi_set_ieee8021x: enabled=0
madwifi_set_iface_flags: dev_up=0



Im using kernel 2.6.11...
some of you succeded doing this, didnt u? please help
I just want to setup wpa-psk

thanks in advance


		
______________________________________________ 
Renovamos el Correo Yahoo! 
Nuevos servicios, más seguridad 
http://correo.yahoo.es



More information about the HostAP mailing list