bvagnoni
03-01-2009, 06:19 PM
If you want to factory default your router the easiest way I've found so far is to:
Note: Connect via serial it makes things much easier to see what goes on.
Flash with the latest snapshot from:
http://downloads.openwrt.org/snapshots/ar71xx/openwrt-ar71xx-ubnt-rs-squashfs.bin
Note: takes about 3 - 5 minutes to clear jffs, wait for it to finish. When you see the following it's ok to reboot and re-flash. You will only see these messages most likely via serial unless you wait and refresh dmesg.
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... done.
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
Then re-flash with factory firmware:
http://www.ubnt.com/downloads/RS/RSx.ar7100.OpenWRT.bin
and you will be at factory. You could also run /bin/./firstboot.
I'm sure there are better ways to do this but it works.
Brian Vagnoni
Note: Connect via serial it makes things much easier to see what goes on.
Flash with the latest snapshot from:
http://downloads.openwrt.org/snapshots/ar71xx/openwrt-ar71xx-ubnt-rs-squashfs.bin
Note: takes about 3 - 5 minutes to clear jffs, wait for it to finish. When you see the following it's ok to reboot and re-flash. You will only see these messages most likely via serial unless you wait and refresh dmesg.
jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
jffs2_build_filesystem(): unlocking the mtd device... done.
jffs2_build_filesystem(): erasing all blocks after the end marker... done.
mini_fo: using base directory: /
mini_fo: using storage directory: /jffs
Then re-flash with factory firmware:
http://www.ubnt.com/downloads/RS/RSx.ar7100.OpenWRT.bin
and you will be at factory. You could also run /bin/./firstboot.
I'm sure there are better ways to do this but it works.
Brian Vagnoni