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

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

Jan 23 21:04:47 router daemon.info 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:
http://wiki.openwrt.org/doc/uci/system
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

Try edit /etc/hostapd/hostapd.conf:

logger_syslog=-1
logger_syslog_level=0
logger_stdout=-1
logger_stdout_level=0
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 daemon.info hostapd: wlan0: STA f8:1e:00:00:00:00 IEEE 802.11: disassociated
Aug  1 16:31:26 OpenWrt1 daemon.info 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

 
discard

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.