Differences between version 5 and predecessor to the previous major change of LinksysWrt54GlUpgradeToDdWrt.
Other diffs: Previous Revision, Previous Author
@@ -8,17 +8,47 @@
* 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 WRT54GX
models the GL is simplest
. 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 on other models
. 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 can be upgraded.
+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 and free
, 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 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.
+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 because some versions of the existing linksys firware
have a 3GB
flash image limitation, and the std
version is alrger
than that. While the notes indicate that you may be able to install the std
version directly depending on what linksys
firmware you have installed, it is safest to do
the mini version first, then the standard version.
+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 std
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 in case anything went wrong
.
+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 default Linksys firmware
by pointing my
web browser at the router IP address,
went to 'administration' and chose 'upgrade firmware'. I supplied the name of the mini firmware on my machine,
waited for it to download and reboot, and
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. If you are extra paranoid you should
do this
upgrade with your router disconnected from the outside world because of this
. I immediately changed the admin username and password through the dd-wrt gui interface (Which
is no harder
to figure out than
the original linksys
gui)
. 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 left it like that
but I wanted to test
all the features available with dd-wrt so
I then
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.
+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 so
you can leave it alone or experiment further
.
+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.
+
+-----
+
+<?plugin RawHtml
+<script>
+var idcomments_acct = '011e5665a1128cdbe79c8077f0f04353';
+var idcomments_post_id;
+var idcomments_post_url;
+</script>
+<span id="IDCommentsPostTitle" style="display:none"></span>
+<script type='text/javascript' src='http://www.intensedebate.com/js/genericCommentWrapperV2.js'></script>
+
+-----
+
+<?plugin RawHtml
+<center>
+<script type="text/javascript"><!--
+google_ad_client = "pub-5011581245921339";
+google_ad_width = 728;
+google_ad_height = 90;
+google_ad_format = "728x90_as";
+google_ad_channel ="";
+//--></script>
+<script type="text/javascript"
+ src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
+</script>
+</center>
+?>
version 5
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.
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. 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 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 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 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 and the corresponding standard firmware 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.
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. 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.
-----