On 12/11/26 at 11:24, basti wrote:
Hello,

Hello,

On 11.11.26 20:23, 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...".

If 'raspi-firmware' is installed, it should be safe.

Check the file '/boot/firmware/cmdline.txt', it should contain the entry 'net.ifnames=0'.

I performed the upgrade and it was flawless. :)
I checked that "cmdline.txt" contains "net.ifnames=0" and it was, so the interfaces have keep the old names as also explained in the wiki page ¹

~$ ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
    link/ether 12:34:56:78:90:ab brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 12:34:56:78:90:ab brd ff:ff:ff:ff:ff:ff


¹ https://wiki.debian.org/NetworkInterfaceNames#How_to_get_it_back
--
Franco Martelli

Reply via email to