OpenWrt Forum Archive

Topic: wds (briding) won't work between 2 Linksys wrt54gl

The content of this topic has been archived on 11 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi, I can't get wds, after long hours of breaking my head on the wall sad
I have a Linksys wrt54gl as AP router and other one as client (brdging).


I think that I configure well... please take a look to my configuration, and tell me if  it's wrong :

(I set equal SSID names for both APs)

AP router

wl0_ifname=eth1
dhcp_start=100
dhcp_lease=0
lan_dhcp_num=50
wl_lazywds=1
lan_dhcp_enabled=1
lan_dhcp=0
wl0_lazywds=0
wl_wds_timeout=1
dhcp_wins=wan
wds_ifname=
wl0_wds=00:1D:7E:DC:AA:55 00:1D:7E:DC:AA:57
wan_dhcp_num=50
lan_ifnames=vlan0 eth1 eth2 eth3
wan_ifnames=vlan1
wl_wds=
lan_ifname=br0
dhcp_domain=wan
dhcp_num=50
wl_ifname=
wl0_wds_timeout=1

Client (Bridging)

wl0_ifname=eth1
wl_lazywds=1
wl0_lazywds=0
wl_wds_timeout=1
wds_ifname=
wl0_wds=00:1D:7E:DC:A8:98
lan_ifnames=vlan0 eth1 eth2 eth3
pppoe_ifname=
wan_ifnames=vlan1
wl_wds=
lan_ifname=br0
wl_ifname=
wan_ifname=vlan1
wl0_wds_timeout=1

Thanks in advance!!

Well, sorry for answer myself. But I guess that it could be useful for others. I've found that when I set wl0_mode=wep in the "secondary" wrt54gl, openwrt undo the bridge, I don't understadn well why, but that's what it happens. Then I set both to wl0_mode=ap. I could do the bridge an works when I use no encryption and when I use wep. I've tried to use wpa2 with radius on both routers but it doesn't work. So I disable encryption between APs but it doesn't work either. Please could you say me what's wrong with my settings?:


Access Point 1


wl0_wds_akm=none
wl_lazywds=1
wl0_lazywds=0
wl_wds_timeout=1
wl0_wds_ssid=test
wl0_wds= 00:1D:7E:DC:AA:57
wl_wds=
wl0_akm=wpa wpa2
wl0_wds_akm=none
wl_akm=
wl0_ssid=xxradius
wl0_mode=ap


Access Point 2 (only connected to electric power)
wl0_wds_akm=none
wl_lazywds=1
wl0_lazywds=0
wl_wds_timeout=1
wl0_wds_ssid=test
wds_ifname=
wl0_wds=00:06:25:F1:70:36
wl_wds=
wl0_akm=wpa wpa2
wl_akm=
wl0_ssid=xxradius
wl0_mode=
wl0_mode=ap

Thanks in advance!!

Well, I was looking but it seems that it's impossible that wpa-radius works fine with wds, I mean wds links won't work. If someone has running wds+wpa/wpa2-radius using White russian, please could you tell me?

Thanks in advance

I don't think you can use WPA2 with WDS and I don't think you can use radius with WDS.

However, have you tried using WPA-PSK for the WDS link (using the wl0_wds_* parameters) while using WPA2-PSK for the regular access point functions?

I am now using different ESSIDs for AP/clients and for WDS, by setting them separately with wl0_ssid and wl0_wds_ssid... interestingly, iwconfig shows eth1 as not having encryption enabled.  I think this means that the WPA-PSK is being handled at a different software layer instead of within the wireless driver, so perhaps it can also handle WPA-PSK and WPA radius for the separate functions?

I've been having trouble with setting up WDS + WPA(aes) on between my two WRT54GL routers. I thought is was a bug with NAS, as I had read that WPA2 doesn't work with WDS. It works fine without encryption, but I can't even get it to work with WPA1. sad

Not sure if anyone has been able to get WDS+WPA working. If they have could they pls send a copy of their settings. I'm sure I'm missing something obvious, but I can't see it.

My settings are as follows:

root@brdg:/usr/sbin#  nvram show | grep wl0 | egrep '_wds|close|mode=|wpa|akm|wep|ssid'
size: 10126 bytes (22642 left)
wl0_net_mode=mixed
wl0_wep_buf=
wl0_akm=psk
wl0_mode=ap
wl0_gmode=1
wl0_wep_last=
wl0_ssid=test
wl0_closed=1
wl0_macmode=allow
wl0_wpa_psk=somestring
wl0_wds=00:18:F8:D2:69:CE
wl0_wep=disabled
wl0_wep_bit=64
wl0_wpa_gtk_rekey=3600
wl0_wep_gen=
wl0_wds_timeout=1
wl0_auth_mode=none

root@fwall:~#  nvram show | grep wl0 | egrep '_wds|close|mode=|wpa|akm|wep|ssid'
size: 10097 bytes (22671 left)
wl0_net_mode=mixed
wl0_akm=psk
wl0_wep_buf=
wl0_mode=ap
wl0_gmode=1
wl0_wep_last=
wl0_ssid=test
wl0_closed=1
wl0_macmode=allow
wl0_wpa_psk=somestring
wl0_wds=00:1D:7E:C3:64:5C
wl0_wep=disabled
wl0_wep_bit=64
wl0_wpa_gtk_rekey=3600
wl0_wep_gen=
wl0_wds_timeout=1
wl0_auth_mode=none

I'm on RC5.  I have WPA1 PSK working, but with tkip instead of aes (haven't tried aes).  The other difference I have from your config is I have wl0_closed=0.

i'm running 0.9, so I would have thought that my config would work. I tried turning ESSID b/cast on, but still no joy. i'm tempted to try upgrading to Kamikaze if I can't make it work with the current version sad

kacti wrote:

i'm running 0.9, so I would have thought that my config would work. I tried turning ESSID b/cast on, but still no joy. i'm tempted to try upgrading to Kamikaze if I can't make it work with the current version sad

Similar problem here sad

I was told that these problems are because of WDS is not yet an standard...

The discussion might have continued from here.