Category: Basic Configuration
You should not change the hosts file, but rather the etc/network/interfaces file
This is what's in mine:
# interfaces(5) file used by ifup(8) and ifdown(8)
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto eno1
iface eno1 inet static
address 10.10.10.100
hardware-irq-coalesce-rx-usecs 0
You would need to change eno1 to your (long) Ethernet device name
Presently that file has:
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
I'm not sure what you mean when you say (long) Ethernet device name?
In Network Connections I called the ETHERNET instance "Wired connection 7i96s"
I'm not sure if that is what you are referring to?