Gentoo Archives: gentoo-user

From: meino.cramer@×××.de
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] another "headless device"-question: In search of the LAN
Date: Tue, 30 Sep 2014 14:08:42
Message-Id: 20140930140832.GK3828@solfire
In Reply to: Re: [gentoo-user] another "headless device"-question: In search of the LAN by Kerin Millar
1 Kerin Millar <kerframil@×××××××××××.uk> [14-09-30 16:04]:
2 > On 30/09/2014 14:58, Neil Bothwick wrote:
3 > >On Tue, 30 Sep 2014 14:46:46 +0100, Kerin Millar wrote:
4 > >
5 > >>>depend() {
6 > >>> before cron portmap
7 > >>> after eth0
8 > >>> use dns logger
9 > >>>}
10 > >>>
11 > >>>
12 > >>>for "after XYZ"
13 > >>>I set
14 > >>> net
15 > >>> net.eth0
16 > >>> eth0
17 > >>>and none worked for me...
18 > >>
19 > >>Using 'after' won't work unless both net.eth0 and ntp-client are in
20 > >>the
21 > >>default runlevel. Obviously, that condition is not satisfied if you
22 > >>are
23 > >>using ifplugd. Please try the solution mentioned in my previous post.
24 > >>It should work.
25 > >
26 > >ifplugd shouldn't be in any runlevel, it is just there for openrc to
27 > >use.
28 >
29 > I did not claim or suggest otherwise.
30 >
31 > --Kerin
32 >
33
34 I already have a solution in a file which is a user alterable
35 file:
36 I just put a call to ntp-client in the postup(){} function
37 of /etc/conf.d/net. Called once and no polling and straight forward.
38 And if an update to that file will happen, cfg-update will keep track
39 of it.
40 I am happy with that.
41
42 Best regards,
43 mcc