On Tuesday 22 Dec 2015 23:32:40 Neil Bothwick wrote:
> On Tue, 22 Dec 2015 15:15:57 +0000, Mick wrote:
> > > As far as I understood, you now start ifplugd using the associated
> > > net.* init script. Openrc will detect that ifplugd is installed and
> > > then wait until a cable is plugged, plus starting an instance
> > > listening on the device.
> > 
> > No, this is not how ifplugd worked, for as long as I can remember.  I
> > never started the interface, or had to start ifplugd by an init.d
> > script or manually.
> 
> It may not be how you used it, but that is how ifplugd (or netplug) is
> supposed to be used with openrc. It detects whether ifplugd or netplug is
> installed when the interface is started up and starts it up to monitor
> the interface using the correct options. It's been that way fr a lot of
> years and was documented, I think in the comments in the net.* scripts.
> 
> Your approach may have worked in the past but it was unsupported, now it
> appears that it doesn't work.

Thank you Neil, I just tried netplug and indeed behaves the same as ifplugd - 
one has to start the interface before netplug will configure a connection.

Interestingly, there is a difference between netplug and ifplugd.  ifplugd 
when started by hand, will initialise and configure a NIC.  netplug will not.  
It requires that the interface has been enabled before it does anything.

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to