OpenWrt Forum Archive

Topic: wifi on asus wl-500g premium openwrt-brcm47xx-2.6-squashfs.trx

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

have been able to get openwrt up and running , got an ipv6 tunnel running well and i am able to mount my 4gb usb drive.
the issue i am having now is the wifi ..
i do think at one point it was working but now has decided not to. I dont even know if the card / openwrt version are known to be working at this point.

wifi

root@OpenWrt:~# wifi detect
root@OpenWrt:~# iwconfig 
lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

eth0.1    no wireless extensions.

eth0.0    no wireless extensions.

br-lan    no wireless extensions.

sit0      no wireless extensions.

he.net    no wireless extensions.

pci

root@OpenWrt:~# lspci
00:00.0 Host bridge: Broadcom Corporation BCM4704 PCI to SB Bridge (rev 09)
00:02.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev 02)
00:03.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
00:03.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
00:03.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65)

uname

root@OpenWrt:~# uname -a
Linux OpenWrt 2.6.22 #2 Sun Sep 30 20:38:47 CEST 2007 mips unknown
root@OpenWrt:~# ipkg list_installed | grep bcm
kmod-bcm43xx-mac80211 - 1+2.6.22-brcm47xx-1 -

lsmod

root@OpenWrt:~# lsmod
Module                  Size  Used by    Not tainted
usb_storage            27664  1 
sd_mod                 18416  2 
scsi_mod               71968  2 usb_storage,sd_mod
ehci_hcd               28016  0 
sit                     8624  0 
xt_esp                   864  0 
ipt_ah                   768  0 
iptable_raw              832  0 
xt_portscan             1952  0 
xt_CHAOS                1792  0 
xt_DELUDE               2560  1 
xt_pkttype               704  0 
ipt_owner                800  0 
ipt_LOG                 4864  0 
ip6t_owner               800  0 
ip6t_eui64               832  0 
ip6t_ah                  928  0 
ip6t_ROUTE              4128  0 
ip6t_REJECT             3168  0 
ip6t_LOG                5728  0 
ip6t_IMQ                 672  0 
ip6table_raw             608  0 
ip6table_mangle         1056  0 
ip6_queue               5504  0 
tun                     6496  0 
ppp_async               9664  0 
ppp_generic            20000  1 ppp_async
slhc                    5408  1 ppp_generic
crc_ccitt               1024  1 ppp_async
tunnel4                 1680  1 sit
ext3                   97040  1 
jbd                    54672  1 ext3
ext2                   39952  0 
usbcore               102032  3 usb_storage,ehci_hcd
nls_base                4416  0 
rc80211_simple          2432  0 
mac80211              120464  1 rc80211_simple
cfg80211                2448  1 mac80211
ip6table_filter          736  0 
ip6_tables              9040  5 ip6t_ah,ip6t_LOG,ip6table_raw,ip6table_mangle,ip6table_filter
ipv6                  274752  24 sit,ip6t_ROUTE,ip6t_REJECT,ip6table_mangle
switch_robo             4048  0 
switch_core             5056  1 switch_robo
diag                    8272  0

configs


root@OpenWrt:~# cat /etc/config/wireless
config wifi-device      wl0
        option type     Broadcom
        option channel  5
        option disabled '0'

config wifi-iface
        option device   wl0
#       option network  lan
        option mode     ap
        option ssid     zifnab6
        option hidden   0
        option encryption       none
root@OpenWrt:~#

I thought the Broadcom was only working under 2.4. For 2.6, you need to replace the broadcom card in the wl500gP with an atheros one.

ya thats why i'm asking .. seems 90% of everything i have been reading is old and outdated anyway , so it doesnt hurt to ask.

well my next question ...
is it possable to backup all my settings ( i have usb drive mounted ) in such a way that i only need to do minimal configuration if i re-flash with 2.4 ?

(Last edited by lucindrea on 17 Jan 2008, 03:47)

I have not managed to get 2.6 working with an atheros card in my wl-500g premium. WLAN works for a few minutes, but the signal is very weak (-> bad range), and after a few minutes (even if there's hardly any traffic) WLAN clients (WPA) get disconnected constantly, looks like a memory problem. I tried various hacks, it seems to be a problem with madwifi, which according to madwifi's homepage should be fixed already. I guess it's not yet ported to openwrt sad

I have atheros in a wl-500g premium working with no issues. Look in your dmesg output, are there a lot of 'topology changed' messages? Why not post your /etc/config/wireless and /etc/config/network

I replaced the mini-pci card on my WL-500gP with an AR5005GS one, WLAN works but I get a very poor signal and the coverage is much worse. Limiting the usage to only one antenna (disabling diversity) doesn't really help. This is with Atheros-2.6 compiled from trunk on 11/01/2008:


root@OpenWrt:~# uci show wireless
wireless.wifi0=wifi-device
wireless.wifi0.type=atheros
wireless.wifi0.channel=5
wireless.wifi0.diversity=0
wireless.wifi0.rxantenna=1
wireless.wifi0.txantenna=1
wireless.wifi0.disabled=0
wireless.cfg2=wifi-iface
wireless.cfg2.device=wifi0
wireless.cfg2.network=lan
wireless.cfg2.mode=ap
wireless.cfg2.ssid=xxxxxx
wireless.cfg2.encryption=psk
wireless.cfg2.key=xxxxxxxxxxxxxxxxxxx

root@OpenWrt:~# iwconfig ath0
ath0      IEEE 802.11g  ESSID:"xxxxx"  Nickname:""
          Mode:Master  Frequency:2.432 GHz  Access Point: xxxxxxxxxxxx
          Bit Rate:0 kb/s   Tx-Power:16 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:xxxxxxxxxxxxxxxxxxxxxxxxxx [2]   Security mode:open
          Power Management:off
          Link Quality=30/70  Signal level=-66 dBm  Noise level=-96 dBm
          Rx invalid nwid:11  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

After a couple of minutes of wifi traffic the wifi clients get disconnected automatically all the time:

Jan 11 21:09:04 OpenWrt daemon.info hostapd: ath0: STA xxxxxxxxxxxx IEEE 802.11: associated
Jan 11 21:09:07 OpenWrt daemon.info hostapd: ath0: STA xxxxxxxxxxxx IEEE 802.11: deauthenticated due to local deauth request
Jan 11 21:09:07 OpenWrt daemon.info hostapd: ath0: STA xxxxxxxxxxxx IEEE 802.11: disassociated

(Last edited by thomasw on 17 Jan 2008, 04:10)

lkleinow wrote:

Look in your dmesg output, are there a lot of 'topology changed' messages?

I never encountered a topology changes message. I encountered these messages:

ath_mgtstart: discard, no xmit buf

A workaround for that problem was according to another thread setting vm.min_free_kbytes=10000 in /etc/sysctl.conf, but that didn't help at all for me.

(Last edited by thomasw on 17 Jan 2008, 04:16)

bump ?

thomasw wrote:

ath_mgtstart: discard, no xmit buf

A workaround for that problem was according to another thread setting vm.min_free_kbytes=10000 in /etc/sysctl.conf, but that didn't help at all for me.

For those of you seeing this problem (Kamikaze_7.09 users) it's apparently been fixed in trunk.
Haven't been able to test just yet, but wanted to let you know.

(Last edited by KillaB on 7 Mar 2008, 15:58)

The discussion might have continued from here.