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.

share|improve this question
    
Remember to fix the offending software. You can't avoid using predictable network device names forever. – Michael Hampton Dec 7 '15 at 13:44
3  
I will certainly try though! ;) – Nullldata Jun 14 '16 at 14:06
1  
And 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. – Nuclear Dec 6 '16 at 20:21
up vote 9 down vote accepted

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.

share|improve this answer
    
is that it ? no need to modify dev-rules and other stuff ? – Ravikumar Tulugu Dec 7 '15 at 7:31
    
In 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 :( – aloplop85 Jul 18 '16 at 18:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.