On 9/1/21 14:34, epektasis wrote:
> Greetings. Since the surprise "upgrade" to udev (now 249.4-1), the ethernet
> interface is now named eth0 and an error is displayed at boot-up: interface
> enp1s0 does not exist and net.enp1s0 failed to start. But eth0 starts and
> runs fine, even though conf.d/net specifices config_enp1s0="dhcp" and there
> are no active references to eth0 in that file. I added net.ifnames=1 and
> biosdevname=1 to GRUB_CMDLINE_LINUX in /etc/default/grub, ran grub-mkconfig
> and rebooted, but the same error recurs. Perhaps there is some other file
> accessed instead of /etc/conf.d/net that udev uses? If anyone can point me to
> that file or its documentation, I will be grateful.
> e.
What I've been using for my choice of persistent NIC names is udev rules [1], for quite a while, which kept working fine:
% cat /etc/udev/rules.d/80-net-setup-link-persistent.rules
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="<wired_nic_mac_addr>", NAME="<wired_nic_name>"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="<wireless_nic_mac_addr>", NAME="<wireless_nic_name>"
That makes the NIC interfaces names more or less independent and persistent... BTW, I didn't notice any errors while booting, after the change... Perhaps the error is HW dependent, :( On dmesg one can notice how the NICs get renamed, if at all.
If you're using specific NIC names for daemons, like dhcpcd or network manager, perhaps you should consider using persistent custom names?
--
Javier
[1] https://wiki.archlinux.org/title/Network_configuration#Change_interface_name
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <https://lists.artixlinux.org/archives/artix-general/attachments/20210901/4bfdb3ec/attachment-0001.sig>
More information about the artix-general
mailing list