Page 1 of 1

DIR-825 corrupted nvram erase

Posted: Sat Mar 26, 2011 7:15 pm
by swinters
Have a DIR-825 running 1.3.10 that up until today was running great. I added an access rule to block youtube access to one ip address and after applying the config the router rebooted and constantly reboots. I was able to get it into the failsafe mode, but I cannot get the nvram to erase. This worked last time I tried it on a wrt-54gs, so I assume either something has changed with the new version of openwrt that gargoyle is using or the procedure for a 825 is different.

root@(none):/# mtd erase nvram
Could not open mtd device: nvram
Could not open mtd device: nvram
root@(none):/#

Or am I just missing a step?

Re: DIR-825 corrupted nvram erase

Posted: Sat Mar 26, 2011 10:27 pm
by DoesItMatter
If I remember correctly, Gargoyle does not use NVRAM

It uses a different config, but can't remember the name of it

Try this command at the command line

firstboot && reboot

type the line above and hit enter

It should reset the router to defaults and reboot the router

It will default to 192.168.1.1 and default password

reconfigure from scratch from there

Re: DIR-825 corrupted nvram erase

Posted: Sun Mar 27, 2011 3:43 am
by gogubeb
swinters wrote: root@(none):/# mtd erase nvram
Could not open mtd device: nvram
Could not open mtd device: nvram
root@(none):/#

Or am I just missing a step?
You can try this :
mtd -r erase rootfs_data

Re: DIR-825 corrupted nvram erase

Posted: Sun Mar 27, 2011 12:52 pm
by swinters
DoesItMatter wrote:If I remember correctly, Gargoyle does not use NVRAM

It uses a different config, but can't remember the name of it

Try this command at the command line

firstboot && reboot

type the line above and hit enter

It should reset the router to defaults and reboot the router

It will default to 192.168.1.1 and default password

reconfigure from scratch from there

Thanks DoesItMatter. firstboot did the trick. Updated to the latest and restored my backup. Router still resets when I configured the access restriction, but is did come back and the restriction is functional

Re: DIR-825 corrupted nvram erase

Posted: Wed Oct 10, 2012 9:59 am
by slan
firstboot && reboot
in Putty not working. After Reboot is all the same. I have make Client+Acces Pont, WPA-PSK Password, Login in webinterface without password. No change :|

Re: DIR-825 corrupted nvram erase

Posted: Wed Oct 10, 2012 9:09 pm
by DoesItMatter
slan wrote:firstboot && reboot
in Putty not working. After Reboot is all the same. I have make Client+Acces Pont, WPA-PSK Password, Login in webinterface without password. No change :|
Is this the same router? DIR-825?

Or are you referring to a different router.

You may have a corrupted download or bad flash.

You should re-flash the manufacturer firmware, reset to defaults,
then try to re-flash gargoyle once again and configure from scratch.