Hello,

after another 2.4GHz shutdown today I had no message in syslog or kernellog :frowning_face:

Now I use the following cron script to detect loss of all 2.4GHz clients.
If no client is visible (should not happen), the "wifi" command reconfigures 2.4GHz wifi.

#!/bin/sh
sleep 60
grep -q 0 /sys/kernel/debug/ieee80211/phy1/netdev:wlan1/num_mcast_sta
if [ "$?" -eq "0" ]; then
    sleep 10
    /sbin/wifi
fi

Edit:
The script works! I had another fail and it was catched and recovered by the script. :stuck_out_tongue:

Uwe

3 Likes