disabling predictable network interface names in xubuntu 15.10
19,477
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.
Related videos on Youtube
Author by
Ravikumar Tulugu
Updated on September 18, 2022Comments
-
Ravikumar Tulugu almost 2 years
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.
-
Admin over 8 yearsRemember to fix the offending software. You can't avoid using predictable network device names forever.
-
Admin about 8 yearsI will certainly try though! ;)
-
Admin over 7 yearsAnd why do they make offending upgrades, forcing a naming cheme, totally different from the one used for many years? I find no reason, except breaking millions of working network setup scripts.
-
Admin about 5 years@Nuclear The same applies to many systemd inventions.
-
-
Ravikumar Tulugu over 8 yearsis that it ? no need to modify dev-rules and other stuff ?
-
aloplop85 almost 8 yearsIn Ubuntu 14.04 (mini.iso image) I do that but I only get the splash saying "Waiting for network configuration..." and network interfaces do not appear :(
-
jsaddwater almost 6 yearsThis should be default for desktop systems
-
Eric M about 5 yearsThanks, Iain! A nice concise answer.
-
pefu about 4 yearsI consider those unpredictable "predictable device" names harmful. Future versions of Linux should turn those down and return to net.ifnames=0 as the default.
-
kfsone over 3 yearsthe fact they chose "predictable" instead of "deterministic" underlies why they should not have made this change. It was predictable before, it would be "eth something". Now it's predictable in that it will be "e something{1,3} something{1,4} (something{1,2} something{1,2})?"