News: This forum is now permanently frozen.
Pages: [1]
Topic: WiFI reauthentication every 10 minutes  (Read 1292 times)
« on: April 14, 2012, 04:12:06 »
gekmobile *
Posts: 1

I've noticed in my logfile that the WiFi on m0n0wall does a reauthentication process every 10 minutes.

In the logfile I see:

==================

Apr 13 20:50:57 XX.XX.XX.XX hostapd: ath0: STA 54:04:a6:b9:ee:c5 WPA: group key handshake completed (WPA)

==================

I'm not sure I understand why reauthentication is needed this often, or if the interval for reauthentication can be changed.

Why?

It seems that frequent reauthentication is causing problems with some of the WiFi-connected hosts on my network.

Thanks.
« Reply #1 on: April 14, 2012, 15:08:48 »
Lennart Grahl ***
Posts: 153

What you are looking for is "wpa_group_rekey". The configuration is written to /var/etc every time the wlan gets reconfigured.
You'd have to modify "/var/etc/hostapd-<ifname>.conf" and restart hostapd. The interval is declared in seconds. Default seems to be 600.

I haven't tested it but this should do the trick:
Kill: "kill `cat /var/run/hostapd-<ifname>.pid`"
Modify: "/var/etc/hostapd-<ifname>.conf"
Up interface: "ifconfig <ifname> up"
Start: "/usr/sbin/hostapd -B -P /var/run/hostapd-<ifname>.pid /var/etc/hostapd-<ifname>.conf"

Another solution would be to modify the image.
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines