Hi,
I normally like to do "Factory Reset" with each new Firmware update on my Router. So, I know that I am starting from a clean state, it often helps me avoid issue(s) that others might have faced without doing Factory Reset. However, understandably the manual effort to reconfigure from scratch each time requires quite a bit of time and effort if you have a fair bit of NVRAM settings.
The following is what I have found as I gleaned through older forum discussions to simplify the process, hope that it is useful to others who are not yet aware of such a utility.
Basically I am thankful for John’s “user-nvram-save-restore-utility 26.2” can be found here (Note that this has not been updated to save all new AiMesh related settings):
If you read the QuickStart.txt file, you will find that there is a “save-mynvram.sh”, which is a small script that can save/restore a small number of user specified nvram settings. Read also instructions to format Thumbdrive and setup SSH.
Before I do factory reset on my router (where I already has SSH setup), The following command save only selected settings (such as DHCP, PortForwarding and WakeOnLAN related settings):
- ./save-mynvram.sh dhcp_static_x dhcp_staticlist custom_clientlist vts_enable_x vts_rulelist lan_stp wollist
After factory reset on my router, I basically setup SSH on Router and to restore only selected saved settings I run the following command:
- ./restore-mynvram.sh
- nvram commit && reboot
The Script will tell me that the following has been restored:
- * Restoring dhcp_static_x
- * Restoring dhcp_staticlist
- * Restoring custom_clientlist
- * Restoring vts_enable_x
- * Restoring vts_rulelist
- * Restoring lan_stp
- * Restoring wollist
PS: I did some experiments to validate that the NVRAM settings are relevant to me. I also do other things like restoring customized icons I used for all my devices, etc.
So, "Factory Reset" is not so painful for me now