Ubuntu – disabling predictable network interface names in xubuntu 15.10

debianUbuntuxubuntu

How do we disable predictable network interface names in xubuntu 15.10 ? I want my old interfaces naming like eth0 … ethx, some of my software assumes eth0 interface to be present and is hard coded all over the place.

Best Answer

As root, in the file /etc/default/grub

Add net.ifnames=0 biosdevname=0 to the kernel command line in your grub config.

To do so, change the following line

GRUB_CMDLINE_LINUX=""

to

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

then save the file, run update-grub and then reboot.