X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-in-12.arcor-online.net (mail-in-12.arcor-online.net [151.189.21.52]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 42C05DC00BA for ; Wed, 31 Oct 2012 15:45:55 +0000 (UTC) Received: from mail-in-18-z2.arcor-online.net (mail-in-18-z2.arcor-online.net [151.189.8.35]) by mx.arcor.de (Postfix) with ESMTP id 2BF99262FB for ; Wed, 31 Oct 2012 16:45:54 +0100 (CET) Received: from mail-in-01.arcor-online.net (mail-in-01.arcor-online.net [151.189.21.41]) by mail-in-18-z2.arcor-online.net (Postfix) with ESMTP id 26C483480E7 for ; Wed, 31 Oct 2012 16:45:54 +0100 (CET) Received: from [192.168.16.209] (85-127-143-28.dynamic.xdsl-line.inode.at [85.127.143.28]) (Authenticated sender: panthera.tigris@arcor.de) by mail-in-01.arcor-online.net (Postfix) with ESMTPA id CA5365A810 for ; Wed, 31 Oct 2012 16:45:53 +0100 (CET) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-01.arcor-online.net CA5365A810 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1351698354; bh=iHbA3XjZr7lNY23ODoDS0bM1xnuOyQ9CLQgUvj/RKVg=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=Bo0G3XQfvARO7Mu3OpxCpEmiJlh4xhZ18mV7e5qTQjympBg4rL4aQ2RNeCpunOPhq JcoBArz8SH9Vgmh4o1Xej6DKnnU8qxuD+5+DDUdL9BZCyqS4J/328XTNNtVJ4JpikB erZRQRr/IhQk+aW2GFhd4VK0Aa5KSDCDCAWYwAnw= Message-ID: <509147AC.8030105@arcor.de> Date: Wed, 31 Oct 2012 16:45:48 +0100 From: Der Tiger User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: "alpine-devel@lists.alpinelinux.org" Subject: [alpine-devel] [Alpine 2.4] Network Interface Hotplugging Detection Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit It seems Alpine does not detect link up and down events on NICs. My Alpine system has two NICs (Intel and RealTek) installed, which both work fine as long as the link stays up. If I disconnect one of the cables, the link goes down, as can be expected. Once the cable is reconnected, the link stays down and dhcpcd won't renew the ip address from an external DHCP server, even if I manually trigger a renew. Alpine therefore ignores any link state changes. AFAIK, link up and down events are usually handled by daemons like ifplugd (http://linux.die.net/man/8/ifplugd), netplugd (http://linux.die.net/man/8/netplugd) or hotplug (http://linux.die.net/man/8/hotplug). Unfortunately I cannot find any of those tools available as installable package for Alpine. Is there any other way Alpine is supposed to handle link up and down events (e.g. directly by the kernel)? Does link event handling on Alpine require a certain configuration (apart from /etc/network/interfaces) in order to work properly? If, at this stage, Alpine doesn't handle link up and down events on NICs at all, I will gladly contribute one of the utilities mentioned above as installable package. On the other hand, if there is a solution allready in place, which is just not configured properly on my system, I'd rather use the solution available than create a redundant package. Thank you for your input! Regards, Tiger --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---