Nest Protect disassociated due to inactivity

I have a WRT1900ACS running 19.07.3

One wireless device, a second generation Nest Protect, is being constantly disconnected from the wireless even though I have disassociate on low ACK disabled.

What am I doing wrong?
From etc/config/wireless:

config wifi-iface 'wifinet3'
option ssid 'XXXXXXXX_Guest'
option device 'radio1'
option mode 'ap'
option network 'guest'
option key 'XXXXXXXXX'
option wmm '0'
option disassoc_low_ack '0'
option encryption 'psk2+ccmp'

From syslog:

Tue Jul 14 14:55:07 2020 daemon.notice hostapd: wlan1-1: AP-STA-DISCONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 14:55:07 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: disassociated due to inactivity
Tue Jul 14 14:55:08 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jul 14 14:55:08 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: authenticated
Tue Jul 14 14:55:08 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: associated (aid 1)
Tue Jul 14 14:55:08 2020 daemon.notice hostapd: wlan1-1: AP-STA-CONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 14:55:08 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df WPA: pairwise key handshake completed (RSN)
Tue Jul 14 15:00:12 2020 daemon.notice hostapd: wlan1-1: AP-STA-DISCONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 15:00:12 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: disassociated due to inactivity
Tue Jul 14 15:00:13 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jul 14 15:00:13 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: authenticated
Tue Jul 14 15:00:13 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: associated (aid 1)
Tue Jul 14 15:00:13 2020 daemon.notice hostapd: wlan1-1: AP-STA-CONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 15:00:13 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df WPA: pairwise key handshake completed (RSN)
Tue Jul 14 15:05:30 2020 daemon.notice hostapd: wlan1-1: AP-STA-DISCONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 15:05:30 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: disassociated due to inactivity
Tue Jul 14 15:05:31 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jul 14 15:05:32 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: authenticated
Tue Jul 14 15:05:32 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: associated (aid 1)
Tue Jul 14 15:05:32 2020 daemon.notice hostapd: wlan1-1: AP-STA-CONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 15:05:32 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df WPA: pairwise key handshake completed (RSN)
Tue Jul 14 15:10:45 2020 daemon.notice hostapd: wlan1-1: AP-STA-DISCONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 15:10:45 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: disassociated due to inactivity
Tue Jul 14 15:10:46 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jul 14 15:10:46 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: authenticated
Tue Jul 14 15:10:46 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: associated (aid 1)
Tue Jul 14 15:10:46 2020 daemon.notice hostapd: wlan1-1: AP-STA-CONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 15:10:46 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df WPA: pairwise key handshake completed (RSN)
Tue Jul 14 15:15:16 2020 daemon.notice hostapd: wlan1-1: AP-STA-DISCONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 15:15:16 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: disassociated
Tue Jul 14 15:15:17 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jul 14 15:15:26 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: authenticated
Tue Jul 14 15:15:26 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: associated (aid 1)
Tue Jul 14 15:15:26 2020 daemon.notice hostapd: wlan1-1: AP-STA-CONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 15:15:26 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df WPA: pairwise key handshake completed (RSN)
Tue Jul 14 15:15:26 2020 daemon.info dnsmasq-dhcp[5630]: DHCPDISCOVER(br-guest) 18:b4:30:a8:a6:df
Tue Jul 14 15:15:26 2020 daemon.info dnsmasq-dhcp[5630]: DHCPOFFER(br-guest) 192.168.3.245 18:b4:30:a8:a6:df
Tue Jul 14 15:15:26 2020 daemon.info dnsmasq-dhcp[5630]: DHCPREQUEST(br-guest) 192.168.3.245 18:b4:30:a8:a6:df
Tue Jul 14 15:15:26 2020 daemon.info dnsmasq-dhcp[5630]: DHCPACK(br-guest) 192.168.3.245 18:b4:30:a8:a6:df
Tue Jul 14 15:22:06 2020 daemon.notice hostapd: wlan1-1: AP-STA-DISCONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 15:22:06 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: disassociated due to inactivity
Tue Jul 14 15:22:07 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jul 14 15:22:07 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: authenticated
Tue Jul 14 15:22:07 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: associated (aid 1)
Tue Jul 14 15:22:07 2020 daemon.notice hostapd: wlan1-1: AP-STA-CONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 15:22:07 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df WPA: pairwise key handshake completed (RSN)
Tue Jul 14 15:24:06 2020 authpriv.info dropbear[14279]: Exit (root): Exited normally
Tue Jul 14 15:27:10 2020 daemon.notice hostapd: wlan1-1: AP-STA-DISCONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 15:27:10 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: disassociated due to inactivity
Tue Jul 14 15:27:11 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jul 14 15:27:11 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: authenticated
Tue Jul 14 15:27:11 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: associated (aid 1)
Tue Jul 14 15:27:11 2020 daemon.notice hostapd: wlan1-1: AP-STA-CONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 15:27:11 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df WPA: pairwise key handshake completed (RSN)
Tue Jul 14 15:32:14 2020 daemon.notice hostapd: wlan1-1: AP-STA-DISCONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 15:32:14 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: disassociated due to inactivity
Tue Jul 14 15:32:15 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: deauthenticated due to inactivity (timer DEAUTH/REMOVE)
Tue Jul 14 15:32:16 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: authenticated
Tue Jul 14 15:32:16 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df IEEE 802.11: associated (aid 1)
Tue Jul 14 15:32:16 2020 daemon.notice hostapd: wlan1-1: AP-STA-CONNECTED 18:b4:30:a8:a6:df
Tue Jul 14 15:32:16 2020 daemon.info hostapd: wlan1-1: STA 18:b4:30:a8:a6:df WPA: pairwise key handshake completed (RSN)

The Nest Protect is also saying: "Heads up, Nest Protect is disconnected from the Internet..."

I see this with my android devices, I think they go to sleep after a while to save battery and then the router logs them as disconnected.

1 Like

Your android devices disassociate every five minutes and then immediately reconnect?

None of my Android devices do that.

It turns out the second generation Nest Protect was being disconnected because it was not communicating due to being confused by my network configuration.

Removing the IPv6 ULA-Prefix and rebooting the router fixed the issue.

I have Comcast with dual-stack IPv6 support, and I divide up the /60 prefix delegation among my networks. Because of this the IPv6 ULA-Prefix is unnecessary.

https://blogs.infoblox.com/ipv6-coe/common-ipv6-newbie-questions/

The issue came back a day after removing the IPv6 ULA-Prefix.

The issue seems to be related to DNS lookups being done by the Nest Protect taking too long (or the Nest Protect having too short of a timeout). Turning off "DNSSEC" and "DNSSEC check unsigned" that I had setup with dnsmasq-full has helped.

I am using Quad9 which is doing DNSSEC checking anyway so having the router do it is redundant and just adds overhead.

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.