On Wed, 11 Nov 2026, Franco Martelli wrote:
Hi,
I have a Raspberry Pi 3 Model B Rev 1.2 with Debian BullsEye on it, I want to
upgrade to Bookworm. Changing the kernel my main concern is that the device
name of the NIC will change from "eth0" to something like "enp2s0...".
Sadly the RPI has an headless installation (no keyboard, no monitor) and the
network setup is done via /e/n/interfaces:
You can disable it on the kernel command line I believe - but that will
need you to change grub before you reboot as I assume you cannot connect
a monitor.
You can also add a file, something like this:
tim@dirac:/sys (none)$ cat /etc/systemd/network/10-eth0.link
[Match]
MACAddress=80:80:80:80:80:80
[Link]
Name=eth0
Obviously, you need to use the correct mac address for the device.
Tim.