Web lists-archives.com

Re: How to rename my wired connection from 'eno1' to 'eth0'?




Sharon Kimble composed on 2017-06-13 11:00 (UTC+0100):
.
> Due to a hard-drive failure I've had to install Debian 9 and I've got a
> peculiar problem.

> My wired connection is showing as 'eno1' instead of the unexpected
> 'eth0', which means that my 'vnstat' is failing to record my network
> traffic. So how do I change its name please? I've googled but haven't
> found any workable solution for the problem.
.net.ifnames=0 on kernel cmdline, plus
0 byte /etc/udev/rules.d/80-net-setup-link.rules or
/etc/systemd/network/99-default.link or symlink either from /dev/null
worksforme.

See:
https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/
including its changelog from last Nov., where there were four options reduced to
three.
-- 
"The wise are known for their understanding, and pleasant
words are persuasive." Proverbs 16:21 (New Living Translation)

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata  ***  http://fm.no-ip.com/