From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 1444613838B for ; Tue, 30 Sep 2014 10:19:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7EC0E097B; Tue, 30 Sep 2014 10:18:53 +0000 (UTC) Received: from mail.wraeth.id.au (wraeth.id.au [106.187.101.125]) by pigeon.gentoo.org (Postfix) with ESMTP id 94EB8E0943 for ; Tue, 30 Sep 2014 10:18:52 +0000 (UTC) Received: from localhost (mail.wraeth.id.au [127.0.0.1]) by mail.wraeth.id.au (Postfix) with ESMTP id 49C3014004B for ; Tue, 30 Sep 2014 20:19:01 +1000 (AEST) X-Virus-Scanned: amavisd-new at wraeth.id.au Received: from mail.wraeth.id.au ([127.0.0.1]) by localhost (mail.wraeth.id.au [127.0.0.1]) (amavisd-new, port 10024) with LMTP id XPfAkMhZXMde for ; Tue, 30 Sep 2014 20:19:00 +1000 (AEST) Received: from [10.1.60.19] (unknown [103.6.189.227]) by mail.wraeth.id.au (Postfix) with ESMTPSA id 38A1F140034 for ; Tue, 30 Sep 2014 20:18:59 +1000 (AEST) Message-ID: <542A8387.1030005@wraeth.id.au> Date: Tue, 30 Sep 2014 20:18:47 +1000 From: wraeth User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] another "headless device"-question: In search of the LAN References: <20140930101234.GC3828@solfire> In-Reply-To: <20140930101234.GC3828@solfire> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Archives-Salt: cd08ae4e-1f88-41cb-9cff-c651681f2782 X-Archives-Hash: d7652c14e4f195e8fb2ea40ff70a31a4 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 30/09/14 20:12, meino.cramer@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 net-misc/networkmanager (replacing the dhcpcd service but still making use of the dhcpcd (or, if preferred, dhclient) utility). - -- wraeth Key: 0xB2D9F759 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iF4EAREIAAYFAlQqg4cACgkQXcRKerLZ91lR1QD/QRzj0cc8To2BVRQQr6uFny2a maQkQwy14zwmqV0qFecA/07H01ZAIbOswnX3HMF3SVDcqcxW9K7UxtPKvUSxXDVN =CMvs -----END PGP SIGNATURE-----