Skip to content

Instantly share code, notes, and snippets.

This file provides some nifty command-line tools around DD-WRT's nvram command.
https://www.dd-wrt.com/wiki/index.php/Hardware#NVRAM
USE WITH CAUTION: fiddling with nvram can wipe your settings and you may loose access to your router.
Hint 1: Different version of DD-WRT might use different nvram variables. Thus, be carefull when updating.
Hint 2: The commands listed below should be issued via a ssh-connection since the webinterface for issuing commands might time out for the longer commands.
Background
==========
Extracting the content of configuration variables with nvram would provide an easy way of selective backup/restore of settings. However, listing the content of the nvram via
nvram show
@edremington
edremington / keybase.md
Created January 7, 2020 20:29
keybase.md

Keybase proof

I hereby claim:

  • I am edremington on github.
  • I am edremington (https://keybase.io/edremington) on keybase.
  • I have a public key ASANpm8krLFPjXvD-IqGC8bdU7fJoW-mBTJCKJJm_i2GXwo

To claim this, I am signing this object: