Linux Hackers Reclaim the WRT54G
An anonymous reader writes "The world's most ubiquitous wireless access point is free to run Linux again, thanks to a brilliant hack by db90h, aka Jeremy Collake. No soldering is required, as Collake's 'VxWorks Killer' nixes the WRT54G's VxWorks bootloader and installs a normal Broadcom one, allowing Linux to be installed easily. One distribution small enough for the series five WRT54G's 2MB of Flash and 8MB of RAM is the free DD-WRT project's "micro" edition. It lacks some of the fancier Linux router packages, such as nocat and IPv6, but does support PPPoE, and could be more stable than the VxWorks firmware, which seems to have generated mixed reviews." Update: 06/26 22:52 GMT by T : Note that the project's name is DD-WRT, not (as it was mistakenly rendered) WR-DDT. Check out the DD-WRT project's site.
It's the dd-wrt project, not WR-DDT. Great package though, I run it on my v4 WRT54G.
Other manufacturers (nvidia, are you reading this) - this applies for you too. If you support the software I use most (Linux) I will support your hardware.
They aren't fighting them. In fact, they have released WRT54GL with linux, specifically for this purpose. They just didn't want people bricking their routers and returning them under warranty.
Send email from the afterlife! Write your e-will at Dead Man's Switch.
I got tired of futzing with the router more than I was just letting it do its job.
Common, it's not like you bought it for it's intended purpose.
What sort of geek are you.
perpetually dwelling in the -1 pits
What's the real point. Sure, the VXWorks version of the WRT54G is a little bit cheaper but, it has less memory, which limits its capabilities. The old Linux capable WRT54G is still available in the form of the WRT54GL so, why would anyone choose this route?
As I think about it, this development may actually hurt the WRT54G Linux crowd. If price is the motivating factor and everyone opts for the slightly cheaper VXWorks version, Cisco will likely discontinue the WRT54GL due to lack of sales leaving the LInux crowd with a less featureful option.
This is fabulous news. I own an early WRT54G which I use as a bridged PPPoE connection, and also as a router (both wireless and wired), and with custom firmware it performs a blindingly good job. As of right now, it has an uptime of just over a month, and I believe that was because of a powerout.
The original firmware was by no means pitiful, but it lacked a huge number of features that coders have 'rereleased', such as QoS, more advanced scripting abilities, better performance with BT and so on.
When I heard that they had moved to VxWorks, with no backwards compatibility with the custom firmware, I thought it was a stupid move. The firmware has improved immensely from the countless iterations created by outside coders, why not let that process continue?
I had lightening somehow take out my cable modem (which I rent) last weekend... it also fried the WAN port on my V2.2 WRT54G that was completely stock.
Needing a WAN port I went and bought another WRT54G (a new one at Best Buy that happens to be a V5)...
I knew that the WRT54G was hackable though, so I figured I would try to make some use out of the one with the dead WAN port. I nabbed the DD-WRT firmware and loaded it up... and on the first try it worked beautifully (well... I mean the firmware worked... I still didn't have a purpose for it yet).
I started looking at what the firmware could do and noticed the "client-bridge" wireless mode... meaning it could bridge two wired networks with a wireless link. I tried it out and sure enough it connected to my new V5 WRT54G without problem. Looking around my apartment I noticed a long ethernet cable running around the baseboards from where my cable modem and router sit (in my TV nook... where my ReplayTV is plugged into them) to where my server and desktop are.... and the thought came to me that I could use the "broken" WRT54G to bridge that gap instead (and make my wife happier... with less cords).
I hooked it up... and it's been working beautifully for a week... a very nice solution.
With how satisfied I was I thought it would be great to be able to hack my new one at some point in the future too... and when I found out that the V5 was difficult/impossible (at that time) to hack... and instead Linksys made a WRT54GL model that still ran linux and was hackable... I ordered one of those up (for about $10 more) and am planning on taking the V5 back to Best Buy as soon as the new one arrives from Amazon (later this week).
This news doesn't really change my mind about this... the WRT54GL is inherently a more hackable system (more memory and such) and should remain a good workhorse into the future.
The moral of all of these ramblings is that Linux is great! How did I come to that conclusion? Well... it's nothing except the open-sourceness of my old router's firmware that allowed me to still get utility out of it after part of it had failed. If it was some proprietary BS (like VxWorks) then it would have just been a plastic brick....
Friedmud
Even with this hack, the WRT54G v5 doesn't have the resources. We should be telling users to buy one of the equivelent routers from another vendor, such as the Asus or the Buffalo.
For starters, we need a new name to identify this platform (vs. calling it the WRT54G). The WRT54G/S is just one product utilizing the Broadcom platform.
Also, what about similar platforms from other wireless vendors? Their is a similar Linux platform from Conexant (Prism), but that's hard to get now. How about a Linux Atheros platform? After all, isn't Broadcom supposed to be the least open source friendly of the wireless chipset companies?
All that is a thing of the past. In fact, here's what my router says now:
-SuperTux
I'm using DD-WRT in client-bridge mode on my V2.2... and it works beautifully (you can even scan the local area for networks and then just click the "Join" button next to them to get connected... very slick).
Don't know if the micro version supports this though.
Friedmud
We over at the DD-WRT forum have been following this for a while.
As with any other fine F/OSS project, please donate if you find the project useful.
Colin Dean Go a year without DRM
Cisco/Linksys lobotimized the WRT54G by halving the flash and ram from the previous version, not to mention locking down access by puting a locked up vxworks on it. It's also quite retarded by having only two real ethernet ports, one attached to a built in six port switch with vlans. Makes some kind of routing impossible, and is less secure as firewall routing rules don't apply to packets that never get seen by the kernel.
The WRTSL54GS on the other hand has 32MB ram and 8MB flash, perfect for installing lots more software, and all the ports are true ports, making it fully routable/usable and more secure.
Cisco/Linksys:
When are you going to release a Linux Wireless Router that handles 802.11a/5.4GHz?
Why doesn't Compusa and Best Buy carry the units that can be Linuxatized/made useful?
How about a Linux router without wireless?
I know that if this last product existed, tens of thousands of these could be sold, and that's just to the company I work for.
Difference between WRT54G and WAP54G = $20 and a little work. I wanted to set up MythTv for my home. My internet access is in the back room but I watch myth in the front room. Naturally I went with wireless since the wife didn't want the ugly cables. I went to my local electronics store and bought a 54G not thinking it couldn't be a client. I set it up and home and found out I bought the wrong product rather quickly. Knowing that hacks like this exist for anything with a chip I did a little research and found the SVEASoft firmware. Downloaded it from another site (it's open source, thank you Linksys). I upgraded my firmware and on reboot got a blinking red light. That's when I found out about the term brick. After my heart started beating again, I did another search and found a quick tutorial on how to un-brick your system and first step is to try the Linksys exe (worked like a charm, again thanks Linksys). I then found DD-WRT, installed and worked like a charm. I was a little confused that I had to set my clients name as the same as the wireless server to enable the bridge, but after getting that straight everything worked like a charm. Overall, the potential heart attack was not worth $20, but the satisfaction of buying something, finding out it doesn't work and turning to the open source community for the answer, Priceless.
does it run Windows?
Yes. And when OS X runs on a Linksys WRT54G we'll call that slick too.
If not now, when?
Amazed, am I, at Linksys's continuing to miss the opportunity to sell a fully featured WRT54G themselves. They could have a knockout product out of the box in that price range that would leave the competition scrambling, but persist in sticking to a basic, no frills configuration.
"It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
I work for a small WISP and I've dealt with more than my fair share of WRT54G routers. We began with the WRT54Gv4 router and they were spectacular. They were solid, stable, and only had problems when they were struck by lightning (don't ask...). We distributed many dozens of these routers. To my knowledge, every one of them is still in use today.
Then Linksys released their version 5 of the router. We deployed dozens more of these. We've had two main problems with them: the WAN port loses its ability to communicate with a static IP address (it thinks it's been assigned 0.0.0.0--very helpful); or the WLAN connection permanently ceases to work properly (it still puts out radiation at 2.4GHz but it's just noise). Out of the dozens of these v5 routers we've installed for customers, approximately 25% have been returned to Linksys.
We no longer use Linksys routers for our customers. We sell D-Link WBR-1310 routers instead. It took me a while to get over my initial snobbish elitism (I'd used D-Link's products in the past and they were less than stellar) but now I'm a believer. The WBR-1310 is fantastic. We've put a couple dozen of these in the field and so far there hasn't been one issue among them. D-Link has really cleaned up their act. It also helps that these basic routers are dirt cheap. Even Office Depot sells them for $40-60 so you can imagine what wholesale prices are like...
At home, I'd had different problems with my WRT54Gv5. Basically, any time I tried to use BitTorrent, the router would play hide-and-seek with my network. It didn't matter whether it was LAN or WLAN, the connection would cut out every two minutes. Only a power cycle would bring it back. I've since replaced it with the aforementioned D-Link WBR-1310 and I'm pleased as punch. BitTorrent works faster than ever and I've not yet had to power cycle the thing after two months of punishing use.
So... Mixed reviews? Hardly. The WRT54Gv5 is the least reliable router I've ever used, and I've used a LOT in that price range. It's a bloody shame, too, because Linksys really had something going with the v4 of the same router. If they sold them again, we'd buy a hundred in an instant, with orders for hundreds more down the road. But somehow, I doubt Linksys will ever go back to the v4.
Here's hoping that this new DD-WRT release will ease the pain of so many unfortunate buyers of the WRT54Gv5.
I'd rather turn a PSP into a router. At least then it would do something useful...
Why can't someone hack something useful like a cheap gigabit 16 port router? The wrt54g is certainly promising for hacking some private vpn wireless connections but other than that it only has 4 ports.
I dream of a powerful 16/24 port gigabit swiich I could load linux on. I could then get IPv6, broadcast, anycast, multicast, and all the other new IPv6 protocols I'd love to play with and customize it to my hearts content. No more proprietary BS.
I'd settle for an 8 port gigabit switch and a 16 10/100 for appliences.
I need all those ports because eventually everything will be hooked into it, routers, phones, stereo, if it's possible I'm going to do it. It's disgusting how all the home user venders are ignoring a feature they could hype.
but if your going to replace the firmware anyway why would you care about the original sucking?
the reason for the wrt54gs fame is it was/is cheap small low power and customisable. For example i know someone doing a major wireless scanning project using one as the head end (you wan't the antenna leads as short as possible and its a lot easier to set up a wrt54g on the roof in a box than a full PC as its small and can be powered withoug having to worry about the problems of safely doing mains outside.
note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register