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)