Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 105620

HA network connection loses network connection

$
0
0

Hi all,

I’ve been experimenting with Home Assistant (HA) and loving its possibilities so far. I’m eager to expand my smart home and explore automations. However, I’ve encountered an annoying issue: after some uptime, usually a few hours, HA becomes unreachable as it loses the wifi connection. When this happens, I can see in my router that the HA device is no longer connected.

I am running HA OS on a Lenovo Thinkpad 14-IIL 20SL with an Intel i5 (1035 G4) and an Intel AX201 wifi card.

Here’s what I’ve tried to resolve the issue:

  • Set a static IP in both HA and my router
  • Disabled IPv6
  • Manually configured DNS (Google and Cloudflare)
  • Created a separate Wi-Fi network for HA (tested both 2.4 GHz and 5 GHz)

When the connection drops, I can restore it by restarting the host or using the command line on the host (via nmcli).

There are some entries in the host logs that I believe might be relevant. Please see these below.

I note that in addition to this issue, HA is also frequently showing the ‘Connection lost, reconnecting’ message when the system is up. I think this might be related.

I would greatly appreciate any advice or troubleshooting tips to help resolve this issue, thanks in advance!

2024-12-08 17:37:31.453 homeassistant systemd[1]: Stopped target Network.
2024-12-08 17:37:31.453 homeassistant systemd[1]: NetworkManager-wait-online.service: Deactivated successfully.
2024-12-08 17:37:31.454 homeassistant systemd[1]: Stopped Network Manager Wait Online.
2024-12-08 17:37:31.454 homeassistant systemd[1]: Stopping Network Manager...
2024-12-08 17:37:31.454 homeassistant NetworkManager[489]: <info>  [1733679451.4542] caught SIGTERM, shutting down normally.
2024-12-08 17:37:31.484 homeassistant NetworkManager[489]: <info>  [1733679451.4846] device (wlp0s20f3): state change: disconnected -> unmanaged (reason 'unmanaged', sys-iface-state: 'managed')
2024-12-08 17:37:31.512 homeassistant NetworkManager[489]: <info>  [1733679451.5126] device (p2p-dev-wlp0s20f3): state change: disconnected -> unmanaged (reason 'removed', sys-iface-state: 'removed')
2024-12-08 17:37:31.520 homeassistant NetworkManager[489]: <info>  [1733679451.5206] exiting (success)
2024-12-08 17:37:31.531 homeassistant systemd[1]: NetworkManager.service: Deactivated successfully.
2024-12-08 17:37:31.531 homeassistant systemd[1]: Stopped Network Manager.
2024-12-08 17:37:31.531 homeassistant systemd[1]: NetworkManager.service: Consumed 20.465s CPU time.
2024-12-08 17:37:31.531 homeassistant systemd[1]: Stopped target Preparation for Network.
2024-12-08 17:37:31.532 homeassistant systemd[1]: systemd-network-generator.service: Deactivated successfully.
2024-12-08 17:37:31.532 homeassistant systemd[1]: Stopped Generate network units from Kernel command line.
2024-12-08 17:37:41.962 homeassistant systemd[1]: Stopping Network Name Resolution...
2024-12-08 17:37:42.086 homeassistant systemd[1]: Stopped Network Name Resolution.
2024-12-08 17:37:42.102 homeassistant systemd[1]: Unmounting NetworkManager persistent system connections...
2024-12-08 17:37:42.122 homeassistant systemd[1]: Unmounting NetworkManager persistent data...
2024-12-08 17:37:42.130 homeassistant systemd[1]: etc-NetworkManager-system\x2dconnections.mount: Deactivated successfully.
2024-12-08 17:37:42.131 homeassistant systemd[1]: Unmounted NetworkManager persistent system connections.
2024-12-08 17:37:31.454 homeassistant wpa_supplicant[504]: p2p-dev-wlp0s20: CTRL-EVENT-DSCP-POLICY clear_all
2024-12-08 17:37:31.454 homeassistant wpa_supplicant[504]: p2p-dev-wlp0s20: CTRL-EVENT-DSCP-POLICY clear_all
2024-12-08 17:37:31.454 homeassistant wpa_supplicant[504]: nl80211: deinit ifname=p2p-dev-wlp0s20 disabled_11b_rates=0
2024-12-08 17:37:31.484 homeassistant wpa_supplicant[504]: p2p-dev-wlp0s20: CTRL-EVENT-TERMINATING
2024-12-08 17:37:31.484 homeassistant wpa_supplicant[504]: wlp0s20f3: CTRL-EVENT-DSCP-POLICY clear_all
2024-12-08 17:37:31.493 homeassistant wpa_supplicant[504]: wlp0s20f3: CTRL-EVENT-DSCP-POLICY clear_all
2024-12-08 17:37:31.493 homeassistant wpa_supplicant[504]: nl80211: deinit ifname=wlp0s20f3 disabled_11b_rates=0
2024-12-08 17:37:31.507 homeassistant wpa_supplicant[504]: wlp0s20f3: CTRL-EVENT-TERMINATING
2024-12-08 17:37:31.508 homeassistant systemd[1]: wpa_supplicant.service: Deactivated successfully.
2024-12-08 17:37:31.509 homeassistant systemd[1]: wpa_supplicant.service: Consumed 4.307s CPU time.

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 105620

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>