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

Re: Question: eth0 vs enp1s0 (second try)



Am Mittwoch, 30. Dezember 2015, 12:58:23 schrieb Jörg-Volker Peetz:
Hi Jörg-Volker
> Did you take a look at dmesg on both systems? Something like
> 
>   grep -E '(enp|eth)' /var/log/dmesg
This showed no useful information. The only output is from my EEEPC below, the 
Aspire showed no output at all.

root@protheus7:/home/ullhan63# grep -E '(enp|eth)' /var/log/dmesg 
[    8.480990] eeepc_laptop: Get control methods supported: 0xe301713 
[   64.534486] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready


> 
> Could you show the content of both 70-persistent-net-rules files?

Yes, this is Aspire with eth0:
# 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. 

# PCI device 0x168c:0x001c (ath5k_pci) 
SUBSYSTEM=="net", ACTION=="add", 
DRIVERS=="?*",ATTR{address}=="00:1d:XX:XX:XX:XX", ATTR{type}=="1", 
KERNEL=="wlan*", NAME="wlan0" 

# PCI device 0x10de:0x054c (forcedeth) 
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="1c:75:YY:YY:YY:YY", ATTR{type}=="1
", KERNEL=="eth*", NAME="eth0" 

# Firewire device /sys/devices/pci0000:00/0000:00:08.0/0000:01:04.0/fw-
host0/00023f0aba40084e (nod
emgr) 
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="00:02:3f:ZZ:ZZ:ZZ:ZZ", ATTR{dev
_id}=="0x0", ATTR{type}=="24", KERNEL=="eth*", NAME="eth1"


I changed the MAC cause of security purposes in this mail.


Same for EEEPC:

# 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 0x1969:0x1062 (atl1c) 
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="90:e6:XX:XX:XX:XX", ATTR{dev_id}==
"0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" 

# PCI device 0x168c:0x002b (ath9k) 
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", 
ATTR{address}=="00:25:YY:YY:YY:YY", ATTR{dev_id}==
"0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"

Changed MAC, too, but you can of course still see the vendors (first two 
bytes).
 
> Regards,
> jvp.


Hope this helps a little bit. My solution at the moment is the well known 
addition "if.netnames=0" in grub commandline.

So I can easyly change from eth* to enp* when this is recommended.

Best regards

Hans
-- 




Reply to: