Thanks,
On 15/7/24 4:49 pm, Samuel Sieb wrote:
On 7/14/24 3:43 AM, fedora@xxxxxxxxxxxxxx wrote:
I notice that the network interface 'eth1' is now renamed 'enp2s0' but eth0 is left alone.
How do I stop this rename? It breaks a number of thing for me.
What does it break?
I have a number of scripts, some tcpdump, some fw rules, some data collection, and such.
I see command failures when attempting to use eth1.
You can edit the connection with nmcli or directly in /etc/NetworkManager/system-connections/.
In the "[connection]" section, add or edit the "interface-name=" line. Set it to what you want, presumably "eth1".
Looks like it may be what I need. I see two connection configurations for eth1. Should I remove one?
$ sudo ls -1 /etc/NetworkManager/system-connections/
'System eth1-9c92fad9-6ecb-3e6c-eb4d-8a47c6f50c04.nmconnection'
# has 'interface-name=eth1'
'System eth1.nmconnection'
# has 'interface-name=eth1'
'Wired connection 1.nmconnection'
# does not have 'interface-name='
Maybe adding a name to the last one (eth0) will help?
Looking at the system log I see:
kernel: r8169 0000:05:00.0 eth0: RTL8168h/8111h, b4:2e:99:83:6d:7d, XID 541, IRQ 161
# this is correct
kernel: e1000e 0000:02:00.0 eth1: (PCI Express:2.5GT/s:Width x1) 00:1b:21:3a:56:72
# this is correct
kernel: e1000e 0000:02:00.0 enp2s0: renamed from eth1
# this is what I do not want.
So, despite having 'interface-name=eth1', the interface is renamed. Why?
I will also try to boot with cmd line option 'net.ifnames=0' which was suggested.
--
Eyal at Home (fedora@xxxxxxxxxxxxxx)
--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue