Re: eth0 renamed

Bob Proulx <[email protected]>
Newsgroups gmane.linux.debian.user.laptop
Message-ID <[email protected]>
Estelmann, Christian wrote:
> schrieb Tomasz Kundera:
> > Is there an easy way to remove or block that stupid renaming?
>
> In
> http://askubuntu.com/questions/704361/why-is-my-network-interface-named-enp0s25-instead-of-eth0
> there is a link to
> https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
> where it is described how to disable Predictable Network Interface Names.
> 
> A nice way may be the option to add "net.ifnames=0" to the kernel command
> line.

Although that web site lists multiple ways to disable most do not
work.  The only way that works for me is to set net.ifnames=0 on the
kernel command line.  None of the other alternatives work for me.

In /etc/default/grub edit it this way.

  GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 quiet"

And then run 'update-grub' and reboot.

  # update-grub

Bob
signature.asc (application/pgp-signature, 181 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlcPHegACgkQ0pRcO8E2ULaICwCfXMek6/43w6oI7GnmCZ99cWCC
/WIAn03nwCjyAe/J4eXUXG+2qyTnIjLv
=f1vO
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.