OpenWrt Forum Archive

Topic: WDS on WGt634U can not get it to work

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

Kamikaze r6177 kernel 2.6.19.2 WGT634U
Linux version 2.6.19.2 (linksys@milket) (gcc version 3.4.6 (OpenWrt-2.0)) #1 Mon Jan 22 12:36:54 EST 2007
madwifi is Release 0.9.2.1

root@OpenWrt:/etc/config# /etc/init.d/network restart

Interface doesn't accept private ioctl...
mode (8BE2): Connection timed out
Configuration file: /var/run/hostapd-ath0.conf
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device ath1 ; Operation not supported.

/etc/config/network

root@OpenWrt:/etc/config# cat network
#### VLAN configuration
config switch eth0
        option vlan0    "0 1 2 3 4 5*"


#### Loopback configuration
config interface loopback
        option ifname   "lo"
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0


#### LAN configuration
config interface lan
        option type     bridge
        option ifname   "eth0.0 ath0 ath1"
        option proto    static
        option ipaddr   192.168.1.4
        option netmask  255.255.255.0
        option gateway  192.168.1.254
        option dns      192.168.1.254


#### WAN configuration
config interface        wan
        option ifname   "eth0.1"
        option proto    none

/etc/config/wireless

root@OpenWrt:/etc/config# cat wireless
config wifi-device  wifi0
        option type     atheros
        option channel  1
        option mode 11g

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     ap
        option ssid     RADIUS
        option hidden   0
        option encryption psk
        option key St1nkF1ngerTheD0g1nTheAss


config wifi-iface
        option device   wifi0
        option network  lan
        option mode     wds
        option ssid     RADIUS
        option bssid    00:14:BF:xx:xx:xx
        option hidden   0
        option encryption psk
        option key St1nkF1ngerTheD0g1nTheAss

option mode wds should be supported

lsmod output
wlan_xauth               480  0
wlan_wep                4736  0
wlan_tkip              10944  1
wlan_ccmp               6432  0
wlan_acl                2816  0
ath_rate_sample        10432  1 ath_pci
ath_hal               221984  3 ath_pci,ath_rate_sample
wlan_scan_sta           9696  0
wlan_scan_ap            3136  1
wlan                  168480  10 ath_pci,wlan_xauth,wlan_wep,wlan_tkip,wlan_ccmp,wlan_acl,ath_rate_sample,wlan_scan_sta,wlan_scan_ap


but I do not see wlan_scan_wds

from  madwifi.org
Changeset 1748
Timestamp:
10/10/06 07:04:00
Author:
    proski
Message:

    wlan_scan_wds module doesn't exist, use wlan_scan_ap instead
Files:

        *
          trunk/net80211/ieee80211_scan.c (modified) (1 diff)

Legend:

    Unmodified
    Added
    Removed
    Modified
    Copied
    Moved

    *
      trunk/net80211/ieee80211_scan.c
      r1721     r1748     
      178    178            "wlan_scan_sta",        /* IEEE80211_M_IBSS */
      179    179            "wlan_scan_sta",        /* IEEE80211_M_STA */
      180                 "wlan_scan_wds",      /* IEEE80211_M_WDS */   *** this was deleted ****
     180            "wlan_scan_ap",               /* IEEE80211_M_WDS */
      181    181            "wlan_scan_sta",        /* IEEE80211_M_AHDEMO */
      182    182            "wlan_scan_4",          /* n/a */

seems wds was deleted from ieee80211_scan.c

so I guess in /etc/config/wireless
should maybe look like

config wifi-device  wifi0
        option type     atheros
        option channel  1
        option mode 11g

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     ap
        option ssid     RADIUS
        option hidden   0
        option encryption psk
        option key St1nkF1ngerTheD0g1nTheAss

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     ap
        option ssid     RADIUS
        option bssid    00:14:bf:xx:xx:xx
        option hidden   0
        option encryption psk
        option key St1nkF1ngerTheD0g1nTheAss

/etc/init.d/network restart
Configuration file: /var/run/hostapd-ath0.conf
Configuration file: /var/run/hostapd-ath1.conf

but WDS does not work
brctl show
has eth0.0 ath0 ath1 no wds

(Last edited by breath on 23 Jan 2007, 13:04)

WDS works fine for me on WGT634U. Took me a while to get it configured. Works with all the stock current svn init scripts. I have it set up with 3 APs. Each client (non wired) AP is set to it the BSSID of the wired AP. I bridge all the interfaces to LAN, and handle network centric type stuff off the WGTs on an IPCop box. I configure lan in /etc/config/network for whatever it needs to be on the wgts. Works for both dhcp and static. I run vpns instead of doing WPA or WEP, so no encryption at the AP layer. I have no idea if this is the "right" way to do it, but it works for me.

WIRED AP [AP0]:

root@OpenWrt:~# cat /etc/config/wireless
config wifi-device  wifi0
        option type     atheros
        option channel  1
        option mode 2

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     ap
        option ssid     AP0
        option hidden   0
        option encryption none
config wifi-iface
        option device wifi0
        option network lan
        option mode wds
        option ssid wds
        option hidden 0
        option encryption none
        option bssid [MAC of AP1]
config wifi-iface
        option device wifi0
        option network lan
        option mode wds
        option ssid wds
        option hidden 0
        option encryption none
        option bssid [MAC of AP2]

root@OpenWrt:~#

CLIENT AP (Both are the same except for SSID of the first wifi-iface):

root@OpenWrt:~# cat /etc/config/wireless
config wifi-device  wifi0
        option type     atheros
        option channel  1
        option mode 2

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     ap
        option ssid     AP1 [or AP2]
        option hidden   0
        option encryption none
config wifi-iface
        option device wifi0
        option network lan
        option mode wds
        option ssid wds
        option hidden 0
        option encryption none
        option bssid [MAC of AP0]

root@OpenWrt:~#

r6200 Kernel 2.6.19.2 gcc 3.4.6

/etc/init.d/network restart


br-lan: port 2(ath0) entering disabled state
device ath0 left promiscuous mode
br-lan: port 2(ath0) entering disabled state
br-lan: port 3(ath1) entering disabled state
device ath1 left promiscuous mode
br-lan: port 3(ath1) entering disabled state
br-lan: port 4(ath2) entering disabled state
device ath2 left promiscuous mode
br-lan: port 4(ath2) entering disabled state
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
Unhandled kernel unaligned access[#1]:
Cpu 0
$ 0   : 00000000 1000dc00 00000000 0000000b
$ 4   : 00000000 00000040 0000002e 00003028
$ 8   : 00000008 00000020 446d1700 0000007b
$12   : 80280000 8027b6d0 8027b6c0 80237b30
$16   : 81336000 81cc8280 0000000a 81336000
$20   : 81521020 7fe1edb8 81cc75c0 00000024
$24   : 2abd97bc 80018b58                 
$28   : 8039a000 8039bc40 00000000 c020ba9c
Hi    : 0000cdc4
Lo    : cccd003e
epc   : c01becd4     Tainted: P     
ra    : c020ba9c Status: 1000dc03    KERNEL EXL IE
Cause : 00000010
BadVA : 00000057
PrId  : 00029007
Modules linked in: usb_storage sd_mod scsi_mod ehci_hcd uhci_hcd ohci_hcd ath_pci wlan_xauth wlan_wep wlan_tke
Process wifi (pid: 1363, threadinfo=8039a000, task=802c84e0)
Stack : c014b170 a18b8000 818b0000 a18b81e0 018b81e0 a18b8210 0002b066 00000000
        80270000 00000000 00200200 00100100 00000001 2abdeeac a18b81e0 802ba280
        81cc75c0 00000002 81354a18 81d059e0 818b0000 0000000b 2abd97bc 000000ff
        0000000a 8004348c 81336000 802ba280 0000000a 80280000 a18b81e0 7fe1edb8
        81cc75c0 00000024 00000000 c020ba9c 00000000 8027b4e4 0000002e 00003028
        ...
Call Trace:[<c014b170>][<8004348c>][<c020ba9c>][<80033b0c>][<80033518>][<80033518>][<800335f0>][<8000ac98>][<]

Code: ae2200c0  310500f0  3108000c <8c62004c> 92830001  afa50060  30420080  30750003  144000f9
Kernel panic - not syncing: Fatal exception in interrupt
<0>Rebooting in 3 seconds..Please stand by while rebooting the system...


CFE version 1.0.34 for BCM95365R (32bit,SP,LE)
Build Date: Tue Feb 24 03:21:41 CST 2004 (root@jackylinux)
Copyright (C) 2000,2001,2002 Broadcom Corporation.

Add MAC client version(DNI).
Initializing Arena.
Initializing Devices.
et0: Broadcom BCM47xx 10/100 Mbps Ethernet Controller
CPU type 0x29007: 200MHz
Total memory: 0x2000000 bytes (32MB)

Total memory used by CFE:  0x81BB1280 - 0x82000000 (4517248)
Initialized Data:          0x81BB1280 - 0x81BB3E90 (11280)
BSS Area:                  0x81BB3E90 - 0x81BB45D0 (1856)
Local Heap:                0x81BB45D0 - 0x81FB45D0 (4194304)
Stack Area:                0x81FB45D0 - 0x81FB65D0 (8192)
Text (code) segment:       0x81FB65E0 - 0x81FFFFB0 (301520)
Boot area (physical):      0x01B70000 - 0x01BB0000
Relocation Factor:         I:E23B65E0 - D:01BB0280

configure vlans
*****************************************************************
*********************** VLAN Driver initial  ********************
*****************************************************************
Process LAN port(2-5) vlan Architecture...
SUCCESS: trying to create VLAN 0 for switch
SUCCESS: trying to add LAN port

Process WAN port(2-5) vlan Architecture...
SUCCESS: trying to create VLAN 0 for switch
SUCCESS: trying to add WAN port
SUCCESS: enable ports  success
configure vlans...done
Device eth0:  hwaddr 00-09-5B-xx-xx-xx, ipaddr 192.168.1.1, mask 255.255.255.0
        gateway not set, nameserver not set
Loader:elf Filesys:raw Dev:flash0.os File: Options:(null)
***************************
****  MAC Client V1.0  ****
***************************
et0macaddr value :flag =0 value=00-09-5b-xx-xx-xx
et1macaddr value :flag =0 value=00-09-5b-xx-xx-xx
MAC exist at least one
system ethernet mac exist and not default....
Skip mac client process.....
Loading: 0x80001000/3732 Entry at 0x80001000
Closing network.
et0: link down
Starting program at 0x80001000
Linux version 2.6.19.2 (linksys@localhost.localdomain) (gcc version 3.4.6 (OpenWrt-2.0)) #1 Thu Jan 25 06:27:7
CPU revision is: 00029007
early_nvram_init: WGT634U NVRAM found.
Determined physical RAM map:
memory: 02000000 @ 00000000 (usable)


/etc/config/wireless

config wifi-device  wifi0
        option type     atheros
        option channel  1
        option mode 3

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     ap
        option ssid     RADIUS
        option hidden   0
        option encryption psk
        option key St1nkF1ngerTheD0g1nTheAss

config wifi-iface
        option device wifi0
        option network lan
        option mode wds
        option ssid wds
        option hidden 0
        option encryption psk
        option key St1nkF1ngerTheD0g1nTheAss
        option bssid 00:14:bf:xx:xx:xx

config wifi-iface
        option device wifi0
        option network lan
        option mode wds
        option ssid wds
        option hidden 0
        option encryption psk
        option key St1nkF1ngerTheD0g1nTheAss
        option bssid 00:16:b6:xx:xx:xx

(Last edited by breath on 27 Jan 2007, 19:58)

Ok i had a bssid non-hex charter in the mac field of the last wds entry
I'm tring to use WPA with the hostapd

but the wds mode  no longer works as you see below, the wlan_scan_wds was removered from madwifi in oct. 2006 and was replaced with wlan_scan_ap.

couldn't load module 'wlan_scan_wds' (-89)
unable to load wlan_scan_wds

root@OpenWrt:/etc/config# /etc/init.d/network restart

br-lan: port 2(ath0) entering disabled state
device ath0 left promiscuous mode
br-lan: port 2(ath0) entering disabled state
br-lan: port 3(ath1) entering disabled state
device ath1 left promiscuous mode
br-lan: port 3(ath1) entering disabled state
br-lan: port 4(ath2) entering disabled state
device ath2 left promiscuous mode
br-lan: port 4(ath2) entering disabled state
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
br-lan: port 2(ath0) entering disabled state
device ath0 left promiscuous mode
br-lan: port 2(ath0) entering disabled state
device ath0 entered promiscuous mode
couldn't load module 'wlan_scan_wds' (-89)
unable to load wlan_scan_wds
br-lan: port 2(ath0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 2(ath0) entering forwarding state
ath1: Added WDS MAC: 00:14:bf:xx:xx:xx
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
br-lan: port 3(ath1) entering disabled state
device ath1 left promiscuous mode
br-lan: port 3(ath1) entering disabled state
device ath1 entered promiscuous mode
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device ath1 ; Operation not supported.
couldn't load module 'wlan_scan_wds' (-89)
unable to load wlan_scan_wds
br-lan: port 3(ath1) entering learning state
br-lan: topology change detected, propagating
br-lan: port 3(ath1) entering forwarding state
ath2: Added WDS MAC: 00:16:b6:xx:xx:xx
device ath2 entered promiscuous mode
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device ath2 ; Operation not supported.
root@OpenWrt:/etc/config# br-lan: port 4(ath2) entering learning state
br-lan: topology change detected, propagating
br-lan: port 4(ath2) entering forwarding state

/etc/config/wireless

config wifi-device  wifi0
        option type     atheros
        option channel  1
        option mode 3

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     ap
        option ssid     RADIUS
        option hidden   0
        option encryption none
config wifi-iface
        option device wifi0
        option network lan
        option mode wds
        option ssid RADIUS
        option hidden 0
        option encryption psk
        option key St1nkF1ngerTheD0g1nTheAss
        option bssid 00:14:bf:xx:xx:xx
config wifi-iface
        option device wifi0
        option network lan
        option mode wds
        option ssid RADIUS
        option hidden 0
        option encryption psk
        option key St1nkF1ngerTheD0g1nTheAss
        option bssid 00:16:b6:xx:xx:xx

(Last edited by breath on 27 Jan 2007, 16:57)

Same old Shit No Workee, well I'll give up for a month or so maybe things will just get fixed
I'm just bruned out on this crap NetGear WGT634u
Stay with my WRT54G/GS/SL on networking

/etc/init.d/network restart

it reboots OK but when you restart the network things get ugly requires a power off to recover. BUTT UGLY

ath1: Added WDS MAC: 00:14:bf:xx:xx
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
br-lan: port 3(ath1) entering disabled state
UDF-fs: No VRS found
device ath1 left promiscuous mode
br-lan: port 3(ath1) entering disabled state
device ath1 entered promiscuous mode
couldn't load module 'wlan_scan_wds' (-89)
unable to load wlan_scan_wds
br-lan: port 3(ath1) entering learning state
br-lan: topology change detected, propagating
br-lan: port 3(ath1) entering forwarding state
ath2: Added WDS MAC: 00:16:b6:xx:xx:xx
device ath2 entered promiscuous mode
br-lan: port 4(ath2) entering learning state
br-lan: topology change detected, propagating
br-lan: port 4(ath2) entering forwarding state
br-lan: port 4(ath2) entering disabled state
device ath2 left promiscuous mode
br-lan: port 4(ath2) entering disabled state
device ath2 entered promiscuous mode
br-lan: port 4(ath2) entering learning state
br-lan: topology change detected, propagating
br-lan: port 4(ath2) entering forwarding state
root@OpenWrt:/# /etc/init.d/network restart
br-lan: port 2(ath0) entering disabled state
device ath0 left promiscuous mode
br-lan: port 2(ath0) entering disabled state
br-lan: port 3(ath1) entering disabled state
device ath1 left promiscuous mode
br-lan: port 3(ath1) entering disabled state
br-lan: port 4(ath2) entering disabled state
device ath2 left promiscuous mode
br-lan: port 4(ath2) entering disabled state
device ath0 entered promiscuous mode
br-lan: port 2(ath0) entering listening state
br-lan: port 2(ath0) entering learning state
br-lan: topology change detected, propagating
br-lan: port 2(ath0) entering forwarding state
br-lan: port 2(ath0) entering disabled state
device ath0 left promiscuous mode
br-lan: port 2(ath0) entering disabled state
device ath0 entered promiscuous mode
Configuration fibr-lan: port 2(ath0) entering listening state
le: /var/run/hosbr-lan: port 2(ath0) entering learning state
tapd-ath0.conf
br-lan: topology change detected, propagating
br-lan: port 2(ath0) entering forwarding state
couldn't load module 'wlan_scan_wds' (-89)
unable to load wlan_scan_wds
device ath1 entered promiscuous mode
br-lan: port 3(ath1) entering listening state
br-lan: port 3(ath1) entering learning state
br-lan: topology change detected, propagating
br-lan: port 3(ath1) entering forwarding state
ath1: Added WDS MAC: 00:14:bf:xx:xx:xx
Data bus error, epc == 80014368, ra == 800092c8
Oops[#1]:
Cpu 0
$ 0   : 00000000 1000d800 00030001 00000001
$ 4   : 81585e30 00000000 00000000 00000001
$ 8   : 1000d800 1000001e 81589ff8 d15b0900
$12   : 00000000 00000014 000000bb 00000014
$16   : fffffffc 8f998554 80230000 80052198
$20   : 00000000 81586000 00030000 00000000
$24   : 00000002 c020cf7c                 
$28   : 81584000 81585d68 8143b000 800092c8
Hi    : 00002000
Lo    : 00001c00
epc   : 80014368     Tainted: P     
ra    : 800092c8 Status: 1000d802    KERNEL EXL
Cause : 0000001c
PrId  : 00029007
Modules linked in: usb_storage sd_mod scsi_mod ehci_hcd uhci_hcd ohci_hcd ath_pci wlan_xauth wlan_wep wla
n_tkip wlan_ccmp wlan_acl ath_rate_sample ath_hal(P) wlan_scan_sta wlan_scan_ap wlan ip_conntrack_tftp ip
_nat_irc ip_conntrack_irc ip_nat_ftp ip_conntrack_ftp msdos vfat fat udf nfs lockd sunrpc ext3 jbd ext2 <
1>Data bus error, epc == 80014368, ra == 800092c8
Oops[#2]:
Cpu 0
$ 0   : 00000000 1000d800 00030001 00000001
$ 4   : 81585b70 00000000 00000000 80284b70

(Last edited by breath on 27 Jan 2007, 20:08)

Well it's still broke April-3-2007 lastest SVN, Bummer!

Quess I'll wait another month or so!

(Last edited by breath on 3 Apr 2007, 13:22)

I'm not sure what you are trying to do but WDS with wep works for me using a wgt634u (Kamikaze r6828) and an ASUS WL-500g Deluxe (WHITERUSSIAN RC5).

WDS and Atheros WiFi is still broken. No connection between my Fonera and my Soekris net4801 with CM9 WiFi card. I think I'll wait another 1000 Kamikaze revisions until I try again :(

La Fonara: Atheros [2.6] - r6846
net4801: X86 [2.6] - r6871

My configuration files on the La Fonera are:

/etc/config/network

# Copyright (C) 2006 OpenWrt.org

config interface loopback
        option ifname   lo
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0

config interface lan
        option type     bridge
        option ifname   eth0
        option proto    'static'
        option ipaddr   '192.168.178.2'
        option netmask  '255.255.255.0'
        option gateway  '192.168.178.1'
        option dns      '192.168.178.1'

/etc/config/wireless

config wifi-device  wifi0
        option type     atheros
        option channel  1
#       option diversity 1
#       option txantenna 0
#       option rxantenna 0
#       option distance  2000
# disable radio to prevent an open ap after reflashing:
        option disabled 0

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     ap
        option ssid     OpenWrt
        option hidden   0
#       option txpower  15
#       option bgscan   enable
        option encryption psk2
        option key      "foobar"

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     wds
        option ssid     OpenWrt-WDS-1
        option bssid    00:18:84:14:39:95
        option hidden   0
        option encryption none

My configuration files on the Soekris net4801 are:

/etc/config/network

# Copyright (C) 2006 OpenWrt.org

config interface loopback
        option ifname   lo
        option proto    static
        option ipaddr   127.0.0.1
        option netmask  255.0.0.0

config interface lan
        option type     bridge
        option ifname   eth0
        option proto    'static'
        option ipaddr   '192.168.178.3'
        option netmask  '255.255.255.0'
        option gateway  '192.168.178.1'
        option dns      '192.168.178.1'

/etc/config/wireless

config wifi-device  wifi0
        option type     atheros
        option channel  1
#       option diversity 1
#       option txantenna 0
#       option rxantenna 0
#       option distance  2000
# disable radio to prevent an open ap after reflashing:
        option disabled 0

config wifi-iface
        option device   wifi0
        option network  lan
        option mode     wds
        option ssid     OpenWrt-WDS-1
        option bssid    06:18:84:14:39:95
        option hidden   0
#       option txpower  15
#       option bgscan   enable
        option encryption none
#       option key      "foobar"

Why is the bssid the same for both devices "option bssid    00:18:84:14:39:95"

Ah, right. Forgot to edit my posting. I changed 'option bssid ...' and WDS works now. But only without encryption. Seems WPA2 isn't implemented in madwifi.sh yet I don't know about WEP sad

I'll try this again if Kamikaze reached revision 8000.

(Last edited by forum2006 on 8 Apr 2007, 12:07)

r6893 still no wds (psk or wpa mode)

couldn't load module 'wlan_scan_wds' (-89)                                                                     
unable to load wlan_scan_wds                                                                                   
device ath0 entered promiscuous mode                                                                           
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
rix 255 (0) bad ratekbps 0 mode 2                                                                             
br-lan: port 2(ath0) entering learning state                                                                   
br-lan: topology change detected, propagating                                                                 
br-lan: port 2(ath0) entering forwarding state                                                                 
ath0: Added WDS MAC: 00:14:bf:00:f1:ca                                                                         
br-lan: port 2(ath0) entering disabled state                                                                   
device ath0 left promiscuous mode                                                                             
br-lan: port 2(ath0) entering disabled state                                                                   
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         

cat network                                                                         
#### VLAN configuration                                                                                       
config switch eth0                                                                                             
        option vlan0    "0 1 2 3 4 5*"                                                                         
                                                                                                               
                                                                                                               
#### Loopback configuration                                                                                   
config interface loopback                                                                                     
        option ifname   "lo"                                                                                   
        option proto    static                                                                                 
        option ipaddr   127.0.0.1                                                                             
        option netmask  255.0.0.0                                                                             
                                                                                                               
                                                                                                               
#### LAN configuration                                                                                         
config interface lan                                                                                           
        option type     bridge                                                                                 
        option ifname   "eth0.0 ath0"                                                                         
        option proto    'static'                                                                               
        option ipaddr   '192.168.1.4'                                                                         
        option netmask  '255.255.255.0'                                                                       
        option gateway  '192.168.1.254'                                                                       
        option dns      '192.168.1.254'                                                                       
                                                                                                               
                                                                                                               
#### WAN configuration                                                                                         
config interface        wan                                                                                   
        option ifname   ""                                                                                     
        option proto    none                                                                                   
                                       

cat wireless                                                                         
config wifi-device  wifi0                                                                                     
        option type     atheros                                                                               
        option channel  1                                                                                     
        option mode 11g                                                                                       
       option diversity 1                                                                                     
       option txantenna 0                                                                                     
       option rxantenna 0                                                                                     
       option distance  50                                                                                     
# disable radio to prevent an open ap after reflashing:                                                       
        option disabled 0                                                                                     
                                                                                                               
                                                                                                               
                                                                                                               
config wifi-iface                                                                                             
        option device   wifi0                                                                                 
        option network  lan                                                                                   
        option mode     wds                                                                                   
        option ssid RADIUS                                                                                     
        option bssid '00:14:BF:00:F1:CA'                                                                       
        option hidden   0                                                                                     
        option txpower  15                                                                                     
        option bgscan   enable                                                                                 
        option encryption psk                                                                                 
        option key 'SmellAD0ubleAssH0le'         

ps -ax
1153 root        928 S   wpa_supplicant -b br-lan -Bw -D wext -i ath0 -c /var/                                                             
                                         
I have three WRT54GS and one WRTSL54GS woking WDS mode but this rag netgear will not hit a lick!!!!!

If I change ( option mode wds ) to  ( option mode sta ) it works just fine, but WDS is a BUMMER!

wds is not supported in madwifi

WRTSL54GS image is Thibor 17rc3
1 WRT54GS Tomatoe 1.06
2 WRT54GS white rc6

(Last edited by breath on 8 Apr 2007, 17:48)

I've got the same problem.
I am trying to set up a second wireless networ to connect an Airport exress to my network through wds.

My AP config is Netgear WGT634U with Kamikaze 7.09

When I try to launch the Wifi it gives :
Configuration file: /var/run/hostapd-ath0.conf
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device ath1 ; Operation not supported.


My config are

/Network

#### VLAN configuration 
config switch eth0
    option vlan0    "0 1 2 3 5*"
    option vlan1    "4 5"


#### Loopback configuration
config interface loopback
    option ifname    "lo"
    option proto    static
    option ipaddr    127.0.0.1
    option netmask    255.0.0.0


#### LAN configuration
config interface lan
    option type     bridge
    option ifname    "eth0.0 ath0 ath1"
    option proto    static
    option ipaddr    '192.168.1.2'
    option netmask    255.255.255.0
    option dns    '192.168.1.254'
    option gateway    '192.168.1.254'


#### WAN configuration
config interface    wan
    option ifname    "eth0.1"
    option proto    dhcp

/wireless

config wifi-device  wifi0
    option type     atheros
    option channel  5
    option mode    '11bg'
    option diversity    '0'
    option disabled    '0'
    option distance    '10'

config wifi-iface
    option device    wifi0
    option network    lan
    option mode    'ap'
    option ssid    'name'
    option encryption    'psk2'
    option hidden    '0'
    option isolate    '0'
    option txpower    '8'
    option bgscan    '0'
    option key    'xyz'
    option wds    '0'

config wifi-iface
    option device    wifi0
        option network lan
    option mode    'wds'
    option ssid    'wdsname'
    option hidden    '0'
    option encryption    'none'
    option network    lan
    option isolate    '0'
    option txpower    '8'
    option bssid    '00:14:51:00:00:00'

I don't understand how to fix this.

I also tried with K8.09 but I am struggling to set a wds network trhough LUA

Any one could help ?

The discussion might have continued from here.