thank you for your information. BTW, i can not access google. you know, state law......
This is how I did it with Merlin. Note that these steps are not described by me, just used and saved them in my notes. I should and would have given you the source if I could find it.thank you for your information. BTW, i can not access google. you know, state law......
Why would anybody have to reboot there[sic] router every day ??
This is how I did it with Merlin. Note that these steps are not described by me, just used and saved them in my notes. I should and would have given you the source if I could find it.
Scheduled Reboot
1) Enable JFFS + Format JFFS + Enable JFFS custom scripts and configs (if this option is present) + Telnet on the Administration -> System page, then reboot.
2) Download the software called Putty (should be easy to find on Google)
3) Using Putty, connect using the Telnet protocol to your router's IP (probably 192.168.1.1) Username and password are the same as for the webui.
4) Type the following, one line at a time:
cat << EOF > /jffs/scripts/services-start
#!/bin/sh
/usr/sbin/cru a ScheduledReboot "0 4 * * * reboot"
EOF
Set 0 (minutes) and 4 (hour) to the desired reboot time, for a daily reboot. Those arguments are:
"min hour day month week command"
After this you will be back to the prompt. Now run this:
chmod a+rx /jffs/scripts/services-start
/jffs/scripts/services-start
That will set up the cron job. Every time you reboot the router, the reboot task will be re-established.
To remove the task:
rm /jffs/scripts/services-start
cru d ScheduledReboot
Now i did not say (sic). No really i was just wondering because i have heard a few people that do this and wondered why. Sometimes i have gone the whole time between firmwares and never rebooted the router a single time.
Less critical for a router, agree... but I do this with my webcams weekly to prevent lockups. Works great.Why would anybody have to reboot there router every day ??
Thanks Merlin. I am using your firmware. I'll give it a try. Problem is my VPN uses a hostname for certain addresses that keep being blocked and the only way to refresh it is to reboot. I figure I may as well reboot ever 4 hours or during times when I know it's not critical so it stays refreshed. So you think the AC-68 with your firmware should support the interval cron job?
I don't know. The crond daemon used by Asuswrt and Asuswrt-Merlin in the same, it's a cut-down version provided by busybox. You would have to check the busybox documentation, or give it a try.
Just an FYI....there is a once a day reboot scheduler built into the gui now......
I picked it up in my fork from Merlin's release in November of last year, so I'd assume it's in all the releases since. Check on the Administration > System page.Thanks. I haven't updated to the newest version yet. Is it part of the stable release or the beta? Either way I'd like it to reboot several times throughout the day to avoid getting the texts at home telling me the VPN is down again because Netflix blocked another IP address.
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!