OpenWrt Forum Archive

Topic: WL-500gD/7.09 doesn't work in sta mode

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

I have:

root@OpenWrt:~# iwconfig wl0
wl0       IEEE 802.11-DS  ESSID:""  
          Mode:Repeater  Frequency:2.452 GHz  Tx-Power:off   
          RTS thr:off   Fragment thr:off
          Encryption key:<too big>

/etc/config/wireless:

config wifi-device  wl0
    option type     broadcom
    option channel  9

    # REMOVE THIS LINE TO ENABLE WIFI:
    option disabled 0

config wifi-iface
    option device   wl0
    option network    lan
    option mode    'sta'
    option ssid    'MyAP'
    option encryption wep
    option hidden    '0'
    option isolate    '0'
    option bgscan    '0'
    option wds    '0'
    option key    330e44f040c64e5e218a03bb63

It works perfectly in AP mode, but I just can't do anything with "Tx-Power:off" as soon as it switched to sta. No useful stuff in dmesg.

What can be wrong? Searched forum/wiki, found little, nothing helps.

Thanks!

Hi,
Im not a pro of openwrt but In your config file, I can read

# REMOVE THIS LINE TO ENABLE WIFI:
option disabled 0

...

/etc/config/wireless

Option     Value       Default value      Description
disabled   [0|1]       1                  0: WiFi enabled; 1: WiFi disabled

Ok smile

pfalcon, I have my WL-500gP working in 'sta' mode. I'm not a guru but I think I ran into the same problem and got help from this thread:

http://forum.openwrt.org/viewtopic.php?id=14236

You basically need to

1. break your lan-wl0 bridge and associate it with wan
    - /etc/config/network use wl0 as your wan interface and not the default ethxxx

2. /etc/config/wireless setup wl0 with
    option key '1'
    option key1 'whatever'
    option network wan

3. Make sure you are not running WEP shared key on your main wireless internet gateway. That's not supported, I guess. I had to change mine to WEP open authentication (counterintuitive but more secure)

4. I disabled the firewall on the "sta" OpenWrt router - that's taken care of by the gateway

Let me know if this helps! I can post my config files if you require.

2 confused2008: So far I reverted to Oleg's firmware, where it associates. But indeed I use shared keys, and in back of my mind I thought "damn, openwrt didn't have anything about open/shared". Thanks for the hint, going to reflash in next few days.

That fixed it. Many thanks!

So, let's write in red letters:

WEP "Shared" auth considered harmful.

Cool! smile

I try to start 500g (client) and Dlink AP2100, without enciphering all works, and here with wpa it is impossible. Prompt a working config.

The discussion might have continued from here.