The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,225 other subscribers

TomatoUSB – selectively save/restore NVRAM settings before/after upgrading

Posted by jpluimers on 2017/07/14

TomatoUSB recommends a NVRAM reset (or 30/30/30 reset) before and after upgrades.

This means you loose all your settings which causes a lot of people to not upgrade at all.

The steps to export/import are a bit vague as they depend on what you want to save.

It basically comes down to do this on the old configuration

nvram export --set

Save that output to a local file and then use a search tool searching for specific sections you want to restore.

After you restored the sections ensure you persist them:

nvram commit

This is what the TomatoUSB author usually searches for:

nvram export --set | grep rrule1
nvram export --set | grep qos_
nvram export --set | grep dhcp_
nvram export --set | grep dhcpd_
nvram export --set | grep ddnsx0=
nvram export --set | grep lan_hostname=
nvram export --set | grep lan_ipaddr=
nvram export --set | grep wan_proto=
nvram export --set | grep wan_hostname=
nvram export --set | grep wan_domain
nvram export --set | grep pppoe_username=
nvram export --set | grep pppoe_passwd=
nvram export --set | grep http_
nvram export --set | grep router_name

–jeroen

Source: Using QOS – Tutorial and discussion | Page 3 | LinksysInfo.org [WayBack]

Via:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: