Page 1 of 1

Semi-bricked WRT54GL {SOLVED}

Posted: Sun Oct 30, 2011 12:14 pm
by Sooty
I flashed the WRT54GL with gargoyle_1.4.3-wrt54g-squashfs.bin, having reset the DDWRT mini to its default settings.

All was fine.

Like a muppet I messed with the subnet mask on the LAN and lost contact via web interface and ping.

I followed the failsafe instructions and got as far as getting a telnet connection (I think).

Code: Select all

[james@localhost /]$ telnet 192.168.1.1
Trying 192.168.1.1...
Connected to 192.168.1.1.
Escape character is '^]'.
Waiting for encryption to be negotiated...

Encryption could not be enabled.

 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
 ------------------------------------------


BusyBox v1.15.3 (2011-10-24 18:09:44 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 Backfire (10.03.1-RC6, unknown) --------------------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua 
  * 1/3 shot Bailey's  on the bottom, then Bailey's, 
  * 1/3 shot Vodka     then Vodka.
 ---------------------------------------------------
root@(none):/# [james@localhost /]$ 
The problem is "firstboot" is not found as a command.

What am I missing?

Edit. Found an XP machine and telnet works.
Re-booted router and works as it did before I messed with it!

Code: Select all

 === IMPORTANT ============================
  Use 'passwd' to set your login password
  this will disable telnet and enable SSH
 ------------------------------------------


BusyBox v1.15.3 (2011-10-24 18:09:44 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 Backfire (10.03.1-RC6, unknown) --------------------
  * 1/3 shot Kahlua    In a shot glass, layer Kahlua
  * 1/3 shot Bailey's  on the bottom, then Bailey's,
  * 1/3 shot Vodka     then Vodka.
 ---------------------------------------------------
root@(none):/# firstboot
Unlocking rootfs_data ...
Erasing rootfs_data ...
root@(none):/#

Re: Semi-bricked WRT54GL

Posted: Sun Oct 30, 2011 12:19 pm
by hnl_dk
Sooty wrote:...
The problem is "firstboot" is not found as a command.

What am I missing?
How did you run it?
/sbin/firstboot

Re: Semi-bricked WRT54GL

Posted: Sun Oct 30, 2011 12:48 pm
by Sooty
I tried directly at the command line of Mandriva 2010 as a normal user, and now as you suggest.
/sbin/firstboot

I have never used telnet before, so I am unsure that it is connected. The directories I can see are the ones of my operating system, not the router.