Ask Your Question
1

Trouble when trying to restore predictable network device names again

asked 2015-01-01 21:51:36 -0500

rjrpaz gravatar image

updated 2015-01-03 06:58:44 -0500

Hello. I'm using Fedora 20 in a PC with multiple network cards. After installation, I modified "/etc/default/grub" file to disable network predictable device names (adding "net.ifnames=0 biosdevname=0" as additional kernel option). Everything worked fine by then.

After some time, I tried to return to network predictable device names scheme. I did rollback for those modifications, but the system is still using tradicional scheme names. I also tried to use "net.ifnames=1 biosdevname=1" together or individually, but I can't get the system returned to its original behavior.

There is a way to do a clean rollback?

Thank you in advance.

Edit 1: I did run "grub2-mkconfig --output=/boot/grub2/grub.cfg" after "/etc/default/grub" modification.

Edit 2: If I start a Fedora 20 Live CD on the same PC, that way all network cards are using predictable names in this live environment. I could regenerate initramfs on the hard drive distribution using "dracut --force" mounting that disk in a chroot environment. That way, the system on disk is using predictable names again. So, the "problem" seem to be on initramfs.

edit retag flag offensive close merge delete

Comments

Just a suggestion. If Edit 2 solves your issue, you shoud put it as an answer and accept your own answer, unless you are looking for a more "elegant" way to solve the problem :)

skytux gravatar imageskytux ( 2015-01-03 07:14:19 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-03-14 08:43:23 -0500

mmv-ru gravatar image

I meet this problem earlier. Persistent device names enforced by udev rules

/etc/udev/rules.d/70-persistent-net.rules

Remove (with backup) or edit this file and on reboot devices renamed.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2015-01-01 21:51:36 -0500

Seen: 1,265 times

Last updated: Jan 03 '15