X-Original-To: alpine-devel@lists.alpinelinux.org Received: from newmail.tetrasec.net (unknown [172.21.74.12]) by lists.alpinelinux.org (Postfix) with ESMTP id 73BB45C45EE for ; Wed, 29 Mar 2017 08:33:57 +0000 (GMT) Received: from ncopa-desktop.copa.dup.pw (15.63.200.37.customer.cdi.no [37.200.63.15]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: n@tanael.org) by newmail.tetrasec.net (Postfix) with ESMTPSA id 793DE5A0DC7; Wed, 29 Mar 2017 08:33:56 +0000 (GMT) Date: Wed, 29 Mar 2017 10:33:51 +0200 From: Natanael Copa To: =?ISO-8859-1?B?Kio=?= Cc: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] Udhcpc doesn't respond to hotplug of cable. How about add ifplugd to the repo? Message-ID: <20170329103351.53322c1c@ncopa-desktop.copa.dup.pw> In-Reply-To: <7edd13a1-bb39-60d7-c092-7694796260f0@ustc.edu> References: <7edd13a1-bb39-60d7-c092-7694796260f0@ustc.edu> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.28; x86_64-alpine-linux-musl) 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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, 29 Mar 2017 13:17:45 +0800 ** wrote: > Hi, >=20 > Udhcpc doesn't respond to hotplug of network cable -- i.e. keep outdated= =20 > IP address etc. after the machine reconnected with a new cable [1]. >=20 > Following the suggestion in [1], I installed ifplugd in Alpine, and it=20 > does work with udhcpc, i.e. re-configure interface after plug in a cable. >=20 > How about add ifplugd to the repo? Or do you have other solutions? >=20 > [1] https://dev.openwrt.org/ticket/9367 I suppose the simplest way to solve this would be: apk add dhcpcd dhcpcd monitors link status so it should work out of the box. -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---