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.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.
| Thread starter | Title | Forum | Replies | Date |
|---|---|---|---|---|
| S | Solved Killswitch nvram variable | Asuswrt-Merlin | 1 | |
|
|
Asuswrt-Merlin - Traffic Analyzer - Statistics: Hostname NVRAM Variable | Asuswrt-Merlin | 9 | |
|
|
Asuswrt-Merlin Change Operation Mode Fails via NVRAM Variables | Asuswrt-Merlin | 15 |
We use essential cookies to make this site work, and optional cookies to enhance your experience.