Reboot script needed...

Discussion in 'HyperWRT Firmware' started by Animal, Jun 21, 2006.

  1. Animal

    Animal Network Guru Member

    Hi all,

    I have a Linksys WRT54G which is flash with Thibor15c's firmware and im after a reboot script that i can have run so it reboots the router at say 6am every morning cos i notice that after a couple of days of it being on i get alot of loss in games which is fixed by simply rebooting the router.

    So wots the chance of getting a script like this..?

    or is there a way of stopping the problem of getting loss after a few dfays..? wot causes it..?

    many thanks for any help. :)
  2. swinn

    swinn Network Guru Member

    echo "00 6 * * * root /sbin/reboot" > /tmp/cron.d/restart

    Do a google search on "cron scripts" and you'll get links to understand the above.
  3. Animal

    Animal Network Guru Member

    cool thx

    here comes the silly bit, does that go in the firewall script..?
  4. swinn

    swinn Network Guru Member

    Startup script.
  5. cfdfireman

    cfdfireman Network Guru Member

    to add on to this, is there a way to run the script so that every day @ 6am it will reboot & when it does it will shut down all ethernet ports for 2 minutes when the router is up the startup the ports?
  6. eq2675

    eq2675 Network Guru Member

    I would like the 2+ minute feature too, as my ISP doesn't usually provde me with a new dynamic IP if the router is only off line for less than a minute.

    Sometimes, dynamic IP's have their advantages :shock:
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice