Re: persistent name from ifcfg-internal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/12/18 2:40 PM, Samuel Sieb wrote:
On 12/12/18 2:59 AM, Bill Shirley wrote:
It's been my experience that if you want udev to rename interfaces you have to include in /etc/default/grub:
net.ifnames=0
on the kernel command line to prevent the auto rename that the kernel does: GRUB_CMDLINE_LINUX="rd.md.uuid=bf821173:4de945af:1f58df6d:74e2fc11 net.ifnames=0 rd.shell rd.timeout=65"
Don't forget to re-create your grub config and then reboot:
grub2-mkconfig -o /boot/grub2/grub.cfg

My /etc/udev/rules.d/70-persistent-net.rules line looks like this:
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="6c:f0:49:0a:1e:54", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="lan4"

I haven't modified my kernel command line and I don't have 70-persistent-net.rules on any of my computers.  Just try removing that file and see if that fixes it.
_______________________________________________

Removed 70-persistent-net.rules. Rebooted. It worked.

Thanks,
sean
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux