12/10/2009

DD-WRT to upgrade your router with open-source router OS

High-end router hack with cheap router from lifehacker:
http://lifehacker.com/software/router/hack-attack-turn-your-60-router-into-a-600-router-178132.php

Quote:

Hack Attack: Turn your $60 router into a $600 router

by Adam Pash

Of all the great DIY projects at this year's Maker Faire, the one project that really caught my eye involved converting a regular old $60 router into a powerful, highly configurable $600 router. The router has an interesting history, but all you really need to know is that the special sauce lies in embedding Linux in your router. I found this project especially attractive because: 1) It's easy, and 2) it's totally free.

So when I got the chance, I dove into converting my own router. After a relatively simple firmware upgrade, you can boost your wireless signal, prioritize what programs get your precious bandwidth, and do lots of other simple or potentially much more complicated things to improve your computing experience. Today I'm going to walk you through upgrading your router's firmware to the powerful open source DD-WRT firmware.

What you'll need:

  1. One of the supported routers. I used a Linksys WRT54GL Wireless router that I picked up from Newegg, and the instructions that follow detail the upgrade process specifically for that router and its close siblings. If you're upgrading one of the other supported routers, you might want to look into instructions specific to your router. These instructions may generally work for other supported routers, but I'm not making any promises.
  2. The generic DD-WRT v23 SP1 mini firmware version located here.*
  3. The generic DD-WRT v23 SP1 standard firmware version located here.*

*You'll be upgrading the firmware twice, first using the mini firmware, then using the standard.

Upgrading your router to the DD-WRT firmware

Check out this gallery for the detailed step-by-step upgrade with screenshots. When you're finished, come back here for some of my favorite tweaks.

Update, October '07: Reader Josh Harris writes in:

All the new WRT54G routers being sold now are v8, and the previous DD-WRT software didn't work on them. However, recent versions added support for the new v8 router— but it's a little more in depth.

Got this to work on the WRT54G v8 (should work on 7 as well, just replace the files with the corresponding 7 version):

First of all, use IE explorer. Firefox didn't work at all on this for me, even after install. Second, go to this page. Read the textfile carefully and follow its instructions. Two edits to the textfile:

1. Make sure you go to command prompt and type ipconfig /all. Record the default gateway, the subnet mask, and the two DNS addresses. When you set the IP address manually on your desktop/laptop to 192.168.1.100 as per the instructions, you will need to set these 4 numbers as well.

2. Don't forget when you do the tftp that you need to be in the folder that contains the downloaded dd-wrt.v24_micro_wrt54gv8.bin file (for example, if it is in C:/Downloads, type /cd C:/Downloads).

Lastly don't forget you need to be on a wire to the router, and download both vxworkskillerGv8.bin and dd-wrt.v24_micro_wrt54gv8.bin before you start. Following this procedure will install the micro version on your router.

After this, switch your laptop/desktop back to receiving your IP address via DHCP rather than the manual configuration you set as per the instructions. You will be able to access the DD-WRt micro install via 192.168.1.1 with the login username root and the password admin. From here, you still need to install the DD-WRT standard.

Unfortunately, you cannot go any farther than this with WRT54G v7 and v8 because Linksys downgraded the physical memory in these recent models. However, micro is still an improvement over the original Linksys firmware.

Boost your wireless signal

The first thing I did after I finished the firmware upgrade was give my wireless signal a much needed boost ("needed" in the sense any signal boosting that can be done needs to be done, right?). Doing so is trivial.

Go to the Wireless tab, then to Advanced Settings. Find the entry labeled Xmit Power, which is set by default at a paltry 28mW, and can be set up to 251mW. To be honest, I don't know much about the science of the whole process, but I do know that 251 is WAY bigger than 28. However, you probably don't want to pump it up to 251mW right away.

The DD-WRT manual suggests that a "safe increase of up to 70 would be suitable for most users." Anything too much above that and you'd be flirting with overheating your router and damaging the life of your router (though I've heard that many people have pushed it up to 100 or above). So go ahead and change your Xmit Power to 70 and click the Save Settings button at the bottom of the page.

I can't measure for sure how the signal boost has improved things for me since I've just moved into this apartment, but I can say that the signal is full bars pretty much anywhere I go. How's that for scientific?

Throttling your bandwidth by program

While most routers treat one request for bandwidth the same as any other, your new $600 router is a step above. By setting up QoS (Quality of Service) rules, you can give priority to your interactive traffic (like VoIP, web browsing, or gaming) while throttling traffic that doesn't require a steady rate of bandwidth to function (like P2P programs).

Doing so will ensure that even if your network gets clogged with lots of file sharing, you'll still have enough bandwidth left over to make all of your free SkypeOut phone calls. If you've got roommates who tend to sponge up a lot of bandwidth, you can even prioritize by IP address.

What to do if you brick your router

brick.png

If, god forbid, while flashing your firmware you end up "bricking" your router, don't worry - all is not lost. The DD-WRT wiki (a great resource of all things DD-WRT) can help you recover from a bad flash.

Of course, your router will handle securing your network, port forwarding, and all the other things your regular old router does.

Obviously I've just scratched the surface here, so if you decide to try this out, there's a lot of potential for other things you can do. Any readers tricked out a router with DD-WRT or one of the other open source distros? Tell us what tweaks have worked for you in the comments or at tips at lifehacker.com.

12 comments:

Anonymous said...

reproducing Take a piece of me

Anonymous said...

colormyimage Take a piece of me

Anonymous said...

biokosma Take a piece of me

Anonymous said...

Free Casino Bonus tyuueooru
Casino Free Game
There are several things to be considered when selecting the best gambling website.
[url=http://www.nhgaa.org/]Best Online Casinos[/url]
000 free with your first 20 deposits!
The risks arriving with the gambling has decreased to a great extent after the arrival of free online casino.
http://www.nhgaa.org/ - Best Online Casinos
You should also check out the software that these online casino websites are using.

Anonymous said...

[url=http://akreoplastoes.net/][img]http://akreoplastoes.net/img-add/euro2.jpg[/img][/url]
[b]cheap microsoft office 2008 for, [url=http://rastimores.net/]problems with adobe.owl.dll with adobe photoshop cs3[/url]
[url=http://rastimores.net/][/url] nero 7 update adobe photoshop cs4 adjustments panel size
oem software on [url=http://rastimores.net/]autocad 2007[/url] buy bartender software
[url=http://rastimores.net/]software for downloading[/url] software to buy
[url=http://rastimores.net/]macromedia com software flash player[/url] Software Downloadable
i sell my software [url=http://rastimores.net/]quarkxpress free newsletter template[/url][/b]

Anonymous said...

Your blog keeps getting better and better! Your older articles are not as good as newer ones you have a lot more creativity and originality now keep it up!

Anonymous said...

I inclination not concur on it. I think polite post. Specially the appellation attracted me to review the sound story.

Anonymous said...

Nice fill someone in on and this mail helped me alot in my college assignement. Thank you on your information.

Anonymous said...

[b]Used Cars-The Value Choice [/b]


It was Bruce Springsteen who sang, ‘mister the day the lottery I win, I ain’t ever gonna ride in no used car again.’ I’m sure Bruce can afford loads of expensive new cars parked outside his Mansion but for the rest of us the economic sense of buying used is hard to escape.

Second hand cars are the only kind of cars I’m ever going to drive whether I win the lottery or not.

The main difference between buying a brand new car and a brand new used car apart from that famous new car smell is the amount of money that you will lose the second you drive it out of the dealer.

Some new cars can depreciate 50% in value as soon as you drive them away. The 80’s pop twins ‘Bros’ who had a short lived life in the spotlight lost a spectacular amount of money in their time and when they came to add it all up Matt Goss puts much of that down to buying several very expensive sports cars brand new and only keeping them a couple of months.

As well as the money the emotional strain of driving a brand new car into a multi-story car park for the first time must be massive. Every scratch and dink would become a huge dent in your mind.

Leaving a brand new car parked by the side of the road in a dark street must be quite hard to do as well. No one wants their car broken into or stolen but it must feel worse when it’s new. The cost of fully comp insurance on a new car is another factor that will make a difference.

Used cars and the option of replacing anything that breaks with decent spare parts is a much more comforting thought to me. It’s the whole idea that you don’t have to be so precious about your car when it’s seen a few miles that I like. With a new car you feel obliged to take it back to the dealer for all the servicing and repairs which of course can cost a fortune. You need the official stamps to keep the FSH value – but with an old used car you have so many more options.

For me it’s used cars that are best and that may say something about the person I am. Not a rock star and not a lottery winner.


[url=http://utuma.com/suzuki-motorcycles]Suzuki Motorcycles 2008[/url]

Anonymous said...

Hi there!
I would like to burn a theme at here. There is such a nicey, called HYIP, or High Yield Investment Program. It reminds of financial piramyde, but in rare cases one may happen to meet a company that really pays up to 2% daily not on invested money, but from real profits.

For quite a long time, I make money with the help of these programs.
I don't have problems with money now, but there are heights that must be conquered . I get now up to 2G a day , and I started with funny 500 bucks.
Right now, I managed to catch a guaranteed variant to make a sharp rise . Visit my web site to get additional info.

http://theinvestblog.com [url=http://theinvestblog.com]Online Investment Blog[/url]

Anonymous said...

[u][b]Xrumer[/b][/u]

[b]Xrumer SEO Professionals

As Xrumer experts, we from been using [url=http://www.xrumer-seo.com]Xrumer[/url] fitted a sustained fix conditions and recollect how to harness the massive power of Xrumer and build it into a Cash machine.

We also purvey the cheapest prices on the market. Diverse competitors see fit charge 2x or even 3x and a end of the continuously 5x what we debt you. But we maintain in providing gigantic accommodation at a small affordable rate. The large incidental of purchasing Xrumer blasts is because it is a cheaper surrogate to buying Xrumer. So we plan to stifle that contemplating in rebuke and provide you with the cheapest rate possible.

Not only do we have the unexcelled prices but our turnaround occasion after your Xrumer posting is wonderful fast. We drive have your posting done ahead of you discern it.

We also produce you with a roundish log of well-heeled posts on manifold forums. So that you can get the idea over the extent of yourself the power of Xrumer and how we have harnessed it to emoluments your site.[/b]


[b]Search Engine Optimization

Using Xrumer you can trust to distinguish thousands upon thousands of backlinks in behalf of your site. Scads of the forums that your Site you force be posted on oblige exalted PageRank. Having your tie-in on these sites can deep down help found up some crown rank help links and as a matter of fact as well your Alexa Rating and Google PageRank rating through the roof.

This is making your instal more and more popular. And with this developing in regard as familiarly as PageRank you can expect to see your site really downright gamy in those Search Mechanism Results.
Conveyance

The amount of conveyance that can be obtained aside harnessing the power of Xrumer is enormous. You are publishing your site to tens of thousands of forums. With our higher packages you may regular be publishing your locale to HUNDREDS of THOUSANDS of forums. Create 1 collection on a all the rage forum last will and testament almost always enter 1000 or so views, with communicate 100 of those people visiting your site. Now imagine tens of thousands of posts on celebrated forums all getting 1000 views each. Your freight longing function because of the roof.

These are all targeted visitors that are interested or exotic in the matter of your site. Imagine how many sales or leads you can succeed in with this colossal gang of targeted visitors. You are line for line stumbling upon a goldmine primed to be picked and profited from.

Retain, Shipping is Money.
[/b]

GET YOUR CHEAP BLAST TODAY:


http://www.xrumer-seo.com

Anonymous said...

Glean influence the barbarian with two backs casinos? scrutinization this sward [url=http://www.realcazinoz.com]casino[/url] president and cover afar up online casino games like slots, blackjack, roulette, baccarat and more at www.realcazinoz.com .
you can also into our up to swain [url=http://freecasinogames2010.webs.com]casino[/url] confide something at http://freecasinogames2010.webs.com and ravage straightforward genially misled !
another separate [url=http://www.ttittancasino.com]casino spiele[/url] emulate is www.ttittancasino.com , because german gamblers, fare the rise via freed [url=http://www.realcazinoz.com]online casino[/url] bonus. so check this leading [url=http://www.omniget.co.il]online casino[/url] for free [url=http://www.casinosaction.com]casino bonus[/url] and 100's of online [url=http://www.thecasino.co.il]casino[/url] games.