On Thu, 13 Nov 2025, Richard Owlett wrote:

On 11/12/25 9:44 PM, Eben King wrote:
On 10/16/25 11:11, Richard Owlett wrote:

All the instructions I've seen depend on device naming conventions that Debian has not used since Stretch.
[ See https://wiki.debian.org/NetworkConfiguration which says:
   > Since Stretch, old-style interface names (eth0, wlan1 etc.) have
   > been replaced by names based on hardware location (enp0s31f6,
   > wlp1s7 etc.). For USB dongles, these can even include the MAC
   > address: enx2c56ac39ec0d).
]

eben@cerberus:~$ cat /etc/udev/rules.d/70-persistent-net.rules
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1b:21:b6:8a:84", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"



Thank you for trying.
I'm still very much a newbie ;/
I think I have an idea of what's intended.

The man-pages for cat and udev did not prompt fruitful questions.
What introductory material should I search for?
TIA

Missed the start of this thread but if it's related to having stable, clear, IF names then I do it like this:

$ cat /etc/systemd/network/10-eth0.link
[Match]
MACAddress=00:16:3e:e0:71:00

[Link]
Name=eth0

I used to do it using udev rules but I changed and I don't remember why.

It might have been that udev rules don't play nicely with the kernel naming on machines with multiple interfaces. I think you can get name collisions while renaming.

(Despite the name of the directory, I don't use systemd)


Tim.

Reply via email to