On Wed, Jun 12, 2024 at 09:01:44PM +0200, [email protected] wrote: > No need. You can have your traditional names (I do). Just add > "net.ifnames=0" (if necessry separated by a space, should > other stuff be already there) to your GRUB_CMDLINE_LINUX_DEFAULT > in your /etc/default/grub, then ru update-grub. > > Mine loks like this: > > GRUB_CMDLINE_LINUX_DEFAULT="quiet net.ifnames=0"
People who are thinking of doing this should take a moment to consider whether it will be better or worse than the default. For a machine that has exactly one ethernet interface, this is a vast improvement over the default. Your interface will always be named "eth0" no matter what crazy things happen on the PCI bus. For a machine with multiple interfaces, however, the original problem that "predictable interface names" were supposed to solve is still an issue. The kernel may not assign the names in the same order every time you boot. In that situation, "net.ifnames=0" is not likely to be an improvement. You'd be better off using systemd.link(5) files to customize your interface names according to your own specific needs. > > > https://wiki.debian.org/NetworkInterfaceNames

