You are not logged in.

#1 2022-09-08 22:12:36

crocuta_crocuta
Member
Registered: 2020-04-17
Posts: 2

Predictable network interface names reverted after update-reboot

After a full system update (yay -Syu) and reboot, my network interfaces no longer have their predictable names (enp1s0, enp2s0). They're back to the old eth0, eth1 names.

I use systemd-networkd for network management, so this broke all my network config files. I'd like to figure out what caused this change and revert it back to normal. I saw some mentions that the iwd package can have this effect, but it's not installed.

Offline

#2 2022-09-08 22:46:05

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 27,288
Website

Re: Predictable network interface names reverted after update-reboot

What's the output of the following:

grep NamePolicy /usr/lib/systemd/network/* /etc/systemd/network/*

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#3 2022-09-08 23:24:39

crocuta_crocuta
Member
Registered: 2020-04-17
Posts: 2

Re: Predictable network interface names reverted after update-reboot

❯ grep NamePolicy /usr/lib/systemd/network/* /etc/systemd/network/*
zsh: no matches found: /usr/lib/systemd/network/*

Ah, the problem was my fault. I had deleted the files in /usr/lib/systemd/network while troubleshooting some bridge configuration stuff, since I assumed they were all just examples. Restoring /usr/lib/systemd/network/99-default.link from the systemd package and rebooting fixed the issue.

Thanks for the pointer!

Offline

#4 2022-09-09 00:10:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 27,288
Website

Re: Predictable network interface names reverted after update-reboot

If you haven't already, you should restore all the other files that belong in that directory too.


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

Board footer

Powered by FluxBB