Kill Systemd-Networking
With fire. Seriously. Reason 1: anything that doesn’t honor kernel “sysctl” settings deserves to die.
Many thanks to “Yoon’s blog” and his post “https://www.naut.ca/blog/2018/12/12/disabling-systemd-networking/index.html”
Recap:
Install ifupdown to replace networkd:apt-get install ifupdown
Now edit /etc/network/interfaces
.
Disable networkd:systemctl stop systemd-networkd.socket systemd-networkd networkd-dispatcher systemd-networkd-wait-online
systemctl disable systemd-networkd.socket systemd-networkd networkd-dispatcher systemd-networkd-wait-online
apt -y purge netplan.io
Disable resolved (might as well!):systemctl disable systemd-resolved.service
systemctl stop systemd-resolved
Create your own /etc/resolv.conf
. Make sure to “rm /etc/resolv.conf
” first – it’s a dang symlink into the ugly.
References as shown in the original blog post:
https://askubuntu.com/questions/1031709/ubuntu-18-04-switch-back-to-etc-network-interfaces
https://askubuntu.com/questions/907246/how-to-disable-systemd-resolved-in-ubuntu