Project

General

Profile

Bug #6658

Updated by Jim Pingle over 7 years ago

Wouldn't file this here, except that the same box/config had zero problems with previous 2.3.x versions. HW: APU2C4, Compex WLE200NX, amd64 full install (SSD). 

 The DHCP Relay Service cannot be started on only result (tested with multiple Android phones and two Dell laptops) after 2.3.2 with ath0, clients do not receive upgrade is that the client connects, grabs an IP address. and immediately gets disconnected. 

 <pre> 
 dhcrelay Jul 29 12:28:46 	 hostapd 		 ath0_wlan0: STA 94:35:0a:d9:61:bc IEEE 802.11: associated 
 Jul 29 12:28:46 	 hostapd 		 ath0_wlan0: STA 94:35:0a:d9:61:bc WPA: event 1 notification 
 Jul 29 12:28:46 	 hostapd 		 ath0_wlan0: STA 94:35:0a:d9:61:bc WPA: start authentication 
 Jul 29 12:28:46 	 hostapd 		 ath0_wlan0: STA 94:35:0a:d9:61:bc IEEE 802.1X: unauthorizing port 
 Jul 29 12:28:46 	 hostapd 		 ath0_wlan0: STA 94:35:0a:d9:61:bc WPA: sending 1/4 msg of 4-Way Handshake 
 Jul 29 12:28:46 	 hostapd 		 ath0_wlan0: STA 94:35:0a:d9:61:bc WPA: received EAPOL-Key frame (2/4 Pairwise) 
 Jul 29 12:28:46 	 hostapd 		 ath0_wlan0: STA 94:35:0a:d9:61:bc WPA: sending 3/4 msg of 4-Way Handshake 
 Jul 29 12:28:46 	 hostapd 		 ath0_wlan0: STA 94:35:0a:d9:61:bc WPA: received EAPOL-Key frame (4/4 Pairwise) 
 Jul 29 12:28:46 	 hostapd 		 ath0_wlan0: STA 94:35:0a:d9:61:bc IEEE 802.1X: authorizing port 
 Jul 29 12:28:46 	 hostapd 		 ath0_wlan0: STA 94:35:0a:d9:61:bc RADIUS: starting accounting session 579B2F3C-00000001 
 Jul 29 12:28:46 	 hostapd 		 ath0_wlan0: STA 94:35:0a:d9:61:bc WPA: pairwise key handshake completed (RSN) 
 Jul 29 12:28:59 	 hostapd 		 ath0_wlan0: STA 94:35:0a:d9:61:bc IEEE 802.11: disassociated 
 Jul 29 12:28:59 	 hostapd 		 ath0_wlan0: STA 94:35:0a:d9:61:bc WPA: event 2 notification 
 Jul 29 12:28:59 	 hostapd 		 ath0_wlan0: STA 94:35:0a:d9:61:bc IEEE 802.1X: unauthorizing port 
 </pre> 

 Some other HW/config information: 

 <pre> 
 # dmesg | grep -i ath0_wlan0 -i re2 -i re0 -a -m replace 192.168.1.161 ath 
 Internet Systems Consortium DHCP Relay Agent 4.3.4 ath0: <Atheros 9280> mem 0xfe800000-0xfe80ffff at device 0.0 on pci4 
 Copyright 2004-2016 Internet Systems Consortium. [ath] enabling AN_TOP2_FIXUP 
 All rights reserved. ath0: [HT] enabling HT modes 
 For info, please visit https://www.isc.org/software/dhcp/ ath0: [HT] 1 stream STBC receive enabled 
 Can't attach interface ath0 ath0: [HT] 1 stream STBC transmit enabled 
 ath0: [HT] 2 RX streams; 2 TX streams 
 ath0: AR9280 mac 128.2 RF5133 phy 13.0 
 ath0: 2GHz radio: 0x0000; 5GHz radio: 0x00c0 
 wlan0: changing name to bpf device /dev/bpf0: Device not configured 'ath0_wlan0' 
 ath0: ath_reset_grablock: didn't finish after 10 iterations 
 ath0: ath_reset_grablock: warning, recursive reset path! 
 ath0: ath_reset: concurrent reset! Danger! 
 </pre> 

 If you think you have received this message due to a bug rather <pre> 
 than a configuration issue please read the section on submitting # cat /var/etc/hostapd_ath0_wlan0.conf 
 bugs on either our web page at www.isc.org or in the README file interface=ath0_wlan0 
 before submitting a bug.    These pages explain the proper driver=bsd 
 process and the information we find helpful for debugging.. logger_syslog=-1 
 logger_syslog_level=0 
 logger_stdout=-1 
 logger_stdout_level=0 
 dump_file=/tmp/hostapd_ath0_wlan0.dump 
 ctrl_interface=/var/run/hostapd 
 ctrl_interface_group=wheel 
 #accept_mac_file=/tmp/hostapd_ath0_wlan0.accept 
 #deny_mac_file=/tmp/hostapd_ath0_wlan0.deny 
 #macaddr_acl= 
 ssid=MY_SSID 
 debug= 
 wpa=2 
 wpa_key_mgmt=WPA-PSK 
 wpa_pairwise=CCMP 
 wpa_group_rekey=300 
 wpa_gmk_rekey=3600 
 wpa_strict_rekey= 
 wpa_passphrase=snipped 
 </pre> 

 As soon as I disable that and set up a DHCP server on a 2.3.2+ box, the wifi gets working again. 

 [EDIT: Lots of possibly unrelated wifi chatter in ticket updates, updated description to reflect actual underlying problem.] <pre> 
 # ifconfig -v ath0_wlan0 
 ath0_wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 
         ether 04:f0:21:1e:5d:2d 
         inet6 fe80::6f0:21ff:fe1e:5d2d%ath0_wlan0 prefixlen 64 scopeid 0x9 
         inet 192.168.88.1 netmask 0xffffff00 broadcast 192.168.88.255 
         inet6 2001:470:dead:beef::1 prefixlen 64 
         nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL> 
         media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng <hostap> 
         status: running 
         ssid MY_SSID channel 11 (2462 MHz 11g ht/40-) bssid 04:f0:21:1e:5d:2d 
         regdomain ETSI country CZ indoor ecm authmode WPA2/802.11i -wps -tsn 
         privacy MIXED deftxkey 3 
         AES-CCM 2:128-bit 
         AES-CCM 3:128-bit powersavemode OFF powersavesleep 100 txpower 30 
         txpowmax 50.0 -dotd rtsthreshold 2346 fragthreshold 2346 bmiss 7 
         11a       ucast NONE      mgmt    6 Mb/s mcast    6 Mb/s maxretry 6 
         11b       ucast NONE      mgmt    1 Mb/s mcast    1 Mb/s maxretry 6 
         11g       ucast NONE      mgmt    1 Mb/s mcast    1 Mb/s maxretry 6 
         turboA    ucast NONE      mgmt    6 Mb/s mcast    6 Mb/s maxretry 6 
         turboG    ucast NONE      mgmt    1 Mb/s mcast    1 Mb/s maxretry 6 
         sturbo    ucast NONE      mgmt    6 Mb/s mcast    6 Mb/s maxretry 6 
         11na      ucast NONE      mgmt 12 MCS    mcast 12 MCS    maxretry 6 
         11ng      ucast NONE      mgmt    2 MCS    mcast    2 MCS    maxretry 6 
         half      ucast NONE      mgmt    3 Mb/s mcast    3 Mb/s maxretry 6 
         quarter ucast NONE      mgmt    1 Mb/s mcast    1 Mb/s maxretry 6 
         scanvalid 60 -bgscan bgscanintvl 300 bgscanidle 250 
         roam:11a       rssi      7dBm rate 12 Mb/s 
         roam:11b       rssi      7dBm rate    1 Mb/s 
         roam:11g       rssi      7dBm rate    5 Mb/s 
         roam:turboA    rssi      7dBm rate 12 Mb/s 
         roam:turboG    rssi      7dBm rate 12 Mb/s 
         roam:sturbo    rssi      7dBm rate 12 Mb/s 
         roam:11na      rssi      7dBm    MCS    1 
         roam:11ng      rssi      7dBm    MCS    1 
         roam:half      rssi      7dBm rate    6 Mb/s 
         roam:quarter rssi      7dBm rate    3 Mb/s 
         pureg protmode OFF ht htcompat ampdu ampdulimit 64k ampdudensity 8 
         amsdu shortgi htprotmode RTSCTS -puren -smps -rifs wme burst -dwds 
         -hidessid apbridge dtimperiod 1 doth -dfs inact bintval 100 
         AC_BE cwmin    4 cwmax    6 aifs    3 txopLimit     0 -acm ack 
               cwmin    4 cwmax 10 aifs    3 txopLimit     0 -acm 
         AC_BK cwmin    4 cwmax 10 aifs    7 txopLimit     0 -acm ack 
               cwmin    4 cwmax 10 aifs    7 txopLimit     0 -acm 
         AC_VI cwmin    3 cwmax    4 aifs    1 txopLimit    94 -acm ack 
               cwmin    3 cwmax    4 aifs    2 txopLimit    94 -acm 
         AC_VO cwmin    2 cwmax    3 aifs    1 txopLimit    47 -acm ack 
               cwmin    2 cwmax    3 aifs    2 txopLimit    47 -acm 
         groups: wlan 
 </pre> 

Back