Skip to content
Toggle navigation
Vathorstweb
Fotos
Cloud
Mail
Spotweb
Modify Ubuntu ens network interface card to eth0
Home
  /  
Linux
  /  
Modify Ubuntu ens network interface card to eth0
Modify Ubuntu ens network interface card to eth0
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
Post navigation
Previous
3 Linux Network Monitors
Next
Crontab – Quick Reference
About the author
norbertk
administrator
Related News
29 December 2022
0
Linux File System Table (/etc/fstab file) Explained
By
norbertk
25 April 2022
0
Samba & Bonjour with Avahi
By
norbertk
1 April 2022
0
How to Check Open Ports in Linux?
By
norbertk
Categories
Apple Ticks & Trips
Hardware
Linux
Oracle
Piano
proxmox
Uncategorised