Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Problem with openrc-0.18.4 and ifplugd
Date: Wed, 23 Dec 2015 10:59:01
Message-Id: 201512231058.46162.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] Re: Problem with openrc-0.18.4 and ifplugd by Neil Bothwick
1 On Tuesday 22 Dec 2015 23:32:40 Neil Bothwick wrote:
2 > On Tue, 22 Dec 2015 15:15:57 +0000, Mick wrote:
3 > > > As far as I understood, you now start ifplugd using the associated
4 > > > net.* init script. Openrc will detect that ifplugd is installed and
5 > > > then wait until a cable is plugged, plus starting an instance
6 > > > listening on the device.
7 > >
8 > > No, this is not how ifplugd worked, for as long as I can remember. I
9 > > never started the interface, or had to start ifplugd by an init.d
10 > > script or manually.
11 >
12 > It may not be how you used it, but that is how ifplugd (or netplug) is
13 > supposed to be used with openrc. It detects whether ifplugd or netplug is
14 > installed when the interface is started up and starts it up to monitor
15 > the interface using the correct options. It's been that way fr a lot of
16 > years and was documented, I think in the comments in the net.* scripts.
17 >
18 > Your approach may have worked in the past but it was unsupported, now it
19 > appears that it doesn't work.
20
21 Thank you Neil, I just tried netplug and indeed behaves the same as ifplugd -
22 one has to start the interface before netplug will configure a connection.
23
24 Interestingly, there is a difference between netplug and ifplugd. ifplugd
25 when started by hand, will initialise and configure a NIC. netplug will not.
26 It requires that the interface has been enabled before it does anything.
27
28 --
29 Regards,
30 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature