|
FreeBSD Installation and Upgrading Installing and upgrading FreeBSD. |
|
Thread Tools | Display Modes |
|
|
||||
Atheros AR9227 wireless PCI on 10.2
I have a TL-WN751ND in a 10.2 system that seems to be having some problems. Basic info:
# pciconf -lv Code:
ath0@pci0:1:9:0: class=0x028000 card=0x0301168c chip=0x002d168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR9227 Wireless Network Adapter' class = network # ifconfig | grep -B3 -i wireless Code:
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290 ether c4:e9:84:91:9c:20 nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng -- ether c4:e9:84:91:9c:20 inet 192.168.49.179 netmask 0xfffffc00 broadcast 192.168.51.255 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: IEEE 802.11 Wireless Ethernet MCS mode 11ng # ifconfig wlan0 list caps Code:
drivercaps=4f85ed01<STA,IBSS,HOSTAP,AHDEMO,TXPMGT,SHSLOT,SHPREAMBLE,MONITOR,MBSS,WPA1,WPA2,BURST,WME,WDS,TXFRAG> cryptocaps=1f<WEP,TKIP,AES,AES_CCM,TKIPMIC> htcaps=7016e<CHWIDTH40,SHORTGI20,SHORTGI40> Code:
ath0: ath_rate_tx_complete: ts_rate=27 ts_finaltsi=0 ath0: bad series0 hwrate 0x1b, tries 1 ts_status 0x0 ath0: bad series0 hwrate 0x81, tries 2 ts_status 0x0 ath0: bad series0 hwrate 0x81, tries 2 ts_status 0x0 ath0: bad series0 hwrate 0x81, tries 2 ts_status 0x0 ath0: ath_rate_tx_complete: ts_rate=27 ts_finaltsi=0 ath0: bad series0 hwrate 0x1b, tries 3 ts_status 0x0 ath0: ath_rate_tx_complete: ts_rate=27 ts_finaltsi=0 ath0: bad series0 hwrate 0x1b, tries 1 ts_status 0x0 ath0: bb hang detected (0x4), resetting Below, is a command followed by an illustrative snippet what gets displayed on the console (and sent to dmesg). # wlandebug rate Code:
ath0: bad series0 hwrate 0x1b, tries 1 ts_status 0x0 ath0: bad series0 hwrate 0x80, tries 2 ts_status 0x0 ath0: ath_rate_tx_complete: ts_rate=27 ts_finaltsi=0 ath0: bad series0 hwrate 0x1b, tries 1 ts_status 0x0 ath0: bad series0 hwrate 0x81, tries 2 ts_status 0x0 wlan0: [20:b3:99:1c:02:48] ath_rate_findrate: min_switch 1077028 > ticks_since_switch 1064071.. wlan0: [20:b3:99:1c:02:48] ath_rate_tx_complete: size 250 (227 bytes) OK rate/short/long 5 MCS/0/1 nframes/nbad [1/0] wlan0: [20:b3:99:1c:02:48] ath_rate_tx_complete: size 250 (227 bytes) OK rate/short/long 5 MCS/0/1 nframes/nbad [1/0] wlan0: [20:b3:99:1c:02:48] ath_rate_findrate: min_switch 1078646 > ticks_since_switch 1078031.. # wlandebug input Code:
wlan0: [b0:05:94:16:4e:87] discard frame, not to bss wlan0: [00:1d:ce:a1:fc:a0] discard frame, not to bss wlan0: [02:1d:ce:a1:fc:a0] discard frame, not to bss wlan0: [06:1d:ce:a1:fc:a0] discard frame, not to bss wlan0: [b0:05:94:16:4e:87] discard frame, not to bss wlan0: [00:1d:ce:a1:fc:a0] discard frame, not to bss wlan0: [02:1d:ce:a1:fc:a0] discard frame, not to bss wlan0: [06:1d:ce:a1:fc:a0] discard frame, not to bss wlan0: [52:57:1a:1f:bc:b0] discard frame, not to bss # wlandebug elemid Code:
wlan0: [20:b3:99:1c:02:48] discard beacon frame, ie too short, got 26, expected 30 wlan0: [20:b3:99:1c:02:48] discard beacon frame, ie too short, got 26, expected 30 wlan0: [20:b3:99:1c:02:48] discard beacon frame, ie too short, got 26, expected 30 wlan0: [20:b3:99:1c:02:48] discard beacon frame, ie too short, got 26, expected 30 wlan0: [20:b3:99:1c:02:48] discard beacon frame, ie too short, got 26, expected 30 # wlandebug state Code:
ath0: bad series0 hwrate 0x80, tries 2 ts_status 0x0 ath0: bad series0 hwrate 0x80, tries 2 ts_status 0x0 ath0: bb hang detected (0x4), resetting ath0: bb hang detected (0x4), resetting ath0: bb hang detected (0x4), resetting wlan0: beacon miss, mode STA state RUN ath0: ath_rate_tx_complete: ts_rate=27 ts_finaltsi=0 ath0: bad series0 hwrate 0x1b, tries 1 ts_status 0x0 wlan0: beacon miss, mode STA state RUN ath0: ath_rate_tx_complete: ts_rate=27 ts_finaltsi=0 ath0: bad series0 hwrate 0x1b, tries 1 ts_status 0x0 # wlandebug dumppkts Code:
wlan0: received beacon from 20:b3:99:1c:02:48 rssi 32 wlan0: received beacon from 20:b3:99:1c:02:48 rssi 32 wlan0: received beacon from 20:b3:99:1c:02:48 rssi 32 wlan0: received beacon from 20:b3:99:1c:02:48 rssi 32 wlan0: received beacon from 20:b3:99:1c:02:48 rssi 32 ath0: bad series0 hwrate 0x81, tries 2 ts_status 0x0 wlan0: received beacon from 20:b3:99:1c:02:48 rssi 31 ath0: bad series0 hwrate 0x80, tries 2 ts_status 0x0 wlan0: received beacon from 20:b3:99:1c:02:48 rssi 32 wlan0: received beacon from 20:b3:99:1c:02:48 rssi 32 wlan0: received beacon from 20:b3:99:1c:02:48 rssi 32 wlan0: received beacon from 20:b3:99:1c:02:48 rssi 31 wlan0: received beacon from 20:b3:99:1c:02:48 rssi 31 |
|
||||
Quote:
Quote:
# ifconfig wlan0 destroy # ifconfig wlan0 create wlandev ath0 mode 11g # wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf # dhclient wlan0 # ifconfig | grep -B3 -i wireless Code:
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290 ether c4:e9:84:91:9c:20 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng -- wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 ether c4:e9:84:91:9c:20 inet 192.168.49.179 netmask 0xfffffc00 broadcast 192.168.51.255 media: IEEE 802.11 Wireless Ethernet MCS mode 11ng Code:
ath0: bad series0 hwrate 0x81, tries 2 ts_status 0x0 ath0: bad series0 hwrate 0x81, tries 2 ts_status 0x0 ath0: bad series0 hwrate 0x82, tries 4 ts_status 0x0 ath0: bad series0 hwrate 0x81, tries 2 ts_status 0x0 ath0: bad series0 hwrate 0x81, tries 2 ts_status 0x0 Quote:
Muchas gracias, amigo! |
|
||||
Quote:
Are you certain that the access point is not set to 802.11n ("greenfield") only? In this mode, a/b/g support is effectively killed, but FreeBSD will still see the network. That was my experience when using this hardware to try and connect to an 802.11n access point. Can you have a look at ifconfig(8) under the 802.11 specific section and read the "chanlist" and "channel" options. It looks like you can force a specific channel to 802.11g there as well. |
|
||||
Quote:
# ifconfig wlan0 up scan My community Access Point was in the list with channels 6 and 11. # ifconfig wlan0 up scan chanlist 6:g My community Access Point was in this list. # ifconfig wlan0 up scan chanlist 11:g My community Access Point was also in this list. # /etc/rc.d/dhclient stop wlan0 # /etc/rc.d/wpa_supplicant stop # ifconfig wlan0 destroy # ifconfig wlan0 create wlandev ath0 channel 11:g or # ifconfig wlan0 create wlandev ath0 channel 6:g (ether will work with my AP) # wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf This may be needed if the first attempt to get an address (auto) isn't successful. # dhclient wlan0 The console and dmesg still gets spammed with messages like: Code:
ath0: ath_rate_tx_complete: ts_rate=27 ts_finaltsi=0 ath0: bad series0 hwrate 0x1b, tries 2 ts_status 0x0 ath0: ath_rate_tx_complete: ts_rate=27 ts_finaltsi=0 ath0: bad series0 hwrate 0x1b, tries 1 ts_status 0x0 ath0: bad series0 hwrate 0x81, tries 2 ts_status 0x0 ath0: bad series0 hwrate 0x81, tries 2 ts_status 0x0 ath0: ath_rate_tx_complete: ts_rate=27 ts_finaltsi=0 ath0: bad series0 hwrate 0x1b, tries 1 ts_status 0x0 To enable the new configuration at boot, /etc/rc.conf was modified like so: Code:
wlans_ath0="wlan0" create_args_ath0="channel 11:g" ifconfig_wlan0="WPA DHCP" |
|
||||
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Atheros ar9565 | fossala | OpenBSD General | 5 | 23rd September 2014 03:46 PM |
[Help needed] Atheros on Dragonflybsd | joanelis | Other BSD and UNIX/UNIX-like | 4 | 4th May 2010 09:09 PM |
atheros wireless card not working | guitarscn | FreeBSD General | 0 | 26th August 2009 05:50 PM |
atheros AR5424 | amru | OpenBSD General | 5 | 12th June 2009 12:29 AM |
[FB7|wireless]Atheros 5213 cannot search AP | magnus | FreeBSD General | 3 | 8th May 2008 11:46 PM |