simple to see settings in saved Config-NVrambak file?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions
Author Message
Sam1789
DD-WRT User


Joined: 14 Oct 2016
Posts: 313

PostPosted: Sun Jul 28, 2019 21:13    Post subject: simple to see settings in saved Config-NVrambak file? Reply with quote
I understand that nvrambak files from one build should not be loaded "restored" into a new build.

Is there a simple way to read the previously saved Config-NVrambak files to get what settings were
for a previously used build were? If so it would make the setup the new install easier.

Thanks,
Sam

_________________
multi-tier router stack
wrt 3200's for speed & cpu power, NG R6300v2's for WiFi AP's,
wrt 1200v2 for one of my secure subnets.
wrt54GLs for ad'l 3rd tier machines.
Sponsor
SurprisedItWorks
DD-WRT User


Joined: 04 Aug 2018
Posts: 376
Location: Appalachian mountains, USA

PostPosted: Sun Jul 28, 2019 21:38    Post subject: Reply with quote
When I do a backup, I also use the CLI to get a human-readable list of the parameters this way, on linux system foo:

ssh 192.168.1.1 nvram show >fooFileToSaveIn

_________________
Six of the Linksys WRT1900ACSv2 on r38159, r40009, and r40784. On various:
VLANs, client-mode travel router, two DNSCrypt servers (incl Quad9), multiple VAPs, USB/NAS, QoS, OpenVPN client/PBR (random NordVPN server).
d0ug
DD-WRT Guru


Joined: 31 Jul 2015
Posts: 758

PostPosted: Mon Jul 29, 2019 8:09    Post subject: Reply with quote
Quite frankly i've never had issues restoring config files from other builds. Try it and see what happens. Worst case you just have to factory reset it with the reset button and do a manual config.

I also never factory reset between version upgrades. My WRT1200AC hasn't been factory reset in well over a year and has had just about every build released in that time period installed on it. zero issues.

If you really need to get the info out of a backup, probably best to install whatever build the backup was made from to your router, do the nvram show all > outputfile.txt and then transfer that file off your router. Flash the version you want to use and use that txt file to manually restore settings.
Sam1789
DD-WRT User


Joined: 14 Oct 2016
Posts: 313

PostPosted: Mon Jul 29, 2019 14:11    Post subject: Reply with quote
Thanks for these replies. It has been a fairly long time since I have had to work on anything with my dd-wrt routers. So I'm foggy on using & setting up dd-wrt.

The routers in question today are ones which had been reset during a complicated power & UPS failure. But I had saved the nvrambak configs from before. It was not apparent initially what all might have happened to these routers. So I wanted to be cautious.

The list I got from the nvrambak > show was very long. & seems to contain a lot more information than I was/am looking for?
And I'm not sure how to get it from the router to my PC with telnet.

I will keep in mind the suggestion to NOT doing a "factory" reset when installing a new build. I had avoided that based on warnings on doing that from when I was first setting up my wrt3200's and wrt1200's. But that was a fair while ago and builds involved fairly substantial deep changes for those routers as the "devs" worked with the issues of getting good WiFi drivers from LinkSys.

I appreciate this help.

thanks,
Sam

_________________
multi-tier router stack
wrt 3200's for speed & cpu power, NG R6300v2's for WiFi AP's,
wrt 1200v2 for one of my secure subnets.
wrt54GLs for ad'l 3rd tier machines.
d0ug
DD-WRT Guru


Joined: 31 Jul 2015
Posts: 758

PostPosted: Tue Jul 30, 2019 4:13    Post subject: Reply with quote
do an nvram show > /tmp/www/nvram.asp

Then goto http://<routerip>/user/nvram.asp

Whatever file you drop into /tmp/www has to have a .asp extension to be served. I am not aware of any other extensions that it handles, but you will get the text content of the file. /tmp/www will clear on your next reboot as all of /tmp is a ramdisk.

If you want to view it in a "cleaner" format view the page source "view-source:<routerip>/user/test.asp" in chrome will display it with the proper carriage returns/line feeds.
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum