I recently acquired a Linksys WRT54GL wireless broadband router. The nice thing about this piece of networking gear is that it runs Linux. There is an abundance of information on the prior model (WRT54G) of this series on the Internet. In fact, there is so much information that I had over twenty tabs open in Firefox of various web sites to sort through just to get the information that I needed to hack on my new router. So I decided to write this guide to save others from information overload.
The “L” in the model number, WRT54GL, stands for Linux. The previous models of the WRT54G are also powered by Linux (version 1.0 to 4.0). The latest version of the Linksys WRT54G is version 5.0 and runs VxWorks. The move to VxWorks cut the memory footprint in half according to Mani Dhillon, senior manager of product marketing at Linksys. This claim appears to be based in fact because the Version 5.0 model only has 2MB of Flash and 8MB of SDRAM. “We still wanted to have a Linux SKU for the Linux audience,” said Dhillon, hence the WRT54GL.
Linksys WRT54GL Features
- Linux Kernel 2.4
- Based on the Broadcom BCM5352E SoC
• (BCM95352E Hardware Reference Design)
- Hardware design is the WRT54G Version 4.0
- After market firmware upgrades
- All-in-one Internet-sharing Router, 4-port Switch, and 54Mbps Wireless-G (802.11g) Access Point
- Shares a single Internet connection and other resources with Ethernet wired and Wireless-G and -B devices
- Push button setup feature makes wireless configuration secure and simple
- High security: TKIP and AES encryption, wireless MAC address filtering, powerful SPI firewall
The Linksys Wireless-G Broadband Router is really three devices in one box. First, there's the Wireless Access Point, which lets you connect to both a Wireless-G (802.11g at 54Mbps) and Wireless-B (802.11b at 11Mbps) devices to the network. There's also a built-in 4-port full-duplex 10/100 Switch to connect your wired-Ethernet devices together. Connect four PCs directly, or attach more hubs and switches to create as big a network as you need. Finally, the Router function ties it all together and lets your whole network share a high-speed cable or DSL Internet connection.
The WRT54G has gained in popularity due to the fact that one can upgrade the unit with after market firmware. This is possible because the WRT54G runs Linux and uses other Open Source software in the box. As required by the GPL, Linksys has made available the source code and can be downloaded from the Internet. Hackers picked up this code and created new development branches that added features such as SSHD. I downloaded the WhiteRussian RC4 image from OpenWrt and two minutes later, I SSH'ed into my WRT54GL. After
poking around for a few minutes in /proc I was left with a hunger for what all the BCM95352E was capable of.
My first reaction was to increase the memory size. More memory means more applications that the WRT54GL could run concurrently.
 Update: A12 appears to be connected to the BCM5352E SoC. All that is left to do is to solder down the ram (HY5DU561622CT) and modify the source to tell the SDRAM controller what type of SDRAM is connected. Click on the image for a bigger picture. |
To my dismay, there is no pin information or schematic available to the public for the WRT54GL. After some digging I found that I could swap UC10 for a 256Mb X 16 and double the ram to 32MB. The only catch is that address line A12 from the SDRAM controller (BCM5352E) has to be routed to pin 42 of UC10. At the time of this writing, I have not verified this route. I emailed Linksys technical support asking if A12 was routed to UC10. As you would have guessed, Linksys would not tell me. “We are sorry but information like these can't be disclosed to the public. The information is withheld by our Engineers,” stated Linksys support in their reply email. The only option left is to remove UC10 and look at the pads. Before I do that, I've decided to go ahead and buy a 256Mb X 16 SDRAM to replace the old ram just in case A12 is there. I will update once I've accomplished this task. Removing and replacing the part is not hard, the hard part is getting access to a surface mount workstation with a microscope.
WRT54GL Article
Submitted by Anonymous on Sat, 03/24/2007 - 16:55.Howdy,
I found the article informative from a hardware level, but what I really expected from the article was details on the extra functionality you were able to add to your WRT54GL by installing 3rd party firmware.
Mike
Yeah, thats a good
Submitted by ByteEnable on Mon, 03/26/2007 - 20:16.Yeah, thats a good idea...maybe a matrix of feature sets could be added.
good i agree
Submitted by Anonymous on Fri, 06/29/2007 - 14:46.good
i agree
Is it possible
Submitted by Anonymous on Tue, 09/11/2007 - 03:25.Is it possible to upgrade the ram more than 32 MB, whats the possible max ram upgrading
WRT54GL v1.0 and MT46V32M16 chip
Submitted by Anonymous on Thu, 05/17/2007 - 11:50.I soldered the MT46V32M16 - all I see now is 32MB available.
Did you get more than that?
Ram request
Submitted by Anonymous on Thu, 06/07/2007 - 15:03.Hi, i'm interested to change ram chip, i search on digi-key, but i find only 256mb chip, what is the correctly digi-chip part number?
256Mb/8=32MB
Submitted by Anonymous on Mon, 07/23/2007 - 13:33.Mb = Mega bits, MB = Mega Bytes.
Upgrading to 256
Submitted by Anonymous on Tue, 09/11/2007 - 03:24.were to u able to upgrade to 256 mb
Ram Upgrade
Submitted by ByteEnable on Sun, 07/01/2007 - 14:35.The default is 16MB. By swapping out the RAM IC, you goto 32MB.
Access to schematic diagrams, datasheets and corporate greed!
Submitted by Anonymous on Sat, 09/15/2007 - 19:01.Just like to state the obvious:- (I hope this will encourage all to continue to make the wrt54gX better than ever!)
Possible reasons why Cisco Linksys and other manufactures skimp on hardware like the amount of memory,
release crapy and often buggy firmware that doesnt make full use of the hardware, and will not realease information
is that they are full of corporate greed.
They want to limit features as to protect their professionl range of products costing thousands "rip-off".
As you see with just a few small low costs mods, these linksys WRT54GS/L/G have become powerful..the thousands od dollars is just pure profit...hence greed.
Not greed - just smart business
Submitted by Anonymous on Wed, 11/28/2007 - 08:45.If they were to just give everything away at prices you might consider not being greedy, Linksys would not be profitable, would not survive, and you wouldn't be here looking at how to hack this wonderful product they have re-released for us to hack.
Welcome to the the man's world, little boy. Everyone is in the business to make money, including you. If you have two job offers and one pays $5.00 more an hour, which one are you going to take? Is that greed also, or perhaps just a smart move on your part?
Perhaps you should avoid your childish rants until you grow up and get a better understanding of how a successful business operates.
Old school business model, rather
Submitted by Anonymous on Sat, 02/09/2008 - 01:21.You don't get it, but then you are probably old school, so I can't really blame you. There is much business value in making one's product "open" and "hackable" - not just the software, but also the hardware. There is also much business value in being honest and genuine with one's customers.
Customers will always be willing to pay a reasonable amount more for well-designed products with more sophisticated hardware in them. Profit can easily be made by constant technological improvement, but companies that rather choose to make it by being greedy and ripping off customers will always be beaten by competition, and can never aim to become the sole purveyor of their product.
In America, companies can hardly see in the long term, and it's quite a shame for me to say this being an American. Linksys for one has a long way to go.
Actual prosperity comes not from money - it comes from the technological products themselves. Working in traditional corporate America has spoiled that sense of progress in you, if you ever had it to begin with. I pity you and others like you. You hold us back.
-Daethkus
Sounds like the rantings of
Submitted by Anonymous on Tue, 02/12/2008 - 21:25.Sounds like the rantings of a college kid. Out in the real world, we're here to make money. If customers want a load of extra features, we add them, and then charge the amount that generates the maximum revenue for us. The simple fact is that 99.99-percent of Linksys customers are not interested in hacking their routers. It is a waste of time and money to put any more bells and whistles than the bare minimum.
If you are interested in a more "socially concious" society where we're not working to make money but for some form of general wellfare, I would suggest Soviet Russia or China. Send us a postcard, as I'm sure we'd love to hear how you're doing.
Seriously. Grow up. Capitalism isn't what makes this country weak, it's what made us great.
Business
Submitted by Anonymous on Wed, 04/30/2008 - 21:21.I think both of you are missing a pretty valuable point. Its not about greed, its not about keeping the value of the enterprise line of products. Its simply basic business 101. Linksys is selling a wireless access point for about $50 or so. They arent in business to lose money, and raising prices too much will price them out of the target market. So they use less expensive parts to reduce the manufacturing costs, and in turn are able to provide a product that fits the need of the "average" consumer (not the hacking community) at a reasonable price. remember that they still have to pay people to transport, manufacture. and market these items on top of the price of the memory chip they decide to use. Also, making a device easily hackable adds a ton of issues with warranties, and requires more time to check RMAd devices for signs of tampering. More Labor hours, more time dealing with upset young hackers that dont understand how overclocking a cpu or raising the power level of their transmitters could possibly cause a device to fail prematurely. And then of course there the FCC and their rules.
Its all business, not ethics.
Have you messed with the flash chip?
Submitted by Anonymous on Wed, 09/19/2007 - 01:13.Have you looked to see if the flash chip could be larger like 8MB+? I hope the addressing lines are brought out to the footprint. The only thing about changing the flash is you'd have to flash the boot loader back onto the new flash.. so unlike the ram it wouldn't be plug(solder) -n- play.
Hack the WRT54G V8
Submitted by Anonymous on Sun, 10/07/2007 - 23:12.You can now hack the WRT54G V8 aswell. Gotta love DD-WRT. Check out the tutorial and all files here http://brokenbinary.ca/broken/index.php?q=node/5.
Depends on model. WRT54GSv4
Submitted by Anonymous on Tue, 10/23/2007 - 20:12.Depends on model. WRT54GSv4 and WRT54GL appear to accept up to 32MB. Just have to guess which pad set is the right one.
Antenna labeling in Block Diagram is probably incorrect
Submitted by Anonymous on Tue, 02/05/2008 - 14:12.As seen in the block diagram, the author of the article has named one antenna "b" and the other "g". This is most likely incorrect. Both antennas are probably capable of utilizing the b and g protocols.
No spec's
Submitted by ByteEnable on Tue, 02/05/2008 - 19:31.True, the diversity switch will attempt to find the best receive signal among the two antenna's.
Byte
A bit atypical hack: turning WRT54GL into a robot
Submitted by Anonymous on Sun, 02/24/2008 - 12:10.Here is the video with the result: http://youtube.com/watch?v=BtXiXpSmG9c and here is the hack description.
The router controls the servos via TTL Serial interface and runs slightely modified OpenWRT Linux.
Andrey Mikhalchuk
I wonder if it's possible to
Submitted by Anonymous on Fri, 03/07/2008 - 20:04.I wonder if it's possible to upgrade the memory in the WRT54G v3 router. Anyone know if that's possible? About to go look over my pictures again, see if I can figure anything out.
Router for Dial Up Modem?
Submitted by Anonymous on Wed, 04/09/2008 - 13:05.HI, I just got a notebook computer, and trying to find out if it's possible to set up a router and home network using Dial Up on telephone line? So far DSL and any high speed service is unavailable here. I am a beginner and find it difficult to understand all the language used on the formus. Any help or advice would be appreciated. Nita
Router for Dial Up Modem? YES!
Submitted by Anonymous on Fri, 05/16/2008 - 20:23.Before I was able to get broadband (cable) Internet access, I was able to use a D-Link DI-704 router with a USRobotics 56K dial modem to connect to Earthlink as an ISP. This was an off-the-shelf unit, it had set up menus to let you configure the parameters needed to dial in. It means storing your ISP account user ID and password in the router, but it got the job done.
The DI-704 has a 9-pin RS-232 serial port on it, you can connect a serial terminal for a console, or the modem for dial-up access. There was also a DI-704P model that had a built-in printer port (parallel I think) but I never got a chance to try one.
The only issues I had when using it for Internet access were (1) any PC attempt to access the Internet would fire up the modem to dial automatically (bad if you've only got one phone line!) and (2) you can set an inactivity timeout so it will drop the dial connection and release the phone line, but if you need the line sooner you had to log onto the router (via web browser) to tell it to drop the modem connection. Both these issues were minor, and I had no real problems at all.
Just remember that you won't get blazing fast download speeds with a 56K modem, particularly if you have more than one PC using it at the same time.
I'm not sure how old the DI-704 is, I had mine for a while even after I switched to broadband. The only reason I got a new router was to suport WiFi for a laptop.
You may be able to find a cheap used DI-704 on Ebay or someplace like that. Other routers may also support dial-up ISP access, I just don't know of any right off the bat.
Good Luck!
Boy you have way to much
Submitted by Anonymous on Sun, 07/13/2008 - 11:52.Boy you have way to much time on your hands i suggest you get a girlfriend ....or boy friend ...which ever suits you!!
This product is for light use.
If you need bells and whistles you should pay for it