- Display current interface cards and verify that eth0 doesnt exist:
ifconfig -a - Edit grub file configuration to disable new naming convention
vim /etc/default/grub - Look for GRUB_CMDLINE_LINUX= include the following net.ifnames=0 biosdevname=0″
From:
GRUB_CMDLINE_LINUX=””
To
GRUB_CMDLINE_LINUX=”net.ifnames=0 biosdevname=0″ - Save and exit the file
- Reload grub config file:
update-grub - Edit interfaces file
vim /etc/network/interfaces
From:
# The primary network interface
auto ens16
iface ens16 inet dhcpTo:
# The primary network interface
auto eth0
iface eth0 inet dhcp - Reboot your machine/Restart networking service
About the author