Temat: Problem z odpaleniem atherosa 5211
Mam Openwrt 8.09.1 x86 na Neoware.
Wsadziłem do tego kartę PCI wifi TL-WN551G z atherosem 5211.
Zainstalowałem najpierw kmod-madwifi - bez efektu a potem kmod-ath54.
Mimo różnych kombinacji efekt ciągle podobny:
Ładują sie modułu (czyli widzi kartę) - wyciąg z lsmod:
ath_hal 246144 2 ath_pci,ath_rate_minstrel
wlan_scan_sta 6272 0
wlan_scan_ap 4864 0
wlan 128496 9 ath_pci,wlan_xauth,wlan_wep,wlan_tkip,wlan_ccmp,wlan_acl,ath_rate_minstrel,wlan_scan_sta,wlan_scan_ap
ath5k 82560 0
natsemi 19040 0
mac80211 125340 1 ath5k
cfg80211 19080 2 ath5k,mac80211W /proc/sys/dev mam coś wskazujacego na budzenie się atherosa:
# ls -lR /proc/sys/dev
/proc/sys/dev:
dr-xr-xr-x 0 root root 0 Sep 17 20:51 ath
dr-xr-xr-x 0 root root 0 Sep 17 20:51 rtc
/proc/sys/dev/ath:
-rw-r--r-- 1 root root 0 Sep 17 20:51 calibrate
dr-xr-xr-x 0 root root 0 Sep 17 20:51 hal
-r--r--r-- 1 root root 0 Sep 17 20:51 maxvaps
-r--r--r-- 1 root root 0 Sep 17 20:51 xchanmode
/proc/sys/dev/ath/hal:
-rw-r--r-- 1 root root 0 Sep 17 20:51 dma_beacon_response_time
-rw-r--r-- 1 root root 0 Sep 17 20:51 sw_beacon_response_time
-rw-r--r-- 1 root root 0 Sep 17 20:51 swba_backoff
/proc/sys/dev/rtc:
-rw-r--r-- 1 root root 0 Sep 17 20:51 max-user-freqAle iwconfig nie znajduje nic wifi
# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
br-lan no wireless extensions.ani nie działa wifi up:
# wifi up
/sbin/wifi: eval: line 1: cannot create /proc/sys/dev/wifi0/countrycode: nonexistent directory
/sbin/wifi: eval: line 1: cannot create /proc/sys/dev/wifi0/outdoor: nonexistent directory
wlanconfig: ioctl: No such device
enable_atheros(wifi0): Failed to set up ap vif
Tak jakby coś oczekiwało na wifi0 a to się nie tworzy...
lograd pokazuje
Sep 17 19:35:11 stodola user.info kernel: 802.1Q VLAN Support v1.8 Ben Greear <greearb@candelatech.com>
Sep 17 19:35:11 stodola user.info kernel: All bugs added by David S. Miller <davem@redhat.com>
Sep 17 19:35:11 stodola user.warn kernel: Using IPI Shortcut mode
Sep 17 19:35:11 stodola user.info kernel: input: ImPS/2 Generic Wheel Mouse as /devices/platform/i8042/serio1/input/input1
Sep 17 19:35:11 stodola user.warn kernel: VFS: Mounted root (jffs2 filesystem) readonly.
Sep 17 19:35:11 stodola user.info kernel: Freeing unused kernel memory: 156k freed
Sep 17 19:35:11 stodola user.warn kernel: Please be patient, while OpenWrt loads ...
Sep 17 19:35:11 stodola user.debug kernel: ieee80211_crypt: registered algorithm 'NULL'
Sep 17 19:35:11 stodola user.info kernel: ieee80211: 802.11 data/management/control stack, git-1.1.13
Sep 17 19:35:11 stodola user.info kernel: ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
Sep 17 19:35:11 stodola user.debug kernel: ieee80211_crypt: registered algorithm 'WEP'
Sep 17 19:35:12 stodola user.debug kernel: ieee80211_crypt: registered algorithm 'TKIP'
Sep 17 19:35:12 stodola user.debug kernel: ieee80211_crypt: registered algorithm 'CCMP'
Sep 17 19:35:12 stodola user.info kernel: natsemi dp8381x driver, version 2.1, Sept 11, 2006
Sep 17 19:35:12 stodola user.info kernel: originally by Donald Becker <becker@scyld.com>
Sep 17 19:35:12 stodola user.info kernel: 2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
Sep 17 19:35:12 stodola user.info kernel: PPP generic driver version 2.4.2
Sep 17 19:35:12 stodola user.info kernel: ip_tables: (C) 2000-2006 Netfilter Core Team
Sep 17 19:35:12 stodola user.warn kernel: nf_conntrack version 0.5.0 (4096 buckets, 16384 max)
Sep 17 19:35:12 stodola user.info kernel: 8139too Fast Ethernet driver 0.9.28
Sep 17 19:35:12 stodola user.debug kernel: PCI: setting IRQ 11 as level-triggered
Sep 17 19:35:12 stodola user.info kernel: PCI: Found IRQ 11 for device 0000:00:09.0
Sep 17 19:35:12 stodola user.info kernel: eth0: RealTek RTL8139 at 0xec00, 00:e0:c5:6a:3b:f7, IRQ 11
Sep 17 19:35:12 stodola user.debug kernel: eth0: Identified 8139 chip type 'RTL-8139C'
Sep 17 19:35:12 stodola user.info kernel: e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
Sep 17 19:35:12 stodola user.info kernel: e100: Copyright(c) 1999-2006 Intel Corporation
Sep 17 19:35:12 stodola user.info kernel: Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
Sep 17 19:35:12 stodola user.info kernel: Copyright (c) 1999-2006 Intel Corporation.
Sep 17 19:35:12 stodola user.info kernel: wlan: trunk
Sep 17 19:35:12 stodola user.info kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Sep 17 19:35:13 stodola user.warn kernel: ath_hal: module license 'Proprietary' taints kernel.
Sep 17 19:35:13 stodola user.info kernel: ath_hal: 2009-05-08 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133, RF2425, REGOPS_FUNC, XR)
Sep 17 19:35:13 stodola user.info kernel: ath_rate_minstrel: Minstrel automatic rate control algorithm 1.2 (trunk)
Sep 17 19:35:13 stodola user.info kernel: ath_rate_minstrel: look around rate set to 10%
Sep 17 19:35:13 stodola user.info kernel: ath_rate_minstrel: EWMA rolloff level set to 75%
Sep 17 19:35:13 stodola user.info kernel: ath_rate_minstrel: max segment size in the mrr set to 6000 us
Sep 17 19:35:13 stodola user.err kernel: br-lan: Dropping NETIF_F_UFO since no NETIF_F_HW_CSUM feature.
Sep 17 19:35:13 stodola user.info kernel: wlan: mac acl policy registered
Sep 17 19:35:13 stodola user.info kernel: device eth0 entered promiscuous mode
Sep 17 19:35:13 stodola user.info kernel: br-lan: port 1(eth0) entering learning state
Sep 17 19:35:13 stodola user.info kernel: br-lan: topology change detected, propagating
Sep 17 19:35:13 stodola user.info kernel: br-lan: port 1(eth0) entering forwarding state
Sep 17 19:35:13 stodola user.info kernel: ath_pci: trunk
Sep 17 19:35:13 stodola user.info kernel: ne2k-pci.c:v1.03 9/22/2003 D. Becker/P. Gortmaker
Sep 17 19:35:13 stodola user.info kernel: pcnet32.c:v1.34-NAPI 14.Aug.2007 tsbogend@alpha.franken.de
Sep 17 19:35:13 stodola user.info kernel: sis900.c: v1.08.10 Apr. 2 2006
Sep 17 19:35:13 stodola user.info kernel: via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
Sep 17 19:35:13 stodola user.warn kernel: via-rhine: Broken BIOS detected, avoid_D3 enabled.
Sep 17 19:35:13 stodola user.info sysinit: /sbin/wifi: eval: line 1: cannot create /proc/sys/dev/wifi0/countrycode: nonexistent directory
Sep 17 19:35:13 stodola user.info sysinit: /sbin/wifi: eval: line 1: cannot create /proc/sys/dev/wifi0/outdoor: nonexistent directory
Sep 17 19:35:13 stodola user.info sysinit: wlanconfig: ioctl: No such device
Sep 17 19:35:13 stodola user.info sysinit: enable_atheros(wifi0): Failed to set up ap vifPo wielu eksperymentach mój /etc/config/network wygląda następująco:
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'ifname' 'eth0'
option 'type' 'bridge'
option 'proto' 'static'
option 'ipaddr' '192.168.1.91'
option 'netmask' '255.255.255.0'
option 'gateway' '192.168.1.1'
option 'dns' '194.204.159.1'
config 'interface' 'wan'
option 'ifname' 'ath0'
option 'proto' 'dhcp'a mój /etc/config/wireless:
config wifi-device wifi0
option type atheros
option channel 6
option softled 0
option diveristy 0
option txantenna 2
option rxantenna 2
option agmode 11g
option distance 600
config wifi-iface
option device wifi0
option network lan
option mode ap
option ssid kp-wrt
option txpower 16
option bursting 1
option bgscan 0
option xr 1
option ar 0
option wmm 0Googluje już z tydzień i nic...