Posted: Sat Jul 04, 2020 16:30 Post subject: Human-readable settings printout?
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.
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.
Joined: 04 Aug 2018 Posts: 1447 Location: Appalachian mountains, USA
Posted: Sun Jul 05, 2020 19:41 Post subject:
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. _________________ 2x Netgear XR500 and 3x Linksys WRT1900ACSv2 on 53544: VLANs, VAPs, NAS, station mode, OpenVPN client (AirVPN), wireguard server (AirVPN port forward) and clients (AzireVPN, AirVPN, private), 3 DNSCrypt providers via VPN.
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.