Hallo zusammen,
Mein HA läuft schon über ein Jahr in einer virtuellen Hyper-V Umgebung. Neulich habe ich ein Update ausgeführt und seitdem war HA über den Browser nicht mehr erreichbar. Jetzt habe ich den NUC mal direkt am Monitor angeschlossen und mich auf Fehlersuche begeben:
Der NUC ist im Internet
Der externe virtuelle Adapter bekommt von der Fritzbox seine bisherige fest IP Adresse zugewiesen. Subnetzmaske und Standardgateway stimmen auch. Dieser Adapter ist nach wie vor mit der VM verbunden.
Starte ich nun die VM sehe ich in der VM den HA Welcome Screen und “IPv4 addresses for eth0:” ist leer.
Home Assistant Core wird mit 2025.6.0 angegeben
Home Assistant URL und Observer URL stehen da, aber natürlich so nicht erreichbat
“core update” funktionier nicht → no host internet connection
Habe ich hier die Möglichkeit, irgendwie die Netzwerkeinstellungen im HA System zu konfigurieren?
Na klar. Verbinde dich mit der VM und dort dann erstmal mit ha network info schauen was Sache ist. Um es zu konfigurieren dann ha network update nutzen:
➜ ~ ha network update --help
Update network interface settings of a specific adapter.
Usage:
ha network update [interface] [flags]
Aliases:
update, set, up
Examples:
ha network update eth0 --ipv4-method auto --ipv6-method disabled
Flags:
-e, --disabled Disable interface
-h, --help help for update
--ipv4-address stringArray IPv4 address for the interface in the 192.168.1.5/24
--ipv4-gateway string The IPv4 gateway the interface should use
--ipv4-method string Method on IPv4: static|auto|disabled
--ipv4-nameserver stringArray IPv4 address of upstream DNS servers. Use multiple times for multiple servers.
--ipv6-addr-gen-mode string IPv6 address generation mode: eui64|stable-privacy|default-or-eui64|default
--ipv6-address stringArray IPv6 address for the interface in the 2001:0db8:85a3:0000:0000:8a2e:0370:7334/64
--ipv6-gateway string The IPv6 gateway the interface should use
--ipv6-method string Method on IPv6: static|auto|disabled
--ipv6-nameserver stringArray IPv6 address for upstream DNS servers. Use multiple times for multiple servers.
--ipv6-privacy string IPv6 privacy extensions: disabled|enabled-prefer-public|enabled|default
--wifi-auth string Used authentication: open, wep, wpa-psk
--wifi-mode string Wifi mode: infrastructure, adhoc, mesh or ap
--wifi-psk string Shared authentication key for wep or wpa
--wifi-ssid string SSID for wifi connection
Global Flags:
--api-token string Home Assistant Supervisor API token
--config string Optional config file (default is $HOME/.homeassistant.yaml)
--endpoint string Endpoint for Home Assistant Supervisor (default is 'supervisor')
--log-level string Log level (defaults to Warn)
--no-progress Disable the progress spinner
--raw-json Output raw JSON from the API
``