Predictable Network Interface Names

Old way Kernel/modules/udev

supplying these kernel parameters

  1. net.ifnames=0
  2. biosdevname=0

To do so follow this steps:

  1. Edit /etc/default/grub
  2. At the end of GRUB_CMDLINE_LINUX line append "net.ifnames=0 biosdevname=0"
  3. Save the file
  4. Type "sudo update-grub2"
  5. Type "sudo reboot"

Fix console text mode in GNU Screen, disable net.ifnames and disable biosdevname

sudo emacs /etc/modprobe.d/fbdev-blacklist.conf
sudo mv /etc/modprobe.d/fbdev-blacklist.conf~ /etc/modprobe.d/fbdev-blacklist.conf.orig
diff /etc/modprobe.d/fbdev-blacklist.conf /etc/modprobe.d/fbdev-blacklist.conf.orig
21d20
< blacklist vga16fb

sudo emacs /etc/default/grub
sudo mv /etc/default/grub~ /etc/default/grub.orig
diff /etc/default/grub /etc/default/grub.orig
9,10c9,10
< GRUB_CMDLINE_LINUX_DEFAULT="quiet fbcon=map:99"
< GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"
---
> GRUB_CMDLINE_LINUX_DEFAULT="quiet"
> GRUB_CMDLINE_LINUX=""
18c18
< GRUB_TERMINAL=console
---
> #GRUB_TERMINAL=console

sudo update-grub
sudo reboot

References