I'm trying to reload /etc/network/intefaces file to remove the current ens160 interface, but nothing I've found seems to do the trick.
What command is needed on 18.04 to do that?
I found the root of my problem :
I wasn't using netplan. Since I upgraded from 16.04, it seems the upgrade didn't configure the relation between netplan and NetworkManager properly. This is probably caused by the hardcoded static ip I had added.
The solution I used is as follows :
network:
version: 2
renderer: NetworkManager
sudo nmcli con up 'Wired connection'sudo netplan apply, but I'm not certain if it's required or notFrom there on, I can modify my connection then just down and up it to apply my modifications.
Been busy myself with trouble and yesterday i remembered to see a similar question here which you may wish to read up on.
Why is my network interface named enp0s25 instead of eth0?
Maybe you can find your solution in that thread