Wi-Fi stops working after 2 days on Archer C7v2

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

ErickEY
Posts: 16
Joined: Fri Sep 20, 2013 1:36 am

Wi-Fi stops working after 2 days on Archer C7v2

Post 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.
Archer C7v2 on 1.12.x (Mar 20)

Lantis
Moderator
Posts: 6751
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

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

Post by Lantis »

Please provide a log when it goes down.
And a copy of your settings.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ErickEY
Posts: 16
Joined: Fri Sep 20, 2013 1:36 am

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

Post by ErickEY »

Where could I get the log?
Archer C7v2 on 1.12.x (Mar 20)

ErickEY
Posts: 16
Joined: Fri Sep 20, 2013 1:36 am

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

Post 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
Archer C7v2 on 1.12.x (Mar 20)

Lantis
Moderator
Posts: 6751
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

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

Post by Lantis »

you can install a system log plugin or use the instructions here.

viewtopic.php?f=8&t=8505
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

ErickEY
Posts: 16
Joined: Fri Sep 20, 2013 1:36 am

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

Post by ErickEY »

logread returned no errors.
Although the 2.4MHz network is visible, devices can't connect to it. 5.0MHz network works fine.
Last edited by ErickEY on Sat Nov 18, 2017 2:24 am, edited 2 times in total.
Archer C7v2 on 1.12.x (Mar 20)

ErickEY
Posts: 16
Joined: Fri Sep 20, 2013 1:36 am

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

Post 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.
Last edited by ErickEY on Thu Jan 18, 2018 12:20 am, edited 1 time in total.
Archer C7v2 on 1.12.x (Mar 20)

Lantis
Moderator
Posts: 6751
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

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

Post by Lantis »

Can other devices connect when it is like that?
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

d3fz
Posts: 277
Joined: Sun Aug 28, 2016 7:34 pm

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

Post 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.
Last edited by d3fz on Sat Dec 09, 2017 11:11 am, edited 1 time in total.
TP-Link Archer C7 v2 - Gargoyle 1.12.X
TP-Link WR842ND v2 - Gargoyle 1.10.X
TP-Link RE450 AC v2 - Stock FW 1.0.4
TP-Link WA850RE v1.2 - LEDE 17.01.1

ErickEY
Posts: 16
Joined: Fri Sep 20, 2013 1:36 am

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

Post 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.
Archer C7v2 on 1.12.x (Mar 20)

Post Reply