monorailmedic
Occasional Visitor
My RT-AX58U has been plugging along just fine until recently, now running 388.2_2. At some point in the past month (tricky to tell as my main ISP changed, I was out of town, and I tweaked the failover script) WiFi devices regularly disconnect - albeit very briefly. None of the changes I've made are WiFi related, so I think it just made it harder to tell when all of this started as I was focussed on other challenges. I'm looking for help in understand what the root cause of these frequent drops may be so I can stop them.
What I'm Noticing
Some devices, such as a Google Home device I have with a screen, often shows that the connection has dropped and then pops back to life. Other devices, like my main laptop (M1 MBP) just have brief moments that I can't load content, or where video-conferencing gets jacked up. Sometimes, however, I actually see the laptop drop the WiFi connection, and then come back a few seconds later. My desktop, NAS, and other hardwired devices seem to be just fine.
My Findings
I'm definitely no expert at this, but consider myself a savvy end-user, so I figured I'd go into the logs and see what's going on. I did see a problem with the YazFi script that was causing a reset of some services and cycling of some device connections, and have since corrected that (just updated that script and those entries are gone). There are still quite a few things I'm noticing that I can't explain. Some of them may be benign, but I'm not sure. I'm pasting below a block from the logs and will go over what I know and what I don't about why some of these appear. I've masked a couple things.
The first two lines show deauth and then disassociation of a device "because sending station is leaving..." but no device left our very small condo during that time, no devices were powered down during that time, etc. No idea why this happened.
The next few lines (truncated) are all normal, I suspect seeing that I have an internal WAN IP (double NATd).
The kernel DROP IN lines, I'm guessing, are the router blocking packets. Probably normal?
Tailscale is probably causing the UDP mapping messages - and again, double NATd, so that seems expected.
After that I see the device that was disassociated starts reconnecting - just two seconds after it dropped. The next several lines are that handshake taking place.
After that a different device starts to connect - and looking before this block from the logs, it was disassociated two mins earlier for the same reason.
It's worth noting that I see many disconnects with other reasons, too. Again, in circumstances that don't seem right to me (a very uneducated person on this). Reasons include:
Disassociated due to inactivity
Unspecified reason
Previous authentication no longer valid
The Logs
Any tips on what to look for or try would be welcome. My main network is now barely usable because of these issues, and I've gotta figure something out.
What I'm Noticing
Some devices, such as a Google Home device I have with a screen, often shows that the connection has dropped and then pops back to life. Other devices, like my main laptop (M1 MBP) just have brief moments that I can't load content, or where video-conferencing gets jacked up. Sometimes, however, I actually see the laptop drop the WiFi connection, and then come back a few seconds later. My desktop, NAS, and other hardwired devices seem to be just fine.
My Findings
I'm definitely no expert at this, but consider myself a savvy end-user, so I figured I'd go into the logs and see what's going on. I did see a problem with the YazFi script that was causing a reset of some services and cycling of some device connections, and have since corrected that (just updated that script and those entries are gone). There are still quite a few things I'm noticing that I can't explain. Some of them may be benign, but I'm not sure. I'm pasting below a block from the logs and will go over what I know and what I don't about why some of these appear. I've masked a couple things.
The first two lines show deauth and then disassociation of a device "because sending station is leaving..." but no device left our very small condo during that time, no devices were powered down during that time, etc. No idea why this happened.
The next few lines (truncated) are all normal, I suspect seeing that I have an internal WAN IP (double NATd).
The kernel DROP IN lines, I'm guessing, are the router blocking packets. Probably normal?
Tailscale is probably causing the UDP mapping messages - and again, double NATd, so that seems expected.
After that I see the device that was disassociated starts reconnecting - just two seconds after it dropped. The next several lines are that handshake taking place.
After that a different device starts to connect - and looking before this block from the logs, it was disassociated two mins earlier for the same reason.
It's worth noting that I see many disconnects with other reasons, too. Again, in circumstances that don't seem right to me (a very uneducated person on this). Reasons include:
Disassociated due to inactivity
Unspecified reason
Previous authentication no longer valid
The Logs
Code:
May 16 23:44:45 wlceventd: wlceventd_proc_event(494): eth5: Deauth_ind xx:xx:xx:xx:xF:74, status: 0, reason: Deauthenticated because sending station is leaving (or has left) IBSS or ESS (3), rssi:0
May 16 23:44:45 hostapd: eth5: STA xx:xx:xx:xx:xF:74 IEEE 802.11: disassociated
May 16 23:44:45 miniupnpd[13723]: private/reserved address 192.168.88.253 is not suitable for external IP
...
May 16 23:44:46 miniupnpd[13723]: private/reserved address 192.168.88.253 is not suitable for external IP
May 16 23:44:50 kernel: DROP IN=eth4 OUT= MAC=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:08:00 SRC=1xx.xxx.x5.206 DST=192.168.88.253 LEN=1184 TOS=0x00 PREC=0x00 TTL=116 ID=14522 PROTO=TCP SPT=443 DPT=57698 SEQ=4164051170 ACK=3368634025 WINDOW=1045 RES=0x00 ACK PSH URGP=0 OPT (0101080A25855DFB76010EBD) MARK=0x8000000
May 16 23:44:52 kernel: DROP IN=eth4 OUT= MAC=yy:yy:yy:yy:yy:yy:yy:yy:yy:yy:yy:yy:08:00 SRC=192.168.88.1 DST=255.255.255.255 LEN=150 TOS=0x00 PREC=0x00 TTL=64 ID=0 PROTO=UDP SPT=5678 DPT=5678 LEN=130 MARK=0x8000000
May 16 23:44:56 miniupnpd[13723]: PCP MAP: failed to add mapping UDP 41641->192.168.29.245:41641 'PCP MAP c2191e3f5a93de0f1eba71dc'
May 16 23:44:57 wlceventd: wlceventd_proc_event(530): eth5: Auth xx:xx:xx:xx:xF:74, status: Successful (0), rssi:0
May 16 23:44:57 hostapd: eth5: STA xx:xx:xx:xx:xF:74 IEEE 802.11: associated
May 16 23:44:57 wlceventd: wlceventd_proc_event(559): eth5: Assoc xx:xx:xx:xx:xF:74, status: Successful (0), rssi:-45
May 16 23:44:57 hostapd: eth5: STA xx:xx:xx:xx:xF:74 RADIUS: starting accounting session DC9D972FF31B8AA8
May 16 23:44:57 hostapd: eth5: STA xx:xx:xx:xx:xF:74 WPA: pairwise key handshake completed (RSN)
May 16 23:44:57 dnsmasq-dhcp[22957]: DHCPDISCOVER(br0) xx:xx:xx:xx:xF:74
May 16 23:44:57 dnsmasq-dhcp[22957]: DHCPOFFER(br0) 192.168.29.175 xx:xx:xx:xx:xF:74
May 16 23:44:57 dnsmasq-dhcp[22957]: DHCPREQUEST(br0) 192.168.29.175 xx:xx:xx:xx:xF:74
May 16 23:44:57 dnsmasq-dhcp[22957]: DHCPACK(br0) 192.168.29.175 xx:xx:xx:xx:xF:74 WYZE_CAKP2JFUS-D03F27810F74
May 16 23:44:59 wlceventd: wlceventd_proc_event(530): eth5: Auth xx:xx:xx:x2:00:B5, status: Successful (0), rssi:0
May 16 23:45:00 wlceventd: wlceventd_proc_event(559): eth5: Assoc xx:xx:xx:x2:00:B5, status: Successful (0), rssi:-60
May 16 23:45:00 hostapd: eth5: STA xx:xx:xx:x2:00:B5 IEEE 802.11: associated
May 16 23:45:00 hostapd: eth5: STA xx:xx:xx:x2:00:B5 RADIUS: starting accounting session 3F919501E3EFAF4E
May 16 23:45:00 hostapd: eth5: STA xx:xx:xx:x2:00:B5 WPA: pairwise key handshake completed (RSN)
Any tips on what to look for or try would be welcome. My main network is now barely usable because of these issues, and I've gotta figure something out.