gmanor77 DD-WRT Novice
Joined: 03 Feb 2014 Posts: 5
|
Posted: Sat Oct 29, 2016 4:57 Post subject: Wireless on/off using cron jab |
|
Hi,
Using the latest firmware with Netgear WNDR4300.
I want to turn off and on my 2.4GHz wireless using cron job.
I found that I can do this with this commands:
40 15 * * * root /sbin/ifconfig ath0 up
40 07 * * * root /sbin/ifconfig ath0 down
I saw in the router status tab that the wireless network change state to 'off' at 07:40 and then 'on' at 15:40 but when I try to connect the network after it suppose to be on, it doesn't show on my devices avaliable wifi list...
Is this a bug or I am doing something wrong?
Thank you. |
|