OpenWrt Forum Archive

Topic: Hostapd on wgt634u with wpa and Win2K: no connection!

The content of this topic has been archived on 6 May 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi community,
I have a wgt634u and am running nearly latest build of kamikaze (5453), still trying to connect my laptop (Win2K with philips WLAN-card Atheros chip 108MBit and proprietary software OR alternatively Cisco 11MBit WLAN card using FunkSoftware Odyssey Client) in WPA mode without success. I followed many advices I've read in this and other forums and elsewhere on the internet.
I also found loswillios homepage and already asked him about the setup and used the conf he provides to us (thanks again for this!), but all I see is the ssid and a "waiting for keys" on my client...!

The debug output from hostapd is following:

Wireless event: cmd=0x8c03 len=20
ath0: STA 00:09:43:7a:0a:51 IEEE 802.11: associated
  New STA
ath0: STA 00:09:43:7a:0a:51 WPA: event 1 notification
madwifi_del_key: addr=00:09:43:7a:0a:51 key_idx=0
ath0: STA 00:09:43:7a:0a:51 WPA: start authentication
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:09:43:7a:0a:51 key_idx=0
madwifi_set_sta_authorized: addr=00:09:43:7a:0a:51 authorized=0
ath0: STA 00:09:43:7a:0a:51 IEEE 802.1X: unauthorizing port
WPA: 00:09:43:7a:0a:51 WPA_PTK_GROUP entering state IDLE
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state AUTHENTICATION
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state AUTHENTICATION2
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state INITPSK
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state PTKSTART
ath0: STA 00:09:43:7a:0a:51 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 ie_len=0 gtk_len=0 keyidx=0 encr=0)
TX EAPOL - hexdump(len=113): 00 09 43 7a 0a 51 00 09 5b f7 21 57 88 8e 02 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 ac d5 9b b9 cf 6f d9 ad 70 32 5b c9 ee be cc f8 4b 05 74 8b e1 23 99 ca 4d f7 d5 cf 6a 75 53 14 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:09:43:7a:0a:51 WPA: EAPOL-Key timeout
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state PTKSTART
ath0: STA 00:09:43:7a:0a:51 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 ie_len=0 gtk_len=0 keyidx=0 encr=0)
TX EAPOL - hexdump(len=113): 00 09 43 7a 0a 51 00 09 5b f7 21 57 88 8e 02 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 02 ac d5 9b b9 cf 6f d9 ad 70 32 5b c9 ee be cc f8 4b 05 74 8b e1 23 99 ca 4d f7 d5 cf 6a 75 53 14 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:09:43:7a:0a:51 WPA: EAPOL-Key timeout
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state PTKSTART
ath0: STA 00:09:43:7a:0a:51 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 ie_len=0 gtk_len=0 keyidx=0 encr=0)
TX EAPOL - hexdump(len=113): 00 09 43 7a 0a 51 00 09 5b f7 21 57 88 8e 02 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 03 ac d5 9b b9 cf 6f d9 ad 70 32 5b c9 ee be cc f8 4b 05 74 8b e1 23 99 ca 4d f7 d5 cf 6a 75 53 14 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:09:43:7a:0a:51 WPA: EAPOL-Key timeout
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state PTKSTART
ath0: STA 00:09:43:7a:0a:51 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 ie_len=0 gtk_len=0 keyidx=0 encr=0)
TX EAPOL - hexdump(len=113): 00 09 43 7a 0a 51 00 09 5b f7 21 57 88 8e 02 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 04 ac d5 9b b9 cf 6f d9 ad 70 32 5b c9 ee be cc f8 4b 05 74 8b e1 23 99 ca 4d f7 d5 cf 6a 75 53 14 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
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state DISCONNECT
hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA 00:09:43:7a:0a:51 reason 2
madwifi_sta_deauth: addr=00:09:43:7a:0a:51 reason_code=2
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state DISCONNECTED
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:09:43:7a:0a:51 key_idx=0
ioctl[IEEE80211_IOCTL_DELKEY]: Invalid argument
madwifi_set_sta_authorized: addr=00:09:43:7a:0a:51 authorized=0
ioctl[IEEE80211_IOCTL_SETMLME]: Invalid argument
ath0: STA 00:09:43:7a:0a:51 IEEE 802.1X: unauthorizing port
Could not set station 00:09:43:7a:0a:51 flags for kernel driver (errno=22).
ath0: STA 00:09:43:7a:0a:51 IEEE 802.11: deauthenticated due to local deauth request
Wireless event: cmd=0x8c04 len=20
ath0: STA 00:09:43:7a:0a:51 IEEE 802.11: disassociated
Wireless event: cmd=0x8c03 len=20
ath0: STA 00:09:43:7a:0a:51 IEEE 802.11: associated
  New STA
ath0: STA 00:09:43:7a:0a:51 WPA: event 1 notification
madwifi_del_key: addr=00:09:43:7a:0a:51 key_idx=0
ath0: STA 00:09:43:7a:0a:51 WPA: start authentication
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state INITIALIZE
madwifi_del_key: addr=00:09:43:7a:0a:51 key_idx=0
madwifi_set_sta_authorized: addr=00:09:43:7a:0a:51 authorized=0
ath0: STA 00:09:43:7a:0a:51 IEEE 802.1X: unauthorizing port
WPA: 00:09:43:7a:0a:51 WPA_PTK_GROUP entering state IDLE
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state AUTHENTICATION
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state AUTHENTICATION2
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state INITPSK
WPA: 00:09:43:7a:0a:51 WPA_PTK entering state PTKSTART
ath0: STA 00:09:43:7a:0a:51 WPA: sending 1/4 msg of 4-Way Handshake
WPA: Send EAPOL(secure=0 mic=0 ack=1 install=0 pairwise=8 ie_len=0 gtk_len=0 keyidx=0 encr=0)
TX EAPOL - hexdump(len=113): 00 09 43 7a 0a 51 00 09 5b f7 21 57 88 8e 02 03 00 5f fe 00 89 00 20 00 00 00 00 00 00 00 01 ac d5 9b b9 cf 6f d9 ad 70 32 5b c9 ee be cc f8 4b 05 74 8b e1 23 99 ca 4d f7 d5 cf 6a 75 53 15 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

This is running through all the time 'til I stop it!

The (bad?) thing is: When I connect my other Laptop with WinXP SP2 everything works fine!!!

So please, is there anyone out there who could explain me, what's wrong with my setup?
Or might there still be a bug in hostapd ?

Thanx in advance

Achim

Check to see if "ath0" is one of your lan interfaces in /etc/config/network . That's a big stumbling block as it's not in there by default (though it should be .... )

The discussion might have continued from here.