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
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