Wi-Fi Keeps Disconnecting (IpReachabilityMonitor is not disabled?)
Wi-Fi Keeps Disconnecting (IpReachabilityMonitor is not disabled?)
Expected Behavior
Stable Wi-Fi connection
Current Behavior
Wi-Fi keeps disconnecting frequently at random time since I switched to Lineage OS, I tried to move close to my router (1 meter distance) but still I'm getting disconnect. I tried the following actions:
- Disable/enable Wi-Fi scanning
- Disable/enable IPv6.
- Switch between profiles.
- Disable/enable 'Turn on Wi-Fi automatically'
- Delete Wi-Fi network and try connecting again
Possible Solution
Disable IpReachabilityMonitor?
Steps to Reproduce
- Connect to any Wi-Fi
- Start browsing
- Wait a few minutes
- Network will disconnect
LOGS
1.
2020-05-12 00:42:22.636 915-2668/system_process D/ConnectivityService: requestNetwork for uid/pid:10095/9665 NetworkRequest [ TRACK_DEFAULT id=75, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10095] ]
2020-05-12 00:42:22.639 915-1671/system_process D/Ethernet: got request NetworkRequest [ TRACK_DEFAULT id=75, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10095] ] with score 60
2020-05-12 00:42:22.640 915-1577/system_process D/WIFI: got request NetworkRequest [ TRACK_DEFAULT id=75, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10095] ] with score 60
2020-05-12 00:42:22.640 915-1577/system_process D/WIFI_UT: got request NetworkRequest [ TRACK_DEFAULT id=75, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10095] ] with score 60
2020-05-12 00:42:23.648 915-9597/system_process D/ConnectivityService: requestNetwork for uid/pid:10095/9665 NetworkRequest [ TRACK_DEFAULT id=77, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10095] ]
2020-05-12 00:42:23.650 915-1671/system_process D/Ethernet: got request NetworkRequest [ TRACK_DEFAULT id=77, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10095] ] with score 60
2020-05-12 00:42:23.650 915-1577/system_process D/WIFI: got request NetworkRequest [ TRACK_DEFAULT id=77, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10095] ] with score 60
2020-05-12 00:42:23.650 915-1577/system_process D/WIFI_UT: got request NetworkRequest [ TRACK_DEFAULT id=77, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10095] ] with score 60
2020-05-12 00:42:24.201 915-8673/system_process D/ConnectivityService: requestNetwork for uid/pid:10095/9665 NetworkRequest [ TRACK_DEFAULT id=79, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10095] ]
2020-05-12 00:42:24.202 915-1671/system_process D/Ethernet: got request NetworkRequest [ TRACK_DEFAULT id=79, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10095] ] with score 60
2020-05-12 00:42:24.203 915-1577/system_process D/WIFI: got request NetworkRequest [ TRACK_DEFAULT id=79, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10095] ] with score 60
2020-05-12 00:42:24.203 915-1577/system_process D/WIFI_UT: got request NetworkRequest [ TRACK_DEFAULT id=79, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 10095] ] with score 60
2020-05-12 00:42:33.317 915-2152/system_process W/IpClient.wlan0: [IpReachabilityMonitor] WARN ALERT neighbor went from: NeighborEvent{@4077102,RTM_NEWNEIGH,if=23,fe80::1,NUD_PROBE,[<MYMACHERE>]} to: NeighborEvent{@4080113,RTM_NEWNEIGH,if=23,fe80::1,NUD_FAILED,[null]}
2020-05-12 00:42:33.318 915-2152/system_process W/IpReachabilityMonitor: FAILURE: LOST_PROVISIONING, NeighborEvent{@4080113,RTM_NEWNEIGH,if=23,fe80::1,NUD_FAILED,[null]}
2020-05-12 00:42:33.333 915-1172/system_process I/EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
2020-05-12 00:42:33.338 915-1577/system_process D/WifiStateMachine: WifiStateMachine: Leaving Connected state
2020-05-12 00:42:33.339 915-1172/system_process I/EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
2020-05-12 00:42:33.340 915-1577/system_process E/WifiVendorHal: stopRssiMonitoring(l.2404) failed {.code = ERROR_NOT_AVAILABLE, .description = }
2020-05-12 00:42:33.343 915-2152/system_process D/DhcpClient: doQuit
2020-05-12 00:42:33.346 915-1172/system_process I/EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
2020-05-12 00:42:33.351 915-1589/system_process D/ConnectivityService: NetworkAgentInfo [WIFI () - 108] EVENT_NETWORK_INFO_CHANGED, going from CONNECTED to DISCONNECTED
2020-05-12 00:42:33.351 915-1589/system_process D/ConnectivityService: NetworkAgentInfo [WIFI () - 108] got DISCONNECTED, was satisfying 17
2020-05-12 00:42:33.373 915-2152/system_process D/ApfFilter: (wlan0): shutting down
2020-05-12 00:42:33.383 915-2152/system_process D/DhcpClient: onQuitting
2020-05-12 00:42:33.468 915-1577/system_process D/WifiCountryCode: Succeeded to set country code to: <MYCOUNTRYCODEHERE>
2020-05-12 00:42:33.469 915-1577/system_process D/WifiStateMachine: Start Disconnecting Watchdog 9
2020-05-12 00:42:33.470 915-1577/system_process E/WifiVendorHal: stopRssiMonitoring(l.2404) failed {.code = ERROR_NOT_AVAILABLE, .description = }
2020-05-12 00:42:33.474 915-1628/system_process I/GnssLocationProvider: WakeLock acquired by sendMessage(UPDATE_NETWORK_STATE, 0, 108)
2020-05-12 00:42:33.495 915-1577/system_process I/WifiStateMachine: disconnectedstate enter
2020-05-12 00:42:33.497 915-1577/system_process D/WifiNetworkAgent: NetworkAgent: NetworkAgent channel lost
2020-05-12 00:42:33.525 915-8859/system_process D/DhcpClient: Receive thread stopped
2020-05-12 00:42:33.633 915-1589/system_process D/ConnectivityService: Sending DISCONNECTED broadcast for type 1 NetworkAgentInfo [WIFI () - 108] isDefaultNetwork=true
2020-05-12 00:42:34.100 915-1135/system_process E/GnssLocationProvider: No APN found to select.
2020-05-12 00:42:34.117 915-1135/system_process E/GnssLocationProvider: updateNetworkAvailability failed
2020-05-12 00:42:34.117 915-1135/system_process I/GnssLocationProvider: WakeLock released by handleMessage(UPDATE_NETWORK_STATE, 0, 108)
2020-05-12 00:42:36.553 915-2668/system_process D/WificondControl: Scan result ready event
2020-05-12 00:42:36.565 915-1577/system_process D/WifiStateMachine: CMD_START_CONNECT sup state DisconnectedState my state DisconnectedState nid=4 roam=false
2020-05-12 00:42:36.566 915-1577/system_process I/WifiStateMachine: Connecting with <MYMACHERE> as the mac address
2020-05-12 00:42:36.569 915-1577/system_process D/SupplicantStaIfaceHal: connectToNetwork "<MYWIFIHERE>"WPA_PSK
2.
2020-05-12 00:16:51.174 915-2152/system_process W/IpClient.wlan0: [IpReachabilityMonitor] WARN ALERT neighbor went from: NeighborEvent{@2534961,RTM_NEWNEIGH,if=23,fe80::1,NUD_PROBE,[<MYMACHERE>]} to: NeighborEvent{@2537970,RTM_NEWNEIGH,if=23,fe80::1,NUD_FAILED,[null]}
2020-05-12 00:16:51.174 915-2152/system_process W/IpReachabilityMonitor: FAILURE: LOST_PROVISIONING, NeighborEvent{@2537970,RTM_NEWNEIGH,if=23,fe80::1,NUD_FAILED,[null]}
2020-05-12 00:16:51.189 915-1577/system_process D/WifiStateMachine: WifiStateMachine: Leaving Connected state
2020-05-12 00:16:51.189 915-1172/system_process I/EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
2020-05-12 00:16:51.192 915-1172/system_process I/EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
2020-05-12 00:16:51.194 915-2152/system_process D/DhcpClient: doQuit
2020-05-12 00:16:51.198 915-1577/system_process E/WifiVendorHal: stopRssiMonitoring(l.2404) failed {.code = ERROR_NOT_AVAILABLE, .description = }
2020-05-12 00:16:51.199 915-1172/system_process I/EthernetTracker: interfaceLinkStateChanged, iface: wlan0, up: false
2020-05-12 00:16:51.201 915-1589/system_process D/ConnectivityService: NetworkAgentInfo [WIFI () - 105] EVENT_NETWORK_INFO_CHANGED, going from CONNECTED to DISCONNECTED
2020-05-12 00:16:51.202 915-1589/system_process D/ConnectivityService: NetworkAgentInfo [WIFI () - 105] got DISCONNECTED, was satisfying 26
2020-05-12 00:16:51.208 915-2152/system_process D/ApfFilter: (wlan0): shutting down
2020-05-12 00:16:51.251 915-7782/system_process D/DhcpClient: Receive thread stopped
2020-05-12 00:16:51.257 915-2152/system_process D/DhcpClient: onQuitting
2020-05-12 00:16:51.287 915-1577/system_process D/WifiCountryCode: Succeeded to set country code to: <MYCOUNTRYHERE>
2020-05-12 00:16:51.287 915-1577/system_process D/WifiStateMachine: Start Disconnecting Watchdog 6
2020-05-12 00:16:51.304 915-1577/system_process E/WifiVendorHal: stopRssiMonitoring(l.2404) failed {.code = ERROR_NOT_AVAILABLE, .description = }
2020-05-12 00:16:51.324 915-1577/system_process I/WifiStateMachine: disconnectedstate enter
2020-05-12 00:16:51.328 915-1577/system_process D/WifiNetworkAgent: NetworkAgent: NetworkAgent channel lost
2020-05-12 00:16:51.400 915-1628/system_process I/GnssLocationProvider: WakeLock acquired by sendMessage(UPDATE_NETWORK_STATE, 0, 105)
2020-05-12 00:16:51.597 915-1589/system_process D/ConnectivityService: Sending DISCONNECTED broadcast for type 1 NetworkAgentInfo [WIFI () - 105] isDefaultNetwork=true
2020-05-12 00:16:51.691 915-1135/system_process E/GnssLocationProvider: No APN found to select.
2020-05-12 00:16:51.696 915-1135/system_process E/GnssLocationProvider: updateNetworkAvailability failed
2020-05-12 00:16:51.697 915-1135/system_process I/GnssLocationProvider: WakeLock released by handleMessage(UPDATE_NETWORK_STATE, 0, 105)
2020-05-12 00:16:54.387 915-1522/system_process D/WificondControl: Scan result ready event
2020-05-12 00:16:54.397 915-1577/system_process D/WifiStateMachine: CMD_START_CONNECT sup state DisconnectedState my state DisconnectedState nid=4 roam=false
2020-05-12 00:16:54.406 915-1577/system_process I/WifiStateMachine: Connecting with <MYMACHERE> as the mac address
2020-05-12 00:16:54.413 915-1577/system_process D/SupplicantStaIfaceHal: connectToNetwork "<MYNETWORKHERE>"WPA_PSK
2020-05-12 00:16:54.413 915-1577/system_process D/SupplicantStaIfaceHal: Network is already saved, will not trigger remove and add operation.
/device gemini /version lineage-16.0 /date 2020-05-14 /kernel 3.18.120-g3c7026e /baseband TH20c1.9-1226_2340_46c2936,TH20c1.9-1226_2340_46c2936 /mods F-Droid Magisk
I have read the directions.