Opened 11 years ago

Closed 11 years ago

#782 closed defect (fixed)

wrtsl54gs failure after erase nvram

Reported by: aorlinsk Owned by: developers
Priority: normal Milestone: 0.9/rc6
Component: packages Version:
Keywords: Cc:


If you clean your nvram partition, then you can only access your router in failsafe mode, and you have to set some variables to get your router responding on the network in normal mode.

This patch will setup the defaults for this router model.

Index: package/base-files/default/etc/init.d/S05nvram
--- package/base-files/default/etc/init.d/S05nvram      (revision 4793)
+++ package/base-files/default/etc/init.d/S05nvram      (working copy)
@@ -141,6 +141,10 @@
        nvram_default vlan0ports "0 1 2 3 5u"
        nvram_default vlan1hwname "et0"
        nvram_default vlan1ports "4 5"
+       nvram_default lan_proto "static"
+       nvram_default lan_ifnames "eth0 eth2"
+       nvram_default wan_ifname "eth1"
+       nvram_default wan_device "eth1"

 # needed at least for wrt54gs v1.1 and wrt54g v2.0, v2.2

Attachments (0)

Change History (2)

comment:1 Changed 11 years ago by pschmale

It might be nice to create a small program / flash image, that upon boot-up does nothing more than restore the nvram to the default settings like mentioned above.
This will help to restore routers that are "brick" due to invalid nvram contents but can still download a flash image from cse.

comment:2 Changed 11 years ago by florian

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in [5169]

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.