DIR-825 corrupted nvram erase

Report problems and success stories with Gargoyle on various hardware platforms.

Moderator: Moderators

Post Reply
swinters
Posts: 8
Joined: Sat Feb 20, 2010 11:44 am

DIR-825 corrupted nvram erase

Post 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?

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: DIR-825 corrupted nvram erase

Post 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
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

gogubeb
Posts: 16
Joined: Fri Jun 11, 2010 12:29 pm

Re: DIR-825 corrupted nvram erase

Post 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

swinters
Posts: 8
Joined: Sat Feb 20, 2010 11:44 am

Re: DIR-825 corrupted nvram erase

Post 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

slan
Posts: 7
Joined: Sun Apr 29, 2012 3:16 pm

Re: DIR-825 corrupted nvram erase

Post 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 :|

User avatar
DoesItMatter
Moderator
Posts: 1373
Joined: Thu May 21, 2009 3:56 pm

Re: DIR-825 corrupted nvram erase

Post 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.
:twisted: Soylent Green Is People! :twisted:
2x Asus RT-N16 = Asus 3.0.0.4.374.43 Merlin
2x Buffalo WZR-HP-G300NH V1 A0D0 = Gargoyle 1.9.x / LEDE 17.01.x
2x Engenius - ESR900 Stock 1.4.0 / OpenWRT Trunk 49400

Post Reply