Thread View: linux.debian.user
4 messages
4 total messages
Started by Tim Woodall
Thu, 12 Nov 2026 09:40
Re: RaspberryPI and upgrade from Bullseye to Bookworm
Author: Tim Woodall
Date: Thu, 12 Nov 2026 09:40
Date: Thu, 12 Nov 2026 09:40
28 lines
3120 bytes
3120 bytes
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.
Re: RaspberryPI and upgrade from Bullseye to Bookworm
Author: Andy Smith
Date: Fri, 13 Nov 2026 01:10
Date: Fri, 13 Nov 2026 01:10
25 lines
2554 bytes
2554 bytes
Hi,
On Thu, Nov 12, 2026 at 09:39:17AM +0000, Tim Woodall wrote:
> You can also add a file, something like this:
Franco did post this link which already had that advice:
https://wiki.debian.org/NetworkInterfaceNames#custom
> tim@dirac:/sys (none)$ cat /etc/systemd/network/10-eth0.link
> [Match]
> MACAddress=80:80:80:80:80:80
>
> [Link]
> Name=eth0
…however if you are going to do this it is not advised to rename back to
a name that the system could normally pick (e.g. eth0). Best to pick
"lan0" or something like that.
Thanks,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
Re: RaspberryPI and upgrade from Bullseye to Bookworm
Author: David Wright
Date: Fri, 13 Nov 2026 04:20
Date: Fri, 13 Nov 2026 04:20
31 lines
4763 bytes
4763 bytes
On Fri 13 Nov 2026 at 00:59:40 (+0000), Andy Smith wrote: > On Thu, Nov 12, 2026 at 09:39:17AM +0000, Tim Woodall wrote: > > You can also add a file, something like this: > > Franco did post this link which already had that advice: > > https://wiki.debian.org/NetworkInterfaceNames#custom > > > tim@dirac:/sys (none)$ cat /etc/systemd/network/10-eth0.link > > [Match] > > MACAddress=80:80:80:80:80:80 > > > > [Link] > > Name=eth0 > > …however if you are going to do this it is not advised to rename back to > a name that the system could normally pick (e.g. eth0). Best to pick > "lan0" or something like that. Or you could copy the way that iwd does it for wireless interfaces: [Match] Type=ether (in place of iwd's wlan) [Link] NamePolicy=keep kernel as documented in man systemd.link. Cheers, David.
Re: RaspberryPI and upgrade from Bullseye to Bookworm
Author: Andy Smith
Date: Fri, 13 Nov 2026 19:20
Date: Fri, 13 Nov 2026 19:20
30 lines
2953 bytes
2953 bytes
Hi,
On Thu, Nov 12, 2026 at 10:09:33PM -0600, David Wright wrote:
> On Fri 13 Nov 2026 at 00:59:40 (+0000), Andy Smith wrote:
> > …however if you are going to do this it is not advised to rename back to
> > a name that the system could normally pick (e.g. eth0). Best to pick
> > "lan0" or something like that.
>
> Or you could copy the way that iwd does it for wireless interfaces:
>
> [Match]
> Type=ether (in place of iwd's wlan)
>
> [Link]
> NamePolicy=keep kernel
>
> as documented in man systemd.link.
Good idea. I've added that as another example on
https://wiki.debian.org/NetworkInterfaceNames#CUSTOM_SCHEMES_USING_.LINK_FILES
Thanks,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
"I'd be happy to buy all variations of sex to ensure I got what I wanted."
— Gary Coates (talking about cabling)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads