Linux Hackers Reclaim the WRT54G 265
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.
Windows Installs (Score:3, Funny)
Reminds me of a Windows 98 installation I once did.
STAY AWAY (Score:2, Interesting)
Reminds me of when I upgraded my Version 1.1 WRT54G using the official firmware! Brick City.
Bought a Version 5 WRT54G and the thing turned into a brick all on its own during a normal reboot, after not even owning it for a day.
Bought a wireless print server. Wouldn't connect to my access point and didn't offer WPA as an option. Linksys removed WPA completely from the latest firmware and it apparently never worked in
Re:STAY AWAY (Score:5, Interesting)
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.
Use a UPS (Score:2)
And someone that's geeky enough to mess with the router must have a UPS around somewhere that they can temporarily re-task.
DD-WRT (Score:5, Informative)
Re:DD-WRT (Score:5, Informative)
Re:DD-WRT (Score:5, Informative)
Re:DD-WRT (Score:5, Informative)
I have to call bull. You must be a $400 router seller.
I've been use a WRT54G-v2 with DD-WRT for years and it's rock-solid stable (has _never_ even had a hickup), also under loads such as bittorrent and voip with a 7Mbit/512kbit link. Oh, and I also use the four ports as a switch with no problems whatsoever.
Re:DD-WRT (Score:4, Insightful)
~ # cat
4096
Re:DD-WRT (Score:3, Informative)
Sounds like you're running out of the ip_conntrack_max. Try raising it.
"but a $400 router, it most certainly ain't."
The main reason being that you didn't pay $400 for it, and it's not configured as a $400 router out of the box, but when setup right, it will do the same things equally well as most $400 routers.
Re:DD-WRT (Score:4, Informative)
Re:DD-WRT (Score:5, Informative)
* 13 languages
* 802.1x (EAP (Extensible Authentication Protocol) encapsulation over LANs)
* Access Restrictions
* Adhoc Mode
* Afterburner
* Client Isolation Mode
* Client Mode (supports multiple connected clients)
* Client Mode WPA
* DHCP Forwarder (udhcp (http://udhcp.busybox.net/))
* DHCP Server (udhcp (http://udhcp.busybox.net/) or Dnsmasq (http://thekelleys.org.uk/dnsmasq/doc.html))
* DNS forwarder (Dnsmasq (http://thekelleys.org.uk/dnsmasq/doc.html))
* DMZ
* Dynamic DNS (DynDNS (http://www.DynDNS.org/), TZO (http://www.TZO.com/), ZoneEdit (http://www.ZoneEdit.com/))
* Hotspot Portal (Sputnik Agent (http://www.sputnik.com) ,Chillispot (http://www.chillispot.org/))
* IPv6 Support
* JFFS2 (http://sourceware.org/jffs2/)
* MMC/SD Card Support (hardware modification required)
* NTP client in a client-server basis
* Ntop Remote Statistic
* OpenVPN Client & Server (only in -vpn build of the firmware)
* Port Triggering
* Port Forwarding (max. 30 entries)
* PPTP VPN Server & Client
* QoS Bandwidth Management (Optimize for Gaming and Services / Netmask / MAC / Ethernet Port Priority)
* QoS L7 Packet Classifier l7-filter (http://l7-filter.sourceforge.net/))
* RFlow/MACupd
* Routing: Static entries and Gateway, BGP, OSPF & RIP2 via (BIRD (http://bird.network.cz/))
* Samba FS Automount
* Syslog to remote server
* Rx/Tx Antenna (Select or Auto)
* Show Status of Wireless Clients and WDS with System Uptime/Processor Utilization
* Site Survey
* SNMP
* SSH server & client (dropbear (http://matt.ucc.asn.au/dropbear/dropbear.html))
* Startup, Firewall, and Shutdown scripts (startup script (http://wrt-wiki.bsr-clan.de/index.php?title=Start up_Scripts))
* Static DHCP Assignment
* Style (Changeable GUI; v.23)
* Supports New Devices (WRT54G V3, V3.1, V4, V5 and WRT54GS V2.1, V3, V4)
* Telnet server & client
* Transmit Power Adjustment (0-251mW, default is 28mW, 100mW is safe)
* UPnP
* VLAN
* Wake On Lan client (WOL (http://ahh.sourceforge.net/wol/))
* WDS Connection Watchdog
* WDS Repeater Mode
* Wireless MAC Addresses Cloning
* Wireless MAC filter
* WMM (Wi-Fi MultiMedia QoS)
* WPA over WDS
* WPA/TKIP with AES
* WPA2
* Xbox Kaid (Kai Engine (http://www.teamxlink.co.uk/))
About the "fun that you might leave out" if you go for the WRT54V5, with the smaller linux image loaded: The DD-WRT micro build does not contain: chillispot, nocat, rflow, kaid, samba client, SNMP, IPv6, MMC/SD Card Support, SSH, PPTP/PPTP Client, UPnP. This file is under 2MB in size. While it is aimed at routers with less than 2MB of flash space (e.g., Linksys WRT54G version 5), any router should be able to run this version, including Linksys WRT54G versions before 5. Note that the Micro version is considered in beta, so it has a chance of instability. For flashing a version 5 of the WRT54G, look at Flash_Your_Version_5_WRT54G.
Re:DD-WRT (Score:2, Informative)
Cisco, if you're reading this..... (Score:5, Insightful)
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. (Score:5, Informative)
Re:They aren't fighting them. (Score:5, Interesting)
Re:They aren't fighting them. (Score:3, Insightful)
I'm now running on a D-Link
Re:They aren't fighting them. (Score:5, Interesting)
No, Linksys did it the way they did as a backhanded way to cash in on the Free Software crowd. You can tell because the GL is basically the same hardware as the V4, but they increased the price -- anyone buying a GL is paying more for the same functionality!
If Linksys actually cared about the community they'd have just continued with one version, or at least continued to use Linux on the crippled "normal" V5.
Re:They aren't fighting them. (Score:4, Informative)
Re:They aren't fighting them. (Score:5, Interesting)
Re:They aren't fighting them. (Score:5, Interesting)
Moving it to a specialty product with a narrower audience is going to blow their economies of scale out of the water. They shrunk their consumer product down to save money by dropping the memory, then reintroduced a specialty product to fill a niche demand. Specialty products always cost more than general audience products. Besides, some retailers have already discounted them to the point where they're under $60.
In a way, it is greed. They want to be able to compete with all those cheaper routers with less memory using vxworks. If they don't, then their profits go away. Too bad it looks like their gambit won't succeed. Their vxworks product has been getting horrendous reviews.
Re:They aren't fighting them. (Score:5, Informative)
Simple greed to exploit the brand they created by cutting their costs and the capabilities of the hardware and pocketing the profits.
That's business, anyone whom has ever sold you anything has done that. Don't like it, don't buy it. Linksys didn't come out with the v5 to piss Linux nerds off, they did it because they save a shit ton of money with the new design.
Two roughly equivalent products, the v5 costs x to make the v4 costs x+y. The sensible thing if you must produce both (which they don't) is to bump the price of the v4 so the margins are the same. Which actually is a lot when you have to build, track, support, and promote a product.
That the price difference is less than 10 bucks is pretty suprising.
Re:They aren't fighting them. (Score:3, Informative)
Re:They aren't fighting them. (Score:3, Informative)
Re:They aren't fighting them. (Score:2)
It's $20. (Score:3, Insightful)
Re:They aren't fighting them. (Score:3, Informative)
In order to prevent Joe Sixpack from bricking his router and returning it under warranty, Linksys needed to offer a VXWorks router. Go buy a WRT54G at a Best Buy or Circuit City and you will find they don't offer the WRT54GL. That is not an accident.
Links
Re:They aren't fighting them. (Score:2)
You know, I wouldn't have necessarily had a problem with this if they had done it from the beginning; what annoys me is that they had a perfectly good product and then screwed it up.
Re:They aren't fighting them. (Score:2, Informative)
Re:They aren't fighting them. (Score:3, Insightful)
You need to learn about economies of scale. The v5 is cheaper hardware, thus it is better for the people who don't want to flash it - this is the vast majority of the customer base. They have continued to sell the v4 for the very tiny fraction of the customer base who want to flash them. They will be manufacturing the
Re:Cisco, if you're reading this..... (Score:4, Insightful)
Watch out for 3rd party firmwares for these (Score:3, Interesting)
Re:Watch out for 3rd party firmwares for these (Score:5, Funny)
Common, it's not like you bought it for it's intended purpose.
What sort of geek are you.
Re:Watch out for 3rd party firmwares for these (Score:4, Informative)
Re:Watch out for 3rd party firmwares for these (Score:2)
Other then that, you shouldn't have any problems whatsoever. 23-SP1 is a wonderful upgrade over 23, let alone the regular Linksys stuff.
Re:Watch out for 3rd party firmwares for these (Score:2, Informative)
I found myself tweaking the default firmware of these routers far too much, opening ports, trying to get different things working, etc. I put the OpenWRT firmware on, then dropped my old ipmasq scripts from debian over to it. A little bit of twe
What's The Point? (Score:5, Insightful)
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.
Re:What's The Point? (Score:5, Insightful)
Bite your tongue! Some folks purchased a v5 not realizing the trouble and instability that vxworks brings. This is GREAT news.
Woohoo!
Re:What's The Point? (Score:4, Insightful)
That said, while the utter joke that is the V5 should never have made it out the door, they've finally fixed many of the worst problems with the thing. So my guess is that this is mostly really good news for those that have problems still not yet fixed or for those that wanted some of the OpenWRT features -- I would have jumped on this a year ago, but today I might skip it.
Re:What's The Point? (Score:2)
Re:What's The Point? (Score:2)
Re:What's The Point? (Score:2)
Re:What's The Point? (Score:2)
I have to second you on that one. Even WRT54GL is starting to get too small for my uses, and I'm planning on moving to a WRTSL54GS for more room.
Re:What's The Point? (Score:2)
Regards,
Ross
Re:What's The Point? (Score:5, Interesting)
About additional capabilities. Double RAM (32), double flash (16), and USB ports.
These days, I use these MIPS based routers for lots of things. Including WiFi access point, but that is actually 10% of the use (at most). Firewalls, VPN servers, Asterisk servers, QoS bridges, security gateways, remote admin boxes (using USB-Serial adapters), backup servers etc etc.
They are cheap, reliable and have VERY low power consumption.
There are, of course, a few things I can't do with them (mail servers due to antispam and av, and a few other things that require too much memory). But the number of different things you can do with one of these babies is impressive.
Re:What's The Point? (Score:3, Interesting)
I asked about "DD-WRT style" firmware, so your answer is helpful and no apology is necessary. But I understand your confusion.
I have a 54GL and I use it for lots of things myself. My question was intended to help me answer: should I get one of these as well?
Re:What's The Point? (Score:3, Interesting)
What some linux users will do, at least until they decide to push
Re:What's The Point? (Score:2)
I just went through buying one of these and just searched for WRT54GL and found them all over the place. Ended up getting one from Amazon with free shipping.
Did you just not know that you needed to get the GL? Or did you specifically order a GL and just get a G?
Friedmud
Re:What's The Point? (Score:2)
All they have to do is look at the box. It's not like the model number is a secret or anything. It's printed on the box!
-h-
Does it have a client mode? (Score:2, Interesting)
Re:Does it have a client mode? (Score:2, Informative)
AP, Client, Client Bridge, Adhoc
So I assume the answer to this is yes. I've never used this feature however so I can't say how well it works.
Re:Does it have a client mode? (Score:5, Informative)
Don't know if the micro version supports this though.
Friedmud
Re:WTF? Who cares? OS X does this already. (Score:5, Funny)
WRT54G well worth it (Score:5, Interesting)
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?
Re:WRT54G well worth it (Score:4, Insightful)
Linksys/cisco embrace the whole "DIY" crowd and have produced a "WRT54GL" with the full amount of ram and flash so that linux hackers can do their thing. They made it difficult to flash the VXWorks one because too many idiots would try and flash a 4mb image on it and brick it, causing support headaches.
Re:WRT54G well worth it (Score:2)
Ahem. This hack proves the footprint argument wrong by example. I doubt that the purported smaller footprint ever was the real reason, it just sounded convincing... until now.
Re:WRT54G well worth it (Score:2)
Since they continued to release the GL, the ONLY reason apart from footprint for going to vxworks is so that they don't have to employ as many developers since they'd be getting a supported solution. Or do you have some other reason in mind?
a dollar, perhaps more (Score:2)
$1/unit adds up fast. $2 a unit even faster.
If they sell a million units a year, that's up to $2M.
Re:WRT54G well worth it (Score:2, Informative)
I've been using DD-WRT v23 for several months now and I love it, it's very stable from what I've seen. And bittorrent doesn't kill my connection like the official firmware used to do. QoS is nice and easy to configure, etc.
My router's only been up for 13 days, but thats due to a power failure.
Firmware: DD-WRT v23 (12/25/05)
Time: 00:27:13 up 13 days, 27 min, load average: 0.00, 0.00, 0.00
I'm in the middle of this right now.... (Score:5, Interesting)
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
Re:I'm in the middle of this right now.... (Score:2, Insightful)
Re:I'm in the middle of this right now.... (Score:2)
Friedmud
Re:I'm in the middle of this right now.... (Score:2, Informative)
1 some firmware can do a pin swap on the ports
2 you can use a crossover cable to do the swap
Re:I'm in the middle of this right now.... (Score:2)
Friedmud
Try a different router (Score:5, Interesting)
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?
Re:Try a different router (Score:2)
Friedmud
Re:Try a different router (Score:2)
My main problem with this is that those WRT54G/GL/GS are all quite expensive around here (Toronto). Is this expense warranted by the hardware? I doubt it. I'd prefer to have some other options.
Re:Try a different router (Score:3, Interesting)
It's fanless and thus zero-noise and uses 7W. I love it.
Re:Try a different router (Score:3, Interesting)
dd-wrt is very stable (Score:5, Interesting)
All that is a thing of the past. In fact, here's what my router says now:
-SuperTux
Re:dd-wrt is very stable (Score:2, Funny)
Re:dd-wrt is very stable (Score:2)
Can't currently find it on the wiki, but here is something related: http://forum.openwrt.org/viewtopic.php?pid=12215 [openwrt.org]
Forum (Score:5, Informative)
We over at the DD-WRT [dd-wrt.com] forum have been following this for a while [dd-wrt.com].
As with any other fine F/OSS project, please donate [dd-wrt.com] if you find the project useful.
An offer he can't refuse... (Score:3, Funny)
Linux Fanoy: "Don Jeremy, Cisco want's me to pay $20 extra for a Linux version of their router. What can I do?"
Don Jeremy: "You could act like a man!" [slap]
The next morning in John Chamber's bedroom...
[John discovers bloody penguin head in bed.]
John: AAAAAAAAAAAaaaaagghh!
Linksys WRTSL54GS Still way better. (Score:4, Interesting)
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.
Save $20 on a client (Score:5, Insightful)
Re:Save $20 on a client (Score:2)
Re:Save $20 on a client (Score:2)
The experience jimbogun describes sounds all too typical. The problem is that my time, at least notionally, is worth around $25 an hour, either for my day job or my home business, and that's un
Yea... but... (Score:4, Funny)
Why not WRT54GS (Score:2)
Re:Why not WRT54GS (Score:2, Interesting)
So When Can I... (Score:4, Funny)
Re:So When Can I... (Score:5, Funny)
Re:So When Can I... (Score:2)
Linksys's continuing missed opportunity (Score:5, Insightful)
Re:Linksys's continuing missed opportunity (Score:2)
Mixed reviews nothing. The WRT54Gv5 is crap. (Score:5, Informative)
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.
Re:Mixed reviews nothing. The WRT54Gv5 is crap. (Score:3, Informative)
Yet no WRT54GC? (Score:4, Interesting)
Hack a real router please (Score:4, Interesting)
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.
Hacking other makes: Netgear WGR614v5 (Score:3, Informative)
flat out the best $$$ spent for network hardware (Score:3, Informative)
Yes, but... (Score:2, Funny)
Stay away from dd-wrt if you've got a v1.x (Score:3, Informative)
For those of us who don't want to drop cash just to install some turbo-charged firmware, check out HyperWRT Thibor [thibor.co.uk]. It's a branch of the original GPL source released by LinkSys that has had many features added to it by a long line of developers. It doesn't quite have all the bling that dd-wrt has, but it runs great on my v1.1 with no CPU overload.
BTW, the symptoms of this problem are the wrt54g web interface not responding (or taking forever), DNS timeouts, and all internet access either slowing to a crawl or timing out completely. When the web interface finally responds, the system load average shows as *way* over 1.0.
Kudos to the developers of both projects!
Re:Un-bricking equipment (Score:2)
I haven't tried it though.
Friedmud
Re:Un-bricking equipment (Score:2)
Comment removed (Score:4, Informative)
Re:Un-bricking equipment (Score:2)
and there are (or were apparently the site dissapeared recently) instructions for flashing the DS using wires soldered onto the flash chip. I belive with the PSP they hit the problem of a BGA chip.
In general if the chips in a device are indentifiable as standard parts and in sane packages (no BGA or glo
Re:Hazzablazza zazzarazza schubadubirububuum kauma (Score:2, Funny)
Re:What about DSL users? (Score:2)
Huh? It goes:
Cable/DSL --> Cable/DSL Modem --> Linksys router
The router then can go via wired or wireless to all your computers.
Not including a modem means the router can works with either cable or dsl or whatever else...
W
(ps-- the above is only one combination, although probably the most common. Others in this thread have discussed other configurations)