OpenWrt Forum Archive

Topic: WDS with WPA not working-regression from whiterussian or my stupidity?

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

hi,

the WDS i deployed a while ago didn't run very stable so i decided to upgrade the repeater to kamikaze. unfortunately i can't get it to run with WPA. without encryption it works just fine. could somebody please give some advice or point me into the solution's direction. thanks a lot!

there are 2 wrtt54gl involved, one as main router and the other as repeater. the router runs on firmware from linksys (4.30.7), the repeater on kamikaze 7.09. repeater's config follows: (as i said it's working without encryption so the difference between the working (unencrypted) version and the not working (WPA) version are indeed only the starred lines)


/etc/config/wireless:
config wifi-device  wl0
    option type     broadcom
    option channel  6
    option disabled 0

config wifi-iface
    option device wl0
    option network lan
    option mode ap
    option ssid testo4
    option hidden 0
*    option encryption psk
*    option key    "mykey"


config wifi-iface
    option device   wl0
    option network    lan
    option mode     wds
    option ssid     testo4
    option bssid    00:18:f8:router
*    option encryption psk
*    option key    "mykey"



the nas call from wifi:
/usr/sbin/nas -P /var/run/nas.wl0.pid -H 34954 -l br-lan -i wl0 -A -m 4 -w 2 -s testo4 -g 3600 -k mykey


root@OpenWrt:~# wlc wsec
2
root@OpenWrt:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth0.0    no wireless extensions.

eth0.1    no wireless extensions.

br-lan    no wireless extensions.

wl0       IEEE 802.11-DS  ESSID:"testo4" 
          Mode:Master  Frequency:2.437 GHz  Access Point: 00:1A:70:63:1C:ED   
          Tx-Power:19 dBm   
          RTS thr:2347 B   Fragment thr:2346 B   
          Encryption key:off
          Link Noise level:-94 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:280  Invalid misc:0   Missed beacon:0

wds0.1    no wireless extensions.

root@OpenWrt:~# wlc wsec
2
root@OpenWrt:~# wlc wpa_auth
4


i find it strange that iwconfig obviously doesn't see the settings (since there's) WPA enabled, but read in another post
(http://forum.openwrt.org/viewtopic.php?pid=31430) that that was kind of usual behaviour.

anybody got a hint for me? thanks a lot!

/etc/hotplug.d/net/20-broadcom_wds to be exact

thanks. i already had applied your changes before i was posting and it didn't work. i added 'option hidden 0' to /etc/config/wireless and restarted the router (with the linksys firmware) a couple of times and then got a connection between the two, meaning i could ping from the repeater to the router and to hosts on the internet. same for a computer that was connected via cable to the repeater. i thought the WDS should be working now and tested with a laptop trying to connect to the network wirelessly, but had unfortunately no success. any idea anybody?

The discussion might have continued from here.