[TriLUG] bricked wrt54g.. or WTF54g?

Mike Johnson mike at enoch.org
Wed Jun 1 09:40:52 EDT 2005


Greg Brown wrote:

> What still surprises me is the configuration from one openwrt install
> survives being reverted back to a linksys image, then flashed back to
> OpenWRT.  Granted, it seems logical that configuration information
> would persist between upgrades as it would be a huge pain to
> reconfigure a unit each time you upgraded firmware but I am still
> surprised that the configuration is not overwritten when flashing
> dissimilar images to the same unit.  Odd.

The settings are stored in nvram.  The firmware is stored in flash. 
There are changes you can make to an OpenWRT system that would not 
survive firmware swaps.  For instance, network settings are stored in 
nvram.  If you were to make a change to a file in /etc, you'd loose 
that.  If you want to reset your nvram changes, try this (from the 
OpenWRT FAQ):
mtd erase nvram
reboot

Mike



More information about the TriLUG mailing list