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

Tomato firmware backup and wishlist

Discussion in 'Tomato Firmware' started by mbaranescu, Dec 19, 2007.

  1. mbaranescu

    mbaranescu Guest

    Hi guys,

    I switched to WRT54GL+ Tomato firmware a while a go and I find it almost perfect for my network needs . There are small things on my wish list

    1. If I do backup the firmware settings I wish to be able to restore them on a new unit .
    Reasons :
    a) I do have a pretty complex configuration . If the hardware fails I am not able to restore the backup (restore working only on the same unit) . After all this is the main reason of a backup .I think that is linked to mac address
    b) I would like to use it as kind of automatic deployment . I just restore the config and change the WAN IP address . In 5 min I can deploy a new unit on a network .
    Right now I do have screenshots of a standard unit :(( and follow each screenshot and it is really painfull to deploy a new unit

    2 . The QOS script is great for upload traffic shaping
    I would like to be able to choose my own interface .Right now it is using I=eth1
    If I would be able to choose my own interface (br0, eth0, eth1) I could do bandwidth shaping for download
    Right now each customer is having a WRT54GL in ap client mode
    WAN(wireless) 192.168.1.x -static IP
    LAN 192.168.10.1
    DHCP 192.168.10.2 -192.168.10.2

    Is it any way to solve my 1 and 2 ?
     
  2. pauldotcom

    pauldotcom LI Guru Member

    I can address #1 above:

    Your settings are stored on an area of the flash called "NVRAM", typically the last (or first, depending on how you look at it) 64K of the flash. The problem with transferring NVRAM from one system to the next is that you MUST be certain that the hardware is the same, and even then there are things such as memory information that could be different and brick your router (ex. different production runs used slightly different memory chips). You can backup this partition if you are brave using a command such as "dd if=/dev/mtdblock/3 of= /tmp/wrt-nvram.bin", should work on most WRT54G hardware.

    My suggestion is to grab the settings that you know you've changed, then transfer them using a script. If you access the command line you can use the "grep" command in conjunction with the "nvram show" command to grab your settings, then run a script on the new routers and apply those settings.

    Cheers,

    Paul
     
  3. FRiC

    FRiC LI Guru Member

    I also think it would be nice if I can restore to a different router. I realize cloning NVRAM settings won't work. (I have both the ASUS WL-500gP and Linksys WRT54GL and their NVRAM contents are completely different.) But it would be nice if I can restore settings to a different router of the same model and revision. Would certainly simplify deployment.
     

Share This Page