nvram show | sort > nvram.txt
It works only on April builds and later. There was a bug with clearing NVRAM on MIPSEL routers (N66U, AC66U, N16) before.Reboot to factory specs clears the NVRAM.
It works only on April builds and later. There was a bug with clearing NVRAM on MIPSEL routers (N66U, AC66U, N16) before.
For older builds there is two steps workaround:
1) running mtd-erase -d nvram
2) switching router off by power button (not reboot!).
Otherwise, you'll get some garbage in NVRAM.
You're using the beta build of an unofficial firmware. No one here can guess what changes the creator has made to it.Hi ! I have AC66U. I don’t know what is the reason but now, not reset to factory settings
** YES MASTER! ** - RT-AC66U 380.70.1-HGG-RC2 Fri Jul 20 21:00:25 UTC 2018
admin@RT-AC66U-3B90:/tmp/home/root# mtd-erase -d nvram
Erasing 0x0 - 0xffff
"nvram" successfully erased.
admin@RT-AC66U-3B90:/tmp/home/root# reboot
How do I do a factory default reset?
Multiple ways to do so, which will depend on your particular situation.
If your router fails to boot due to corrupted/invalid nvram settings, then you will have to turn off the router, press the WPS button (on Asus routers), then turn on the router. Wait about 10 seconds, then release the WPS button.
If the router is booting correctly, then you can use any of the following:
- While router is running, press the reset button for about 5 secs, then release it. Router will then reboot.
- From the webui, on the same page where you can save/restore saved settings, there is a button to restore factory default values
- Over SSH, you can run the "nvram erase" command.
- Over SSH you can manually erase the nvram partition (do not use this method unless you know what you are doing! Erasing the wrong partition can permanently brick your router!) Run "mtd-erase nvram", followed by PHYSICALLY turning off then on the router. Do not use the reboot command.
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!