Asus WL-520GU as a Wireless Bridge
by Groove on Mar.30, 2010, under Mods
The other day i was thinking about how much hardware that i have that’s hacked or modified in some way or another to make it do something other than it was really intended to do. I’m bored, so occasionally I’ll whip up a guide on how I did this stuff so that when my techie friends ask ‘whoa, how’d you do that?’ i can sarcastically reply ‘dude, don’t you read my blog?’
The first entry, since I just did it today, is about modifying the WL-520GU router from Asus.
Backstory: So, i needed to setup a wireless bridge.
I could have bought a device designed for precisely that purpose – but where would the fun be in that?
So, i grabbed an Asus WL-520GU for $50 – $10 MIR. Flashed it to DD-WRT, and then setup the bridge. DD-WRT has a lot of very cool features that I’m just learning about since I use Tomato on my main router – but that’s an article for another day perhaps. This guide focuses on flashing DD-WRT and setting it up as a wireless bridge (so that you can connect wired peripherals in another room to your main wireless router/network). As far as i know, the main router doesn’t have to be any specific model or firmware – just setup and working.
I’ll divide the process up into two guides: flashing DD-WRT, and setting up the bridge.
Part I: Flashing DD-WRT to the WL-520GU
Before i flashed DD-WRT, I read about 10 different guides of varying age, so here’s a quick walk-thru of how i did it.
Step 1. Download the latest DD-WRT mini_asus.trx from Here – in my case it was dd-wrt.v24_mini_asus.trx.
Step2. Download the Asus Utilties from Here . Unzip and install.
Step3. Assign a static IP to your network card, in the 192.168.1.whatever range. I suggest 192.168.1.10.
Step4. Hook up your WL-520GU – connect a LAN cable from your computer to one of the LAN ports on the new router. Disable any other network interfaces on your computer other than that LAN connection to the router.
Step5. Open up IE and type in 192.168.1.1 – you should be prompted for a PW from your WL-520Gu. ( this step isn’t 100% necessary – we’re just checking to see that the comp sees the router on the LAN). Hit ‘Cancel’ to not login to the router – we just want to know its there.
Step6. Preping to flash: Unplug the power cable from the router. Open up the Asus Utilties and run the Asus Firmware Restoration Utility. If you’re running Vista or 7, make sure to run it as an Administrator (right click on the icon and hit ‘Run as Administrator). Hit Browse and select the file dd-wrt.v24_mini_asus.trx that you downloaded in Step1.
Step7. The Flash: Hold down the reset button (the recessed black one on the back – you’ll need a pen or something pokey) and plug in the power cable to your WL-520GU. Keep holding the reset button until the power LED starts to flash. Release the reset button, go back to your Asus Firmware Restoration Utility and hit ‘Upload’. Hopefully it’ll flash DD-WRT and everything will go OK.
Step8. Once the firmware has flashed, the Firmware Restoration Tool will wait for the device to reboot. I gave it about a minute and a half and then unplugged/replugged the router. Open up IE, type in the address of the router (192.168.1.1) and viola – you should be greeted by DD-WRT!
Step9. 30-30-30 reset: I’m not sure if this was 100% necessary, but after i flashed DD-WRT i reset the router. You do so by holding that black reset switch on the back for 30 seconds – then unplugging it for 30 seconds – then plugging it back in while holding the reset button again for 30 seconds. I then unplugged it again and plugged it back in.
Part II: Setting up the Wireless Bridge
Step1. Avoiding a conflict with your main router: Open IE and go to the DD-WRT setup page @ 192.168.1.1. It’ll force you to assign a new username/pw. Go ahead and set whatever you’d like. Now navigate to Setup/basic setup/network setup/router IP – and change the router IP from its current setting of 192.168.1.1 – to 192.168.1.2. This is to make sure that if your main router uses 192.168.1.1 (like mine does) they won’t conflict. Hit Apply.
Step2. Change the Wireless settings: IE will be waiting for the router to reset on 192.168.1.1 – but now its @ 192.168.1.2 – so change the address in IE to 192.168.1.2 and you’re back in the DD-WRT setup page. Navigate to Wireless/basic settings/. Set Wireless mode: Client bridge. The rest of the settings will be the same as our main router. So if your main routers SSID is ‘ateyourbaby’ – that’s what you’ll set here. Check to see that ‘network configuration’ is set to bridged. Hit ‘Apply’.
Step3. Navigate to ‘Wireless Security’ and once again duplicate the settings on your main router. Same SSID, same passphrase, etc. Hit Apply.
Step4. Re-enable DHCP on your computer. Give it a minute or two, but at this point the WL-520GU should be connected to your main WLAN. Your PC should get an IP through the WL-520GU from your main router and be able to surf. Some people have reported that they have to set a static IP on machines behind the bridge, but i didn’t have this problem.
Voila! You have hacked your $40 router to be a wireless bridge!
P.S. Vegas is nice this time of year
P.P.S. If i have any blatant errors here feel free to point them out – i wrote this guide by memory so some things might be a little … off.
November 9th, 2010 on 5:00 pm
Tried it and it worked like a charm. No need for static addresses. Thanks for the tutorial, was a little nervous in flashing the router at first but the instructions were short and easy to follow.
Thanks.
February 14th, 2011 on 4:59 pm
Nice write-up, but it doesn’t really to make use of my router ip, any advice?
May 11th, 2011 on 4:25 pm
Nice post – very helpful. Thanks!
August 8th, 2011 on 10:36 am
Hi
I followed your instructions to the letter, all worked well, but how will I know that the bridge is picking up the main router. My main router is a Dir 615 and I can see the Mac addresses of all the computers except the WL-520GL on the Dir-615?
Thanx
December 29th, 2011 on 4:41 pm
This is a great post – everything worked fine.
I did find that when dd-wrt first opened in the browser, it prompted me for a username/password. When I used my own creative one, I couldn’t access the configuration pages without a username/password prompt coming up (of which I couldn’t successfully login). Did some reading online … After doing a 30-30-30, I set my username/password again to “root” and “admin” respectfully and had no problems.
Again, great write-up! Thanks!
January 2nd, 2012 on 10:08 pm
Thanks for the tip about the 30-30-30, pscmpf! Glad the guide helped 🙂
January 5th, 2012 on 10:06 am
From my understanding, the WL-520GU already has network bridging features. It is in the web gui. Does it not function satisfactorily? Please advise if I cannot expect it to function as a bridge out of the box (like the literature says it can).
January 6th, 2012 on 6:26 pm
Smally, i’m not sure as i don’t have a 520GU with the default firmware anymore, but that would be funny if it can do it out of the box! Personally I’m more familiar with Tomato and DD-WRT (and love the extra features) so the idea was to use those on an inexpensive device, i didn’t even consider the idea that the default firmware might do it 🙂
February 29th, 2012 on 5:24 pm
excellent writeup, still useful 2 years later.
June 19th, 2012 on 3:44 am
Hello! This is a great post… this is what I need 😉 I will try it after work. I just have one thing to ask… and by this you will understand how bad I am in this kind of issues =P how should I connect my ASUS 520GU with my main Router (which is a Router Wireless Thomson TG784n from my TV+Phone+NET service), should I plug LAN# in the main Router with WAN in the ASUS? Thanks in advance!
January 28th, 2013 on 7:46 am
Smally, you’re right.
The WL-520GU works as a bridge out of the box. (kinda)… I’ve set this up here and if you’re not bridging to another wl-520gu you can only use either Open or WEP. The asus firmware (rev 3.0.1.4) has an okay interface, and bridged just fine for me when I tested with WEP talking to my gateway Billion 7800N. But no-go with WPA … I’m running wpa2-psk, tkip on the rest of the network and don’t want to change that, so right now it looks like dd-wrt (or maybe tomato) is the only option for me.
About to flash the wl-520gu with dd-wrt v24 build 14896, cross fingers I don’t brick anything !
April 19th, 2013 on 11:42 pm
I keep getting invalid ip at step 6
April 20th, 2013 on 7:18 pm
okay this helped http://dd-wrt.com/wiki/index.php/Asus_WL-520GU
I was also not doing 7 when uploading.
August 6th, 2013 on 4:48 am
Thank you for the description, it was very useful for me to set the bridge on my WL-520GU.
I have only one problem. I used the USB port for a printer before I changed the firmware, how can I use the USB port again with this DD-WRT firmware?
October 1st, 2013 on 5:27 pm
It worked great, I was able to re-purpose my old router to a bridge works great!
November 18th, 2014 on 2:15 am
These instructions worked whereas the instructions on the DD-WRT wiki for setting up a client bridge did not and had me completely frustrated. Also, these are much simpler. Replaced a failed wireless adapter that I had to share between two computers with my old and trusty ASUS router. A great router and now hopefully a great bridge.