HostOnNet Blog

Change network name to eth0 on Ubuntu/Debian

Looking for Linux Server Admin or WordPress Expert? We can help.

To change network name to eth0 like in old versions of linux, edit file

vi /etc/default/grub

Find

GRUB_CMDLINE_LINUX=""

Replace with

GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"

Now run

update-grub

On reboot, your network name will be changed back to old eth0/eth1 format.


Posted in Ubuntu

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.