A real fix for those dead brick routers.
Needless to say the pathway to getting things going was long and tedious.
I did reach the point where the router was performing well with kamakaze and webif web interface.
Thanks to the Xwrt guys.
The list of packages able to be easily installed was most impressive. I will be again installing Openwrt/webIF and exploring more.
Very impressive and powerfull stuff. Pick a feature/package that you need and add it!!!
--------------------------------------------------------------------------
Once I had fiddled with it for a few days I decided to get it back to the more familiar DDwrt firmware. (I needed to do some survey work with it. The last thing you need is a new operating system that may not quite do what is needed.)
By this stage I was fluent in safe mode, telnet, ping, SSH/Putty MTD commands etc.
------------------------------------------------
I followed the instructions at
http://wiki.openwrt.org/Faq#head-1953fb … 599d465569
boot_wait did not seem to be an option available to me
----------------------------------------------------------------
and then the instructions at
http://wiki.openwrt.org/OpenWrtDocs/Deinstalling
--------------------------------------------------
comments like...
"You need to convert the bin (eg. openwrt-wrt54g-squashfs.bin) file to a trx file before reflashing"
WRONG! The openwrt-brcm-squashfs.trx is a generic trx file that will work on any supported broadcom platform. The openwrt-wrt54g-squashfs.bin is just "bin header + openwrt-brcm-squashfs.trx', the bin header just contains the firmware version number and what models the firmware can be loaded on; the bin header is only used for verification before writing the trx data to the flash. The mtd utility writes the given file to flash without verifying it; use one of the openwrt-brcm-squashfs.trx when using mtd. Converting the openwrt-wrt54g-squashfs.bin file back to a trx is just plain ignorant. "
were far from helpful and just plain rude, demonstrating an arrogant attitude that seems to demonstrate a wish to not only look down on others less knowledgable but a wish, for whatever reason, to keep them in a lesser place.
Whilst some people may know lots about linux and its operations, I do not profess to do so. I am more than happy to install it on a spare computer and learn. ( any one of three that sit under my desk ticking away at different projects.) I started out back in the early 1980's building my own z80 based computer, adding CPM operating system to it along with floppy disk drives, from there, many different computers and systems. I have now spent over 60 hours on a $70.00 router. For me it is the search for knowledge.. but so hard to extract here?
End of gripe.
------------------------------------------------------------
Refering to the Bin to TRx conversion, instructions stating that
1.2. Using the webif
Since White Russian RC4 you can use the webif to go back to the original firmware. The webif automatically recognizes a firmware image uploaded in BIN or TRX format and converts it accordingly.
Load the webif in your web browser and goto the System / Firmware upgrade page
make sure Erase the JFFS2 partition is checked
choose the BIN or TRX firmware file (downloaded before from the manufactures website onto your PC)
-----------------------------------------------------------------
This statement would seem to be inaccurate as the web based update with linksys.BIN stated errors in the trx file.
Back to the CLI/ Putty
Trimming the file with dd bs=32 skip=1 if=original.bin of=original.trx
and
mtd -e linux -r write original.trx linux resulted in a very unhappy router.
Over the weekend I wandered into the workshop and manufactured a Jtag buffer cable. This was soon ticking away under the desk, backing up all sections of the flash, but no amount of re writing, including a full dump from when the whole thing was working well. I extracted the data from another router, sadly different version, did not help....
Many hours searching the openwrt community resulted in little extra information.
---------------------------------------------
A few hours ago, wandering about the DDwrt community, with heaps of people responding to questions, I discovered the following.
http://www.wlan-skynet.de/download/skyn … _setup.exe
would seem to be the best thing since sliced bread....
Its all apps in one package. You need a Jtag cable, install the software, get the jtag talking, run the web update and key in your MAC address found on the sticker of the wrt router. Select the hardware version from the web updated code and it generates a new CFE.BIN, once that is installed with the command
tjtag -flash:cfe
reboot and use the supplied TFTP software to but any standard XXXXX.bin file back on and reboot. The standard web page is available with normal passwords etc. to enable normal configuration
I did glean from Openwrt, that the CFE had to have the mac address hard/soft coded. Thus the repair kit works oh so well.
I look forward to more semi destructive explorations.
What I did find was many people who have routers stuck/bricked and finding no answers. With any luck my postings will lead them to successful rescues.