OpenWrt Forum Archive

Topic: "mtd erase nvram" kills Linksys WRT54GS v1.1

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

Hi,
after some toying around with a WRT54GS v1.1 and whiterussian rc3, I managed to mess up the nvram configs (apparently trying to turn it into a 5-port switch that connects to the internet through wlan by bridging all available interfaces isn't a good idea), and decided to "mtd erase nvram".

As a result, the whole device is inoperable now - it doesn't respond on 192.168.1.1 and not on its previous address, not even at bootup (guess mtd erase nvram turns off boot_wait too - doh).

Is there any way to recover this box?

did you try to hold the reset-button while powering up for the first 30 seconds? That should reset the nvram values on a WRT54GS rev.1.1

zoo wrote:

did you try to hold the reset-button while powering up for the first 30 seconds? That should reset the nvram values on a WRT54GS rev.1.1

Just tried -- doesn't change anything.

unplug power cable.
open it and make contact between pin 5&6 of intel memory chip.

see http://wiki.openwrt.org/OpenWrtDocs/Tro … ng#head-62 Shorting Pins Method

power on with contact between 5&6 during 1 or 2 sec.
It will wait on 192.168.1.1 for tftp.

be carreful
it works very often for me ;-)

Tried it -- doesn't work either (but apparently it didn't brick the router even more than it used to be -- the LEDs still behave as they would normally, just no reaction whatsoever on 192.168.1.1

The discussion might have continued from here.