Rename enp0s3 to eth0 – ubuntu 16.04

Linux, Network

How to change interface ethernet name from enp0s3 to eth0?
Let’s let me show to you.

1. Firstly, open and edit /etc/default/grub files.
You need to change this section :
GRUB_CMDLINE_LINUX=””
to :
GRUB_CMDLINE_LINUX=”net.ifnames=0 biosdevname=0″

2. Update the grub :
sudo update-grub

3. After all done kindly reboot your device and let’s look your interface name.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s