05-13-2016, 06:57 AM
I'm using the latest 16.04 image (xubuntu-xenial-20160501-longsleep-pine64-8GB.zip)
In addition to changing /etc/network/interfaces as described by lenny, I removed the include for interfaces.d so it wouldn't bring in the definition for eth0 from there.
I also had to fix a common problem with recent ubuntu releases with static IPs: /etc/resolv.conf is a symlink to a file created during startup by some network manager program. If you're using a static IP, it doesn't honor your nameserver entries. You need to rm the symlink, and install your own resolv.conf.
In addition to changing /etc/network/interfaces as described by lenny, I removed the include for interfaces.d so it wouldn't bring in the definition for eth0 from there.
I also had to fix a common problem with recent ubuntu releases with static IPs: /etc/resolv.conf is a symlink to a file created during startup by some network manager program. If you're using a static IP, it doesn't honor your nameserver entries. You need to rm the symlink, and install your own resolv.conf.