PDA

Bekijk de volledige versie : Bug in Wireless Mode settings



engy
23-01-2005, 18:49
Hy.
I found a bug in Wireless Mode settings. When I set 802.11B Only, mode remains set to Auto. When I type wl rate, it is 36 Mbps, 24Mbps. The thing which will help is set wl gmode to auto and then back to 802.11B Only. Unfortunately there is not valid source for wlconf.
Here is the script to fix this bug

#!/bin/sh
if [ "`nvram get wl_gmode`" = "0" ]; then
wl ap 0
wl gmode 1
sleep 1
wl gmode 0
wl ap 1
fi

Has anybody else noticed this bug?

Antiloop
24-01-2005, 00:50
nope.. you don't mention firmware version so nobody will check to confirm

engy
24-01-2005, 07:25
Sorry,
1.9.2.7 series were on my mind.

Antiloop
24-01-2005, 09:10
Sorry,
1.9.2.7 series were on my mind.
custom or asus?
or both

engy
24-01-2005, 09:12
Original asus 1.9.2.7 and custom from 1.9.2.7-1 to 1.9.2.7-3b.

Oleg
24-01-2005, 12:29
Hm... wlconf sources are available in the firmware, but it's also possible, that ASUS guys have not updated it to use with new wireless driver...

engy
25-01-2005, 14:11
fw 1.8.1.7
- correct wlconf.c in router/wlconf directory
- invalid wlconf.c in router/infosvr

fw 1.9.2.7
- missing wlconf.c in router/wlconf directory
- modified Makefile to not compile wlconf.c
- invalid wlconf.c in router/wlconf directory

I thing the bug is in wl program or wl.o module. I need to set another mode than 802.11B Only and then back to 802.11B Only.

Is it a bug Oleg or I do something wrong?

Oleg
25-01-2005, 18:42
yes, you're right... They've removed sources for some reason...

Oleg
25-01-2005, 18:56
strange: 802.11b works for me:


[root@wl500g root]$ nvram get wl0_gmode
0
[root@wl500g root]$ wl rate
rate is 11 Mbps
[root@wl500g root]$ wl gmode
54g Mode is 54g Legacy B (0)
[root@wl500g root]$ wl status
SSID: "wl500g"
Mode: Managed RSSI: 0 dBm noise: 0 dBm Channel: 6
BSSID: 00:00:00:00:00:00 Capability: ESS WEP
Supported Rates: [ 1(b) 2(b) 5.5(b) 11(b) ]

engy
27-01-2005, 15:33
I have provided some more tests with this result:
I use Hibrid mode. The second AP is wl-hdd with 1.9.2.7-3b fw. After successfull connection the wl rate speed goes to 54Mb. Here is result after 1 min up



[admin@(none) root]$ nvram get wl0_gmode
0
[admin@(none) root]$ wl rate
rate is 54 Mbps
[admin@(none) root]$ wl gmode
54g Mode is 54g Legacy B (0)
[admin@(none) root]$ wl status
SSID: "default"
Mode: Managed RSSI: 0 dBm noise: 0 dBm Channel: 6
BSSID: 00:00:00:00:00:00 Capability: ESS
Supported Rates: [ 1(b) 2(b) 5.5(b) 11(b) ]


[admin@(none) root]$ wl rateset
rateset : [ 1(b) 2(b) 5.5(b) 11(b) ]


There is sample configuration for wl500gx in attachement.

Antiloop
27-01-2005, 15:41
please mention exact which hardware you are using, you are mentioning WL-HDD and WL500g Deluxe already in your last post this means results can't be compared anymore with WL500g

Oleg was talking about WL500g, and yes there is difference between them even if the firmware version is the same

engy
29-01-2005, 16:21
The problem is same with wl-500g. Config for wl-500g is in attachement.
So it's a bug in firmware or not?



[admin@(none) root]$ nvram get wl0_gmode
0
[admin@(none) root]$ wl rate
rate is 54 Mbps
[admin@(none) root]$ wl gmode
54g Mode is 54g Legacy B (0)
[admin@(none) root]$ wl status
SSID: "default"
Mode: Managed RSSI: 0 dBm noise: 0 dBm Channel: 6
BSSID: 00:00:00:00:00:00 Capability: ESS
Supported Rates: [ 1(b) 2(b) 5.5(b) 11(b) ]


[admin@(none) root]$ wl rateset
rateset : [ 1(b) 2(b) 5.5(b) 11(b) ]

Thx

Oleg
29-01-2005, 18:02
Have you checked real rate?
Probably just wl rate output is invalid.

engy
29-01-2005, 18:29
Yes. The real data rate is more then 11Mbps. I have tested it with pings with 64000 packet size. Here are the avg results of 100 packets :

110 ms with wl gmode 802.11B and wl rate reported 54Mbps
170 ms with wl gmode 802.11B and manualy setting wl rate to 11Mbps
105 ms with wl gmode Auto and manualy setting wl rate to 54Mbps

I thing there is a bug.

Antiloop
30-01-2005, 04:49
the bug is as follow, you could have confirmed it yourself:

when using NO hybrid/wds it works like it should

when using Hybrid or WDS mode it seems to ignore the 54g Legacy B mode somehow

anyway result from WL500g using WPA-PSK (Hybrid)

[root@SNOL root]$ nvram get wl0_gmode
0
[root@SNOL root]$ wl rate
rate is 54 Mbps
[root@SNOL root]$ wl gmode
54g Mode is 54g Legacy B (0)
[root@SNOL root]$ wl status
SSID: "AAPg"
Mode: Managed RSSI: 0 dBm noise: 0 dBm Channel: 11
BSSID: 00:0E:xx:xx:xx:xx Capability: ESS WEP
Supported Rates: [ 1(b) 2(b) 5.5(b) 11(b) ]

WL500g.Deluxe using WPA-PSK AES (AP Only)

[admin@WL500gx root]$ nvram get wl0_gmode
0
[admin@WL500gx root]$ wl rate
rate is 11 Mbps
[admin@WL500gx root]$ wl gmode
54g Mode is 54g Legacy B (0)
[admin@WL500gx root]$ wl status
SSID: "WL500gx"
Mode: Managed RSSI: 0 dBm noise: 0 dBm Channel: 1
BSSID: 00:11:xx:xx:xx:xx Capability: ESS WEP
Supported Rates: [ 1(b) 2(b) 5.5(b) 11(b) ]


added in FAQ ( http://wl500g.info/faq.php?faq=asus_wl_x#faq_knownbugs ) asus is reading it.. no idea when they are..