[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: eth0 renamed

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


Attachment: signature.asc
Description: PGP signature

Reply to: