maxym
September 13, 2020, 10:37am
1
HA OS v5.2 (if does matter)
I’m trying to change network interface settings from dhcp to static:
being in ha cli:
> network update eth0 -m static -a 192.168.107.5/24 -g 192.168.107.1 -d 192.168.107.1 -d 8.8.8.8
Error: Interface {interface} does not exist
It seems that eth0 given in arguments is not passed properly to the command. Of course eth0 interface does exist too.
Same problem with v5.3. Using network info I see an interface enp0s3 listed. I try to update this interface and the cli states that “Error: Interface {interface} does not exist”
tom_l
October 19, 2020, 8:49pm
3
Probably because you are in the home assistant container and not the host system. See here for how to access the host system:
You can now configure WiFi settings from the UI at the Supervisor > System > Host card and clicking on “change”.
Alternate method for WiFi (or setting Static IP) on HA OS
If you are having problems creating a working network keyfile or importing the keyfile, this alternate method might work for you.
It could also be that you have some other problem so this is not a “cure-all” for your WiFi/network issues.
NOTE: WiFi is not recommended at all, don’t use it.
The short version:
Install the …