WiFi Extension Problem Solved: DD-WRT

There's nothing quite like solving your own problems with Linux. Using Linux-based DD-WRT solved a big one for me.

When looking for a solution to any problem, you should always follow your instincts. Linux is what I do and it rarely fails me. Linux, once again, has saved me hundreds of dollars and several headaches by being versatile, free, and powerful. This week, you’ll learn how I turned a giant lemon into a bucket of lemonade using the DD-WRT project, a never-used Linksys (Cisco) wireless router, and my Internet service provider’s router. I created an extended network for my home computer setup. By bridging the two routers, I effectively created a Home Area Network so that I could have a data center in my garage.

For months I’ve needed to create a data center in the garage to free up space in my house and to expand my IT research efforts. Unfortunately, the only practical way to do that is to use a wireless access point in the garage. Why is that solution unfortunate? Because I have a 2Wire 3800HGV-B wireless router supplied by AT&T Uverse and it has limited compatibility with other wireless devices. Googling for the answer yields dozens of “Run a wire from the 3800HGV-B to the other router.” According to the ‘powers that be*,’ that isn’t going to happen. So, I finally came up with a working solution using Linux, of course.

This demontration uses a Linksys WRT160NL Wireless-N broadband router to connect to a 2Wire 3800HGV-B wireless router. The 2Wire router is the primary router in the setup. You should be able to reproduce the setup with any two compatible routers. Be careful when changing settings on your primary router. Most changes in this article are performed on the remote router (WRT160NL).

The Basics

The 2Wire router wants to be the primary router on the network and must be the only DHCP server. There seems to be no way to turn off DHCP on this router because each DVR must have its own IP address and they’re assigned dynamically. For the reason I’ve already stated, a wired connection is not an option. There are wireless access points that are compatible with the 2Wire router but they are only access points and have no router or Ethernet connectivity available.

The problem is that I need full network connectivity in the data center and wireless access alone won’t work. I tried this exact setup several months ago with the same equipment but no success. However, there have been new releases of DD-WRT firmware and fixes to features that weren’t well supported.

The first part of this journey requires a firmware update to the WRT160NL (160NL) router. To do this, connect a computer to the 160NL using a standard, not a crossover, Ethernet cable into one of the available switch ports. Set a static IP address on the LAN network interface that matches the router (Probably 192.168.1.xxx/ Download the latest firmware (v24 pre-SP2, as of this writing) to the connected computer and remember its location.

Disable wireless connectivity on the computer, if available. Disabling wireless access on the 160NL-connected computer will guarantee that you’re using the 160NL for connectivity and not the 2Wire’s wireless connection. The 160NL should be in the same room with the 2Wire for easy referral during the process. The close proximity also ensures strong connectivity between the two devices.

Open a web browser and navigate to the 160NL’s management page. The address is and the password is admin with no username. Click on the Administration tab of the administrative interface and select firmware update. Browse to the downloaded .bin file, select it, and update the firmware. When the firmware update finishes, power down the router, power it on again and wait for the router to initialize.

When the router has fully booted, open a web browser and point it to, enter admin for the password, set a username and change the default password, and apply the settings. Power cycle the router. Login to the router with your new username and password.

Configure the Client Router

The 160NL is the client router and the 2Wire is the self-appointed host router in this scenario. To configure the 160NL to act as a client router, select the Wireless tab, change the Wireless Mode to Client Bridge, set Wireless Network Mode to Mixed or the same setting as your primary router, set Channel Width to the same setting as your primary router, change your SSID to match your primary router, and apply your settings. See Figure 1 for example settings.

Figure 1: Basic Wireless Settings for the WRT160NL
Figure 1: Basic Wireless Settings for the WRT160NL

Now select the Wireless Security tab. This is one of the most important steps, so don’t skip it or forget it. Change the Security Mode on both routers to WPA2 (WPA2 Personal or WPA2-PSK (AES)). The default on the 2Wire is WPA-PSK (TKIP). Select the AES WPA Algorithm and enter your WPA Shared Key. This key (if you haven’t changed it), is written on the side or bottom of the device. Enter a 0 in the Key Renewal Interval to disable key renewal. If you don’t disable this feature, your 160NL will disconnect at the specified interval and you’ll have to spend time restarting it. Refer to Figure 2 for settings.

Figure 2: Wireless Security Settings for the WRT160NL
Figure 2: Wireless Security Settings for the WRT160NL

Note: Make sure that your primary router and secondary router have different IP addresses. In my case, the primary router IP address is and the client router defaulted to

About DD-WRT

DD-WRT is a Linux based alternative OpenSource firmware suitable for a great variety of WLAN routers and embedded systems. The main emphasis lies on providing the easiest possible handling while at the same time supporting a great number of functionalities within the framework of the respective hardware platform used.

Select the Basic tab, set the Gateway address to the primary router’s IP address, select your Time Zone, change the Daylight Savings Time (DST) to the correct value, and apply the settings. See Figure 3.

Figure 3: Basic WRT160NL Wireless Setup Options
Figure 3: Basic WRT160NL Wireless Setup Options

Select the Security tab, select the Firewall tab, uncheck and disable every option except Filter Multicast, and apply settings. Finally, select the Setup tab, change the Operating Mode to Router, and apply settings. Figure 4 shows the complete setup.

Figure 4: Diagram of the New Wireless Network Configuration
Figure 4: Diagram of the New Wireless Network Configuration

Test Your Setup

Reset the LAN interface on the 160NL-connected computer to DHCP and test your connectivity to the Internet and to the rest of the LAN.

$ nslookup yahoo.com

Non-authoritative answer:
Name:   yahoo.com
Name:   yahoo.com
Name:   yahoo.com
Name:   yahoo.com
Name:   yahoo.com

A positive response (shown above) is what you’re looking for in this test. If you receive no response, then go back and check all of your parameters. Sometimes the router won’t correctly save the changes you’ve made. If you still can’t connect to the Internet but you can connect to local network systems, check your IP configuration on your system.

$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:19:21:ea:ad:8e
          inet addr:  Bcast:  Mask:
          inet6 addr: fe80::219:21ff:feea:ad8e/64 Scope:Link
          RX packets:1316196 errors:0 dropped:0 overruns:0 frame:0
          TX packets:405177 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:106497477 (106.4 MB)  TX bytes:62275560 (62.2 MB)

If everything looks good, your next option is to change the DNS IP address on the 160NL. First, try the IP address of your primary router. If connectivity still fails, try using the DNS address that matches the one shown in your primary router.

You should position your routers for maximum connectivity. If your connection quality is below 50%, you might lose connections to your remote systems. Place the remote router in a high location that’s free from clutter. Adjust the remote router antennae for maximum connectivity as well.

Wireless connectivity can be a tricky beast. It requires patience, trial and error troubleshooting, good hardware, and perhaps a bit of luck. Remember to keep Linux in your toolbox as you plow through your technical explorations. And, may the Tux be with you, always.

* My wife.

Comments on "WiFi Extension Problem Solved: DD-WRT"


I did a similar setup at my in-laws using OpenWRT with a Linksys WRT54GL. Both in-laws run businesses from home. The internet access coming into the house was in the father-in-laws office on one side of the house and the mother-in-laws office was on the opposite side. The main router was an Actiontec MI424WR Verizon FiOS router. I set up the WRT54GL as the bridge in the mother-in-laws office and replaced the stock antennae with high-gain 7dbi antennae. Works like a charm :)


I did the same thing as well to hook up a wired-only VoIP phone in an upstairs office. It works pretty well. I tried to put another Netgear router in the mix (so I’m not relying on the firewall capabilities of the Uverse gateway) and the added latency killed the VoIP connection.

Uverse Gateway Netgear Linksys


Blech…the last line should be:

Uverse Gateway <-wired-> Netgear <-wireless-> Linksys


Well, Linux is certainly cheaper than a divorce lawyer.


Did something similar with a netgear wireless router connected to the gateway and a WRT54 type router I had stashed away as a bridge so that I could connect my ethernet only Sony TV to the internet. Kids got to have their netflix with Thomas and friends, Word World, Cat in the Hat, etc. vids.

DD-WRT is awesome, so many more options than stock firmware.


the powers that be*

Usually abbreviated SWMBO, as in “She who must be obeyed”.


Hey, we don’t get many Rumpole references on Linux Magazine!


Actually, swmbo was first used in the novel “She” by H. Rider Haggard.


True, but I doubt many would know of it if is wasn’t for Mortimer’s Rumple series. Haggard died in 1925. “She” was published in 1887.


Thanks for the article.

I am not familiar with DD-WRT but I am a linux user on my laptop and some servers for long.

I have a question. I need to make a similar setup but I need the second router (the WRT160NL in the article) also to provide wireless connection to several devices (computer, TV, etc). I gues it is related to “repeater mode” instead of “bridge mode”. Then, the question is if I can do it with DD-WRT and if I need to get two access/router wireless points in addition to the WAN router.

Thanks in advance


I have used DD-WRT a lot in the past. I even made yearly donations.

I tried this setup but it has one problem (or undocumented feature). While the computers in your garage setup can ping your office computers, your office computers will not be able to ping your garage computers.

I was trying a similar setup between two WRT160NLs. I need to set up remote access to some devices we have in a building in the back of our property. So the computers on the Primary Router’s leg of the network need to initiate connections with computers on the Client Router’s leg of the network. It does not work.

I tried to see if there were any solutions in any of the documentation but nothing even admits this issue exists. I also tried to get help from the DD-WRT community but absolutely zero help. I have since stopped making donations to DD-WRT.


This a great solution, one that served me quite well for several years at my last address! This well written and should help folk with no experience here get it up and running!


For AU$99 you can buy a Linux-based router from Freenet Antennas in Australia that will do bridging client mode (something not supposed to be allowed in 802.11 spec!) and do so flawlessly and with very little fuss. Also happily runs on <4W and a tiny amount of space, so very wife-friendly.

I feel this is one of the most important info for me. And i’m happy reading your article. But wanna observation on few common issues, The website taste is perfect, the articles is in point of fact great : D. Just right task, cheers

Wonderful paintings! This is the kind of information that are supposed to be shared around the internet. Disgrace on Google for now not positioning this post higher! Come on over and talk over with my site . Thanks =)

Is it okay to insert part of this in my weblog if I publish a reference to this web page?

whoah this blog is great i love reading your articles. Keep up the good work! You know, lots of people are looking around for this information, you could help them greatly.

There is perceptibly a bundle to know about this. I feel you made some nice points in features also.

?t’s awesome to pay a v?sit this site and
reading the views of all c?lleagues regarding this article, w?ile ? am also eager of
getting fam?liarity.

Heya are using WordPress for your site platform?

I’m new to the blog world but I’m trying to get started and create my own. Do you need any
html coding expertise to make your own blog?
Any help would be greatly appreciated!

I’d like to thank you for the efforts you’ve put in writing this website. I am hoping to check out the same high-grade blog posts by you later on as well. In truth, your creative writing abilities has encouraged me to get my own, personal website now ;)|

Hello, this weekend is pleasant for me, for the
reason that this moment i am reading this impressive educational article here at my residence.

Loving the information on this web site, you have done outstanding job on the articles.

Hiya, I am really glad I’ve found this info. Nowadays bloggers publish only about gossips and net and this is really frustrating. A good website with exciting content, that’s what I need. Thanks for keeping this site, I’ll be visiting it. Do you do newsletters? Can’t find it.

Usually posts some quite exciting stuff like this. If you?re new to this site.

You should take part in a contest for one of the finest
sites on the internet. I most certainly will recommend this blog!

Here are several of the web pages we suggest for our visitors.

The time to read or stop by the content material or web pages we’ve linked to below.

Check below, are some totally unrelated internet sites to ours, on the other hand, they are most trustworthy sources that we use.

you’ve gotten a fantastic blog right here! would you wish to make some invite posts on my weblog?

That is the finish of this write-up. Right here you?ll locate some websites that we feel you will value, just click the links.

One of our visitors not long ago encouraged the following website.

I was suggested this blog by means of my cousin. I’m now not
sure whether or not this publish is written via him as
no one else realize such unique approximately my difficulty.
You are wonderful! Thanks!

Always a big fan of linking to bloggers that I appreciate but really don’t get quite a bit of link really like from.

Very couple of sites that transpire to become detailed beneath, from our point of view are undoubtedly effectively really worth checking out.

Wonderful story, reckoned we could combine several unrelated data, nevertheless definitely worth taking a look, whoa did a single master about Mid East has got additional problerms as well.

Fantastic beat ! I wish to apprentice at the same time as you amend your website, how can i subscribe for a blog site? The account helped me a applicable deal. I were tiny bit acquainted of this your broadcast provided vibrant clear idea

Here are several of the web sites we recommend for our visitors.

Please pay a visit to the web-sites we adhere to, like this one, as it represents our picks through the web.

“Want to be the Initial restaurant to come to mind when men and women want to eat out?”

One of our visitors just lately proposed the following website.

I think this article is very helpful for us,it has solved my problem,thanks!
Wholesale Oakley twoface sunglasses coyote light grey outlet http://www.fleetsale.ru/oakley-twoface-sunglasses-010.html

Hello! I know this is somewhat off topic but I was wondering if you knew where I could
locate a captcha plugin for my comment form? I’m using the same blog
platform as yours and I’m having trouble finding one?
Thanks a lot!

Here are a number of the sites we advise for our visitors.

Below you?ll find the link to some web pages that we believe you’ll want to visit.

Here are some links to sites that we link to because we consider they may be worth visiting.

Leave a Reply