I need to turn wifi off at the end of the day and on again in the morning.
I am looking to run this from cron.
I have done A LOT of reading and it seems that the commands I should be using (to take wifi down) are:
nvram set wl0_radio=0
echo "0" > /proc/diag/led/wlan
nvram set wl0_radio=1
echo "1" > /proc/diag/led/wlan
After issuing the disable commands I can still access the wifi network and connect.
Are these the correct commands?
How do I test for wifi link down
Linksys WRT54GL v1.1 CL7B
BusyBox v1.00 (2007.05.31-20:09+0000) Built-in shell (ash)
CoovaAP Firmware - version 1.0 beta.8 - Copyright (c) 2008 -
based on WHITE RUSSIAN (0.9+)