During last week-end I tried to install home assistant supervised
First on Debian 11 but it was impossible to install systemd-resolve → doesn’t exist
So I tried with Debian 12 and impossible to have a DNS resolution after install systemd-resolve → I added my DNS server in a right file and it was OK
But I have a last problem and at this time Home Assistant doesn’t work
So my server is a VM on VMWare Server with a fixed IP address
When I install the homeassistant-supervised.deb, after reboot, the IP is remove, data network file deleted and the server use a DHCP address
Somebody has this problem ?
Any idea to solved it ?
Thanks for your answer but I don’t loose the DNS IP in this file, I loose the Computer fixed IP and the networkfile associated
I tried around 30 installations of homeassistant, just the DEB package
Three time the fixed IP stay present, on the others installations the fixed IP has been removed
I don’t have nmcli when I start Debian installation, I change the network file /etc/network/interfaces
And I just remove dhcp and I add for example :
static
address 10.123.34.X/24
gateway 10.123.34.254
dns-nameservers 10.123.128.2
dns-search latour.pri
Now it doesnt’ matter I find on Home Assistant web site an OVA file
It’s more easier to install HA for a newbie like me at this time
May be I will try later your solution, but for the moment, I learn HA
After numerous installations and testing with the “dig” command to test the dns (package: bind9-utils in debian 12), I found what was preventing DNS resolution.
It’s the “systemd-resolved” package! Don’t install it and everything will be fine. You won’t get the error again.