OpenWrt Forum Archive

Topic: 8.09 Lock Out

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.

So, I know, I probably should have taken a little more time reading through all of the changes in 8.09 before I dove in but I didn't.  Anyway, I loaded 8.09 on a WRT54G (v3) fine and everything was working.  However, I was changing the config over to just a straight up bridged mode and somehow locked myself out of the unit.  I realize that in 8.09 nvram is useless -- however I am trying to figure out how I can wipe it and start over.  Most of the links in the docu are broken and I get an nginx error page.  So, yes, I have looked -- now I am just asking for some help.  I was sick of DDWRT and saw a lot of great new things in OpenWRT that I wanted to give a shot with, but if I bricked it I bricked it...

Anybody?  smile

TIA!
--windexh8er

Mind pointing me to some redboot docs for OpenWRT?  Most of what I've seen is broken links.  TIA!

Anyone have any redboot defaults that are set in the images for 8.09?  I found a few old links but they get redirected and, again, nginx gives an error that the page doesn't exist because none of the docs have been maintained going forward to Kamikaze as stable.

Any insight is much appreciated, as from what I've already read redboot config is custom to how you set it up.  I'm guessing this config is predefined in Kamikaze...

TIA!!!
--windexh8er

(Last edited by windexh8er on 5 May 2009, 01:55)

windexh8er,

Can you boot into failsafe mode? Like holding the reset button when you power on your device?

I'll try that, although is there an indicator (i.e. specific LED pattern) that should show when it is in failsafe mode?

Thanks!
--windexh8er

I think Power and Wireless leds should be flashing one.

Thanks nas!

So, quick rundown for any newbs to OpenWRT -- failsafe on the WRT54G (mine is v3 - ymmv) is achieved by pressing the 'reset' button on the back after the DMZ light comes on during boot.  At this point the router should respond to 192.168.1.1 a short while later (i.e. ICMP / telnet).  At that point I just wanted to start fresh, so I did the following two items:

1) I wanted to revert back to the original JFFS.  When in failsafe you do not have access to JFFS (only SquashFS), so no changes are writable.  To wipe out all settings in JFFS you may have configured (*cough*botched*cough*) just type: 'firstboot' at the command prompt (obviously without the quotes) and let it do it's thing.

2) I wanted to wipe out all of the cruft left in nvram from other firmware I had on the WRT54G.  To do this I just ran 'mtd -r erase nvram'.  This step is probably not required since Kamikaze ignores those settings, but I'm just lame like that and I want to know that there's nothing in there that shouldn't be.  Again, ymmv, it worked for me and I'm not sure if there's a downside to doing that, but just my $0.02.  BTW, the '-r' in the mtd command will reboot the router after it's done erasing nvram.  I just did that because I had completed step 1 and wanted it to reboot.  You, obviously, don't need to do that right away if you choose not to.

Thanks again to nas for pointing me in the right direction -- I know, lame I didn't run across failsafe mode earlier and I feel slightly dumb about it, but it was an honest mistake and maybe this final post will help some other shmuck in the near future.  smile

--windexh8er

The discussion might have continued from here.