Hi, list!

I need some help setting up WDS between two linksys WRT54GL boxes,
both running OpenWrt Kamikaze 709.

I have a relatively standard setup, except one issue: the wireless
network is not bridged with any other interfaces. Instead, I'm
bridging the wired lan with an openvpn network, and then, I don't need
encrypted wireless.

According to what I've read about WDS, you need to use a bridge. So
I sat up a bridge for the wlan as well. The config on the primary box goes
as follows:

File: /etc/config/network
#### VLAN configuration 
config switch eth0
        option vlan0    "0 1 2 3 5*"
        option vlan1    "4 5"

#### Loopback configuration
[...]

#### LAN configuration
config interface lan
        option type     bridge
        option ifname   "eth0.0"
        option proto    static
        option ipaddr   10.0.1.1
        option netmask  255.255.255.0


#### WAN configuration
[...]

#### WLAN configuration

config interface         wlan
       option ifname "wl0"
       option type   bridge
       option proto  static
       option ipaddr 192.168.2.1
       option netmask 255.255.255.0

Q: What should the above file read on the second box?

File: /etc/config/wireless
config wifi-device  wl0
        option type     broadcom
        option channel  5

config wifi-iface
        option device   wl0
        option network  wlan
        option mode     ap
        option ssid     OpenWrt
        option encryption none
        option wds 0

config wifi-iface
        option device   wl0
        option network  wlan
        option mode     wds
        option bssid    00:1D:7E:FB:51:07
        option ssid     wsd
        option encryption none
        option wds        0

Q: Should the bssid above be the address of the wl0 interface on the second
box?

Another important question: What should this file read on the second
box?

The ifconfig output on the primary box reads as follows:

br-lan    Link encap:Ethernet  HWaddr 00:1D:7E:60:8A:18  
          inet addr:10.0.1.1  Bcast:10.0.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34949 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38377 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1933705 (1.8 MiB)  TX bytes:45950941 (43.8 MiB)

br-wlan   Link encap:Ethernet  HWaddr 00:1D:7E:60:8A:1A  
          inet addr:192.168.2.1  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1357 errors:0 dropped:0 overruns:0 frame:0
          TX packets:990 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:180354 (176.1 KiB)  TX bytes:157429 (153.7 KiB)

eth0      Link encap:Ethernet  HWaddr 00:1D:7E:60:8A:18  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:72245 errors:0 dropped:0 overruns:0 frame:0
          TX packets:71245 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:48889017 (46.6 MiB)  TX bytes:48742349 (46.4 MiB)
          Interrupt:4 

eth0.0    Link encap:Ethernet  HWaddr 00:1D:7E:60:8A:18  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:34978 errors:0 dropped:0 overruns:0 frame:0
          TX packets:38643 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2089406 (1.9 MiB)  TX bytes:46125236 (43.9 MiB)

eth0.1    Link encap:Ethernet  HWaddr 00:1D:7E:60:8A:18  
[...]
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

tap0      Link encap:Ethernet  HWaddr 00:FF:81:97:24:62  
[...]
wds0.1    Link encap:Ethernet  HWaddr 00:1D:7E:60:8A:1A  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

wl0       Link encap:Ethernet  HWaddr 00:1D:7E:60:8A:1A  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1342 errors:0 dropped:0 overruns:0 frame:1408
          TX packets:1366 errors:15 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:198932 (194.2 KiB)  TX bytes:231246 (225.8 KiB)
          Interrupt:2 Base address:0x5000 

Hope some of you will answer my questions - thank you!

Lars
_______________________________________________
openwrt-users mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to