Hack a Linux router for fun and profit

Null Pointer

Chris Duckett

Chris Duckett dispenses with "trends", "magic quadrants" and other salesbot speak to investigate what is really the foundation of IT: source code.

There always comes a time when vendors move their support resources from your slightly aged product to their brand-spanking new products. The hardware is fine and capable of doing so much more, but is shackled by the vendor's software.

In short, if you haven't considered user-created firmware by this stage, you really should.

By way of example, the subject shall be my venerable Linksys WRT54G router that I purchased many years ago with the firm knowledge that the firmware was upgradeable and could add features to it that Linksys would not.

Specifically, this was the ability for the router to act as a wireless networking client rather than an access point; essentially it is a movable wireless card on steroids — and the ability to play with its innards via standard Linux commands was attractive.

If you're looking to flash your firmware, the following list is required:

  • An ability to accept possible "bricking" of your device;
  • Technical know-how: if you can't use Linux then don't put it on your router; and
  • Patience: Murphy's Law seems to dominate exercises such as firmware upgrades, if you expect it to be up and working in five minutes, then you are in for a truckload of disappointment.

Originally I used the now legacy White Russian builds from the OpenWrt project and this served me well for many years, until a new ADSL modem appeared on the scene. Trouble with WPA2 authentication appeared and I decided it was time to update my third-party firmware.

Currently the OpenWrt project has replaced White Russian with Kamikaze, so it was the natural upgrade path. Unfortunately, it has taken the Linux motif and structure one step too far for my tastes and the WPA support is still a pain at best.

FreeWRT became an option, but as it is a fork of OpenWrt, I was looking for real alternatives.

Enter DD-WRT (whose wiki is great, but the root page is less than useful), and I am a happy wireless camper again. This is still Linux-based firmware, but unlike the other firmware I tried, all configuration is intended to be performed via the web interface, meaning that you can leave your Linux knowledge at the door.

DD-WRT has an extraordinary number of features packed in, and includes the impressive Wiviz wireless visualiser.

Wiviz provides a great visualisation of the available
wireless nodes around you
(Credit: Chris Duckett/ZDNet.com.au)

The bottom line: as far as router third-party firmware is considered, I have to back DD-WRT 110 per cent. No other firmware comes close in terms of ease of use and feature set.

What is your experience with firmware replacement? What projects would you recommend to others? Let us know in the talkback.

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment

Terms of Service - As a ZDNet registrant, and by using this service, you indicate that you agree to our Terms and Conditions and have read and understand our Privacy Policy.

ZDNet Australia Live

I guess but in both cases, dead body!

5 hours ago by Doubt on National Botnet Network coming: Earthwave

I think it's for the very reasons you mention in your first paragraph that there is no CBA. With the ideological differences and vested ...

5 hours ago by RealismBias on NBN cost-benefit analyses are so 2011

Good points; but how do you establish consensus about the terms of reference of a cost-benefit analysis? What is to be included? How far ...

5 hours ago by Gwyntaglaw on NBN cost-benefit analyses are so 2011

I live in a small country town & have done since 2002. When I got to this town it had no mobile phone & no broadband. The only reason w...

6 hours ago by fibretech on Regional review highlights NBN, mobile

Hi there, just became alert to your blog through Google, and found that it is really informative. I am going to watch out for brussels. I...

6 hours ago by Uttedsips on Fujitsu Stylistic ST5011

Like most things in life, the devil is in the details. If a cost benefit analysis included a societal element, I'm certain nobody on eit...

6 hours ago by RealismBias on NBN cost-benefit analyses are so 2011

The coalition has done nothing else but keep changing their view over the last 2 years. -first it was "there is nothing wrong with the ...

7 hours ago by djz on NBN cost-benefit analyses are so 2011

Use the force Luke... FFS

7 hours ago by Beta on Regional review highlights NBN, mobile

michael kors outlet http://www.michael-kors-discount.com/#5923

7 hours ago by michael kors bag on Best iPhone travel apps

Hey butterflyeffecs and lex, Sorry you're not fans of this piece. But you're dead right in that it is the thoughts and experience of a se...

7 hours ago by LHopewell on Android fragmentation steers Vic Health

teen cams
http://www.aloe-vera.cz handjob

7 hours ago by MyncWenry on Fusion-io ioDrive (80GB)

We have fashional replica bags designer .Replica luxury bags sale here are perfect compromise of quality and price. The replica handbags ...

7 hours ago by Machelle on Telecom NZ CEO Paul Reynolds to leave

It's not a question of whether anyone at HSU would know how to do this, but whether they would have connections with people who could. T...

7 hours ago by meski on CT, phone clone

Fred, I can tell you what the difference between FTTN and FTTH is. FTTH means we will be developing technology and services that we sell ...

7 hours ago by andye on NBN FUD: will Abbott ever learn?

You are 100% right – Abbott is a paragon of tenacity. Now if he could only try that hard to get Malcolm Turnbull's phone number, we co...

8 hours ago by braue on NBN FUD: will Abbott ever learn?

Very interesting to hear Ben and thanks for providing some real-world examples. I suspect the NBN has actually improved things for a grea...

8 hours ago by braue on NBN FUD: will Abbott ever learn?

Hi Geoff, my opening paragraph simply suggests that the leader of the opposition party would rightfully be turning to his communications ...

8 hours ago by braue on NBN FUD: will Abbott ever learn?

Very good point Richard – perhaps one of the most interesting things about this whole debate is how extensively it feeds the collective...

8 hours ago by braue on NBN FUD: will Abbott ever learn?

Yes. I also wonder how much of this intentional subterfuge is actually playing out as part of Turnbull's master plan. Given the rough ri...

9 hours ago by braue on NBN FUD: will Abbott ever learn?

Westpac Management runs STG IT since the take over and it is they Westpac who makes the decisions.

9 hours ago by jeff_syd on St George opts to keep 200 IT workers

This story has been voted 12000 times in the last 24 hours!

11 hours ago, Is Bill Gates a great leader?

This story has been voted 10 times in the last 24 hours!

2 days ago, CeBIT 2012 opens: photos

This story has been voted 15 times in the last 24 hours!

2 days ago, Lenovo ThinkPad 3G tablet (32GB)

Facebook Activity

Keep up with ZDNet Australia

ZDNet Events Calendar

ZDNet Events Calendar