Thanks guys for all your coding and script work. I can fumble my way around as an advanced laymen user, but had some slight observations as I restored NVRAM settings today after a factory reset.
After the reset and restore, my
Diversion installation did not work anymore, and would not launch with the
Diversion command. Was able to re-download it and the clever installation scrip asked if I wanted to reinstall the version it found. That worked and got me out of a jam.
My question is:
- Should the NVRAM restore (
nvram-restore.sh) have restored my Diversion also?
- or, Would I have to have a) ran the NVRAM restore script, and then also afterwards separately run the jffs restore?
- or, would I have to have enabled jffs again on the router after reset, before then running NVRAM restore to add back my Diversion installation?
If the latter then I suggest modifying the factory setting notes to include:
Restoring After a Factory Reset
- Perform Factory reset (IAW your specific Router)
- log into the router's default IP at 192.168.1.1/index.asp (To bypass the ASUS Wizard)
- Set a new username / password
- You will need to acknowledge the TrendMicro EULA upon logging into the router Web GUI if it was previously enabled.
- Enable SSH (Recommend LAN only for security purposes)
- Enable JFFS (to allow jffs restoration)
- Connect via your favorite terminal emulator (e.g. Putty or WinSCP)
- Run NVRAM Restore
- The UPnP setting on the WAN page must be configured manually after running nvram-restore.sh.
Check me....
Thanks for both utilities: Diversion and NVRAM Restore (both the old and new forks)!