• Re: RaspberryPI and upgrade from Bullseye to Bookworm

    From Robert Heller@3:633/10 to All on Wednesday, November 11, 2026 22:10:01
    I did something similar with the Raspberry Pi 3 I use for my bedroom clock and had no problem. It too has a static up and is headless. I also went from a 32-bit O/S to 64 bit O/S.

    My main problem was with the GPIO I used for the clock's buttons (I need to update the software from Wiring PI to libgpiod, but this was all userland groveling with some C++ code, but did not effect anything truely critical.


    At Wed, 11 Nov 2026 20:23:42 +0100 Franco Martelli <martellif67@gmail.com> 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:

    ~# grep -v ^# /etc/network/interfaces.d/eth0
    iface eth0 inet manual

    and via dhcpcd.conf:

    ~# grep -v ^# /etc/dhcpcd.conf
    hostname
    duid
    persistent
    option rapid_commit
    option domain_name_servers, domain_name, domain_search, dhcp_lease_time, host_name
    option classless_static_routes
    option interface_mtu
    require dhcp_server_identifier
    slaac private
    noipv6
    interface eth0
    static ip_address2.168.0.7/24
    static routers2.168.0.1
    static domain_name_servers2.168.0.7
    interface wlan0
    static ip_address2.168.0.9/24
    static routers2.168.0.1
    static domain_name_servers2.168.0.7

    I can access the RPI only with a SSH client, will I have a no more accessible RPI after booting to Bookworm due to interfaces naming?
    Does anybody have experiences about upgrading a server from a remote host?

    Reading the Bookworm's release notes I've found this link:

    https://wiki.debian.org/NetworkInterfaceNames#custom

    Is that what I have to do?

    Thanks in advance, kind regards,

    --
    Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
    Deepwoods Software -- Custom Software Services
    http://www.deepsoft.com/ -- Linux Administration Services
    heller@deepsoft.com -- Webhosting Services


    --- PyGate Linux v1.5.19
    * Origin: Dragon's Lair, PyGate NNTP<>Fido Gate (3:633/10)