How can I prevent udevd from renaming eth0 to em1

JD jd1008 at gmail.com
Thu Oct 18 16:05:34 UTC 2012


On 10/18/2012 09:16 AM, Tim wrote:
> On Thu, 2012-10-18 at 08:11 -0600, JD wrote:
>> I assure you the MAC does match the MAC of the Ethernet chipset.
>> Looking at the quotes:..
> I meant taking out some other rules which mightn't match, so you *only*
> trying to match the MAC, not the MAC *and* this *and* that.
>
>> All entries have exactly the same quotes around every item right of
>> the
> Must have just gone missing in the post.
>
Made the change and  rebooted.
Sorry - it does not deter udev from screwing up!

$ dmesg | grep em1
[    6.033303] udevd[218]: renamed network interface eth0 to em1

$ cat /etc/udev/rules.d/70-persistent-net.rules
# This file was automatically generated by the /lib/udev/write_net_rules
# program, run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and change only the value of the NAME= key.

# PCI device 0x1039:0x0900 (sis900)

SUBSYSTEM=="net",  ATTR{address}=="edited out", KERNEL=="eth*", NAME="eth0"





More information about the users mailing list