Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

If someone starts to use the wifi, i can see that with logread:

Jan 23 21:04:47 router hostapd: wlan0: STA XX:XX:XX:XX:XX:XX IEEE 802.11: authenticated

But how can i see, that he/she's disconnecting? Theres no "bla-bla deauthenticated bla" line in logread, or even a thing that points to that someone get's disconnected..

I tried to google:
But it doesn't writes about loglevel.

Can anyone help me find out, how to find out that someone disconnects it's wifi from the router? The logread doesn't even writes a line when someone disconnects.

Please help!! It's important!
Thank you!:\

share|improve this question

3 Answers 3

Try edit /etc/hostapd/hostapd.conf:

share|improve this answer

I see lines like this in my log file which at least indicate there's been no activity:

Aug  1 16:31:25 OpenWrt1 hostapd: wlan0: STA f8:1e:00:00:00:00 IEEE 802.11: disassociated
Aug  1 16:31:26 OpenWrt1 hostapd: wlan0: STA f8:1e:00:00:00:00 IEEE 802.11: deauthenticated due to inactivity
share|improve this answer
config wifi-device 'radio0'
        option log_level '0'

... works at least in openwrt trunk (as of today).

To check:

grep log /var/run/hostapd*conf
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.