:: Re: [DNG] Ethernet names revisited
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Antony Stone
Date:  
À: dng
Sujet: Re: [DNG] Ethernet names revisited
On Sunday 13 December 2020 at 14:25:37, tito via Dng wrote:

> On Sun, 13 Dec 2020 10:45:56 +0100 Antony Stone wrote:
> >
> > From Ascii onwards I get the errors:
> >
> > udevd[441]: Error changing net interface name eth2 to eth0: File
> > exists udevd[441]: could not rename interface '4' from 'eth2' to
> > 'eth0': File exists
>
> Hi,
> they cannot be renamed because the name is already taken


Yes, I can see that from dmesg.

> NIC1 NIC2 NIC3
> eth0 eth1 eth2 (you have)
> eth1 eth0 eth2 (you want)
>
> udevd[441]: Error changing net interface name eth2 to eth0: File exists
> udevd[441]: could not rename interface '4' from 'eth2' to 'eth0': File
> exists
>
> so renaming fails, use predictable names (remove ifnames=0)


Makes no difference.

> NIC1 NIC2 NIC3
> en1p1 en2p1 en3p1 (you have)
> eth1 eth0 eth2 (you want)


Those are not the names I get.

It doesn't matter whether I have:

    net.ifnames=0
    net.ifnames=1
    no mention of net.ifnames at all


In every case I get eth0, eth1 (PCI card) and eth2 (motherboard).


Antony.

--
Why are they called "The Rocky Mountains"?
What are other mountains made of?

                                                   Please reply to the list;
                                                         please *don't* CC me.