hostapd disconnects all clients after some time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I have Debian testing (buster) with hostapd
2:2.7+git20190128+0c1e29f-5 and I am facing an issue with client
connections to the AP.

When I start the hostapd daemon, then everything works fine. But after
some random time (hours - weeks) of service running all the clients
are disconnected and it is impossible to connect with any device to
the AP again although the SSID is still visible for the devices with
full signal.

In the log I cannot see any hostapd lines at that time anymore. After
hostapd daemon restart everything works fine again for some period of
time until the issue occurs again.

I did not see the issue before the Debian upgrade from oldstable
(jessie) with hostapd 1:2.3-1+deb8u7 and exactly the same
configuration.

Here is a log of the last client connection:
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx IEEE
802.11: authentication OK (open system)
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx MLME:
MLME-AUTHENTICATE.indication(xx:xx:xx:xx:xx:xx, OPEN_SYSTEM)
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx MLME:
MLME-DELETEKEYS.request(xx:xx:xx:xx:xx:xx)
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx IEEE
802.11: authenticated
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx IEEE
802.11: association OK (aid 1)
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx IEEE
802.11: associated (aid 1)
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx MLME:
MLME-ASSOCIATE.indication(xx:xx:xx:xx:xx:xx)
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx MLME:
MLME-DELETEKEYS.request(xx:xx:xx:xx:xx:xx)
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx IEEE
802.11: binding station to interface 'wlp4s0'
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx WPA:
event 1 notification
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx WPA:
start authentication
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx IEEE
802.1X: unauthorizing port
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx WPA:
sending 1/4 msg of 4-Way Handshake
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx WPA:
received EAPOL-Key frame (2/4 Pairwise)
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx WPA:
sending 3/4 msg of 4-Way Handshake
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx WPA:
received EAPOL-Key frame (4/4 Pairwise)
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx IEEE
802.1X: authorizing port
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx RADIUS:
starting accounting session 81AFCCEFB2C57E28
May 20 16:00:53 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx WPA:
pairwise key handshake completed (RSN)
May 20 16:00:53 apuol dnsmasq-dhcp[476]: DHCPREQUEST(br-lan)
192.168.1.216 xx:xx:xx:xx:xx:xx
May 20 16:00:53 apuol dnsmasq-dhcp[476]: DHCPACK(br-lan) 192.168.1.216
xx:xx:xx:xx:xx:xx iPad
May 20 16:01:56 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx IEEE
802.11: disconnected due to excessive missing ACKs
May 20 16:01:56 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx MLME:
MLME-DISASSOCIATE.indication(xx:xx:xx:xx:xx:xx, 34)
May 20 16:01:56 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx MLME:
MLME-DELETEKEYS.request(xx:xx:xx:xx:xx:xx)
May 20 16:02:26 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx IEEE
802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
May 20 16:02:26 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx MLME:
MLME-DEAUTHENTICATE.indication(xx:xx:xx:xx:xx:xx, 2)
May 20 16:02:26 apuol hostapd: wlp4s0: STA xx:xx:xx:xx:xx:xx MLME:
MLME-DELETEKEYS.request(xx:xx:xx:xx:xx:xx)

Here is the hostapd.conf file:
interface=wlp4s0
bridge=br-lan
driver=nl80211
country_code=CZ
ieee80211d=1
hw_mode=g
channel=6
ieee80211n=1
ctrl_interface=/var/run/hostapd
ap_isolate=0
disassoc_low_ack=1
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
wpa_passphrase=************
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=MyNet
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=04:f0:21:2e:5c:ec
logger_syslog=-1
logger_syslog_level=0

Wireless card: Atheros AR9280
Linux kernel: 4.19.37

Any clue?

Thanks
Zbynek

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux