OpenWrt Forum Archive

Topic: documentation on WDS link repeater

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

Hi all,

Is there any good documentation on setting up WDS link Repeater (2 or more repeater)  using atheros wireless card ?

can anybody share an e.g configuration /etc/config/Wireless to setup WDS link for the atheros card ?

Thanks
Sara

how can a question be a howto or documentation?
Then to anwser the first question:
YES

good quote. Ok.

Could you provide me the documentation on the topic WDS link setup for the atheros card?

Thanks but that is for whiterussian using nv_ram variables to be configured. Whereas I am looking for openwrt Kamikaze trunk.
Still lagging of clear documentation in settting up the WDS repeater for the atheros card....

(Last edited by sara on 13 Oct 2008, 15:42)

If you can read and use http://forum.openwrt.org/viewtopic.php?pid=74621#p74621 I will try and add it to http://wiki.openwrt.org/OpenWrtDocs/KamikazeHowto
- I would just like to know if it is enough for a quick how to and that it works for you.
My device is Broadcom, but the configuration is not at hardware level and should work for all types.

(I would also agree that the first time I made a WDS I had to search a lot in the forums for how to do it: so it would be nice to put it on the WIKI: it is so easy to create when one has the correct info)

(Last edited by oxo on 13 Oct 2008, 17:57)

I have read and tried http://forum.openwrt.org/viewtopic.php?pid=74621#p74621 to setup WDS link between two Intel IXP42x board. But got failed again.
Following is the wireless configuration with bssid MAC being different on both boards and iwconfig shows no assocaition. Even the AP doesn't show th MAC addresss. On using only existing AP config, then the AP shows the MAC address.

on IXP42x board1:

root@OpenWrt:/etc/config# cat wireless
config wifi-device  wifi0
        option type     atheros
        option channel  6
        option agmode   11bg

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     ap
        option ssid     OpenWrt1
        option encryption none

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     wds
        option bssid    00:0c:42:26:19:18
        option ssid     wds
        option encryption wep
        option key      1
        option key      YYYYYYYYYY

dmesg :
....
wlan: trunk
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 2008-10-02 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, DFS, X
R)
ath_rate_sample: 1.2 (trunk)
wlan: mac acl policy registered
ath_pci: trunk
PCI: enabling device 0000:00:0f.0 (0340 -> 0342)
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi0: Atheros 5212: mem=0x48000000, irq=28
device ath0 entered promiscuous mode
br-lan: port 2(ath0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 2(ath0) entering forwarding state
device ath1 entered promiscuous mode
br-lan: port 3(ath1) entering learning state
br-lan: topology change detected, propagating
br-lan: port 3(ath1) entering forwarding state

root@OpenWrt:/etc/config# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

br-lan    no wireless extensions.

br-wan    no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"OpenWrt1"  Nickname:""
          Mode:Master  Frequency:2.437 GHz  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:19 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-96 dBm  Noise level=-96 dBm
          Rx invalid nwid:3  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ath1      IEEE 802.11g  ESSID:"wds"  Nickname:""
          Mode:Managed  Frequency:2.432 GHz  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:19 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-96 dBm  Noise level=-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


on IXP42x board2:

root@OpenWrt:/etc/config# cat wireless
config wifi-device  wifi0
        option type     atheros
        option channel  6
        option agmode   11bg

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     ap
        option ssid     OpenWrt2
        option encryption none

config wifi-iface
        option device wifi0
        option network  lan
        option mode     wds
        option bssid    00:0b:6b:09:2e:66
        option ssid     wds
        option encryption wep
        option key      1
        option key      YYYYYYYYYY

dmesg:
....
wlan: trunk
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 2008-10-02 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, DFS, X
R)
ath_rate_sample: 1.2 (trunk)
wlan: mac acl policy registered
ath_pci: trunk
PCI: enabling device 0000:00:0f.0 (0340 -> 0342)
Atheros HAL provided by OpenWrt, DD-WRT and MakSat Technologies
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
ath_pci: wifi0: Atheros 5413: mem=0x48000000, irq=28
device ath0 entered promiscuous mode
br-lan: port 2(ath0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 2(ath0) entering forwarding state
device ath1 entered promiscuous mode
br-lan: port 3(ath1) entering learning state
br-lan: topology change detected, propagating
br-lan: port 3(ath1) entering forwarding state
root@OpenWrt:/#

root@OpenWrt:/etc/config# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

br-lan    no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"OpenWrt2"  Nickname:""
          Mode:Master  Frequency:2.437 GHz  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:23 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-96 dBm  Noise level=-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

ath1      IEEE 802.11g  ESSID:"wds"  Nickname:""
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
          Bit Rate:0 kb/s   Tx-Power:23 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-96 dBm  Noise level=-96 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

are the config file on both boards are right ? 
Could you please correct me about the ssid of AP and WDS?

(Last edited by sara on 14 Oct 2008, 10:47)

Is there someone use the ralink  2860 solution for wireless

The discussion might have continued from here.