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

Make user settings default firmware settings

Discussion in 'Tomato Firmware' started by gawd0wns, Apr 23, 2008.

  1. gawd0wns

    gawd0wns LI Guru Member

    I would like to request a feature setting I once someone adapt to dd-wrt. I sometimes experience the router setting itself back to default settings as a result of a power surge, or some other unknown anomaly. I was a previous user of dd-wrt, and I found a special version compiled by a user, which allows you to save your settings as the default firmware factory settings.

    This proved extremely useful, especially since I had a few routers running in remote locations, which I had to travel to access.

    I think adding this feature as a default would greatly increase the reliability of tomato, and attract many more users/businesses to use it. This way, your router will always restore itself to your specially configured settings.

    (I just found a link to that dd-wrt version: http://www.dd-wrt.com/phpBB2/viewto...hlight=random+reset+factory+default&start=105
     
  2. kzrssk

    kzrssk LI Guru Member

    Are you for some reason unable to save your settings to nvram?
     
  3. bripab007

    bripab007 Network Guru Member

    Man, I hate to sound harsh, but that just sounds like a horrible idea.
     
  4. bigclaw

    bigclaw Network Guru Member

    What would be the fall-back to allow one to "really" reset to factory defaults then? From a software engineering stand point, altering factory default behaviors is really questionable. I agree with the previous post that it doesn't sound like a good idea.

    Given that you have the ability to save and load config files, I think the disadvantages outweigh the advantages easily.
     
  5. gawd0wns

    gawd0wns LI Guru Member

    I think this feature is better suited to those who are not always able to physically access their equipment. Someone running a small LAN might not be interested in this. Though if you have a large WDS network, or a VPN server running on your router which is miles and miles away, you might want to make sure it will always be available when you are not around to maintain it.

    How to reset to the real factory defaults? In this case, I think re-flashing the Tomato firmware would be the only way.
     
  6. kzrssk

    kzrssk LI Guru Member

    I still don't see why nvram isn't an option. I've power cycled my router plenty of times (without shutting it down from the GUI) and it's always come back up normally. Even Cisco routers and switches store their configs in nvram, and I've never heard of one factory resetting on power cycle.
     
  7. nvtweak

    nvtweak LI Guru Member

    I've seen a few threads discussing this very issue.

    I think, besides power surges, in some cases it could be caused by a flash chip going bad. Flash memory has limited write cycles, and someone who constantly flashes different versions of firmware is probably going to wear it out much faster than someone who just leaves it alone.
     
  8. bripab007

    bripab007 Network Guru Member

    They may have limited write cycles, but it's in the thousands, if not hundreds of thousands, of write cycles for most flash memory chips.
     
  9. bigclaw

    bigclaw Network Guru Member

    I think it's generally in the hundreds of thousands. Tomatoes will be long rotten before the flash memory dies of old age. :)
     
  10. nvtweak

    nvtweak LI Guru Member

    Or at least one would hope.
     

Share This Page