Broadband-Hamnet™ Forum :: Firmware
Welcome Guest   [Register]  [Login]
 Subject :Remove MESH firmware to install other firmware.. 2014-06-07- 13:58:55 
WF8S
Member
Joined: 2013-11-05- 10:56:59
Posts: 19
Location

I am trying to remove the HSMM-MESH firmware from one of my WRT54GS version 4 routers to reuse it with DD-WRT.

I have followed the steps referenced in another post in this area.

Go to SETUP>ADMINISTRATION>CHOOSE FILE>UPLOAD but when the upload finishes, it responds with "Firmware CANNOT be updated, the uploaded file is not recognized>

File I am trying to install is dd-wrt.v23_wrt54gs.bin

Any ideas?

IP Logged
 Subject :Re:Remove MESH firmware to install other firmware.. 2014-06-07- 18:14:08 
KF5JIM
Future Astronaut
Joined: 2013-07-17- 12:13:36
Posts: 250
Location: Nederland
Do a search to convert bin to trx. Best to use Linux. You could also scp the bin file to the temp directory on the device and then use the mtd command (search for "openwrt flash using mtd").
IP Logged
My opinions and views expressed here are solely my own.
 Subject :Re:Remove MESH firmware to install other firmware.. 2015-01-03- 00:58:33 
KD4SIR
Member
Joined: 2013-10-03- 23:55:01
Posts: 1
Location

It took a long sleepless night but I found a very simple way to do it in minutes.

The short version: Upgrade with tomato firmware (a trx file). Upgrade from Tomato using a bin file for dd-wrt, linksys, or whatever you desire.

The long version: I couldn't remember my password for the router so I used this (http://www.broadband-hamnet.org/documentation/71-using-safe-mode-to-reset-a-forgotten-password.html) to reset it to "abc" so the username/password was root/abc. This allowed me access to the SETUP>ADMINISTRATION>CHOOSE FILE>UPLOAD area. Broadband-hamnet uses OpenWrt.. as you discovered OpenWrt will not support bin files for any web firmware uploads. Changing the bin to trx file seemed over my head (removing the header pun intended). So after searching the end of the Internet, I found Tomato Firmware. Specifically a blurb about renaming the tomato firmware file from trx to bin with the explanation that the bin would work without the header. Everyone needs bin but OpenWrt needs the trx file...

1. Simply download Tomato Firmware here: http://sourceforge.net/projects/tomatofirmware/?source=typ_redirect

2. Extract the tomato.trx file from the archive. Use the web interface to upload this file. My broadband-hamnet stated successful after uploading and installing. I renewed my connection to 192.168.1.1 and the Tomato Router username/password is root/admin.

3. Navigate the Tomato web interface to Administration>Upgrade. Simply upload the bin you wanted here just like before. In my sleep deprived state I went to the original linksys firmware and then to DD-WRT but any bin will do. The password for DD-WRT is also root/admin.

Glad to help,
Scott, KD4SIR

IP Logged
Last Edited On: 2015-01-03- 01:03:38 By KD4SIR for the Reason
 Subject :Re:Re:Remove MESH firmware to install other firmware.. 2015-01-24- 04:48:00 
N4SV
Member
Joined: 2014-04-08- 19:54:23
Posts: 23
Location
Scott, KD4SIR, you are DA MAN! This procedure you documented worked perfectly. I had a router I luckily recovered from BRICK (a whole other story) so I have used it to test several upgrades/downgrades/backgrades, all have worked perfectly. The trick about loading Tomato as an interim firmware so you could then reload other .BIN files was a stroke of genius. A bit cumbersome, but much easier than the alternatives I think. I've taken the router from BBHN 3.0.0 to Tomato to original Linksys, back to BBHN 1.0.0 then back up to BBHN 3.0.0. All seemed to work well and no problems at all. Thanks for this very helpful post. 73, Bill, N4SV
IP Logged
 Subject :Re:Remove MESH firmware to install other firmware.. 2015-01-24- 22:32:56 
N1GMA
Member
Joined: 2015-01-24- 09:08:36
Posts: 1
Location

You don't need to go to Tomato, then Linksys, then something else, unless you don't have access to TFTP software and failsafe mode.  The wiki steps for reverting with TFTP don't work because the router isn't configured to listen for TFTP requests by default.  In order to turn this on, connect to the router in failsafe mode and enter the following commands:

nvram set boot_wait=on
nvram set boot_time=10
nvram set wait_time=10 
nvram commit

Have your computer's IP set to 192.168.1.2/255.255.255.0.  Have a Terminal or Command Prompt window open pinging 192.168.1.1.  Connect your computer's Ethernet port directly to the router's switch ports.  Power cycle the router.  As soon as you see pings respond, you have 10 seconds to initiate your TFTP transfer, either by command line or by some GUI or whatever.  The point is that you have 10 seconds and that it will work reliably.  All you have to do is connect to the device within those 10 seconds for it to hold in failsafe mode and wait for you to send the firmware over.

You can use this to directly install any compatible firmware to the device, but use files that end in .bin.  I don't know if .trx files will also work.

Caveats:

  • These instructions are for Linsys devices and have been tested on WRT54GL.  They should work for other WRT54G devices.
  • Failsafe mode and the commands above are specific to OpenWRT and its descendants (BBHN, etc)
  • Be sure that the firmware you're using will fit on to the device!  Standard disclaimers apply - if you put the wrong firmware on, you're going to permanently brick the device.


IP Logged
Page # 


Powered by ccBoard


SPONSORED AD: