LaFonera Software Wireless-Bridge

From DD-WRT Wiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 14:14, 23 March 2007 (edit)
Pepsimax2k (Talk | contribs)

← Previous diff
Current revision (00:46, 13 November 2017) (edit) (undo)
Ian5142 (Talk | contribs)
(change to https)
 
(9 intermediate revisions not shown.)
Line 1: Line 1:
-[[Category:LaFonera]]+[[Category:LaFonera_Software_(en)]]
-[[Category:LaFonera_Software]]+You are here: '''[[Main_Page|DD-WRT wiki mainpage]] / [[LaFonera_(en)|LaFonera]] / [[:Category:LaFonera_Software_(en)|Software]] / Wireless-Bridge'''
-You are here: '''[[Main_Page|DD-WRT wiki mainpage]] / [[LaFonera|LaFonera]] / [[LaFonera_Software|Software]] / Wireless-Bridge'''+
- +
- +
-'''This page will be rewritten to make it clearer & w/ screenshots once 03/23 has been around enough to show no major problems.''' --[[User:Pepsimax2k|Pepsimax2k]] 15:14, 23 Mar 2007 (CET)+
Line 16: Line 12:
'''2. One LaFonera in WDS AP mode and the other in WDS Station mode''' '''2. One LaFonera in WDS AP mode and the other in WDS Station mode'''
-'''2. One wireless router in AP mode and one LaFonera in Client bridged mode -new!'''  
- +As you can see, to get this up and running you need to have two LaFoneras, or one LaFonera in Station mode and another DD-WRT equipped router. This is because both ways use an alternative WDS solution, with 4 fielded ethernet frames to make the bridging work.
-As you can see, to get this up and running you need to have two LaFoneras, or one LaFonera in Station mode and another DD-WRT equipped router. This is because both ways use an alternative WDS solution, with 4 fielded ethernet frames to make the bridging work. '''(not the case anymore, newly implemented client bridge mode exists)'''+
Most wireless routers stock firmware does not support WDS, but I will test WDS Station on a LaFonera and standard AP mode on a D-Link, to see if it works. Most wireless routers stock firmware does not support WDS, but I will test WDS Station on a LaFonera and standard AP mode on a D-Link, to see if it works.
-Now to the configuration, i will write down the steps for the second solution, WDS AP/Station mode, the first solution with WDS linked routers can be found here and have worked for me with the LaFonera: http://www.dd-wrt.com/wiki/index.php/WDS_Linked_router_network+Now to the configuration, i will write down the steps for the second solution, WDS AP/Station mode, the first solution with WDS linked routers can be found here and have worked for me with the LaFonera: [https://www.dd-wrt.com/wiki/index.php/WDS_Linked_router_network WDS Linked router network]
== STEPS == == STEPS ==
Line 59: Line 53:
---- ----
- 
-'''To use the new Client bridged mode instead, just use whichever wireless AP you have (not required to be LaFonera) and set it up in ordinary AP mode. The LaFonera configuration should be exact as above, with the following exceptions.''' (repeated complete steps, whith modifications,because people felt unsecure with mixing it up) 
- 
-1. Follow step 1-2 above, with the exception that this time you would want to set the wireless mode to "Client bridge mode". Type in the same SSID, wireless channel and network mode as on your first router. 
- 
-2. Go to "Security" tab and disable encryption, just like on your first router. 
- 
-3. When saved it should not take long, approx 2-3 min. at the most, then under "Status" tab you should see that your LaFonera is connected to your primary router/AP. 
- 
-4. Now finish by going to "Basic" tab and give this router an local IP adress in the same subnet as your first, i.e 192.168.1.3. This time set the gateway and DNS to 192.168.1.2 (assumed to be your primary router in this setup) and disable "Internet connection" and DHCP. Finally save the setup. 
- 
-5. Change gateway mode to RIP2 (may or may not work without it, but RIP2 is the best in this configuration) under Advanced routing tab. 
- 
-6. Disable the firewall (of course) under Security tab.  
- 
-7. Double check under "Status" tab that your still connected. Finish with rebooting both routers, then connect the PC/X-Box to the Fonera ethernet port, setup static or DHCP ip on the client and aquire a IP address. You should receive a IP address from the remote AP, in the same subnet. 
-Finish with trying to ping the gateway, any other networked PC on the other side of the wireless bridge, and of course try surfing the web. 
- 
-'''There is still a issue left, the Fonera with static local IP cannot get reached (only its client), it doesnt respond to pings and it doesnt respond on port 80. Also, if PCs are interconnected with extra switches on the main router, those will not be accessible by the Fonera client''' - resolved in release 0323 
- 
-That would be it! 

Current revision

You are here: DD-WRT wiki mainpage / LaFonera / Software / Wireless-Bridge


[edit] The Wireless Bridge

There are actual two ways at the moment to use the LaFonera as a wireless bridge.


1. Two LaFoneras WDS linked (AP not sending out SSID, a bug at the moment)

2. One LaFonera in WDS AP mode and the other in WDS Station mode


As you can see, to get this up and running you need to have two LaFoneras, or one LaFonera in Station mode and another DD-WRT equipped router. This is because both ways use an alternative WDS solution, with 4 fielded ethernet frames to make the bridging work.

Most wireless routers stock firmware does not support WDS, but I will test WDS Station on a LaFonera and standard AP mode on a D-Link, to see if it works.

Now to the configuration, i will write down the steps for the second solution, WDS AP/Station mode, the first solution with WDS linked routers can be found here and have worked for me with the LaFonera: WDS Linked router network

[edit] STEPS

1. The best thing to do is to restore the routers to DD-WRT defaults, under "Administration" tab. This to make sure that there isnt an old setting hiding somewhere that could interfere with the new configuration.

2. Start with one LaFonera and enter the DD-WRT webinterface, go to "Wireless" tab and setup your WLAN in the subtab "Basic Settings". Choose WDS AP as the mode and check the "Bridged"-radio button. Save it.

3. Then go on to the "Wireless Security" tab and choose your encryption. As I have understood WPA2 should not work with WDS, however it looks as it works fine for me. The best thing would though be to start out with encryption disabled, just to get the connection up, then try different encryption methods.

4. Now go to the "Setup" tab and disable "Internet connection" and "STP" in the "Basic Setup" subtab, give the router a local IP in your subnet (i.e 192.168.1.2, netmask 255.255.255.0), gateway and DNS set to your main router (i.e 192.168.1.1) in your network. (I guess the LaFonera isn´t :) )

5. Disable DHCP server too, then finish with saving the settings at the bottom of the page.

Now the WLAN and the ethernet port are bridged (br0) with your wired network. You should be able to connect with a laptop to the WLAN and receive DHCP IP from your mainrouter (assumed 192.168.1.1)


Now its time to do the interesting stuff, we will configure your second LaFonera to extend your LAN over WLAN as a Wireless Bridge.

1. Follow step 1-2 above, with the exception that this time you would want to set the wireless mode to "WDS Station". Type in the same SSID, wireless channel and network mode as on your first LaFonera.

2. Go to "Security" tab and disable encryption, just like on your first LaFonera.

3. When saved it should not take long, approx 2-3 min. at the most, then under "Status" tab you should see that your second LaFonera is connected to your first.

4. Now finish by going to "Basic" tab and give this router an local IP adress in the same subnet as your first LaFonera, i.e 192.168.1.3. This time set the gateway and DNS to 192.168.1.2 (assumed to be your first LaFonera in this setup) and disable "Internet connection" and DHCP. Finally save the setup.

5. Double check under "Status" tab that your still connected. Finish with rebooting both LaFoneras, then connect a PC to your second LaFoneras ethernet port, and you *should* be able to receive an IP from your main routers DHCP, by way over your first LaFonera --- WLAN --- second LaFonera. :)


Sometimes it takes a couple of minutes, or a couple of reboots, before the bridges on both LaFoneras learn about the network, after it works you should receive an IP.

I have also noticed some reboots, i think, of the LaFoneras, breaking the WLAN connnection. Maybe it will get better in coming DD-WRT firmware updates. (fixed!)