<p dir="ltr"><br>
---------- Vidarebefordrat meddelande ----------<br>
Från: "Petter Reinholdtsen" <<a href="mailto:pere@hungry.com">pere@hungry.com</a>></p>
<p dir="ltr">> [Nick Daly]<br>
> > Hi folks, I'm trying to fix the /etc/network/interface<br>
> > misconfiguration in the Freedom-Maker generated images, but I'm not<br>
> > sure where best to apply the fix.  The underlying issue is that the<br>
> > interface file doesn't include these lines:<br>
> ><br>
> >     allow-hotplug eth0<br>
> >     iface eth0 inet dhcp<br>
><br>
> Why 'allow-hotplug' and not 'auto'?  'allow-hotplug' is obsolete, as<br>
> far as I know, and require network-manager to be running.  I did not<br>
> plan to use network-manager, but only ifupdown.  Should we use<br>
> network-manager?</p>
<p dir="ltr">The directive allow-hotplug has nothing to do with Network-Manager. The NM only handles network devices NOT mentioned in /e/n/interfaces. </p>
<p dir="ltr">If allow-hotplug is obsoleted or not I don't know.  But it is handles by ifupdown. And if there is a network connected to the device or not.</p>
<p dir="ltr">And no, NM isn't needed and should not be used on a server.</p>
<p dir="ltr">> > If you have recommendations on how to patch the Freedom-Maker [0] or<br>
> > FreedomBox-Setup [1] packages to handle this case, I'd appreciate<br>
> > your help.<br>
><br>
> The network setup is done at first boot in<br>
> freedombox-setup/first-run.d/05_network, and there I was told by<br>
> jsullevan to use eth1, not eth0, on the dreamplug.  What is correct?</p>
<p dir="ltr">What to use of eth0 or eth1 depends on the hardware and what name udev gives the device.</p>
<p dir="ltr">> Happy hacking<br>
> Petter Reinholdtsen</p>
<p dir="ltr">/A Jackson</p>