Page 1 of 3

Wi-Fi stops working after 2 days on Archer C7v2

Posted: Sat Nov 04, 2017 5:17 pm
by ErickEY
Might anyone have an idea if there was any Wi-Fi related changes in the image released on May 25?
So far this is the ONLY release my Archer C7v2 has a stable 2.4/5.0GHz Wi-Fi (could run for 1.5 month w/o reboot).
When running any other firmware (including the one published on Oct 25), 2.4 Wi-Fi stops working after 2 days (wlan just disappears and all wireless client got dropped), 5.0 Wi-Fi lasts for a few more hours and then fails too.
Rebooting the router fixes the problem for another couple of days

Please suggest. Thank you.

Re: Wi-Fi stops working after 2 days on Archer C7v2

Posted: Sat Nov 04, 2017 5:30 pm
by Lantis
Please provide a log when it goes down.
And a copy of your settings.

Re: Wi-Fi stops working after 2 days on Archer C7v2

Posted: Sat Nov 18, 2017 12:38 am
by ErickEY
Where could I get the log?

Re: Wi-Fi stops working after 2 days on Archer C7v2

Posted: Sat Nov 18, 2017 12:46 am
by ErickEY
Here is wireless configuration:

Device Configuration
Configure Device As: Gateway (Default)

Local Network / LAN
Router IP: 192.168.1.1
Subnet Mask: 255.255.255.0
Allow NameCoin/OpenNIC Resolution X

Wireless Mode: AP+WDS
2.4GHz Operation Mode: B+G+N
2.4GHz Channel Width: 40MHz, 2nd channel above
2.4GHz Transmit Power: Max (25dBm)

5GHz Operation Mode: A+N+AC
5GHz Channel Width: 40MHz
5GHz Transmit Power: Max (30dBm)
Wireless MAC Filter: Disabled

AP 2.4GHz SSID: wlan75
AP 5GHz SSID: wlan755

Wireless Channel (2.4GHz): 5
Wireless Channel (5GHz): 149
Encryption: WPA2 PSK

Broadcast SSID: Enabled
Wireless Client Isolation: Disabled
Guest Network: Disabled

Re: Wi-Fi stops working after 2 days on Archer C7v2

Posted: Sat Nov 18, 2017 1:09 am
by Lantis
you can install a system log plugin or use the instructions here.

viewtopic.php?f=8&t=8505

Re: Wi-Fi stops working after 2 days on Archer C7v2

Posted: Sat Nov 18, 2017 2:00 am
by ErickEY
logread returned no errors.
Although the 2.4MHz network is visible, devices can't connect to it. 5.0MHz network works fine.

Re: Wi-Fi stops working after 2 days on Archer C7v2

Posted: Sat Nov 18, 2017 2:21 am
by ErickEY
when I'm trying to connect to 2.4Mhz network in "zombie" state, I see the following entries in syslog:

Sat Nov 18 00:57:41 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: disassociated
Sat Nov 18 00:57:42 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sat Nov 18 00:58:15 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Sat Nov 18 00:58:15 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 2)
Sat Nov 18 00:58:15 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx RADIUS: starting accounting session BFBCDFFCB98C0052
Sat Nov 18 00:58:15 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Sat Nov 18 00:58:15 2017 daemon.info dnsmasq-dhcp[2976]: DHCPREQUEST(br-lan) 192.168.1.207 xx:xx:xx:xx:xx:xx
Sat Nov 18 00:58:15 2017 daemon.info dnsmasq-dhcp[2976]: DHCPACK(br-lan) 192.168.1.207 xx:xx:xx:xx:xx:xx android-d10edda65c55c636
Sat Nov 18 00:58:42 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: disassociated
Sat Nov 18 00:58:43 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sat Nov 18 00:59:10 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Sat Nov 18 00:59:10 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 2)
Sat Nov 18 00:59:10 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx RADIUS: starting accounting session 9786CA41B16BA647
Sat Nov 18 00:59:10 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Sat Nov 18 00:59:10 2017 daemon.info dnsmasq-dhcp[2976]: DHCPREQUEST(br-lan) 192.168.1.207 xx:xx:xx:xx:xx:xx
Sat Nov 18 00:59:10 2017 daemon.info dnsmasq-dhcp[2976]: DHCPACK(br-lan) 192.168.1.207 xx:xx:xx:xx:xx:xx android-d10edda65c55c636
Sat Nov 18 01:04:29 2017 daemon.info hostapd: wlan0: STA 20:4e:7f:7a:d9:0f WPA: group key handshake completed (RSN)
Sat Nov 18 01:04:29 2017 daemon.info hostapd: wlan0: STA e4:be:ed:05:c5:4a WPA: group key handshake completed (RSN)
Sat Nov 18 01:04:30 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: group key handshake completed (RSN)
Sat Nov 18 01:04:30 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: group key handshake completed (RSN)
Sat Nov 18 01:14:29 2017 daemon.info hostapd: wlan0: STA e4:be:ed:05:c5:4a WPA: group key handshake completed (RSN)
Sat Nov 18 01:14:29 2017 daemon.info hostapd: wlan0: STA 20:4e:7f:7a:d9:0f WPA: group key handshake completed (RSN)
Sat Nov 18 01:14:29 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: group key handshake completed (RSN)
Sat Nov 18 01:14:30 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: group key handshake completed (RSN)
Sat Nov 18 01:16:44 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: disassociated
Sat Nov 18 01:16:45 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sat Nov 18 01:17:24 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Sat Nov 18 01:17:24 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 2)
Sat Nov 18 01:17:25 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx RADIUS: starting accounting session FEA2E74AA1290C1A
Sat Nov 18 01:17:25 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Sat Nov 18 01:17:25 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: disassociated
Sat Nov 18 01:17:26 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Sat Nov 18 01:17:59 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: authenticated
Sat Nov 18 01:17:59 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: associated (aid 2)
Sat Nov 18 01:17:59 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx RADIUS: starting accounting session C5E587C0ADC030CA
Sat Nov 18 01:17:59 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx WPA: pairwise key handshake completed (RSN)
Sat Nov 18 01:17:59 2017 daemon.info dnsmasq-dhcp[2976]: DHCPREQUEST(br-lan) 192.168.1.207 xx:xx:xx:xx:xx:xx
Sat Nov 18 01:17:59 2017 daemon.info dnsmasq-dhcp[2976]: DHCPACK(br-lan) 192.168.1.207 xx:xx:xx:xx:xx:xx android-d10edda65c55c636
Sat Nov 18 01:19:37 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: disassociated
Sat Nov 18 01:19:38 2017 daemon.info hostapd: wlan0: STA xx:xx:xx:xx:xx:xx IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Success
After several tries (with no luck), my tablet connects automatically to 5.0MHz network as a failsafe option.

Re: Wi-Fi stops working after 2 days on Archer C7v2

Posted: Sat Nov 18, 2017 8:57 am
by Lantis
Can other devices connect when it is like that?

Re: Wi-Fi stops working after 2 days on Archer C7v2

Posted: Sat Nov 18, 2017 12:45 pm
by d3fz
Sat Nov 18 00:58:15 2017 daemon.info hostapd: wlan0: STA 68:05:71:75:96:8e RADIUS: starting accounting session BFBCDFFCB98C0052
Always wondered what this means, since i only use WPA2 encryption, and this eventually shows up when some client is having problems (keep connecting/disconnecting/reconnecting), for no apparent reason.

I used to have this problem quite often with my WR842ND, does issuing "wifi" command solves the problem? Probably yes, but only temporarily.

Logread didn't show anything relevant other than what you've described. What helped to shed a light, in this case, was gathering data from the following commands when that happened:

Code: Select all

cat /sys/kernel/debug/ieee80211/phy1/ath9k/ani
cat /sys/kernel/debug/ieee80211/phy1/ath9k/reset
cat /sys/kernel/debug/ieee80211/phy1/ath9k/queues
"Stuck Beacon", "Tx DMA stop error", "(BE): pending", would show quite high values when it happened.

Re: Wi-Fi stops working after 2 days on Archer C7v2

Posted: Sat Nov 18, 2017 11:06 pm
by ErickEY
Lantis wrote:Can other devices connect when it is like that?
No. Although the 2.4MHz network is visible but no one can connect to it. Previosely connected devices get disconnected.