23.10.2018 20:16, Paul Groves пишет:
On 23/10/2018 17:19, Per Jessen wrote:
IIRC, the renaming happens as part of normal boot-up. At first, the devices are enumerated by the kernel/drivers - eth0,1,2,3,4,5,6,7,8,9. If you want 'predictable names', such as e.g. 'enp2s0', a renaming takes place. If you want to keep the ethX names, a renaming still takes place, as the initial kernel enumeration may not coincide with what you want. I'm sure we (openSUSE) also used names such as 'renameX' at some point, but I'm not aware of the current process.
OK that makes much more sense when you put it like that.
It looks like the Kernel is enumerating the adapter correctly because as shown in the log I attached previously it has eth0 and eth1
then it shows it renames eth0 to eno1 then it fails to rename eth1 so it gets stuck with it's temporary rename3
Had a look at another machine to see how it names the NICs. Ubuntu 18.04 names the interfaces on that machine as follows: eno1 enp2s0 enp2s1 enp3s0
I believe those represent that machines hardware which is: Onboard LAN Dual Lan PCIe card Single LAN PCI Card
so on this PC which has two onboard NICs I expect it should show something like: eno1 enp2s0
Please show output of lspci -nn grep -r . /sys/class/net/*/device/index -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org