OpenWRT: ‘pushing’ the linksys wrtg54 on step further

A while back a wrote a small note about linux for embedded devices. Yesterday I put that to the test by installing OpenWRT on my Linksys WRTG (v2.2).

The installation was as smooth as ice: No problems at all! I first installed the latest stable. This was simply done by logging into the existing webinterface of my Linksys WRTG, and doing a firmware upgrade with the specific image for my linksys.

A note here: Read the common mistakes, like for instance this important one.

“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.

Yet this version (Kamikaze 7.07) doesn’t have the web administration tool (called WebIf) yet. So I decided to downgrade to the Wite Russian.

– cd /tmp
– wget
– mtd -r write /tmp/openwrt-brcm-2.4-squashfs.trx linux

So now I had my Linksys running OpenWRT, yet I wanted more! So going on the install rampage once again, where I “upgraded” the WebIf to the X-Wrt version.

pkg install

The events as described above took me give or take 30min time, as there were no problems. But bare in mind that you can have problems. So read up on how to troubleshoot when it goes wrong.

Happy wireless penguin time!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.