[pkg-wpa-devel] Bug#659059: hostapd: Clients diconnected every few minutes

Marcus Meyer marcus at by5.de
Tue Feb 7 20:45:50 UTC 2012


Package: hostapd
Version: 1:0.6.10-2
Severity: normal
Tags: upstream


I'm running hostapd in bridge mode with a TP-Link Model No. TL-WN951N wifi card.
lspci says:
00:0a.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)

There are a few devices connected through this wifi router. (Logitech Squuezeboxes, Smartphones, Netbooks, Laptops and so on...)

But only a Samsung Galaxy SII and a ASUS eeePC has problems with this configuration.

The main problem seems to me the reconnection.
Here are a short log when the Galaxy SII is unable to connect or better to say it lost the connection to the access point:

Feb  7 21:00:27 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 WPA: EAPOL-Key timeout
Feb  7 21:00:27 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 WPA: sending 1/2 msg of Group Key Handshake
Feb  7 21:00:28 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 WPA: EAPOL-Key timeout
Feb  7 21:00:28 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 WPA: sending 1/2 msg of Group Key Handshake
Feb  7 21:00:29 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 WPA: EAPOL-Key timeout
Feb  7 21:00:29 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 WPA: sending 1/2 msg of Group Key Handshake
Feb  7 21:00:30 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 WPA: EAPOL-Key timeout
Feb  7 21:00:30 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 IEEE 802.1X: unauthorizing port
Feb  7 21:00:30 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 IEEE 802.11: deauthenticated due to local deauth request
Feb  7 21:11:07 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 IEEE 802.11: authentication OK (open system)
Feb  7 21:11:07 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 MLME: MLME-AUTHENTICATE.indication(44:a7:cf:c2:97:76, OPEN_SYSTEM)
Feb  7 21:11:07 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 MLME: MLME-DELETEKEYS.request(44:a7:cf:c2:97:76)
Feb  7 21:11:07 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 IEEE 802.11: authenticated
Feb  7 21:15:27 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 WPA: Not in PTKINITDONE; skip Group Key update
Feb  7 21:16:08 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 IEEE 802.11: disassociated due to inactivity
Feb  7 21:16:08 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 MLME: MLME-DISASSOCIATE.indication(44:a7:cf:c2:97:76, 4)
Feb  7 21:16:08 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 MLME: MLME-DELETEKEYS.request(44:a7:cf:c2:97:76)
Feb  7 21:16:09 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 IEEE 802.11: deauthenticated due to inactivity
Feb  7 21:16:09 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 MLME: MLME-DEAUTHENTICATE.indication(44:a7:cf:c2:97:76, 2)
Feb  7 21:16:09 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 MLME: MLME-DELETEKEYS.request(44:a7:cf:c2:97:76)
Feb  7 21:17:03 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 IEEE 802.11: authentication OK (open system)
Feb  7 21:17:03 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 MLME: MLME-AUTHENTICATE.indication(44:a7:cf:c2:97:76, OPEN_SYSTEM)
Feb  7 21:17:03 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 MLME: MLME-DELETEKEYS.request(44:a7:cf:c2:97:76)
Feb  7 21:17:03 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 IEEE 802.11: authenticated
Feb  7 21:20:27 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 WPA: Not in PTKINITDONE; skip Group Key update
Feb  7 21:22:04 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 IEEE 802.11: disassociated due to inactivity
Feb  7 21:22:04 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 MLME: MLME-DISASSOCIATE.indication(44:a7:cf:c2:97:76, 4)
Feb  7 21:22:04 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 MLME: MLME-DELETEKEYS.request(44:a7:cf:c2:97:76)
Feb  7 21:22:05 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 IEEE 802.11: deauthenticated due to inactivity
Feb  7 21:22:05 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 MLME: MLME-DEAUTHENTICATE.indication(44:a7:cf:c2:97:76, 2)
Feb  7 21:22:05 router hostapd: wlan0: STA 44:a7:cf:c2:97:76 MLME: MLME-DELETEKEYS.request(44:a7:cf:c2:97:76)

After that I must disable and enable the wifi connection on the Galaxy.

With the eeePC I had the same problem, but with this netbook it happend after a hour or so that the hole hostapd goes down.
The daemon is still running but every device is unable to connect and I must do a complete reboot of the router.

If you need more information or more logs let me know.



-- System Information:
Debian Release: 6.0.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages hostapd depends on:
ii  libc6                   2.11.3-2         Embedded GNU C Library: Shared lib
ii  libnl1                  1.1-6            library for dealing with netlink s
ii  libssl0.9.8             0.9.8o-4squeeze7 SSL shared libraries
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip

hostapd recommends no packages.

hostapd suggests no packages.

-- Configuration Files:
/etc/default/hostapd changed:
DAEMON_CONF="/etc/hostapd/hostapd.conf"
DAEMON_OPTS=""


-- no debconf information





More information about the Pkg-wpa-devel mailing list