[gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread meino . cramer
Hi, For a device (beaglebone black) I am looking for a solution of the following problem: This little computer boots a fully blown Gentoo linux. It is used mostly as headless device (capturing data from attached sensors). From time to time I want access it via LAN. If the device was booted

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread wraeth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 30/09/14 20:12, meino.cra...@gmx.de wrote: Is there a way to check, whether a RJ45 was plugged into the device and if so to start init-script then? You could use a network management daemon that works on device status such as

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread Mick
On Tuesday 30 Sep 2014 11:12:34 meino.cra...@gmx.de wrote: Hi, For a device (beaglebone black) I am looking for a solution of the following problem: This little computer boots a fully blown Gentoo linux. It is used mostly as headless device (capturing data from attached sensors). From

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread thegeezer
On 30/09/14 11:21, Mick wrote: On Tuesday 30 Sep 2014 11:12:34 meino.cra...@gmx.de wrote: Thank you very much in advance for any help! Best regards, mcc Typically used on laptops: [I] sys-apps/ifplugd Available versions: 0.28-r9 [doc selinux] Installed versions:

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread meino . cramer
thegeezer thegee...@thegeezer.net [14-09-30 12:32]: On 30/09/14 11:21, Mick wrote: On Tuesday 30 Sep 2014 11:12:34 meino.cra...@gmx.de wrote: Thank you very much in advance for any help! Best regards, mcc Typically used on laptops: [I] sys-apps/ifplugd Available versions:

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread Neil Bothwick
On Tue, 30 Sep 2014 12:39:06 +0200, meino.cra...@gmx.de wrote: [I] sys-apps/ifplugd Available versions: 0.28-r9 [doc selinux] Installed versions: 0.28-r9(11:14:57 12/18/10)(-doc) Homepage: http://0pointer.de/lennart/projects/ifplugd/

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread meino . cramer
Neil Bothwick n...@digimed.co.uk [14-09-30 12:44]: On Tue, 30 Sep 2014 12:39:06 +0200, meino.cra...@gmx.de wrote: [I] sys-apps/ifplugd Available versions: 0.28-r9 [doc selinux] Installed versions: 0.28-r9(11:14:57 12/18/10)(-doc) Homepage:

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread meino . cramer
Neil Bothwick n...@digimed.co.uk [14-09-30 12:44]: On Tue, 30 Sep 2014 12:39:06 +0200, meino.cra...@gmx.de wrote: [I] sys-apps/ifplugd Available versions: 0.28-r9 [doc selinux] Installed versions: 0.28-r9(11:14:57 12/18/10)(-doc) Homepage:

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread Neil Bothwick
On Tue, 30 Sep 2014 13:49:44 +0200, meino.cra...@gmx.de wrote: If you use openrc, you only need to install one of these programs, not configure or set it to run. OpenRC detects that one of these programs is available and uses it to do exactly what you need. Unfortunately, ntp-client is

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread Mick
On Tuesday 30 Sep 2014 12:49:44 meino.cra...@gmx.de wrote: Neil Bothwick n...@digimed.co.uk [14-09-30 12:44]: On Tue, 30 Sep 2014 12:39:06 +0200, meino.cra...@gmx.de wrote: [I] sys-apps/ifplugd Available versions: 0.28-r9 [doc selinux]

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread Mick
On Tuesday 30 Sep 2014 13:09:55 Neil Bothwick wrote: On Tue, 30 Sep 2014 13:49:44 +0200, meino.cra...@gmx.de wrote: If you use openrc, you only need to install one of these programs, not configure or set it to run. OpenRC detects that one of these programs is available and uses it to do

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread Neil Bothwick
On Tue, 30 Sep 2014 13:16:48 +0100, Mick wrote: Do you know of any difference between netplug and ifplug? Pros Cons kind of thing, or are they identical in their operation? I installed ifplugd and it just worked, so I've never tried netplug. But openrc does the work now, it just uses those

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread Kerin Millar
On 30/09/2014 12:49, meino.cra...@gmx.de wrote: Neil Bothwick n...@digimed.co.uk [14-09-30 12:44]: On Tue, 30 Sep 2014 12:39:06 +0200, meino.cra...@gmx.de wrote: [I] sys-apps/ifplugd Available versions: 0.28-r9[doc selinux] Installed versions: 0.28-r9(11:14:57

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread meino . cramer
Kerin Millar kerfra...@fastmail.co.uk [14-09-30 15:08]: On 30/09/2014 12:49, meino.cra...@gmx.de wrote: Neil Bothwick n...@digimed.co.uk [14-09-30 12:44]: On Tue, 30 Sep 2014 12:39:06 +0200, meino.cra...@gmx.de wrote: [I] sys-apps/ifplugd Available versions: 0.28-r9

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread Kerin Millar
On 30/09/2014 14:46, Kerin Millar wrote: On 30/09/2014 14:42, meino.cra...@gmx.de wrote: Kerin Millar kerfra...@fastmail.co.uk [14-09-30 15:08]: On 30/09/2014 12:49, meino.cra...@gmx.de wrote: Neil Bothwick n...@digimed.co.uk [14-09-30 12:44]: On Tue, 30 Sep 2014 12:39:06 +0200,

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread Neil Bothwick
On Tue, 30 Sep 2014 14:46:46 +0100, Kerin Millar wrote: depend() { before cron portmap after eth0 use dns logger } for after XYZ I set net net.eth0 eth0 and none worked for me... Using 'after' won't work unless both net.eth0

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread Kerin Millar
On 30/09/2014 14:58, Neil Bothwick wrote: On Tue, 30 Sep 2014 14:46:46 +0100, Kerin Millar wrote: depend() { before cron portmap after eth0 use dns logger } for after XYZ I set net net.eth0 eth0 and none worked for me... Using 'after' won't

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread Kerin Millar
On 30/09/2014 14:42, meino.cra...@gmx.de wrote: Kerin Millar kerfra...@fastmail.co.uk [14-09-30 15:08]: On 30/09/2014 12:49, meino.cra...@gmx.de wrote: Neil Bothwick n...@digimed.co.uk [14-09-30 12:44]: On Tue, 30 Sep 2014 12:39:06 +0200, meino.cra...@gmx.de wrote: [I] sys-apps/ifplugd

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread Neil Bothwick
On Tue, 30 Sep 2014 15:00:39 +0100, Kerin Millar wrote: Using 'after' won't work unless both net.eth0 and ntp-client are in the default runlevel. Obviously, that condition is not satisfied if you are using ifplugd. Please try the solution mentioned in my previous post. It should work.

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread Kerin Millar
On 30/09/2014 15:03, Neil Bothwick wrote: On Tue, 30 Sep 2014 15:00:39 +0100, Kerin Millar wrote: Using 'after' won't work unless both net.eth0 and ntp-client are in the default runlevel. Obviously, that condition is not satisfied if you are using ifplugd. Please try the solution mentioned in

Re: [gentoo-user] another headless device-question: In search of the LAN

2014-09-30 Thread meino . cramer
Kerin Millar kerfra...@fastmail.co.uk [14-09-30 16:04]: On 30/09/2014 14:58, Neil Bothwick wrote: On Tue, 30 Sep 2014 14:46:46 +0100, Kerin Millar wrote: depend() { before cron portmap after eth0 use dns logger } for after XYZ I set net