I'm baffled, trying the change the network interface from a DHCP lease to a static IP.
I have tried both methods outlines in https://linuxhint.com/change-from-dhcp- ... ss-ubuntu/, and the result stubbornly stays on the DHCP-assigned IP.
The current content of my /stc/network/interfaces files is
And after trying the second method, it appears the network -manager configuration is lost altogether, and will not accept new connections: the screenshot of the applet is attached:interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback
# iface dsl-provider inet ppp
# pre-up /sbin/ifconfig --help up # line maintained by pppoeconf
# provider dsl-provider
auto eth0
# iface eth0 inet dhcp
iface eth0 inet static
address 10.1.1.10
netmask 255.0.0.0
gateway 10.1.1.1
dns-nameservers 10.1.1.1 8.8.8.8