1 |
On 30/09/2014 12:49, meino.cramer@×××.de wrote: |
2 |
> Neil Bothwick <neil@××××××××××.uk> [14-09-30 12:44]: |
3 |
>> On Tue, 30 Sep 2014 12:39:06 +0200, meino.cramer@×××.de wrote: |
4 |
>> |
5 |
>>>>> [I] sys-apps/ifplugd |
6 |
>>>>> Available versions: |
7 |
>>>>> 0.28-r9 [doc selinux] |
8 |
>>>>> Installed versions: 0.28-r9(11:14:57 12/18/10)(-doc) |
9 |
>>>>> Homepage: |
10 |
>>>>> http://0pointer.de/lennart/projects/ifplugd/ Description: |
11 |
>>>>> Brings up/down ethernet ports automatically with cable detection |
12 |
>> |
13 |
>>>> and another alternative would be sys-apps/netplug |
14 |
>> |
15 |
>>> WHOW! That all sounds much more easier than I have dreamt of! |
16 |
>>> I did not thought, that such software exists already -- and therefore |
17 |
>>> did not search for it... |
18 |
>> |
19 |
>> If you use openrc, you only need to install one of these programs, not |
20 |
>> configure or set it to run. OpenRC detects that one of these programs is |
21 |
>> available and uses it to do exactly what you need. |
22 |
>> |
23 |
>> |
24 |
>> -- |
25 |
>> Neil Bothwick |
26 |
>> |
27 |
>> We are upping our standards - so up yours. |
28 |
> |
29 |
> ...ok, it works! |
30 |
> ...nearly... ;) |
31 |
> |
32 |
> |
33 |
> |
34 |
> Unfortunately, ntp-client is configured via rc-update (added to |
35 |
> "default") but after plugging in LAN the interface eth0 comes |
36 |
> up and I have access via ssh...but the date is set to the beginnig |
37 |
> of the UNIX epoch. |
38 |
> I have to call ntp-client by hand. |
39 |
|
40 |
If you know that net.eth0 is specifically required to be up for |
41 |
ntp-client to work, you should render OpenRC aware of the fact: |
42 |
|
43 |
echo 'rc_need="net.eth0"' >> /etc/conf.d/ntp-client |
44 |
|
45 |
--Kerin |