WiFi problem on TPLINK TL-WR850N

Hi at all,
i have a problem since i switched to open wrt latest version 22.03.2 .

In some moments, the ping vs the router is destination host unreachable for 30 second until 60 second, subsequently the connection WiFi logs out without being able to reconnect, after more second the connection wifi disappears.

When the connection wifi disappears, i connect with the pc via lan and go in the menù scan WiFi in the router, no one wireless network is visible. After a few seconds it shows the following error message: /usr/lib/lua/luci/dispacthcer.lua:431: /etc/config/luci seems to be corrupt, unable to find section 'main'.

after 15 minute, the wifi network it reappears and the router it's back to working properly.

*I have about two hundred routers installed and the problem appears systematically in some

The configuration Wireless Network is:
Mode: Master | SSID: FIDOKAwifiFKR-R10354A
BSSID: 9C:A2:F4:C8:9D:FE
Encryption: mixed WPA/WPA2 PSK (CCMP)
Channel: 1 (2.412 GHz)
Tx-Power: 20 dBm
Signal: -46 dBm | Noise: 0 dBm
Bitrate: 124.2 Mbit/s | Country: 00
**Operating Frequency N - channel: Auto - Width: 40MHz
Mode: Access Point
Network: LAN
WMM Mode: Enable
Short Preamble: Enable
Disassociate on low: Enable

I attach the log from start to finish the problem.

Tue Dec  6 10:07:59 2022 daemon.info hostapd: wlan0: STA aa:33:a8:82:d0:77 IEEE 802.11: authenticated
Tue Dec  6 10:07:59 2022 daemon.info hostapd: wlan0: STA aa:33:a8:82:d0:77 IEEE 802.11: associated (aid 2)
Tue Dec  6 10:07:59 2022 daemon.notice hostapd: wlan0: AP-STA-CONNECTED aa:33:a8:82:d0:77
Tue Dec  6 10:07:59 2022 daemon.info hostapd: wlan0: STA aa:33:a8:82:d0:77 WPA: pairwise key handshake completed (RSN)
Tue Dec  6 10:07:59 2022 daemon.notice hostapd: wlan0: EAPOL-4WAY-HS-COMPLETED aa:33:a8:82:d0:77
Tue Dec  6 10:08:02 2022 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan) aa:33:a8:82:d0:77
Tue Dec  6 10:08:02 2022 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.1.238 aa:33:a8:82:d0:77
Tue Dec  6 10:08:02 2022 daemon.info dnsmasq-dhcp[1]: DHCPDISCOVER(br-lan) aa:33:a8:82:d0:77
Tue Dec  6 10:08:02 2022 daemon.info dnsmasq-dhcp[1]: DHCPOFFER(br-lan) 192.168.1.238 aa:33:a8:82:d0:77
Tue Dec  6 10:08:02 2022 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.238 aa:33:a8:82:d0:77
Tue Dec  6 10:08:02 2022 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.238 aa:33:a8:82:d0:77 21081111RG
Tue Dec  6 11:09:17 2022 user.info : luci: accepted login on / for root from 185.100.177.251
Tue Dec  6 11:09:26 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 IEEE 802.11: authenticated
Tue Dec  6 11:09:27 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 IEEE 802.11: authenticated
Tue Dec  6 11:09:27 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 IEEE 802.11: associated (aid 1)
Tue Dec  6 11:09:27 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 WPA: pairwise key handshake completed (RSN)
Tue Dec  6 11:09:27 2022 daemon.notice hostapd: wlan0: EAPOL-4WAY-HS-COMPLETED c4:e9:0a:06:54:b5
Tue Dec  6 11:09:27 2022 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.100 c4:e9:0a:06:54:b5
Tue Dec  6 11:09:27 2022 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.100 c4:e9:0a:06:54:b5 cybertop
Tue Dec  6 11:09:29 2022 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.100 c4:e9:0a:06:54:b5
Tue Dec  6 11:09:29 2022 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.100 c4:e9:0a:06:54:b5 cybertop
Tue Dec  6 11:10:14 2022 authpriv.info dropbear[3522]: Child connection from 192.168.1.238:57416
Tue Dec  6 11:10:14 2022 authpriv.info dropbear[3522]: Exit before auth from <192.168.1.238:57416>: Exited normally
Tue Dec  6 11:10:21 2022 authpriv.info dropbear[3523]: Child connection from 192.168.1.238:43156
Tue Dec  6 11:10:21 2022 authpriv.info dropbear[3523]: Exit before auth from <192.168.1.238:43156>: Exited normally
Tue Dec  6 11:17:19 2022 authpriv.info dropbear[3536]: Child connection from 192.168.1.238:46298
Tue Dec  6 11:17:19 2022 authpriv.info dropbear[3536]: Exit before auth from <192.168.1.238:46298>: Exited normally
Tue Dec  6 11:17:55 2022 authpriv.info dropbear[3537]: Child connection from 192.168.1.238:54308
Tue Dec  6 11:17:55 2022 authpriv.info dropbear[3537]: Exit before auth from <192.168.1.238:54308>: Exited normally
Tue Dec  6 11:18:01 2022 authpriv.info dropbear[3538]: Child connection from 192.168.1.238:39984
Tue Dec  6 11:18:01 2022 authpriv.info dropbear[3538]: Exit before auth from <192.168.1.238:39984>: Exited normally
Tue Dec  6 11:26:18 2022 daemon.notice hostapd: wlan0: AP-STA-POLL-OK c4:e9:0a:06:54:b5
Tue Dec  6 11:26:21 2022 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED aa:33:a8:82:d0:77
Tue Dec  6 11:26:21 2022 daemon.info hostapd: wlan0: STA aa:33:a8:82:d0:77 IEEE 802.11: disassociated due to inactivity
Tue Dec  6 11:26:22 2022 daemon.info hostapd: wlan0: STA aa:33:a8:82:d0:77 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)

Thank's a lot at all for reply :slight_smile:
Matteo

More disconnction, more log:

Tue Dec  6 16:50:37 2022 daemon.warn dnsmasq[12]: possible DNS-rebind attack detected: dns.msftncsi.com
Tue Dec  6 16:52:03 2022 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED aa:33:a8:82:d0:77
Tue Dec  6 16:52:05 2022 daemon.warn dnsmasq[1]: possible DNS-rebind attack detected: dns.msftncsi.com
Tue Dec  6 16:52:05 2022 daemon.warn dnsmasq[1]: possible DNS-rebind attack detected: dns.msftncsi.com
Tue Dec  6 16:52:06 2022 daemon.warn dnsmasq[1]: possible DNS-rebind attack detected: dns.msftncsi.com
Tue Dec  6 16:52:07 2022 daemon.info hostapd: wlan0: STA aa:33:a8:82:d0:77 IEEE 802.11: authenticated
Tue Dec  6 16:52:07 2022 daemon.info hostapd: wlan0: STA aa:33:a8:82:d0:77 IEEE 802.11: associated (aid 2)
Tue Dec  6 16:52:07 2022 daemon.notice hostapd: wlan0: AP-STA-CONNECTED aa:33:a8:82:d0:77
Tue Dec  6 16:52:07 2022 daemon.info hostapd: wlan0: STA aa:33:a8:82:d0:77 WPA: pairwise key handshake completed (RSN)
Tue Dec  6 16:52:07 2022 daemon.notice hostapd: wlan0: EAPOL-4WAY-HS-COMPLETED aa:33:a8:82:d0:77
Tue Dec  6 16:52:07 2022 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.238 aa:33:a8:82:d0:77
Tue Dec  6 16:52:07 2022 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.238 aa:33:a8:82:d0:77 21081111RG
Tue Dec  6 16:52:08 2022 daemon.warn dnsmasq[1]: possible DNS-rebind attack detected: dns.msftncsi.com
Tue Dec  6 16:52:10 2022 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED aa:33:a8:82:d0:77
Tue Dec  6 16:52:12 2022 daemon.warn dnsmasq[1]: possible DNS-rebind attack detected: dns.msftncsi.com
Tue Dec  6 16:52:23 2022 daemon.info hostapd: wlan0: STA aa:33:a8:82:d0:77 IEEE 802.11: authenticated
Tue Dec  6 16:52:23 2022 daemon.info hostapd: wlan0: STA aa:33:a8:82:d0:77 IEEE 802.11: associated (aid 2)
Tue Dec  6 16:52:23 2022 daemon.notice hostapd: wlan0: AP-STA-CONNECTED aa:33:a8:82:d0:77
Tue Dec  6 16:52:23 2022 daemon.info hostapd: wlan0: STA aa:33:a8:82:d0:77 WPA: pairwise key handshake completed (RSN)
Tue Dec  6 16:52:23 2022 daemon.notice hostapd: wlan0: EAPOL-4WAY-HS-COMPLETED aa:33:a8:82:d0:77
Tue Dec  6 16:52:23 2022 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.238 aa:33:a8:82:d0:77
Tue Dec  6 16:52:23 2022 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.238 aa:33:a8:82:d0:77 21081111RG
Tue Dec  6 16:52:25 2022 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED aa:33:a8:82:d0:77
Tue Dec  6 16:52:27 2022 daemon.notice hostapd: wlan0: AP-STA-DISCONNECTED c4:e9:0a:06:54:b5
Tue Dec  6 16:52:27 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 IEEE 802.11: disassociated
Tue Dec  6 16:52:27 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 IEEE 802.11: authenticated
Tue Dec  6 16:52:28 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Dec  6 16:52:28 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 IEEE 802.11: authenticated
Tue Dec  6 16:52:29 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 IEEE 802.11: authenticated
Tue Dec  6 16:52:29 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 IEEE 802.11: associated (aid 1)
Tue Dec  6 16:52:30 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 IEEE 802.11: authenticated
Tue Dec  6 16:52:31 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 IEEE 802.11: associated (aid 1)
Tue Dec  6 16:52:31 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 IEEE 802.11: associated (aid 1)
Tue Dec  6 16:52:31 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 IEEE 802.11: associated (aid 1)
Tue Dec  6 16:52:33 2022 daemon.notice hostapd: wlan0: AP-STA-CONNECTED c4:e9:0a:06:54:b5
Tue Dec  6 16:52:33 2022 daemon.info hostapd: wlan0: STA c4:e9:0a:06:54:b5 WPA: pairwise key handshake completed (RSN)
Tue Dec  6 16:52:33 2022 daemon.notice hostapd: wlan0: EAPOL-4WAY-HS-COMPLETED c4:e9:0a:06:54:b5
Tue Dec  6 16:52:33 2022 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.100 c4:e9:0a:06:54:b5
Tue Dec  6 16:52:33 2022 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.100 c4:e9:0a:06:54:b5 cybertop
Tue Dec  6 16:52:35 2022 daemon.info dnsmasq-dhcp[1]: DHCPREQUEST(br-lan) 192.168.1.100 c4:e9:0a:06:54:b5
Tue Dec  6 16:52:35 2022 daemon.info dnsmasq-dhcp[1]: DHCPACK(br-lan) 192.168.1.100 c4:e9:0a:06:54:b5 cybertop

This is the dmesg when problems comes out:

[214246.085689] WARNING: CPU: 0 PID: 583 at target-mipsel_24kc_musl/linux-ramips_mt76x8/mt76-2022-09-06-d7054646/mt7603/mac.c:208 0x819647f4 [mt7603e@206cb13e+0x9620]
[214246.100516] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_counter nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mt7603e mt76 mac80211 cfg80211 slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_ipv6 nf_log_ipv4 nf_log_common nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c crc_ccitt compat sha256_generic libsha256 seqiv jitterentropy_rng drbg hmac cmac leds_gpio gpio_button_hotplug crc32c_generic
[214246.161814] CPU: 0 PID: 583 Comm: napi/phy0-3 Not tainted 5.10.146 #0
[214246.168444] Stack : 00000002 800607ec 806c0000 805c3eb0 00000000 00000000 00000000 00000000
[214246.177041]         00000000 00000000 00000000 00000000 00000000 00000001 8196bc40 b940b620
[214246.185633] 8196bcd8 00000000 00000000 8196bae8 00000038 802c6e04 00000000 ffffffea
[214246.194229] 00000000 8196baf4 000000ab 80646fc8 8196bc20 8059c718 00000000 819647f4
[214246.202813]         00000009 00000002 00003a98 80000000 00000000 8032441c 00000000 80800000
[214246.211408]         ...
[214246.213983] Call Trace:
[214246.213996] [<800607ec>] 0x800607ec
[214246.220214] [<802c6e04>] 0x802c6e04
[214246.223852] [<819647f4>] 0x819647f4 [mt7603e@206cb13e+0x9620]
[214246.229783] [<8032441c>] 0x8032441c
[214246.233414] [<80006d48>] 0x80006d48
[214246.237053] [<80006d50>] 0x80006d50
[214246.240675] [<800267d0>] 0x800267d0
[214246.244319] [<819647f4>] 0x819647f4 [mt7603e@206cb13e+0x9620]
[214246.250233] [<80026898>] 0x80026898
[214246.253855] [<803d1ac4>] 0x803d1ac4
[214246.257510] [<819647f4>] 0x819647f4 [mt7603e@206cb13e+0x9620]
[214246.263435] [<81950218>] 0x81950218 [mt76@700b93da+0xada0]
[214246.269119] [<81964984>] 0x81964984 [mt7603e@206cb13e+0x9620]
[214246.275054] [<819562dc>] 0x819562dc [mt76@700b93da+0xada0]
[214246.280713] [<819531f0>] 0x819531f0 [mt76@700b93da+0xada0]
[214246.286377] [<8006dd8c>] 0x8006dd8c
[214246.290026] [<81961b18>] 0x81961b18 [mt7603e@206cb13e+0x9620]
[214246.295974] [<81954f5c>] 0x81954f5c [mt76@700b93da+0xada0]
[214246.301651] [<81951a08>] 0x81951a08 [mt76@700b93da+0xada0]
[214246.307317] [<8005137c>] 0x8005137c
[214246.310960] [<803d1430>] 0x803d1430
[214246.314598] [<805848c4>] 0x805848c4
[214246.318230] [<803d15e4>] 0x803d15e4
[214246.321856] [<803d1600>] 0x803d1600
[214246.325521] [<803d1550>] 0x803d1550
[214246.329143] [<800441c8>] 0x800441c8
[214246.332765] [<8004408c>] 0x8004408c
[214246.336411] [<8004408c>] 0x8004408c
[214246.340038] [<800025f8>] 0x800025f8
[214246.343665]
[214246.345277] ---[ end trace eddb9b95fceabd9a ]---

start by filling in the country code, and try setting a chan, instead of auto.

1 Like

Yes, after posting in this forum, i changed the county witch=Italy and channell=auto but the problem remain

then change auto to a real channel.

1 Like

set channel 1 "free", but the problem remain.