View Source:
LinksysWrt54GlUpgradeToDdWrt
Note:
This page has been locked and cannot be edited.
!Making your Linksys WRT54GL wireless router open source with dd-wrt Home wireless routers are actually pretty complex computing devices and many of them run some sort of stripped-down linux or some other embedded OS such as ~VxWorks. When I purchased my Linksys wireless router 5 years ago I specifically bought one that could be upgraded to run an alternative open linux platform such as [dd-wrt|http://www.dd-wrt.org]. Well for five years I never bothered to upgrade the firmware because the wireless router worked fine as-is. However, I finally decided to upgrade for a few of reasons: * I wanted to know who was using my wireless network. * My macbook had started randomly dropping wireless connections. * I wanted to be able to ssh in to my wireless router. * I didn't want to lose any more geek cred. I then investigated which alternative router firmware packages were available. When I purchased my router Linksys had just created a new model: the WRT54GL. This was similar to the existing WRT54G in that it had 4MB of flash ram. After the WRT54GL was released Linksys reduced the amount of flash on the straight 'G' model to just 2GB to save manufacturing costs. While it is possible to replace the flash on just about all WRT54G... models replacing it on the GL is the easiest. So, if you have a regular G or a GS model, read on because some of these tips will apply for you. Just remember that you may not be able to install all the coolest features unless you have a GL. Also, apparently you can't replace the firmware on the version 7 WRT54G model [at all|http://www.dd-wrt.com/wiki/index.php/Linksys_WRT54G/GL/GS/GX#WRT54G]. Most other models and versions can be upgraded with varying degrees of annoyance. The first step was to pick an appropriate replacement OS for the router. This [extremetech article|http://www.extremetech.com/article2/0,2845,1934567,00.asp] does a nice job of covering the possible alternatives. I went with dd-wrt because according to the article it was completely open-source, featureful, and easy to install. [This guy|http://it.toolbox.com/blogs/php-bsd-me/linksys-wrt54gl-ddwrt-software-15026] agrees with me on that. The dd-wrt website is unfortunately confusing, mostly due to the vast number of different wireless router makes and models it supports. This [specific wiki section|http://www.dd-wrt.com/wiki/index.php/Linksys_WRT54G/GL/GS/GX#WRT54GL] pointed me in the right direction. Be sure to read the top of that page which details how to definitively identify which router you actually have, as Linksys makes this quite confusing and often uses the same name for totally different hardware. From everything on that page, I knew the correct sequence was to first install a 'mini' version of the dd-wrt image, and from there install a 'std' (standard) version. This is necessary because some versions of the preinstalled Linksys firmware have a 3MB flash image size limitation, and the standard version is larger than that. While the notes indicate that you may be able to install the standard version directly depending on which existing Linksys firmware you have installed, it is safest to bootstrap with the mini version first, and then install the standard version. I downloaded both the [v.2.4 sp1 consumer mini 1.1 firmware|http://www.dd-wrt.com/dd-wrtv2/downloads/v24-sp1/Consumer/Linksys/WRT54GL_1.1/dd-wrt.v24_mini_generic.bin] and the [corresponding standard firmware|http://www.dd-wrt.com/dd-wrtv2/downloads/v24-sp1/Consumer/Linksys/WRT54GL_1.1/dd-wrt.v24_std_generic.bin] onto my Mac. Then, I plugged my mac directly into my wireless router with an ethernet cable as it seemed safest to do the upgrade over wired ethernet instead of wireless. I then also disconnected the Linksys from my outside internet connection just to be paranoid, in case upgrading the firmware left it open to attack. From there I logged in to the router by pointing the web browser on my Mac at the router IP address and logging in the usual way with my existing admin user and password. Then I went to the 'administration' screen and chose 'upgrade firmware'. I supplied the name of the mini firmware file already on my Mac and waited for it to download and for the router to automatically reboot. In five minutes I was back in business. The first thing to remember is that the dd-wrt firmware changes your router administrator username to 'root' and the password to admin. That's another good reason to do the upgrade with your router disconnected from the outside world. I immediately changed the admin username and password through the dd-wrt gui interface, which is fairly similar to the stock Linksys firmware gui, but with more options. I was pleasantly surprised to see that all my existing router settings were preserved so once I reconnected my external network cable my network was back up and ready to go. I could have stopped at this point and had a working system but I wanted to try out all the features available with the standard dd-wrt firmware. I immediately used the dd-wrt firmware upgrade screen to upgrade once again, this time to the 'std' version of the firmware. Again, this worked just fine after the file uploaded and the router rebooted. At this point I had the router back up and running as before, but with a ton of new features. One thing I love about dd-wrt is that you don't have to use any of those features if you don't want to. For example you can turn on ssh access directly to the command line of the router and get a full command-line environment, complete with [busybox|http://busybox.net]. Another thing I like is all the extra info in the gui interface. For example, you can see a list of all the devices that are connected to your router and grpahs of current LAN and WAN bandwidth usage. If you leave your router unsecured like I do that can really help you keep an eye on who else is using it. In short, dd-wrt is incredibly easy to install and adds a ton of new features. My recommendation is that if you have a router that supports it, go install dd-wrt today. You gain a bunch of new features for virtually no work. ----- CategoryGeekStuff CategoryBlog
Please enable JavaScript to view the
comments powered by Disqus.
HollenbackDotNet
Home Page
Popular Pages
All Categories
Main Categories
General Interest
Geek Stuff
DevOps
Linux Stuff
Pictures
Search
Toolbox
RecentChanges
RecentNewPages
What links here
Printable version
AllPages
RecentChanges
Recent Changes Cached
No changes found
Favorite Categories
ActionPage
(150)
WikiPlugin
(149)
GeekStuff
(137)
PhpWikiAdministration
(102)
Help/PageList
(75)
Help/MagicPhpWikiURLs
(75)
Blog
(69)
Pictures
(60)
GeneralInterest
(44)
LinuxStuff
(38)
Views
View Page
View Source
History
Diff
Sign In