It seems to get the full experience for the interface when updating you should reset your settings.
And yet dd-wrt is still has ZERO features to help you do this.
constant resetting isnt even needed.. but those who want to..
u have a clear option in administration --> factory defaults, or on the upgrade tab, select "after flashing, reset to"...
The old saved settings are not even slightly human readable.
what does that mean?
The file (e.g. nvrambak_r40009_DD-WRT_Netgear WNDR3700 V4.bin) is just a non human readable binary blob.
do u not know how to use nvram backups..? its not supposed to be a plain english .txt file.. administration tab --> backup --> select the nvram save file --> click restore. or simply dont erase during/after every update is the same thing as (100% POINTLESS) resetting after updating, then restoring settings after that
No the whole point is that sometimes it's not the same because something in the internal format changes but nobody twlls you when! Sometimes there is a rumor sometimes people like you now deny it.
But when every single build crashes at various points such as https://svn.dd-wrt.com/ticket/6722 I am forced to manually reenter my settings to see if that fixes it and I am also continually experimenting with my settings. And yes I have also bought a second router to rule out hardware problems.
To be fair, I had kept my settings 'as is' since the end of 2017. Not so long ago I had upgraded my 2018 copy to the more current 2019 build. So I do not upgrade as often as most (or perhaps as often as you should).
I do not believe it is required that you reset in most cases. So there really is no need to be mad about this. That said, to each their own.
Joined: 30 Jun 2014 Posts: 61 Location: California
Posted: Wed Sep 11, 2019 19:39 Post subject:
I seldom reset because of the effort involved to reconfigure everything. However, I have found a way to easily make a full backup of the GUI interface including all the options, check-boxes, keys and custom scripts.
Check out HTTrack Website Copier. http://www.httrack.com I use the Windows version with a GUI. But there are also command line, Linux, and OSX versions.
I use it almost straight-out-of-the-box, with only one option set: Change the scan rules to
Quote:
-* +*.asp +*.htm
This will grab a functioning snap-shot of your current dd-WRT set-up (The user interface will respond, no changes are made to router).
Makes a side-by-side comparison of new and old very easy. My one complaint is that the mirror copy it makes is too exact. Sometimes I get confused which one I am looking at.
I have no connection to HTTrack but have found it useful and thought I would share.
I mean there is nothing to help me correctly re-enter my 27 static DHCP allocations, DNSMasq commands to stop dd-wrt using my ISP's DNS servers, various settings and ceritificates for the OpenVPN server etc. etc.
The old saved settings are not even slightly human readable.
what does that mean?
The file (e.g. nvrambak_r40009_DD-WRT_Netgear WNDR3700 V4.bin) is just a non human readable binary blob.
and whatever other parameters you need to restore, or...
nvram show [| sort] > nvram.txt //don't recall if DD has `sort`
...and then go thru the list and find what you need, then you can make a script that does a:
nvram set {parameter}={value};[...];nvram commit && reboot
I recall forum posts about doing this kind of thing, with example scripts (and the Useful Scripts wiki). A bit of work on the front end, but then you're golden. Or at least a bronze patina...
Or just don't reset. _________________ #NAT/SFE/CTF: limited speed w/ DD#Repeater issues#DD-WRT info: FAQ, Builds, Types, Modes, Changes, Demo#
OPNsense x64 5050e ITX|DD: DIR-810L, 2*EA6900@1GHz, R6300v1, RT-N66U@663, WNDR4000@533, E1500@353,
WRT54G{Lv1.1,Sv6}@250|FreshTomato: F7D8302@532|OpenWRT: F9K1119v1, RT-ACRH13, R6220, WNDR3700v4
Joined: 08 May 2018 Posts: 14223 Location: Texas, USA
Posted: Fri Sep 13, 2019 3:00 Post subject:
I don't reset unless I see a specific commit that is going to possibly cause an issue if I don't reset. And it has to be a commit to the webUI server or page(s). Another good tip is to clear your browser cache when you're flashing and configuring. I've had the best luck with Firefox ESR. Every other browser has given me some kind of issues with the webUI. I will probably do a reset on the next build I flash because the serial console is reporting one thing and the webUI page is reporting another IRT nvram size
Joined: 03 Jan 2010 Posts: 7568 Location: YWG, Canada
Posted: Fri Sep 13, 2019 5:59 Post subject:
cursemex wrote:
since we're on the topic of resets, does nvram erase via telnet damage the hardware overtime? Say, over 5 years with nvram usually after upgrades?
try 15 years, doing it every single day, maybe. so "no". cause nvram is so tiny, and most if not all nand flash used in consumer routers are SLC, tough stuff (meanwhile modern SSDs in computers get worse with QLC, die faster, slower writes lol...) _________________ LATEST FIRMWARE(S)
BrainSlayer wrote:
we just do it since we do not like any restrictions enforced by stupid cocaine snorting managers
Joined: 08 May 2018 Posts: 14223 Location: Texas, USA
Posted: Fri Sep 13, 2019 6:17 Post subject:
Honestly, I wish the 'reset to defaults after flash' function worked 100% of the time without soft-bricking or other hoodoo voodoo. I haven't tested it in a while, though.