Converting WAN to LAN port

Discussion in 'Tomato Firmware' started by mtneeer, Jul 13, 2008.

  1. mtneeer

    mtneeer Network Guru Member

    I followed the instructions from this FAQ to covert the WAN to a LAN port,but when I make any changes that require the router to reboot,the WAN port stops working. I have to run the commands(via Telnet)again,to get it working. What am I doing wrong?
  2. HennieM

    HennieM Network Guru Member

    Put those commands in a script, so it runs whenever the router starts.
  3. mtneeer

    mtneeer Network Guru Member

    OK,but how? I'm a newbie when it comes to script. I thought it was saved with the NVRAM COMMIT at the end of the string.
  4. TexasFlood

    TexasFlood Network Guru Member

    I found the same thing back when I first tried this. They key, at least in my case, was the "manual_boot_nv" nvram variable. On my WRT54G v2 and WR850G routers, when "manual_boot_nv" is set to the default value of 0, the vlan0ports and vlann1ports nvram variables get reset at boot time.

    So I set the nvram variables so that all ports are mapped to the LAN, set the "manual_boot_nv" to 1 so they don't get reset at boot, commit, then reboot. No need for a script, the settings stick, at least until changed or cleared. My printer plugged into the WAN port has been fine for a while now.


    nvram set vlan1ports=""
    nvram set vlan0ports="0 1 2 3 4 5*"
    nvram set manual_boot_nv=1
    nvram commit
  5. mtneeer

    mtneeer Network Guru Member

    Thank you,TexasFlood. That did it. It works perfectly now.
  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