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


Groups > linux.debian.user > #224792

Re: Network services fail on startup

From Greg Wooledge <wooledg@eeg.ccf.org>
Newsgroups linux.debian.user
Subject Re: Network services fail on startup
Date 2020-07-14 13:40 +0200
Message-ID <AsrrX-4vF-3@gated-at.bofh.it> (permalink)
References <AsieZ-7il-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Jul 13, 2020 at 06:41:39PM -0700, Ross Boylan wrote:
> I am having intermittent problems on startup in which network services do
> not start properly, generally with messages suggesting the network
> interface they need is not available. If I stop and start them after, they
> will run.

The number one cause of this is having the interface marked as
"allow-hotplug" instead of "auto" in the interfaces(5) file.

Edit /etc/network/interfaces and see if your interface is defined in
this file at all.  (If it's not, then it's being defined some *other*
way, either by Network Manager, or by systemd, or something else).

If you see your interface marked with "allow-hotplug name", change it
to "auto name".

The installer thinks every system is some silly mobile/laptop thing,
so it defaults all ethernet interfaces to "allow-hotplug", even if
the interface is soldered onto the motherboard and is absolutely
not "hot-pluggable".  For most desktop or server systems, this will
be the wrong choice.  And it causes *exactly* the symptom you're
describing here.

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


Thread

Network services fail on startup Ross Boylan <rossboylan@stanfordalumni.org> - 2020-07-14 03:50 +0200
  Re: Network services fail on startup Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-14 08:50 +0200
  Re: Network services fail on startup Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-14 08:50 +0200
    Re: Network services fail on startup Dan Ritter <dsr@randomstring.org> - 2020-07-14 13:20 +0200
      Re: Network services fail on startup Andrei POPESCU <andreimpopescu@gmail.com> - 2020-07-14 19:10 +0200
        Re: Network services fail on startup Dan Ritter <dsr@randomstring.org> - 2020-07-14 19:30 +0200
  Re: Network services fail on startup deloptes <deloptes@gmail.com> - 2020-07-14 09:40 +0200
  Re: Network services fail on startup Greg Wooledge <wooledg@eeg.ccf.org> - 2020-07-14 13:40 +0200
    Re: Network services fail on startup Ross Boylan <rossboylan@stanfordalumni.org> - 2020-07-15 00:30 +0200
      Re: Network services fail on startup Ross Boylan <rossboylan@stanfordalumni.org> - 2020-07-16 02:40 +0200

csiph-web