Re: How to avoid systemd/udev unpredictable NIC names
On Mon, Aug 30, 2021 at 04:41:55PM -0400, Dan Ritter wrote:
> Steve Keller wrote:
> > I plan to upgrade a server from Debian stretch to buster. Having read
> > the release notes I wonder what's the best way to avoid the new scheme
> > of unpredictable network interface names.
>
> In /etc/default/grub, assuming that you are booting with grub,
>
> GRUB_CMDLINE_LINUX_DEFAULT="quiet net.ifnames=0"
>
> The "quiet" is not necessary and is a different feature.
This gives unpredictable results if the system has more than one
ethernet interface, or more than one wireless interface.
It's fine on systems that have 0-1 ethernet and 0-1 wireless NICs.
Reply to: