OpenWrt Forum Archive

Topic: Bad Flash?

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

I tried flashing my WRT54G with RC2 using:

mtd -r write openwrt-brcm-2.4-squashfs.trx linux

but it didn't work (I think it's cause I had a pretty old copy of OpenWRT installed and therefore an old version of mtd) so I decided to use tftp and firmware openwrt-wrt54g-squashfs.bin. I followed all the instruction on the Wiki and the flash seemed to go OK except now I can't ping the router on either the IP it was using before the upgrade (192.168.0.1) or the default (192.168.1.1). Can anyone please help or offer some advice?

Thanks.

sjmorgan wrote:

I tried flashing my WRT54G with RC2 using:

mtd -r write openwrt-brcm-2.4-squashfs.trx linux

but it didn't work (I think it's cause I had a pretty old copy of OpenWRT installed and therefore an old version of mtd) so I decided to use tftp and firmware openwrt-wrt54g-squashfs.bin.

In this case, you would have just to remove the -r. You will need to reboot by hand.

Vincent Bernat wrote:

In this case, you would have just to remove the -r. You will need to reboot by hand.

Thanks but like I said I used the tftp method and now I don't even have access to the router.

Have you tried entering failsafe mode ?

Nico wrote:

Have you tried entering failsafe mode ?

That did the trick, thanks! Using failsafe mode combined with "firstboot" and "nvram" reset I now have a shiny new install.

Be careful with nvram reset, it does not always restore a fully fonctional router, i.e. not all nvram variables are recreated, just the minimal working set.

Nico wrote:

Be careful with nvram reset, it does not always restore a fully fonctional router, i.e. not all nvram variables are recreated, just the minimal working set.

Yeah, I noticed that but it's OK because a minimal working set is all I really need (and want) at the moment.

OK looks like I spoke too soon as it completely wiped all of my wireless settings. Can anybody suggest some minimal nvram settings to get wireless working? I'd just like the standard behaviour of the wired and wireless interfaces being bridged using the same IP.

(Last edited by sjmorgan on 12 Aug 2005, 21:53)

I set:

wl0_infra=1
wl0_mode=ap
wl0_ssid=linksys
wl0_closed=0

and now all systems are go.

The discussion might have continued from here.