Script for wan-restart @ 4 am

Discussion in 'Tomato Firmware' started by BBVA, Sep 20, 2007.

  1. BBVA

    BBVA LI Guru Member

    hi my isp alsawys disconnects me after 24 h

    i know i can do that manually.. @ night i make a restart and he alsawys makes the wan restart at this time.. but this is ****... :D

    i want a script that makes a wan-restart @ 4 o clock nights,, or 3 or 5... nights.... :D

    is there any solution ?
    i know that u can put scripts into the router... but how that works and so i dont know :p

    anybody can help me ?

  2. mraneri

    mraneri Network Guru Member

  3. jnappert

    jnappert LI Guru Member

    Just use this init script:

    cru a reconnect "00 04 * * * killall -hup pppoecd"
  4. axelc

    axelc LI Guru Member

    command for pptp connection?

    i have a pptp connection to my isp.
    what is the correct cru command to reconnect?

  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