I have OpenVPN network with server at TP-Link Archer C-7 v5
and 6 clients TP-Link Archer C-60 v2
More than a year everythings worked perfectly at OpenWRT 18.06.x
Recently I decided upgrade to 19.07.0.
It was my big mistake, do not touch things that just works.
TP-Link C7(OpenVPN server) works further without problems.
But with at least two TP-Link Archer C60 v2 (OpenVPN clients) have issues:
It freezes(halts) a few times per day.
This two routers located in different cities and at different ISP.
Unfortunately, this two routers are remote for me and I can not have access to it, when problems happens.
What I know, when problems happens:
WiFi dies
Luci dies
Chrome browser from LAN host says: DNS_PROBE_FINISHED_BAD_CONFIG
SSH dies, I opened remote access to static IP.
But ping 8.8.8.8 from LAN pass
And when I try ping router WAN external IP remotly ping pass
After reboot works normaly for a few hours.
But now it's freezes(halts) while I write this post.
I don't see anything wrong in the logs, so I would suggest to downgrade one of them to 18.06.6 and verify that it works without issues, then downgrade the other one too.
Maybe the memory after some time indeed gets consumed and you need a device with 128MB to work 19.07 version with luci enabled.
You do not see any errors in log because this logs after router reboot.
Last night this two routers downgraded to 18.06.06 and they works perfectly.
But now have the same issues with another two routers C-60 v2 on 19.07.0
Tonight will downgrade them too.
But as conclusion it is common problem with Archer C-60 v2.
May be should write warning about this in wiki page?
These logs were for the initial problem. Now you have tried the alternative modules, so new logs will be produced. dmesg and/or logread, whichever has more information.
Now got connection to second router with 19.07.0 and original kmod-ath10k-ct
For simplicity hostname: rivne2
BusyBox v1.30.1 () built-in shell (ash)
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
OpenWrt 19.07.0, r10860-a3ffeb413b
-----------------------------------------------------
root@rivne2:~# uptime
05:06:41 up 12:13, load average: 0.01, 0.02, 0.00
root@rivne2:~# vim /etc/rc.local
-ash: can't fork: Out of memory
root@rivne2:~#
root@rivne2:~# vim /etc/rc.local
-ash: can't fork: Out of memory
root@rivne2:~# dmesg
-ash: can't fork: Out of memory
root@rivne2:~# reboot
-ash: can't fork: Out of memory
It has rebooted automatically, without any appropriate setting or manual actions.
After reboot.
LUCI shows me that's 5Ghz is works, but conduct real test with device connection I have not ability
# uptime
05:31:47 up 20 min, load average: 0.14, 0.05, 0.03
root@rivne2:~# opkg list|grep luci|grep base|grep en
Collected errors:
* pkg_hash_add_from_file: Failed to open /var/opkg-lists/openwrt_routing: Out of memory.
Check if /tmp is growing too big for your memory.
Other than a few firmware failures and country regulatory domains I don't see anything else wrong.
If I recall correctly, the ath10k can consume a lot of memory. Verify that and maybe a roll-back to 18.06.6 will solve your problems for now.