release/renew WAN IP from cmd line

Discussion in 'Tomato Firmware' started by SirDracula, Aug 18, 2007.

  1. SirDracula

    SirDracula Network Guru Member

    What are the magic commands to release/renew the WAN side IP address of a router running Tomato, via the command line interface (ssh or telnet)? thanks
     
  2. yaqui

    yaqui LI Guru Member

    Try this:
    Code:
    ifdown wan && sleep 2 && ifup wan
    You may have to have wan down longer for your isp to release the ip (sometimes 20 minutes)
     
  3. azeari

    azeari LI Guru Member

    i usually use
    service wan restart
     
  4. yaqui

    yaqui LI Guru Member

    or service wan stop then service wan start ;)
     
  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