I have a weird situation and don't know how to figure out what is wrong. I'll try to describe as well as possible.
I've got an Atheros-based router (hostap mode with hostapd). It works with everything except my wireless card on my Asus EeePC 1000HE netbook running FreeBSD-8.1-RC2 (which is also an Atheros, but from a newer generation supporting 11n, it's a Atheros 9280 card).
Here is what happens. When I switch the netbook on it associates with my wireless router and has a good and stable connection. Problem is that DHCP answer packets don't arrive at my netbook, the address stays assigned to 0.0.0.0. I can verify on my router that packets are being sent and also being answered with the correct DHCP settings (tcpdump). On the netbook I can only see packets being sent and no incoming packets at all.
What is happening? How do I investigate further? I cannot tell when the problem appeared, but I know that with FreeBSD 7.x it was working and the card is also working with at least two access points (with the current configuration!).
Kernel is: 8.1-RC2 GENERIC (on router and on netbook)
Using: wpa_supplicant and dhclient
Network is: 11g 54Mbps, WPA2
dmesg|grep ath
ifconfig ath0:
ifconfig wlan0:
I have also no idea why only 36Mbps is being selected here.
wpa_supplicant.conf:
rc.conf (relevant part):
ifconfig wlan0 scan:
By the way, I've just bought an USB wireless adapter (rum). It works without any big changes (only rc.conf had to be adapted).
Ok. I've tested the connection long enough with rum(4) and ath(4). It is definitely a driver problem in ath(4). I guess that there has been a bug introduced sometime around 8-STABLE.
(Off topic: I've also read in mailing lists about the "we don't care about FreeBSD" attitude by Atheros. I guess it's time for me to simply avoid Atheros from now on.)
I've got an Atheros-based router (hostap mode with hostapd). It works with everything except my wireless card on my Asus EeePC 1000HE netbook running FreeBSD-8.1-RC2 (which is also an Atheros, but from a newer generation supporting 11n, it's a Atheros 9280 card).
Here is what happens. When I switch the netbook on it associates with my wireless router and has a good and stable connection. Problem is that DHCP answer packets don't arrive at my netbook, the address stays assigned to 0.0.0.0. I can verify on my router that packets are being sent and also being answered with the correct DHCP settings (tcpdump). On the netbook I can only see packets being sent and no incoming packets at all.
What is happening? How do I investigate further? I cannot tell when the problem appeared, but I know that with FreeBSD 7.x it was working and the card is also working with at least two access points (with the current configuration!).
Kernel is: 8.1-RC2 GENERIC (on router and on netbook)
Using: wpa_supplicant and dhclient
Network is: 11g 54Mbps, WPA2
dmesg|grep ath
Code:
ath0: <Atheros 9280> mem 0xfbef0000-0xfbefffff irq 19 at device 0.0 on pci1
ath0: [ITHREAD]
ath0: AR9280 mac 128.2 RF5133 phy 13.0
ifconfig ath0:
Code:
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether xx:xx:xx:xx:xx:xx
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
ifconfig wlan0:
Code:
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether xx:xx:xx:xx:xx:xx
inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255
media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g
status: associated
ssid MYSSID channel 6 (2437 MHz 11g) bssid yy:yy:yy:yy:yy:yy
regdomain ETSI country DE indoor ecm authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 3:128-bit txpower 30 bmiss 7 scanvalid 450
bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 5
protmode CTS wme burst roaming MANUAL
I have also no idea why only 36Mbps is being selected here.
wpa_supplicant.conf:
Code:
ctrl_interface=/var/run/wpa_supplicant
network={
ssid="MYSSID"
psk="SECRET"
priority=5
key_mgmt=WPA-PSK
proto=RSN
pairwise=CCMP
group=CCMP
}
rc.conf (relevant part):
Code:
wlans_ath0="wlan0"
create_args_wlan0="wlanmode sta country DE"
ifconfig_wlan0="WPA DHCP"
ifconfig wlan0 scan:
Code:
MYSSID yy:yy:yy:yy:yy:yy 6 54M -74:-96 100 EPS RSN
By the way, I've just bought an USB wireless adapter (rum). It works without any big changes (only rc.conf had to be adapted).
Ok. I've tested the connection long enough with rum(4) and ath(4). It is definitely a driver problem in ath(4). I guess that there has been a bug introduced sometime around 8-STABLE.
(Off topic: I've also read in mailing lists about the "we don't care about FreeBSD" attitude by Atheros. I guess it's time for me to simply avoid Atheros from now on.)