Problem setting up an Atheros based AP
-
I just got some new hardware (except for the Atheros nic, which is known to work), and am having problems getting the Atheros card to act as an AP.
Hardware:
Motherboard: Jetway J7F4K1G2E
Optional Daughter board: Jetway 3 X Gigabit
Wifi PCI nic: ath0@pci0:8:0: class=0x020000 card=0x2051168c chip=0x0013168c rev=0x01 hdr=0x00 (from pciconf -l) IIRC it is an AR5212.I am able to associate with the AP, and get an ip from the dhcp server. But I only get a couple KB out of the connection, and then it disassociates.
Here is a snippet from system logs:
Oct 23 00:41:25 goyle dnsmasq[633]: reading /var/dhcpd/var/db/dhcpd.leases Oct 23 00:42:17 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: deauthenticated due to local deauth request Oct 23 00:42:17 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: deassociated Oct 23 00:43:37 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: associated Oct 23 00:43:37 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: pairwise key handshake completed (WPA) Oct 23 00:43:38 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: group key handshake completed (WPA) Oct 23 00:43:49 goyle dnsmasq[633]: reading /var/dhcpd/var/db/dhcpd.leases Oct 23 00:44:17 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: deauthenticated due to local deauth request Oct 23 00:44:17 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: deassociated Oct 23 00:44:27 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: associated Oct 23 00:44:27 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: pairwise key handshake completed (WPA) Oct 23 00:44:28 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: group key handshake completed (WPA) Oct 23 00:44:39 goyle dnsmasq[633]: reading /var/dhcpd/var/db/dhcpd.leases Oct 23 00:45:17 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: deauthenticated due to local deauth request Oct 23 00:45:17 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: deassociated Oct 23 00:46:39 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: associated Oct 23 00:46:40 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: pairwise key handshake completed (WPA) Oct 23 00:46:41 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: group key handshake completed (WPA) Oct 23 00:46:52 goyle dnsmasq[633]: reading /var/dhcpd/var/db/dhcpd.leases Oct 23 00:47:17 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: deauthenticated due to local deauth request Oct 23 00:47:17 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: deassociated Oct 23 00:47:30 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: associated Oct 23 00:47:30 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: pairwise key handshake completed (WPA) Oct 23 00:47:31 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: group key handshake completed (WPA) Oct 23 00:47:42 goyle dnsmasq[633]: reading /var/dhcpd/var/db/dhcpd.leases Oct 23 00:48:16 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: group key handshake completed (WPA) Oct 23 00:48:22 goyle dnsmasq[633]: reading /var/dhcpd/var/db/dhcpd.leases Oct 23 00:49:16 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: group key handshake completed (WPA) Oct 23 00:49:22 goyle dnsmasq[633]: reading /var/dhcpd/var/db/dhcpd.leases Oct 23 00:50:16 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: group key handshake completed (WPA) Oct 23 00:50:39 goyle dnsmasq[633]: reading /var/dhcpd/var/db/dhcpd.leases Oct 23 00:51:17 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: deauthenticated due to local deauth request Oct 23 00:51:17 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: deassociated Oct 23 00:52:43 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: associated Oct 23 00:52:43 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: pairwise key handshake completed (WPA) Oct 23 00:52:44 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: group key handshake completed (WPA) Oct 23 00:52:55 goyle dnsmasq[633]: reading /var/dhcpd/var/db/dhcpd.leases Oct 23 00:53:15 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: received EAPOL-Key 2/2 Group with unexpected replay counter Oct 23 00:53:16 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: group key handshake completed (WPA) Oct 23 00:53:20 goyle dnsmasq[633]: reading /var/dhcpd/var/db/dhcpd.leases Oct 23 00:53:35 goyle dnsmasq[633]: reading /var/dhcpd/var/db/dhcpd.leases Oct 23 00:54:17 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: deauthenticated due to local deauth request Oct 23 00:54:17 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: deassociated Oct 23 00:54:23 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: associated Oct 23 00:54:23 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: pairwise key handshake completed (WPA) Oct 23 00:54:24 goyle hostapd: ath0: STA My_Wireless_Client_MAC WPA: group key handshake completed (WPA) Oct 23 00:54:35 goyle dnsmasq[633]: reading /var/dhcpd/var/db/dhcpd.leases Oct 23 00:55:17 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: deauthenticated due to local deauth request Oct 23 00:55:17 goyle hostapd: ath0: STA My_Wireless_Client_MAC IEEE 802.11: deassociated
And here is some diagnostic info from the shell:
# athstats 912 tx management frames 4281 tx frames discarded prior to association 8 tx stopped 'cuz no xmit buffer 3923 tx failed 'cuz FIFO underrun 17775 tx failed 'cuz bogus xmit rate 8 tx frames with rts enabled 1325 tx frames with an alternate rate 22 tx frames with 11g protection 379183 rx failed 'cuz of FIFO overrun 1265 rx management frames 331693 beacon setup failed 'cuz no mbuf 211943465 beacons transmitted 1228 periodic calibration failures 80 tx used alternate antenna Antenna profile: [2] tx 752 rx 4104 [3] tx 516 rx 2353
Any help diagnosing this would be helpful. I have no freebsd experience, but quite a bit of linux experience.
Thanks,
brianw
-
ifconfig ath0 ?
cat /tmp/ath0_setup.sh ?