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


Groups > linux.debian.user > #187152

Re: in /etc/network/interfaces: "auto" vs "allow-hotplug"

From Henrique de Moraes Holschuh <hmh@debian.org>
Newsgroups linux.debian.user
Subject Re: in /etc/network/interfaces: "auto" vs "allow-hotplug"
Date 2017-09-24 15:30 +0200
Message-ID <utf8S-N4-17@gated-at.bofh.it> (permalink)
References <ut6ff-3Eq-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 23 Sep 2017, Rick Thomas wrote:
> I have two machines (out of a group of ten) that will not bring up
> their ethernet interface at boot time if the interfaces is of type
> “allow-hotplug”.  When I change that to “auto” the interface comes up
> at boot with no problem…

...

> Anybody have a clue as to what’s going on?

auto:            try to ip link set <dev> up  at boot.  Best choice for
                 anything PCIe/SoC.

allow-hotplug:   *wait* for kernel+drivers+udev to detect the device,
                 then ip link set <dev> up it.  The only thing that can
                 deal with annoying USB, SDIO, etc.

This can be kinda important when non-auto-loading stuff is involved, or
when network file systems are involved.

So, look at what *exact* kind of network device you're dealing with.

-- 
  Henrique Holschuh

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


Thread

in /etc/network/interfaces:  "auto" vs "allow-hotplug" Rick Thomas <rbthomas@pobox.com> - 2017-09-24 06:00 +0200
  Re: in /etc/network/interfaces:  "auto" vs "allow-hotplug" Henrique de Moraes Holschuh <hmh@debian.org> - 2017-09-24 15:30 +0200
    Re: in /etc/network/interfaces:  "auto" vs "allow-hotplug" Rick Thomas <rbthomas@pobox.com> - 2017-09-25 11:20 +0200
  Re: in /etc/network/interfaces:  "auto" vs "allow-hotplug" Greg Wooledge <wooledg@eeg.ccf.org> - 2017-09-25 15:10 +0200
    Re: in /etc/network/interfaces:  "auto" vs "allow-hotplug" Greg Wooledge <wooledg@eeg.ccf.org> - 2017-09-25 17:50 +0200
      Re: in /etc/network/interfaces:  "auto" vs "allow-hotplug" Gene Heskett <gheskett@shentel.net> - 2017-09-25 18:10 +0200
        Re: in /etc/network/interfaces: "auto" vs "allow-hotplug" Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-09-25 19:30 +0200
    Re: in /etc/network/interfaces:  "auto" vs "allow-hotplug" Gene Heskett <gheskett@shentel.net> - 2017-09-25 17:50 +0200
  Re: in /etc/network/interfaces: "auto" vs "allow-hotplug" Jimmy Johnson <field.engineer@gmail.com> - 2017-09-25 19:30 +0200
    Re: in /etc/network/interfaces: "auto" vs "allow-hotplug" Rick Thomas <rbthomas@pobox.com> - 2017-09-26 11:40 +0200
      Re: in /etc/network/interfaces: "auto" vs "allow-hotplug" Pascal Hambourg <pascal@plouf.fr.eu.org> - 2017-09-26 14:00 +0200
      Re: in /etc/network/interfaces: "auto" vs "allow-hotplug" Greg Wooledge <wooledg@eeg.ccf.org> - 2017-09-26 15:30 +0200
        Re: in /etc/network/interfaces: "auto" vs "allow-hotplug" Gene Heskett <gheskett@shentel.net> - 2017-09-26 17:30 +0200
        Re: in /etc/network/interfaces: "auto" vs "allow-hotplug" Rick Thomas <rbthomas@pobox.com> - 2017-09-26 23:30 +0200
          Re: in /etc/network/interfaces: "auto" vs "allow-hotplug" Jimmy Johnson <field.engineer@gmail.com> - 2017-09-27 01:10 +0200

csiph-web