network device names change w/kernel version
Epting, Volker
volker.epting at ise.fraunhofer.de
Thu May 8 15:04:42 CEST 2025
On Thu, 2025-05-08 at 23:13 +1200, Andrew Ruthven wrote:
> use ethX as systemd refuses to rename things to ethX now. And can't
> use enoX
> for a similar reason.
you can use (in trixie) the ethX schema with a kernel command-line
parameter, in debian under /etc/default/grub:
--snip--
GRUB_CMDLINE_LINUX="net.ifnames=0"
--snap--
lead to:
--snip--
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel
state UP group default qlen 1000
link/ether 00:XX:XX:XX:XX:XX brd ff:ff:ff:ff:ff:ff
altname enp0s18
altname ens18
altname enx005056b3d957
--snap--
Cheers, Volker
> After a system is built the first time, we add the, ahem, udev file,
> to our
> FAI profile so on a rebuild we get consistent interface naming. I'll
> switch
> to systemd.link at some point in time.
>
>
> Cheers,
> Andrew
>
More information about the linux-fai
mailing list