1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Configure router via script

Discussion in 'HyperWRT Firmware' started by ando1, Sep 6, 2006.

  1. ando1

    ando1 LI Guru Member


    I have been using HyperWRT Thibor15c for a few months now and really like it. I have used other 3rd party firmware in the past and I have to say that this one is my favorite! Anyway on to my question. I was wondering if there is a way to completely set up the router via script (or if someone has sample scripts that I can modify). Nothing fancy, I just need to set up the WAN/LAN and port forwarding. Many thanks in advance and sorry if the question has been asked before.

  2. mstombs

    mstombs Network Guru Member

    All the setup must be stored in nvram so if you use a telnet session and capture the output of

    nvram show

    to a text file you will have a complete listing.

    to reverse you need to run a script with lots of

    nvram set variable=value

    followed by

    nvram commit

    and then reboot

    but I couldn't tell you what order, interdependency the values have...

Share This Page