Re: How can I prevent udevd from renaming eth0 to em1

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

 




On 10/23/2012 6:52 PM, Digimer wrote:
Yes, you need a corresponding 'ifcfg-<dev>' file to match the udev.d's NAME="<dev>" value. Do not use the ifcfg-<dev>'s 'HWADDR="..."' though.

I started using the NAME parameter in Fedora 16.  ifcfg-lan:
NAME="lan"
TYPE=Ethernet
ONBOOT="yes"
UUID="331f16e6-ee78-40a6-b06d-c906491821ee"
HWADDR="00:22:19:20:AF:2D"
NM_CONTROLLED="no"
.
.
.

This allows me to just:
ifup lan
ifdown lan

This helps when you have more than one internet connection or when you have operators that don't really know what eth1 is.
ifup Comcast
ifup ISP2

Bill
PS. Still have to remember what-is-what with ifconfig tough.

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[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