Restore backup to new router

Discussion in 'Tomato Firmware' started by MacOfTheEast, Mar 19, 2009.

  1. MacOfTheEast

    MacOfTheEast LI Guru Member

    We have two IDENTICAL Linksys Routers: Linksys WRT54G/GS/GL. One has been running Tomato (now at v1.23) for a few years. The other has been kept on the shelf as a spare. Wanted to put the spare into action with identical cfg as the running setup. Flashed the spare to Tomato v1.23 and attempted to load it with a cfg file exported from the running router. No go... Tomato noticed that the cfg was exported from a different router and complained that it would not load the cfg file. Is there any way to get around that check? Would hate to have to print out each page and manually setup the new (spare) router.

  2. bripab007

    bripab007 Network Guru Member

  3. MacOfTheEast

    MacOfTheEast LI Guru Member

    Thanks... I was afraid of that.

  4. fyellin

    fyellin LI Guru Member

    The real answer is, yes, you can probably get around it, but no one has tried it yet, and it would be nice if the process were automated.

    Check out this thread, where I asked the same question:

    A .cfg file can be modified by hand. You have to unzip it, make the changes carefully, and then rezip. If you edit the old .cfg file to contain the appropriate details of the new router, you will have (in theory!) exactly what you're looking for.
  5. SgtPepperKSU

    SgtPepperKSU Network Guru Member

    Has anyone tried to just remove the lines mentioned in your post in that thread? I would imagine that it would just leave those values alone while updating the rest. You may have to leave and manually edit the et0macaddr value, though.

    Disclaimer: this is just conjecture.
  6. fyellin

    fyellin LI Guru Member

    Looking through the source code in nvram/nvram.c, it seems that when "restore" sees et0macaddr, it makes sure it's the right value. But it doesn't complain if there is no et0macaddr in the file.

    I haven't had the nerve to try this yet.
  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