Wireless on/off using cron jab

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Author Message
gmanor77
DD-WRT Novice


Joined: 03 Feb 2014
Posts: 5

PostPosted: Sat Oct 29, 2016 4:57    Post subject: Wireless on/off using cron jab Reply with quote
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.
Sponsor
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum