What is the final goal (overall goal/plan)?Hi friends,
I have just finished to configure this awesome firmware for my brand new ASUS RT-AC68U
I need you to help me to create a script that turns off/on wireless
I have tried to use "wl radio off" and "wl radio on" but this doesn't work.
Please help, thank you!
cru a ra0 "0 3 * * * /tmp/mnt/scripts/custom/radio_off.sh"
#!/bin/sh
log='/tmp/mnt/scripts/custom/custom.log'
NOW=$(date +"%Y.%m.%d %H:%M")
echo >> ${log} "${NOW} >>> Radio: OFF"
wl radio off
Dear friend, the reason is that I need to have wifi OFF from 3:00 up to 8:00, which the configuration page does not allow.
I'm using scripting through "cru" crontab agent, but I need the right command.
I have tried with this
into services-start added this line:
Code:cru a ra0 "0 3 * * * /tmp/mnt/scripts/custom/radio_off.sh"
and radio_off.sh as below:
Code:#!/bin/sh log='/tmp/mnt/scripts/custom/custom.log' NOW=$(date +"%Y.%m.%d %H:%M") echo >> ${log} "${NOW} >>> Radio: OFF" wl radio off
At 3:00 o'clock I can find the line into log, but wifi is still on
Do you have a way to solve this?
Thank you again!
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!