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/18/2012 02:41 AM, Tim wrote:
On Wed, 2012-10-17 at 19:49 -0600, JD wrote:
I did do just that, as also vehemently stated by many other bloggers I
read on other web sites. Unfortunately, IT DOES  NOT WORK!!  Here is
what I have in /etc/udev/rules.d/70-persistent-net.rules

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:03:0d:15:2b:9e", ATTR{dev_id}=="0x0",
ATTR{type}=="1", KERNEL=="eth*", NAME="eth0
I don't see a closing quote at the very end.

It's a very long time since I looked at hardware rule making, but can
you omit some of the clauses, and simplify it down to just matching the
MAC?  (i.e. Try and omit the DRIVERS or ATTR, sections, et cetera.)  I
seem to recall advice, along those lines, for setting rules to match
other hardware (such as for mounting specific drives at specific
places).



Hi Tim,
I assure you the MAC does match the MAC of the Ethernet chipset.
Looking at the quotes:.. All entries have exactly the same quotes around
every item right of the == . To wit:
# PCI device 0x1039:0x0900 (sis900)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="edited out", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

I think the bug is in udev itself.


--
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