in the output of "ip link help", I see: ip link property add dev DEVICE [ altname NAME .. ] ip link property del dev DEVICE [ altname NAME .. ]
That looks like what maybe you are looking for. On Mon, Feb 15, 2021 at 6:59 PM Russell Senior <russ...@personaltelco.net> wrote: > > I don't see the altname in a Ubuntu 20.04 with a 5.4.x kernel. > > On Mon, Feb 15, 2021 at 6:59 PM Russell Senior > <russ...@personaltelco.net> wrote: > > > > Fwiw, on my Ubuntu 20.04 with the hwe kernel (5.8.x), I see an altname: > > > > russell@frieda:~$ ip link show dev enp4s0 > > > > 3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel > > state DOWN mode DEFAULT group default qlen 1000 > > link/ether 00:23:54:xx:xx:xx brd ff:ff:ff:ff:ff:ff > > altname enp4s0 > > > > So, what you are asking for does seem to exist. > > > > On Mon, Feb 15, 2021 at 6:51 PM Keith Lofstrom <kei...@kl-ic.com> wrote: > > > > > > On Sun, Feb 14, 2021 at 09:45:05PM -0800, Russell Senior wrote: > > > > I can understand it making sense in the context of a server with > > > > multiple interfaces. We used to have occasional problems with ethernet > > > > enumeration when we were using recycled PCs as gateway routers. I just > > > > don't see why that kind of corner case drove adoption for a problem > > > > that didn't exist for 99% of users. Seems to me like "predictable" > > > > names ought to be an opt-in rather than an opt-out. > > > > > > Thanks to all for the useful and informative replies. > > > I'm grateful for Russell's helpful grub configuration > > > advice. > > > > > > Still - it would cost almost nothing if one device had > > > TWO names in /dev/, BOTH eth0 AND enp12s0. Perhaps a > > > deft application of the cluestick will encourage whoever > > > made the PredictableNetworkInterfaceNames decision to > > > rewrite the boot loader to create (and log) BOTH names, > > > allowing end users to choose the name they prefer. > > > > > > I can remember the ancient days, when source-empowered > > > users made Linux do what they wanted, rather than Linux > > > making users conform to the changing whims of a powerful > > > and unaccountable elite. I don't mind people pissing in > > > their soup until they like the flavor - as long as they > > > don't piss in MY soup. > > > > > > Keith > > > > > > -- > > > Keith Lofstrom kei...@keithl.com > > > _______________________________________________ > > > PLUG: https://pdxlinux.org > > > PLUG mailing list > > > PLUG@pdxlinux.org > > > http://lists.pdxlinux.org/mailman/listinfo/plug _______________________________________________ PLUG: https://pdxlinux.org PLUG mailing list PLUG@pdxlinux.org http://lists.pdxlinux.org/mailman/listinfo/plug