OpenWrt Forum Archive

Topic: Just flashed from DD-WRT, i still have some crap left, how can i clear

The content of this topic has been archived on 28 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Just flashed from DD-WRT, i still have some crap left, how can i clear the NV ram and stuff? as in fully clean. I have a WRT54GS v2.1

no PANDA, that won't delete all the vars you don't NEED to use. It will delete the vars that aren't used by openwrt.

In most cases, it's better to delete the vars that you don't need to use and let the system defaults takeover. Just don't delete anything the system needs incase ure router cant recover from it.

Panda, I went from LinkSys -> DD-WRT -> RC4 -> RC5 on a WRT54GSv3.  The nbd nvram-clean.sh is a MAJOR help but I also wanted to get as lean as possible - so I did the RC5 flashing from the web interface, selecting "Erase NVRAM" and for good measure "Erase JFFS2" (I use squashfs).  Give it a lot of time to finish firstboot.  I recorded the resulting NVRAM at a nice, lean, 63 vars after upgrade.

I see no reason you couldn't do this from RC5 to RC5 with the obvious warnings.  I already know there's a lot of folks that would never trust this procedure, but, part of my own learning process requires such a baseline.

EDIT: I immediately restored boot_wait (result is OFF!).  Good Luck.

(Last edited by Bill_MI on 14 Apr 2006, 12:39)

Bill_MI wrote:

Panda, I went from LinkSys -> DD-WRT -> RC4 -> RC5 on a WRT54GSv3.  The nbd nvram-clean.sh is a MAJOR help but I also wanted to get as lean as possible - so I did the RC5 flashing from the web interface, selecting "Erase NVRAM" and for good measure "Erase JFFS2" (I use squashfs).  Give it a lot of time to finish firstboot.  I recorded the resulting NVRAM at a nice, lean, 63 vars after upgrade.

I see no reason you couldn't do this from RC5 to RC5 with the obvious warnings.  I already know there's a lot of folks that would never trust this procedure, but, part of my own learning process requires such a baseline.

EDIT: I immediately restored boot_wait (result is OFF!).  Good Luck.

hey Bill_MI,

Could you let me know where Erase NVRAM is in the web interface?  I know where it's located on the Linksys firmware but I'm not sure where it is on OpenWRT.  I would look myself but I don't have access to that router right now.  Also, how did you restore boot_wait?  Did you use the "nvram set" command?

This topic has been answered too many times
- Use the cleanup script
- Do not fully erase nvram, you'll just cause more problems
- Erasing variables doesn't save any space

Search the forum. This topic is closed.

The discussion might have continued from here.