X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from ncopa-desktop.nor.wtbts.net (3.203.202.84.customer.cdi.no [84.202.203.3]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nc@alpinelinux.org) by mail.alpinelinux.org (Postfix) with ESMTPSA id 3F105DC037A; Thu, 1 Nov 2012 09:52:46 +0000 (UTC) Date: Thu, 1 Nov 2012 10:52:43 +0100 From: Natanael Copa To: Timo =?ISO-8859-1?Q?Ter=E4s?= Cc: Der Tiger , alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [Alpine 2.4] Network Interface Hotplugging Detection Message-ID: <20121101105243.054f0b66@ncopa-desktop.nor.wtbts.net> In-Reply-To: <1351715904.10131.2.camel@Nokia-N900> References: <509147AC.8030105@arcor.de> <20121031205406.79aa5da2@ncopa-laptop.res.nor.wtbts.net> <509188C2.7080209@arcor.de> <1351715904.10131.2.camel@Nokia-N900> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.13; x86_64-unknown-linux-gnu) X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Wed, 31 Oct 2012 22:38:24 +0200 Timo Ter=C3=A4s wrote: > Hi, >=20 > > > > It seems Alpine does not detect link up and down events on NICs. > > > What kernel is it? > > That's 3.4.13, but I can reproduce the behaviour at least down to > > 3.3. >=20 > Kernel detects it for me. But often dhcpd exits if it does not get > lease within some time. I suppose you mean dhcpcd. > > > > AFAIK, link up and down events are usually handled by daemons > > > > like ifplugd, netplugd or hotplug > > > add dhcpcd to that list. > > Didn't know that. That's, of course, a lead to follow. I'm going to > > check the dhcpcd configuration, tomorrow. >=20 > I just configured my dhcpd to never exit, and it handles the link > state changes properly. >=20 > But if you want net specific static ip or dhcp params you probably > need one of those hotplug things. dhcpcd can be configured to set static ip too on link detection. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---