After instalation of ubuntu server, got some strange NIC names like p5p1. Let's change it to something more convinient.
edit /etc/default/grub file
sudo nano /etc/default/grub
Modify line:
GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 biosdevname=0"
make new grub.cfg file:
sudo grub-mkconfig -o /boot/grub/grub.cfg
reboot server. After reboot you need to edit /etc/network/interfaces file:
sudo nano /etc/network/interfaces
change p5p1 to eth0, save file and start eth0 interface:
sudo ifconfig eth0 up
No comments:
Post a Comment