Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #239477 > unrolled thread
| Started by | Steve Keller <keller.steve@gmx.de> |
|---|---|
| First post | 2021-08-30 22:40 +0200 |
| Last post | 2021-08-31 15:50 +0200 |
| Articles | 3 on this page of 23 — 12 participants |
Back to article view | Back to linux.debian.user
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
Page 2 of 2 — ← Prev page 1 [2]
| From | Roberto C. Sánchez <roberto@debian.org> |
|---|---|
| Date | 2021-08-31 01:30 +0200 |
| Message-ID | <CRYT0-3TC-5@gated-at.bofh.it> |
| In reply to | #239477 |
On Mon, Aug 30, 2021 at 10:20:46PM +0200, Steve Keller wrote: > I plan to upgrade a server from Debian stretch to buster. Having read > the release notes I wonder what's the best way to avoid the new scheme > of unpredictable network interface names. > > I don't care what PCI bus and what slot my NICs are attached to, I > don't want to learn and don't want to have to remember this hardware > configurationan and I don't want to type these cumbersome and error > prone names. I simply have eth0 for the internal network and eth1 for > my external network to the DSL router. That's easy and I want to keep > it that way. > > The Debian wiki on this shows several ways involving kernel cmdline, > udev, and systemd. I've read it, I've also read some of the sparse > and incomplete systemd documentation for almost an hour. Still I > don't know when and what software component (kernel, udev, systemd) > decides the NIC names and whether and in which way these conflict each > other. [1] > > Also, after reading the wiki it's still unclear to me, which of the > several ways will survive the next upgrade to bullseye. > > The safest way seems to be what's called "Custom schemes" but this > section explicitly states the names eth0, etc. shouldn't be used. > > So I'm still confused what to do after the upgrade to buster to keep > my network names. > Since nobody else has mentioned this link, here is where I recommend you start: https://wiki.debian.org/NetworkInterfaceNames Regards, -Roberto -- Roberto C. Sánchez
[toc] | [prev] | [next] | [standalone]
| From | Steve Keller <keller.steve@gmx.de> |
|---|---|
| Date | 2021-08-31 02:10 +0200 |
| Message-ID | <CRZvH-4mn-5@gated-at.bofh.it> |
| In reply to | #239492 |
Roberto C. Sánchez <roberto@debian.org> writes: > Since nobody else has mentioned this link, here is where I recommend you > start: https://wiki.debian.org/NetworkInterfaceNames Oh, that's what I meant by "wiki" in my posts. Sorry, I should have given the URL. It's linked from the buster release-notes in section 5.1.6 Steve
[toc] | [prev] | [next] | [standalone]
| From | George Shuklin <george.shuklin@gmail.com> |
|---|---|
| Date | 2021-08-31 15:50 +0200 |
| Message-ID | <CScjf-4r7-1@gated-at.bofh.it> |
| In reply to | #239477 |
[Multipart message — attachments visible in raw view] — view raw
On 30/08/2021 23:20, Steve Keller wrote: > 't want to have to remember this hardware > configurationan and I don't want to type these cumbersome and error > prone names. I simply have eth0 for the internal network and eth1 for > my external network to the DSL router. That's easy and I want to keep > it that way. > > The Debian wiki on this shows several ways involving kernel cmdline, > udev, and systemd. I've read it, I've also read some of the sparse > and incomplete systemd documentation for almost an hour. Still I > don't know when and what software component (kernel, udev, systemd) > decides the NIC names and whether and in which way these conflict each > other. [1] > > Also, after reading the wiki it's still unclear to me, which of the > several ways will survive the next upgrade to bullseye. > > The safest way seems to be what's called "Custom schemes" but this > section explicitly states the names eth0, etc. shouldn't be used. > > So I'm still confused what to do after the upgrade to buster to keep > my network names. > > Steve In my opinion explicit naming via systemd is the best: #/etc/systemd/network/10-persistent-net.link [Match] MACAddress=01:23:45:67:89:ab [Link] Name=eth1 Put names and macs as you wish.
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.debian.user
csiph-web