Trying Netplan
I tried the configuration below to assign a static IP address to an Ubuntu machine. I run OpenWebUI and llama.cpp on that server.
network:
version: 2
ethernets:
eth0:
dhcp4: no
addresses:
- 192.168.1.128/32
gateway4: 192.168.1.1
After running sudo netplan apply
, the machine could no longer be accessed via ssh lzw@192.168.1.128
.
The keyboard and mouse were used to log in to the machine, remove the files, and revert the settings.
/etc/resolv.conf
was changed.