:: Re: [DNG] Ethernet names revisited
Page principale
Supprimer ce message
Répondre à ce message
Auteur: Ralph Ronnquist
Date:  
À: dng
Sujet: Re: [DNG] Ethernet names revisited
On 12/12 23:22, Antony Stone wrote:
> On Saturday 12 December 2020 at 23:11:25, Ralph Ronnquist via Dng wrote:
> ...
>
> 1. Why is this so totally different from what I could previously do using
> /etc/udev/rules.d/70-persistent-net.rules under jessie and earlier releases?
>
> 2. https://wiki.debian.org/NetworkInterfaceNames clearly says that if you
> upgraded a machine from jessie to stretch and to buster (which for these
> purposes I regard as the same as jessie to ascii to beowulf), then it will
> continue to work as before, so - what is the difference between doing those
> upgrades, and doing a fresh buster / beowulf installation? What needs to be
> changed on a beowulf machine to make it work the same as a jessie machine
> upgraded to ascii, upgraded to beowulf?


If it worked for you previously then, a) there would have been rules
for double renaming, and b) any network management would have kicked
in late enough to let name fiddling happen before bringing up the
interfaces. As you know, one of the joys with parallel boot is the
random effects of things happening in parallel.

>
> And, of course, finally:
>
> 3. Once /etc/udev/rules.d/70-persistent-net.rules no longer works at
> all under Chimaera, what is the correct / official way of getting
> interfaces named as you want them, according to their MAC addresses?


Without being held awake by this issue myself, I can only suggest a
two phase solution where you have 1) udev rules kicking in during
pre-pivot boot to rename anything ethN onto say the xethN series, and
then 2) an ifrename service for the post-pivot boot, to name the
interfaces by macaddress.

Howver, in order for that to work you must also make sure that your
network management software stays inactive until after the ifrename
activity. The easiest for that is to only rely the ifupdown networking
which in the normal setting is a post-pivot activity subsequent to
ifrename.

The default installation (unfortunately?) have wicd as player to
provide networking randomness, but network-manager is good at it too.

Ralph

>
> Thanks,
>
>
> Antony.
>
> --
> I bought a book about anti-gravity. The reviews say you can't put it down.
>
>                                                    Please reply to the list;
>                                                          please *don't* CC me.