OpenWrt Forum Archive

Topic: Need help - some nvram key settings corrupted and unreadable

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

Hello All,

I've an issue with some nvram settings corrupted and when I do a "nvram show", even the key name is unreadable (see sample below). How could I do to unset these settings? Is there any other way to get the key name? My router (Asus 500 Premium) runs well but I'd prefer to clean it...

Thks for you help

BTW, I'm running kamikaze 7.09 (2.4 kernel).


nvram show :

[...]
primary_ifname=eth0
printer_ifname=usb
productid=WL500g.Premium
pà *Aö«EXO=ÀzÒ[AÖÓN°3éÎcÕ#Và a¼m5à FO^s?à ^ë{2©~¢+æÄ}±$VÄx"vÄØWGâ­x/z>A]/°^ MæL
ü'ê61Xüë1ó)×#kâ¯à 31X7ñ/8ï&F¦PÇ0_à Fà )¾£é)¾£){{â;¾/?Qþ²ôüUù¤à GY_4ÈúòA
Ö²¾ óõÌwUÔyfà iÖ}0­ó2Mÿá4ý5éMñxu´¦YÇ©ô·ê×Q¿Kéïä¿ÿZúÎSè?`]@[¼xB}ë)tWï(hg&^
E~SçOW\!ýbC\þ   Ã§S´à ¾ÿ¸&FyRF/aÿNÖLüMÖà Äà úõÕï^ýBÃŒ?R
bþ]ScnYSåö3ÄsRMñôBÜÇw!îc_>7L½óCÚ`7Ìóz^æy}WÖ»ó?_ðüN^ðüf_ê^Ã83{ M^¼äx½\
rescue_gpio=4
reset_gpio=7
[...]
(there are other corrupted ones after)

dump nvram in text. erase then reissue all commands then nvram commit.

but carefull as some routers will be bricked if you erase nvram and then reset (i.e. they don't have a defaults initialization in their boot code).

mesher.

Hi Mesher,

Thk for the tip and for the quick answer (I actually did it in the meatime before to read your post).
I took another Asus 500GP, dumped its nvram, changed the necessary settings in the backup file and overwrote the faulty router with that file.

(Last edited by Chris000 on 15 Oct 2007, 11:28)

The discussion might have continued from here.