Human-readable settings printout?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions
Author Message
Harbinger
DD-WRT Novice


Joined: 20 Apr 2009
Posts: 12

PostPosted: Sat Jul 04, 2020 16:30    Post subject: Human-readable settings printout? Reply with quote
Does a utility exist that will take ALL the DD-WRT settings and output them, in hierarchical format, to a file I can print? The last time I upgraded my firmware I had a heck of a time getting my router to talk to the WAN, and I spent a considerable time poking around until I found the right setting.

Thanks in advance.
Sponsor
eibgrad
DD-WRT Guru


Joined: 18 Sep 2010
Posts: 8397

PostPosted: Sat Jul 04, 2020 17:55    Post subject: Reply with quote
Not sure if this is what you're looking for. dd-wrt (like most third-party firmware) stores its settings in nvram, which has no standard or hierarchical format. The best you can do is dump all of nvram (var=value), sort it, and perhaps find what you're looking for.

Code:
nvram show | sort | less


The less utility allows you to page-up and page-down through the results, as well as home and end (q to quit).

Of course, you could also output the results to a file and download it w/ WinSCP for more casual review.

Code:
nvram show | sort > /tmp/nvram.out
SurprisedItWorks
DD-WRT Guru


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

PostPosted: Sun Jul 05, 2020 19:41    Post subject: Reply with quote
You can't usefully run sort on the output of nvram show because some nvram variables commonly extend over more than one line. For example, any Startup code you add is in rc_startup, and any firewall commands you add via the GUI are in rc_firewall.
_________________
Five WRT1900ACSv2's on 42926, 44048.
VLANs, multiple VAPs, NAS, client-mode travel router, OpenVPN client (AirVPN), DDNS, wireguard server, two wireguard clients (AzireVPN), use of two DNSCrypt DNS providers (inc Quad9) through OpenVPN and wireguard clients.
yoyoma2
DD-WRT User


Joined: 24 Sep 2016
Posts: 153

PostPosted: Wed Jul 08, 2020 1:24    Post subject: Reply with quote
Take a look at easyddup in this thread. It saves a (text) snapshot/restore point when you install/upgrade. It is built on top of a utility that could be used manually independently of easyddup.
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