Eubolist's Blog

about IT, Linux, the web and much more

How to set up WRT54G as a WiFi bridge to Fritz!Box 3270

with 4 comments

Fritz!Box WLAN 3270

Recently we got a Fritz!Box as a new DSL modem, our old ZyXel P-660HW suffered frequent crashes (it froze or interrupted the internet connection) especially when there were a lot of devices associated with the wireless network and/or a lot of banwidth used by someone. The Fritz!Box WLAN 3270 is a great piece of hardware and has never crashed so far by the way. Because it supports the IEEE_802.11n standard it offers quite a satisfying range and speed.

Linksys WRT54G

But due to two desktop PCs which aren’t wifi capable I needed to set up our Linksys WRT54G router as a wireless network bridge.

The first part was to download dd-wrt, an alternate firmware, and flash the device with it. You can do this under the tab “Administration” –> “Firmware Upgrade”. Note that this procedure can potentially brick your router (=you can’t access nor use it anymore), for a full description see this howto the dd-wrt wiki.

The second part is a bit more complicated, but essentially you can just follow the tutorial from the dd-wrt wiki, with a few changes. Here is what I did:

  1. Connect a cable from your computer to the LAN port on your router.
  2. Set your computer to a static IP address of 192.168.1.9
  3. Set your browser to 192.168.1.1 and open the dd-wrt webgui.
  4. You should be asked to change your password and username. Carefully type these in. Hit change password.
  5. Go FIRST to wireless, wireless security and enter the security type and key that matches your primary router.
  6. !!!Bridging with WPA2 security does NOT work. Believe me, I spent hours figuring out the problem and looking why there was no link. Your Fritz!Box (primary router) has to be set to WPA or WPA + WPA2 and your WRT54G accordingly to WPA!!

  7. Hit SAVE
  8. Go to the wireless, basic settings page and change the wireless mode to Client Bridge.
  9. Your wireless network mode should be set to the same as the primary router.
  10. Set the wireless channel to match your primary router channel
  11. Set mode to mixed.
  12. Set the wireless network name to exactly the same as your primary router. Make sure spelling and capitalization match.
  13. Set Ack timing to 0 unless you have a long distance (>300 meter) link
  14. Hit SAVE at the bottom. Then hit APPLY.
  15. Check to make sure all the configurations, including the mode, saved and the mode is still client bridge. If any changed, fix them, and save again.
  16. Goto Setup, basic setup and enter a router Local IP address of 192.168.178.10. You can also enter another IP, just make sure it’s in the same subnet (192.168.178.X) and outside the DHCP range of your primary router (Fritz!Box: 192.168.178.20-200) Leave subnet mask at 255.255.255.0.
  17. Set the Gateway IP (the one in network setup) to 192.168.178.1
  18. Leave Local DNS (the one in network setup) blank
  19. Change your timezone and DST to match where you are.
  20. Optionally enter a NTP server (eg. 17.151.16.20)
  21. Hit Save.
  22. Goto Security, Firewall. Uncheck all boxes and disable SPI Firewall
  23. Hit Save.
  24. Goto Services. Uncheck Dnsmasq
  25. Hit Save.
  26. Goto Setup, Advanced Routing, set Operating mode to “Router”
  27. Hit Save
  28. Set Dynamic Routing interface to “Lan & Wlan”
  29. Hit Save
  30. Goto Administration and hit “Apply Settings” at the bottom.
  31. Set your computer back to DHCP (auto IP and auto DNS).

And that’s it. You should have a working wireless bridge now with the wired computers in the same subnet as the wifi devices. Worked for me so far.

Although I haven’t tried it yet, it should work just as well in “Repeater Bridge” mode.

About these ads

Written by eubolist

2010/01/16 at 23:39

4 Responses

Subscribe to comments with RSS.

  1. UPDATE: I’ve set the WRT to “Repeater Bridge”, entered an SSID (different from the first one) and set up WPA2 for the Repeater network and it works like a charm.

    eubolist

    2010/01/28 at 13:58

  2. Nice post. I was checking constantly this weblog and I’m impressed! Very helpful information specifically the ultimate section :) I deal with such info a lot. I was looking for this certain information for a long time. Thanks and good luck.

  3. Woah this blog is magnificent i really like studying your articles. Keep up the good work! You understand, lots of persons are looking round for this info, you can help them greatly.

  4. It seems to me that this web site doesnt load in a Motorola Droid. Are other people getting the exact same issue? I enjoy this webpage and dont want to have to miss it any time Im gone from my computer.

    here

    2012/05/27 at 18:08


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: