eth0 again

Amadeus W.M. amadeus84 at verizon.net
Mon Jul 21 02:08:14 UTC 2014


On Sun, 20 Jul 2014 20:42:57 -0500, Thomas Cameron wrote:

> On 07/20/2014 08:08 PM, Amadeus W.M. wrote:
>> On Sun, 20 Jul 2014 20:55:46 -0400, Tom Horsley wrote:
>> 
>>> On Sun, 20 Jul 2014 23:51:27 +0000 (UTC)
>>> Amadeus W.M. wrote:
>>>
>>>> This is degenerating in an off-topic discussion. The question is how
>>>> to rename the network device back to eth0. Let's focus.
>>>
>>> At this point, "use the source, Luke" appears to be the only option
>>> :-(
>>>
>>> I see on my system in dmesg output this string:
>>>
>>> [    4.173161] systemd-udevd[420]: renamed network interface eth0 to
>>> em1
>>>
>>>
>> Oh, crap, I have that too:
>> 
>> [root at phoenix ~]# dmesg | grep -i udev [    1.400371]
>> systemd-udevd[196]: starting version 208 [    2.059372]
>> systemd-udevd[203]: renamed network interface eth0 to em1 [  
>> 10.486478] systemd-udevd[385]: starting version 208
>> 
>> It's doing exactly the opposite of what I want.
>> 
>> 
>> 
> One more link, then I'm out of ideas:
> 
> http://reactivated.net/writing_udev_rules.html#example-netif


That may be useful. Looks like udevinfo is superseeded by udevadm. Other 
than that, udevadm shows no sign of eth0:  

[root at phoenix ~]# udevadm info --query=all --path /sys/class/net/em1 
P: /devices/pci0000:00/0000:00:1e.0/0000:02:0c.0/net/em1
E: DEVPATH=/devices/pci0000:00/0000:00:1e.0/0000:02:0c.0/net/em1
E: ID_BUS=pci
E: ID_MM_CANDIDATE=1
E: ID_MODEL_FROM_DATABASE=82540EM Gigabit Ethernet Controller
E: ID_MODEL_ID=0x100e
E: ID_NET_NAME_MAC=enx000cf1bc29fe
E: ID_NET_NAME_PATH=enp2s12
E: ID_OUI_FROM_DATABASE=Intel Corporation
E: ID_PCI_CLASS_FROM_DATABASE=Network controller
E: ID_PCI_SUBCLASS_FROM_DATABASE=Ethernet controller
E: ID_VENDOR_FROM_DATABASE=Intel Corporation
E: ID_VENDOR_ID=0x8086
E: IFINDEX=2
E: INTERFACE=em1
E: SUBSYSTEM=net
E: SYSTEMD_ALIAS=/sys/subsystem/net/devices/em1
E: TAGS=:systemd:
E: USEC_INITIALIZED=555769

This a useful tool I didn't know about, but it will take some time to 
sort everything out.

Thanks!



More information about the users mailing list