Showing posts with label dd-wrt. Show all posts
Showing posts with label dd-wrt. Show all posts

Saturday, November 1, 2014

Wireless Repeater Bridge

After 10+ years of using various versions of the Linksys WRT54G, I finally wanted to start using the QoS functionality in DD-WRT. My router was a WRT54G V.2 and the CPU running at 200mhz simply wasn't powerful enough to handle the task.

So after some research I decided to purchase an ASUS RT-AC66U. This router is a beast and works wonderfully, and it's nice to finally have local gigabit ports. The firmware comes with a lot of features and it's also on the DD-WRT list, which is nice.

So I actually had two of the WRT54G routers available. I gave one to a friend and decided to use the other one as a wireless repeater bridge, which is what this post is about.

So what is a wireless repeater bridge? It's a wireless access point that connects to another access point to get its internet connection.

So in my case I have 2 routers.

The ASUS RT-AC66U is connected to the internet and serves as a wireless B/G/N/AC access point (AP) on 2.4 and 5Ghz (two different wifi APs).
The WRT54G is simply placed elsewhere in the house. It gets to the internet wirelessly through the ASUS router and acts as another AP.

The benefit for me is range extension. I have several wireless security cameras over 3 floors and a large backyard that needs coverage. So I put this second router wherever I want and it is a valid 802.11G access point. On the other hand, it also allows wired connections to the routers 5 ethernet ports, so that could be useful in the event there is a non-wireless device that needs access.

The ASUS is running its latest ASUS firmware and the WRT54G is running DD-WRT v24-sp2.

Setup:
I used the wiki instructions at dd-wrt.com (DD-WRT Repeater Bridge). I see reason to repeat their article here.

Their wiki article is a little old but the basics are still there.
The idea is that your main router stays the same and the bridge router gets put into router mode (instead of gateway) with its wireless in "repeater bridge" mode. Its main wireless connection mirrors the connection of the main wireless router so that they communicate. The DHCP and DNS all happens on the main router and the bridge router has a virtual AP that simply passes the traffic to the main router.
The DD-WRT graphic is right on the money for those who need it.

After some initial setup described in the DD-WRT wiki, I setup the bridge router to match the main router.
For router #2 (repeater bridge) the following wireless settings must match exactly: SSID
Security mode (I used WPA2-Personal with AES)
Channel (I used Auto on the main router because the DD-WRT does not have a channel selection in repeater bridge mode.)

Once the setup was complete I have my main SSID as well as the new virtual AP SSID broadcasting. I can trace or ping to any IP within the network whether it's connect to the main AP or the repeater AP. The time returned on pings to the new repeater router have an occasional blip up to 20ms instead of the normal 1-2ms, but that's no big deal. The repeater router is actually handling two wireless streams, one to the main router and the other is to whichever devices connect to the AP. I tested both the wired and wireless connection on the repeater and they work fine.

To sum it up, I've been using DD-WRT for years and they are worth your donation. A lot of people contribute to the effort that puts features into devices left behind by the manufacturers. For someone like me who has been in IT for many years, I appreciate the ability to use old hardware instead of throwing it away.

Cheers!


Monday, August 13, 2012

WRT54G - The ubiquitous.

I've had a few WRT54G routers over the years and they've been really great. Major kudos to Linksys (and secondarily Cisco) for making a great product and supporting it for so long.

I recently upgraded one of my WRT54Gs to firmware 4.21.5 (Feb 2012). It was running perfect, so I suppose that upgrading was a stupid gesture. My router is a version 2.0 (#3 of 12 versions). The router is old and I should have known.

Well all of the wireless devices started to drop connection on a regular basis since I upgraded the firmware.

Turns out, it is really hard to find a source for the old firmware bin files.

So I turned to DD-WRT, which I had used in the past, but since I prefer to use the OEM firmware (if possible) I had reverted to a newer, working version of the Linksys firmware.

DD-WRT is a free, opensource firmware for the WRT54G (and many other) routers. It is a beautiful thing to not have to throw away a $50 piece of hardware because the manufacturer's firmware turned it into a useless piece of junk.

Updating to DD-WRT
Some tips you may find useful:

Use the latest version recommended on the DD-WRT router database, NOT a version you downloaded from somewhere else (it might be old).

Use a wired connection for the upgrade. You do not want to get frustrated with settings, trying to connect, not knowing what the default SSID is, etc.... just plug it in first and you'll be better off.

You can backup your settings, but considering this is a new firmware, you should start from scratch. Settings are easy to get back if you know what they are.
1. Write down your settings (DHCP settings, wireless security type, key, encryption, channel, etc)

If you upgrade from the Linksys firmware to DD-WRT for the first time, you may need to reset the router to factory conditions.
1. Unplug it
2. Hold down the reset button and plug it back in
3. Keep it pressed for about 20 seconds

When it comes back, remember that the default IP address is 192.168.1.1, NOT whatever you had it set at.

The DD-WRT default username is "root" and the default password is "admin" for versions 23 SP1 and greater.

Last tip. Have an alternate means of connecting to the internet in case you forget everything and need to search for help. A smartphone will do.