OpenWrt Forum Archive

Topic: wrtsl54gs wifi

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

I built the latest and greatest kamikaze, with no problems.  (THANK YOU!!!)  Buildroot-ng is really, really nice.  I even added a few of my own packages....

But I can't get wifi up on the wrtsl54gs.  I know this has something to do with the three ethernet transcievers on the thing.

No matter what I've tried, I only see eth0 and eth1, and no wl0/eth2/whatever.

If anyone has a working config for a WRTSL54GS running a recent kamikaze, please post your /etc/config/network and /etc/config/wireless files...

Aside:  Is there an area of the wiki for kamikaze?

Thanks,

--Yan

Hmmm.   cat /proc/net/wl0 shoudl return some reasonable values...

On my WR100 running RC5, it does:

root@wr100-2:/proc/net# cat wl0
wl0: Feb 15 2005 14:08:17 version 3.90.37.0

resets 3
perm_etheraddr 00:90:4b:c9:af:f6 cur_etheraddr 00:90:4b:c9:af:f6
board 0x101, board rev 1.0
wsec 1 auth 0 wsec_index 0 wep_algo 3
rate_override: A 0, B 0
antdiv_override 0 txant 0
current_bss.BSSID 00:90:4b:c9:af:f6
current_bss.SSID "SeinerHome"
associated 1
root@wr100-2:/proc/net#

HOwever on my WRTSL54GS running kamikaze it doesn't:

root@OpenWrt:/proc/net# cat wl0
wl0: Aug 22 2006 20:06:47 version 4.80.53.0

resets 0
perm_etheraddr 00:10:18:90:20:db cur_etheraddr 00:10:18:90:20:db
board 0x449, board rev 4.1
rate_override: A 0, B 0
antdiv_override -1 (3 default) txant 3

BSS Config 0: "SeinerHome"
enable 1 up 1 wlif 0x00000000 "wl0"
wsec 0x0 auth 0 wsec_index -1 wep_algo 0
current_bss.BSSID 00:00:00:00:00:00
current_bss.SSID "qH```?HHH??HLDXlBlpHPPP?H@@@?Hp|H   ?HHH?000?H09FFF?xA*H`FFF?}B   ?H`HPPP?HUUU?***?___?***??@@@?HHH??BBB??HHH??HHH??*`<E`uB@@@?HHH?#??HHH??HHH??***??HHH??HHH?zA<<<?AAA??HHH??@\\\?AAA??HHH?BBB??HHH?@FFF??HHH??A?Eppp?H```?H?hI(((??LBBB?WWW?*@@@?H,BBB??Hd
H000?HHH?UUU?*?H????????

Any suggestions?

--Yan

(Last edited by cptdondo on 31 Dec 2006, 00:14)

I still haven't given up but it's looking bleak.

I've installed RC6 on the wtsl54gs and it works just fine.  This is the working setup:

lan_gateway=192.168.128.1
vlan0ports=0 1 2 3 5u
lan_netmask=255.255.255.0
lan_dns=192.168.128.2
lan_ifnames=eth0 eth2  wds0.2 wds0.3 wds0.4 wds0.5
lan_proto=static
lan_ipaddr=192.168.128.17
vlan1hwname=et0
vlan1ports=4 5
lan_ifname=br0
vlan0hwname=et0

Could someone please look at ths and let me know how thi stranslates to the kamikaze /etc/config/network setup?

I guess I don't understand why, with rc6, I get eth0, eth1, and eth2, while with kamikae I get eth0, eth1, and a crrupted (and apparentlyu unconfigurable) wl0.

--Yan

I've been hacking at this issue all day, with nothing to show for it.

Recap:  wrtsl54gs

latest kamikaze, with busybox reverted

wl0 apparently cannot be configured. 

It shows as channel 6, and iwconfig wl0 channel X makes no difference.  I can set up country as JP, and set channel 14 without error, but iwconfig shows it remains on channel 6.

cat /proc/net/wl0 dumps garbage.

It works just fine with rc5 and rc6.

Bug report filed.

--Yan

I've been building multiple firmware for my WRTSL54GS (v1.0) with Kamikaze 5897.
wireless works for me. Here's my config:

/etc/config/network

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


#### 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 wl0"
        option macaddr  "00:18:39:xx:yy:zz"
        option proto    static
        option ipaddr   192.168.xxx.1
        option netmask  255.255.255.0


#### WAN configuration
config interface        wan
        option ifname   "eth1"
        option macaddr  "00:18:39:xx:yy:zz"
        option proto    static
        option ipaddr   xxx.yyy.zzz.104
        option netmask  255.255.255.0
        option gateway  xxx.yyy.zzz.1
        option dns      "aaa.bbb.ccc.ddd www.xxx.yyy.zzz"

/etc/config/wireless:

config wifi-device  wl0
        option type     broadcom
        option channel  1

config wifi-iface
        option device   wl0
        option network  lan
        option mode     ap
        option ssid     XXXXXXXX
        option hidden   1
        option encryption psk
        option key      password

/proc/net/wl0 spits out a bunch of garbage at the end too, but wireless still works for me.
wl0: Aug 22 2006 20:06:47 version 4.80.53.0

resets 3
perm_etheraddr 00:10:18:90:20:db cur_etheraddr 00:10:18:90:20:db
board 0x449, board rev 4.1
rate_override: A 0, B 0
antdiv_override -1 (3 default) txant 3

BSS Config 0: "XXXXXXXX"
enable 1 up 1 wlif 0x00000000 "wl0"
wsec 0x2 auth 0 wsec_index 2 wep_algo 2
current_bss.BSSID 00:10:18:90:20:db
current_bss.SSID "@????(?J??????????<?JD?JH?J?aJL?JP?JX??J      \?J
l?JHdJt?J|?J??J??J??J??J??J??J?J??J??JÌJ                           d?J


Weird. My wl0 MAC is the same as yours. Maybe the driver sets it to that by default?

Hmmm.. I just grabbed a fresh svn copy, reverted to 5897.  Mostly 2.6 and busybox changes.

I'm building as we speak.

We'll know in a bit.

Have you tried to use wds?

--Yan

I've never played with WDS. I didn't care for the potential halving of throughput. I have one other WRT54GL in the house running DD-WRT v23sp3 in Client-Bridged mode with wired clients.

OK, I think I have some of thi s figured out.

Is WEP supported at all with kamikaze?  The docs aren't clear.

Here's my config:

config wifi-device  wl0
        option type     broadcom
        option country  JP
        option channel  14

config wifi-iface
        option device   wl0
        option network  lan
        option mode     ap
        option ssid     SeinerHome
        option hidden   0
        option encryption wep
        option key      [1] XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX

and I get:

root@OpenWrt:/etc/config# wifi
Invalid command: 14
Command 'set wepkey' failed: -1
eap_restrict: Invalid argument

I don't know why the channel option shows up as an invalid command either.

--Yan

Hey guys,

Sounds like you both have tried Kamikaze on the WRTSL54GS.  I'm desperate to get USB 2.0 working for my attached external USB HD; USB1 is just too slow. Is USB 2.0 storage working for the WRTSL54GS in Kamikaze? If so what build, and do you really see faster-than-USB1 speeds?

I presume that I can get my wireless working like Khisanth's.

Thanks.

(Last edited by xaphod on 20 Jan 2007, 03:24)

The discussion might have continued from here.