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


Groups > linux.debian.user > #187290

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

From Jimmy Johnson <field.engineer@gmail.com>
Newsgroups linux.debian.user
Subject Re: in /etc/network/interfaces: "auto" vs "allow-hotplug"
Date 2017-09-27 01:10 +0200
Message-ID <uu79f-2IR-1@gated-at.bofh.it> (permalink)
References <ut6ff-3Eq-1@gated-at.bofh.it> <utFmF-11y-1@gated-at.bofh.it> <utUvo-2W9-35@gated-at.bofh.it> <utY5Y-5jU-27@gated-at.bofh.it> <uu5Au-1Es-9@gated-at.bofh.it>
Organization PC Repair

Show all headers | View raw


On 09/26/2017 02:24 PM, Rick Thomas wrote:
> 
> On Sep 26, 2017, at 6:21 AM, Greg Wooledge <wooledg@eeg.ccf.org> wrote:
> 
>> On Tue, Sep 26, 2017 at 02:38:37AM -0700, Rick Thomas wrote:
>>> # The primary network interface
>>> auto enP1p3s15f0
>>> iface enP1p3s15f0 net dhcp
>>
>> As Pascal noted, the word before �dhcp" should be "inet".
> 
> That�s interesting!  I�m quite sure I did not put that there (i.e remove the �i� from �inet�.  It�s purely as it came from the installer.
> 
> And, given that the �i� is missing in both versions of the interfaces file, why does �auto� work and �allow-hotplug� not work?
> 
>>
>>> I had to change �allow-hotplug� to �auto� to get it to come up on reboot:
>>> root@macpro:~# diff /etc/network/interfaces.ORIG /etc/network/interfaces
>>> 11c11
>>> < allow-hotplug enP1p3s15f0
>>> ---
>>>> auto enP1p3s15f0
>>
>> Looks good.
>>
>>> If there�s some place that�s mistakenly expecting a name like �eth0�, where might it be located?
>>
>> A locally created script (especially one that does firewall stuff),
>> or a third party package.
> 
> Pretty sure I don�t have any of those installed.  (Indeed, *quite* sure, since this is a test machine and it�s running an absolutely minimal �fresh from the box� debian installation � no add-ons at all.)
> 
> Rick


Have you tried running the system install disc in recovery mode, it will 
setup the internet or at lest it will try.

Below is my Stretch interfaces config.
-------------------------------------------
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eno1
iface eno1 inet dhcp
# This is an autoconfigured IPv6 interface
iface eno1 inet6 auto
-----------------------------------------

Good Luck,
-- 
Jimmy Johnson

Debian Stretch - KDE Plasma 5.8.6 - Intel i7-3540M - EXT4 at sda6
Registered Linux User #380263

Back to linux.debian.user | Previous | Next — Previous 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