I've been able to set up an access point using ath9k and hostapd (using WPA2 encryption) but for some reason the client (a windows vista machine) will only have connectivity for a few minutes. After that period I have to restart hostapd for the client to be able to connect again. I'm using hostapd 0.6.9 and ath9k from the 2.6.31-rc6 kernel. The wlan0 and eth0 interfaces are bridged together in br0 (i have set the corresponding option in hostapd.conf for bridge operation).
Here's some output from hostapd -dd. During this output the client lost networking.
Code: Select all
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
STA 00:19:d2:5c:66:c9 sent probe request for broadcast SSID
STA 00:19:d2:5c:66:c9 sent probe request for broadcast SSID
STA 00:22:fc:8f:ac:41 sent probe request for broadcast SSID
STA 00:22:fc:8f:ac:41 sent probe request for broadcast SSID
STA 00:22:fc:8f:ac:41 sent probe request for broadcast SSID
STA 00:22:fc:8f:ac:41 sent probe request for broadcast SSID
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
STA 00:19:d2:5c:66:c9 sent probe request for broadcast SSID
wlan0: WPA rekeying GTK
WPA: group state machine entering state SETKEYS (VLAN-ID 0)
GMK - hexdump(len=32): [REMOVED]
GTK - hexdump(len=16): [REMOVED]
WPA: 00:19:7e:0d:bb:8a WPA_PTK_GROUP entering state REKEYNEGOTIATING
wlan0: STA 00:19:7e:0d:bb:8a WPA: sending 1/2 msg of Group Key Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=24 keyidx=2 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=32): [REMOVED]
wpa_group_setkeys: GKeyDoneStations=1
wlan0: STA 00:19:7e:0d:bb:8a WPA: EAPOL-Key timeout
WPA: 00:19:7e:0d:bb:8a WPA_PTK_GROUP entering state REKEYNEGOTIATING
wlan0: STA 00:19:7e:0d:bb:8a WPA: sending 1/2 msg of Group Key Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=24 keyidx=2 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=32): [REMOVED]
wlan0: STA 00:19:7e:0d:bb:8a WPA: EAPOL-Key timeout
WPA: 00:19:7e:0d:bb:8a WPA_PTK_GROUP entering state REKEYNEGOTIATING
wlan0: STA 00:19:7e:0d:bb:8a WPA: sending 1/2 msg of Group Key Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=24 keyidx=2 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=32): [REMOVED]
wlan0: STA 00:19:7e:0d:bb:8a WPA: EAPOL-Key timeout
WPA: 00:19:7e:0d:bb:8a WPA_PTK_GROUP entering state REKEYNEGOTIATING
wlan0: STA 00:19:7e:0d:bb:8a WPA: sending 1/2 msg of Group Key Handshake
WPA: Send EAPOL(version=2 secure=1 mic=1 ack=1 install=0 pairwise=0 kde_len=24 keyidx=2 encr=1)
Plaintext EAPOL-Key Key Data - hexdump(len=32): [REMOVED]
wlan0: STA 00:19:7e:0d:bb:8a WPA: EAPOL-Key timeout
WPA: 00:19:7e:0d:bb:8a WPA_PTK_GROUP entering state REKEYNEGOTIATING
WPA: 00:19:7e:0d:bb:8a WPA_PTK_GROUP entering state KEYERROR
WPA: group state machine entering state SETKEYSDONE (VLAN-ID 0)
WPA: 00:19:7e:0d:bb:8a WPA_PTK entering state DISCONNECT
hostapd_wpa_auth_disconnect: WPA authenticator requests disconnect: STA 00:19:7e:0d:bb:8a reason 2
WPA: 00:19:7e:0d:bb:8a WPA_PTK_GROUP entering state IDLE
WPA: 00:19:7e:0d:bb:8a WPA_PTK entering state DISCONNECTED
WPA: 00:19:7e:0d:bb:8a WPA_PTK entering state INITIALIZE
wlan0: STA 00:19:7e:0d:bb:8a IEEE 802.1X: unauthorizing port
wlan0: STA 00:19:7e:0d:bb:8a IEEE 802.11: deauthenticated due to local deauth request
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
STA 00:22:fc:8f:ac:41 sent probe request for broadcast SSID
STA 00:22:fc:8f:ac:41 sent probe request for broadcast SSID
STA 00:22:fc:8f:ac:41 sent probe request for broadcast SSID
STA 00:22:fc:8f:ac:41 sent probe request for broadcast SSID
STA 00:19:d2:5c:66:c9 sent probe request for broadcast SSID
STA 00:19:d2:5c:66:c9 sent probe request for broadcast SSID
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
Data/PS-poll frame from not associated STA 00:19:7e:0d:bb:8a
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSID
STA 00:19:7e:0d:bb:8a sent probe request for broadcast SSIDThanks



