OpenWrt Forum Archive

Topic: wrt54gx AP+STA situation...

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.

Okay, i've been trying to set up a repeater in the typical scenario, this is what i have so far

Router with internet wrt54gl 1.1:

cat /etc/config/wireless
config wifi-device wl0
        option type             broadcom
        option channel          11
        option disabled         0

config wifi-iface
        option device           wl0
        option network          lan
        option mode             ap
        option ssid               downstairs
        option encryption       psk+psk2
        option key              <wlanpass>
        option hidden           0

config wifi-iface
        option device           wl0
        option network          lan
        option mode             ap
        option wds              1
        option ssid             wds
        option bssid            00:14:bf:41:d1:c1
        option encryption       psk
        option key              <wdspass>
        option hidden           1

Router in the 2nd floor, wrt54gs 2.1:

cat /etc/config/wireless
config wifi-device wl0
        option type             broadcom
        option channel          11
        option disabled         0

config wifi-iface
        option device           wl0
        option network          lan
        option mode             sta
        option wds              1
        option ssid             wds
        option bssid            02:25:69:2a:e4:d1
        option encryption       psk
        option key              <wdspass>
        option hidden           1

config wifi-iface
        option device           wl0
        option network          lan
        option mode             ap
        option wds              1
        option ssid             upstairs
        option encryption       psk+psk2
        option key              <wlanpass>
        option hidden           0

the whole things works okay, now the problem...

it seems like the wrt54gs doesn't support multiple ssid so, only the first config is the one that works. The wireless link between the two routers works perfectly, but the router upstairs can't act as an access point at the same time. so it is either an AP or a client but not both :@... the wrt54gl in the other hand, can do it without any problem.

This is what wifi shows:

wifi
Command 'set mssid' failed: -1
can't add wl0.1 to bridge br-lan: Cannot assign requested address

i haven't found any information about how to fix this, can you throw me some light? this is the only thing that keeps my setup from working as i want...

thanks in advance

PD: This config absolutely WORKS for any of you who is looking forward to. BUT you need to have capable routers (2x wrt54gl v1.1 will do)

(Last edited by exelsus on 16 May 2009, 15:12)

I am encountering the same problem on a WRT54GS. It works either as an AP or as a STA, but not AP+STA together. Did you have any success in resolving this yet?

(I tried with the 2.4 and the 2.6 kernel on 8.09.1 and 2.4 latest trunk.)

Should I try an older OpenWRT version (whiterussian even??) to get a wireless repeater working on this router?

The discussion might have continued from here.