I am trying to do a new installation of FreeBSD with a Belkin N-1 PCI card. After the installation I did a cvsup and built a new kernel with ath & wlan support, built & installed world, etc. This is the first time I have tried WiFi on FreeBSD but I have everything set up correct as far as I can tell.
uname output:
rc.conf:
So, after checking the pci bus:
checking ifconfig:
and listing the scan results from the card:
everything looks as I expect it to.
I generated a simple wpa_supplicant.conf file:
and executed wpa_supplicant. The card connects, a DHCP address is assigned, and everything looks fine - for about a minute. And then the system freezes. A power off is required to clear the lockup.
Three questions:
1 - Is there some way to tell what causes the lockup?
2 - Did I make an error or is there some problem with the ATH(4) driver?
3 - Can someone explain cap 80[40] = unknown from the pciconf scan?
uname output:
Code:
FreeBSD sys-h2.test.int 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #0: Mon Feb 14 08:24:54 MST 2011
[email]root@sys-h2.test.int[/email]:/usr/obj/usr/src/sys/TEST1 i386
rc.conf:
Code:
wlans_ath0="wlan0"
ifconfig_wlan0="wlanmode STA authmode WPA ht country US DHCP"
So, after checking the pci bus:
Code:
ath0@pci0:1:2:0: class=0x028000 card=0x80011799 chip=0x0023168c rev=0x01 hdr=0x00
vendor = 'Atheros Communications Inc.'
device = '802.11a/b/g/n Wireless PCI Adapter (AR5416)'
class = network
bar [10] = type Memory, range 32, base 0xf9000000, size 65536, enabled
cap 80[40] = unknown
checking ifconfig:
Code:
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 00:11:50:f7:e8:31
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:11:50:f7:e8:31
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
ssid "" channel 10 (2457 MHz 11g)
regdomain FCC indoor ecm authmode OPEN privacy OFF txpower 27 bmiss 7
scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7
roam:rate 5 protmode CTS wme burst bintval 0
and listing the scan results from the card:
Code:
SSID/MESH ID BSSID CHAN RATE S:N INT CAPS
Fuller 00:22:75:d4:4a:bc 1 54M -92:-96 100 EP MESHCONF MESHCONF HTCAP WME
ROBERT 00:22:3f:09:f2:ae 9 54M -88:-96 100 EPS WME ATH
<my AP> 00:1e:c2:f5:b6:b9 9 54M -68:-96 100 EPS RSN HTCAP WME
qwest2224 00:22:10:7f:d9:50 1 54M -90:-96 100 EP
krycho 00:24:7b:fd:7a:e4 11 54M -93:-96 100 EP RSN WPS WPA WME
Candelaria 00:22:6b:3f:0b:e0 6 54M -92:-96 50 EP WPS WPA
I generated a simple wpa_supplicant.conf file:
Code:
network={
scan_ssid=1
ssid="my AP"
proto=WPA2
key_mgmt=WPA-PSK
psk="my p/w"
}
Three questions:
1 - Is there some way to tell what causes the lockup?
2 - Did I make an error or is there some problem with the ATH(4) driver?
3 - Can someone explain cap 80[40] = unknown from the pciconf scan?