Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #239545

Re: How to avoid systemd/udev unpredictable NIC names

From Tixy <tixy@yxit.co.uk>
Newsgroups linux.debian.user
Subject Re: How to avoid systemd/udev unpredictable NIC names
Date 2021-08-31 22:10 +0200
Message-ID <CSieZ-8jd-1@gated-at.bofh.it> (permalink)
References (3 earlier) <CRX0S-2HW-15@gated-at.bofh.it> <CRXke-2Q0-17@gated-at.bofh.it> <CRXDA-3dF-7@gated-at.bofh.it> <CRZvH-4mn-3@gated-at.bofh.it> <CS08q-4yR-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, 2021-08-30 at 20:26 -0400, Greg Wooledge wrote:
> On Tue, Aug 31, 2021 at 01:44:09AM +0200, Steve Keller wrote:
[...]
> > Actually, I don't know this.  When I wrote unpredictable new naming
> > scheme I meant systemd's enp<pci-bus>s<slot> scheme, since it's
> > unpredictable for me as long as I don't learn these numbers for my
> > mainboard and PCI card config.
> > 
> > Why is systemd-udevd unqualified for this jobs?
> 
> Because PCI slot numbers change.  They can change when you add a device,
> or remove a device (even if they're not network interfaces), or upgrade
> your motherboard firmware.
> 
> These names are not "predictable" because they're based on the PCI slot
> number, which is not stable.
> 

Or 'Firmware/BIOS provided index numbers for on-board devices' [1]

I found this out when I decided to enable motherboard WiFi in the BIOS
settings on my new desktop PC and this caused my ethernet to stop
working. Upon investigation I found the ethernet was now called 'eno2'
and the Debian installer had put 'eno1' in /etc/network/interfaces
because I had installed with WiFi disabled.

[1] https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/

-- 
Tixy

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

How to avoid systemd/udev unpredictable NIC names Steve Keller <keller.steve@gmx.de> - 2021-08-30 22:40 +0200
  Re: How to avoid systemd/udev unpredictable NIC names Greg Wooledge <greg@wooledge.org> - 2021-08-30 23:00 +0200
    Re: How to avoid systemd/udev unpredictable NIC names Andrei POPESCU <andreimpopescu@gmail.com> - 2021-08-31 12:50 +0200
      Re: How to avoid systemd/udev unpredictable NIC names Greg Wooledge <greg@wooledge.org> - 2021-08-31 13:40 +0200
      Re: How to avoid systemd/udev unpredictable NIC names Reco <recoverym4n@enotuniq.net> - 2021-08-31 16:00 +0200
        Re: How to avoid systemd/udev unpredictable NIC names Andrei POPESCU <andreimpopescu@gmail.com> - 2021-09-01 19:30 +0200
  Re: How to avoid systemd/udev unpredictable NIC names Dan Ritter <dsr@randomstring.org> - 2021-08-30 23:10 +0200
    Re: How to avoid systemd/udev unpredictable NIC names Dan Ritter <dsr@randomstring.org> - 2021-08-30 23:30 +0200
    Re: How to avoid systemd/udev unpredictable NIC names Greg Wooledge <greg@wooledge.org> - 2021-08-30 23:30 +0200
      Re: How to avoid systemd/udev unpredictable NIC names IL Ka <kazakevichilya@gmail.com> - 2021-08-30 23:50 +0200
        Re: How to avoid systemd/udev unpredictable NIC names Greg Wooledge <greg@wooledge.org> - 2021-08-31 00:10 +0200
          Re: How to avoid systemd/udev unpredictable NIC names Steve Keller <keller.steve@gmx.de> - 2021-08-31 02:10 +0200
            Re: How to avoid systemd/udev unpredictable NIC names Greg Wooledge <greg@wooledge.org> - 2021-08-31 02:50 +0200
              Re: How to avoid systemd/udev unpredictable NIC names Tixy <tixy@yxit.co.uk> - 2021-08-31 22:10 +0200
        Re: How to avoid systemd/udev unpredictable NIC names Thomas Hochstein <thh@thh.name> - 2021-08-31 00:50 +0200
      Re: How to avoid systemd/udev unpredictable NIC names Steve Keller <keller.steve@gmx.de> - 2021-08-31 01:30 +0200
        Re: How to avoid systemd/udev unpredictable NIC names <tomas@tuxteam.de> - 2021-08-31 08:30 +0200
        Re: How to avoid systemd/udev unpredictable NIC names Andrei POPESCU <andreimpopescu@gmail.com> - 2021-08-31 12:50 +0200
        Re: How to avoid systemd/udev unpredictable NIC names David Wright <deblis@lionunicorn.co.uk> - 2021-08-31 16:30 +0200
  Re: How to avoid systemd/udev unpredictable NIC names IL Ka <kazakevichilya@gmail.com> - 2021-08-30 23:30 +0200
  Re: How to avoid systemd/udev unpredictable NIC names Roberto C. Sánchez <roberto@debian.org> - 2021-08-31 01:30 +0200
    Re: How to avoid systemd/udev unpredictable NIC names Steve Keller <keller.steve@gmx.de> - 2021-08-31 02:10 +0200
  Re: How to avoid systemd/udev unpredictable NIC names George Shuklin <george.shuklin@gmail.com> - 2021-08-31 15:50 +0200

csiph-web