Posted: Tue Oct 20, 2020 10:41 Post subject: DD-WRT reverting to factory defaults after each reboot?
Edit: Adjusted the title as the DHCP reservation question is resolved, and the issue seems to be now that on reboot, my DD-WRT is not maintaining any memory, reverts to factory defaults at each power down or reboot (see last few posts).
Been a while since I used DD-WRT, but flashed one of my R7000 the other day. Have about 40 or so reserved IP addresses for various devices that was painful to type in.
Noticed on the "upgrade DD-WRT" page it says to reset to defaults and not upload any config file.
Does that mean each time I upgrade I need to reinsert the reservations?
Last edited by pbc on Sat Oct 24, 2020 18:09; edited 1 time in total
Joined: 08 May 2018 Posts: 14222 Location: Texas, USA
Posted: Tue Oct 20, 2020 14:33 Post subject:
Upgrading from one version of DD-WRT to another doesn't always require a reset. If you're that masochistic to do so, feel free, but I generally do not and have not had any caveats. _________________ "Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT Pogo - A minimal level of ability is expected and needed... DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)
----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Joined: 04 Jan 2007 Posts: 11564 Location: Wherever the wind blows- North America
Posted: Wed Oct 21, 2020 21:08 Post subject:
You might want to try adding your Static leases back in from a command line. I have about 25 myself...so this is how I do it when I reset.
Here is an example with just 2 static leases. Also note...there is an extra space after the IP address = sign...both between leases...and one at the end before the final "
redhawk
Code:
nvram set static_leasenum="2"
nvram set static_leases="00:11:22:33:44:55=7000-BR=192.168.1.2= 66:77:88:99:AA:BB=6300v2-BR=192.168.1.3= "
nvram commit
_________________ The only stupid question....is the unasked one.
Thanks guys (sorry, for some reason I'm not getting responses in my email ... going to check the SPAM!).
So had added the IPs when I posted the message above, but kept my non DD-WRT until today when I planned on swapping it.
For some reason, when I plugged in the router, it effectively booted back into a default state. No user name or password, and no IP Addresses or port forwards that I had setup.
I'm on build 44538. Any ideas why that would happen?
Yup, just reentered all the IP reservations and then powered the router and all switches off, powered it back on, and everything was gone. Which is a tremendous PIA as you can imagine!
Bigger issue now is the fact that everything is lost in the unit when it is powered down and then powered back on.
Not sure if there is some sort of battery back up in the R7000 (I didn't think so) that is dead after so many years I haven't used it, or could it be an issue with the DD-WRT install?
Joined: 18 Mar 2014 Posts: 12889 Location: Netherlands
Posted: Sat Oct 24, 2020 16:17 Post subject:
pbc wrote:
Bigger issue now is the fact that everything is lost in the unit when it is powered down and then powered back on.
Not sure if there is some sort of battery back up in the R7000 (I didn't think so) that is dead after so many years I haven't used it, or could it be an issue with the DD-WRT install?
No there is no battery backup.
Everything is stored in flash ram (needs no power)
Flash Ram wears out so it might be "broken", but usually the router does not function at all I think.
My advice reset to defaults.
After that upgrade or install again the latest build (44628)
After upgrading telnet to the router and do:
Interesting. Reverted back to stock Netgear firmware, and there doesn't appear to be that same issue. Stock firmware holds the settings on a power off/on reboot.