Re: in /etc/network/interfaces: "auto" vs "allow-hotplug"
On Sep 26, 2017, at 6:21 AM, Greg Wooledge <firstname.lastname@example.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
>> < 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.)