Human-readable settings printout?

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> General Questions
Author Message
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.

Joined: 18 Sep 2010
Posts: 8452

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.

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.

nvram show | sort > /tmp/nvram.out

Joined: 04 Aug 2018
Posts: 1062
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, VAPs, NAS, client-mode travel router, OpenVPN client (AirVPN), DDNS, wireguard servers, wireguard clients (AzireVPN), two DNSCrypt DNS providers (incl Quad9) via OpenVPN/wireguard clients.

Joined: 24 Sep 2016
Posts: 157

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


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