Tutorial: How to Remove the NETPLAN Abomination on Linux

Published: 24 February 2019
on channel: The Expat Professor
2,885
like

Removing the mistake, that is called NETPLAN

netplan.io requires counter-intuitive and unnatural configuration syntax to configure network interfaces. It is a blight on the Linux platform, as such, it should be removed at first sight.

1) Install Network-Manager
apt-get install network-manager ifupdown -y

2) List the location of netplan.io files
dpkg -L netplan.io

3) Remove netplan.io
apt-get remove --purge netplan.io -y

4) Delete any remaining directories
rm -rf /etc/netplan

5) Ensure that your interfaces are configured:
sudo vi /etc/network/interfaces
auto lo
iface lo inet loopback

auto eth0
iface eth0 inet dhcp

or
iface eth0 inet static
address 192.168.1.200
netmask 255.255.255.0
gateway 192.168.1.1
dns-nameservers 1.1.1.1,8.8.8.8

6) Test your network
ifconfig eth0 down; ifconfig eth0 up, ifconfig eth0

/etc/init.d/network-manager restart
reboot

Please join me:
   / paulwpoteete  
  / paulwpoteete  
  / paulwpoteete  
  / paulwpoteete  

*all copyrighted materials in this video are the property of their respective owners.


#linux, #unix, #tutorial, #administration, #engineering, #beginner, #expert, #advanced, #intermediate, #training


On this page of the site you can watch the video online Tutorial: How to Remove the NETPLAN Abomination on Linux with a duration of hours minute second in good quality, which was uploaded by the user The Expat Professor 24 February 2019, share the link with friends and acquaintances, this video has already been watched 2,885 times on youtube and it was liked by like viewers. Enjoy your viewing!