Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #206530
| From | Nicholas Geovanis <nickgeovanis@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Discussion? New names of betwork devices |
| Date | 2019-03-23 20:40 +0100 |
| Message-ID | <xEUEO-8gY-7@gated-at.bofh.it> (permalink) |
| References | <xEtXX-sB-5@gated-at.bofh.it> <xEv3I-14A-3@gated-at.bofh.it> <xEvwK-1ex-13@gated-at.bofh.it> <xETz3-7EI-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
My 0.02€ It's interesting how this topic is so often resurrected. The first time we upgraded a RedHat server and the network interfaces were renamed, our supervisor was.....angered :-) The issue is the order of enumeration of devices on a PCI bus. Even identical models of NIC at the same level of firmware will become ready in non-uniform ways. Temperature plays a role, etc. If the systemd designers (same as the udev guys, right?) made a mistake here, perhaps it was overreach. On Sat, Mar 23, 2019, 1:20 PM Mart van de Wege <mvdwege@gmail.com> wrote: > Hans <hans.ullrich@loop.de> writes: > > > Am Freitag, 22. März 2019, 17:15:29 CET schrieb Reco: > >> Or, for instance, en0p2gibberish. They call them Unpredictable Device > >> Named for a reason. > >> > > > > Yes, thsis is another thing, which I am thinking of: The names could > change > > (in case, when there are more than one network devices are active or the > order > > of activing changed). > > No. Changes in the activation order or the number of devices do not > matter. The naming scheme is based on what bus the devices are on and > what position on that bus they hold[1]. Once a name is assigned, unless > you plug the card into a different slot, you will get the same name > (note that this may not apply on hotplug architectures that don't assume > fixed slot positions, like USB). > > It is the *old* way that lead to unpredictable renames unless you > implemented udev rules to hardcode names to e.g. MAC addresses. > > > In the past, I forced the order with persistent- net.rules. Dunno, if > > normal users can deal with it. Can it your Mom or your Dad? Grandpa? > > Grandma? > > > Is it any worse than expecting them to write a udev rule? > > In the end it is a hard problem to solve because the Linux kernel does > dynamic enumeration of devices, so you either need a deterministic > algorithm to assign a name (ask the firmware) or a userspace workaround > in identifying the device (e.g. using udev rules, or using UUIDs in > /etc/fstab, etc). > > Mart > > [1] OK, not *entirely* true, it's based on what the firmware reports as > the device position (it used to be called 'biosdevname'. Don't know if > that still is the name in these (U)EFI times). > > -- > "We will need a longer wall when the revolution comes." > --- AJS, quoting an uncertain source. > >
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Discussion? New names of betwork devices Hans <hans.ullrich@loop.de> - 2019-03-22 16:10 +0100
Re: Discussion? New names of betwork devices Reco <recoverym4n@enotuniq.net> - 2019-03-22 17:20 +0100
Re: Discussion? New names of betwork devices Hans <hans.ullrich@loop.de> - 2019-03-22 17:50 +0100
Re: Discussion? New names of betwork devices Reco <recoverym4n@enotuniq.net> - 2019-03-22 18:30 +0100
Re: Discussion? New names of betwork devices Mart van de Wege <mvdwege@gmail.com> - 2019-03-23 19:30 +0100
Re: Discussion? New names of betwork devices Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-03-23 20:40 +0100
Re: Discussion? New names of betwork devices Nicholas Geovanis <nickgeovanis@gmail.com> - 2019-03-23 20:40 +0100
Re: Discussion? New names of betwork devices David Wright <deblis@lionunicorn.co.uk> - 2019-03-24 18:20 +0100
Re: Discussion? New names of betwork devices Hans <hans.ullrich@loop.de> - 2019-03-23 18:30 +0100
Re: Discussion? New names of betwork devices Joe <joe@jretrading.com> - 2019-03-22 21:00 +0100
Re: Discussion? New names of betwork devices ghe <ghe@slsware.net> - 2019-03-22 23:20 +0100
Re: Discussion? New names of betwork devices Felix Miata <mrmazda@earthlink.net> - 2019-03-22 23:40 +0100
Re: Discussion? New names of betwork devices deloptes <deloptes@gmail.com> - 2019-03-23 07:40 +0100
Re: Discussion? New names of betwork devices Felix Miata <mrmazda@earthlink.net> - 2019-03-23 09:40 +0100
Re: Discussion? New names of betwork devices David Wright <deblis@lionunicorn.co.uk> - 2019-03-24 04:10 +0100
Re: Discussion? New names of betwork devices Felix Miata <mrmazda@earthlink.net> - 2019-03-24 04:30 +0100
Re: Discussion? New names of betwork devices deloptes <deloptes@gmail.com> - 2019-03-24 07:30 +0100
Re: Discussion? New names of betwork devices Felix Miata <mrmazda@earthlink.net> - 2019-03-24 08:10 +0100
Re: Discussion? New names of betwork devices David Wright <deblis@lionunicorn.co.uk> - 2019-03-24 18:10 +0100
Re: Discussion? New names of betwork devices Michael Stone <mstone@debian.org> - 2019-03-24 20:30 +0100
Re: Discussion? New names of betwork devices ghe <ghe@slsware.net> - 2019-03-22 21:00 +0100
csiph-web