Question on hostapd logs

Ann Lo annlo.tech at gmail.com
Wed Apr 26 12:42:33 PDT 2017


Would you provide advice on what the following hostapd logs mean?

1) did not acknowledge authentication response
2) deauthenticated due to local deauth request
3) disassociated due to inactivity
4) deauthenticated due to inactivity (timer DEAUTH/REMOVE)

Is item 1) referring to some timeout between hostapd and Wi-Fi driver,
or timeout on receiving from the client station?

Does item 2) happen for specific timeout on client station?

The first 2 logs showed up when a client station was having problem to
connect to AP. This problem happened frequently but not all the time.
The log sequence was as follows:

Apr  8 22:41:16 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Apr  8 22:41:16 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 1)
Apr  8 22:41:24 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11:
deauthenticated due to local deauth request
Apr  8 22:41:27 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: did not
acknowledge authentication response
Apr  8 22:41:27 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: did not
acknowledge authentication response
Apr  8 22:41:39 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Apr  8 22:41:39 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 1)
Apr  8 22:41:39 uap0: STA xx:xx:xx:xx:xx:xx RADIUS: starting
accounting session 58E02C68-000002CA
Apr  8 22:41:39  uap0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key
handshake completed (RSN)
Apr  8 22:42:02 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: did not
acknowledge authentication response
Apr  8 22:42:07 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: did not
acknowledge authentication response
Apr  8 22:42:07 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: did not
acknowledge authentication response
Apr  8 22:42:07 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: did not
acknowledge authentication response
Apr  8 22:42:08 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: did not
acknowledge authentication response
Apr  8 22:42:08 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: did not
acknowledge authentication response
Apr  8 22:42:08 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: did not
acknowledge authentication response
Apr  8 22:42:13 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: did not
acknowledge authentication response
Apr  8 22:42:13 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: did not
acknowledge authentication response
Apr  8 22:43:14 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Apr  8 22:43:14 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 1)
Apr  8 22:43:18 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Apr  8 22:43:18 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 1)

The third and fourth logs showed up when a client station lost
connection with AP for 1 to 2 minutes. Is the log "disassociated due
to inactivity" specific to the configuration "ap_max_inactivity"? Are
there other situations that could cause this log to show up?

Apr 24 19:22:39 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Apr 24 19:22:39 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 1)
Apr 24 19:22:39 uap0: STA xx:xx:xx:xx:xx:xx RADIUS: starting
accounting session 386D43A7-00000012
Apr 24 19:22:39 uap0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key
handshake completed (RSN)
Apr 24 19:22:53 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: disassociated
due to inactivity
Apr 24 19:22:53 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Apr 24 19:22:53 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 1)
Apr 24 19:22:53 uap0: STA xx:xx:xx:xx:xx:xx RADIUS: starting
accounting session 386D43A7-00000012
Apr 24 19:22:53 uap0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key
handshake completed (RSN)
Apr 24 19:23:13 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: disassociated
due to inactivity

... Repetitive logs similar to above

Apr 24 19:29:08 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Apr 24 19:29:08 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 1)
Apr 24 19:29:08 uap0: STA xx:xx:xx:xx:xx:xx RADIUS: starting
accounting session 386D43A7-00000013
Apr 24 19:29:08 uap0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key
handshake completed (RSN)
Apr 24 19:30:12 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: disassociated
due to inactivity
Apr 24 19:30:13 uap0: STA xx:xx:xx:xx:xx:xx IEEE 802.11:
deauthenticated due to inactivity (timer DEAUTH/REMOVE)

Your information would be much appreciated.

Thanks,
Ann



More information about the Hostap mailing list