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 51E425C45F2 for ; Wed, 29 Mar 2017 12:38:03 +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 772BB5A0889; Wed, 29 Mar 2017 12:38:02 +0000 (GMT) Date: Wed, 29 Mar 2017 14:37:58 +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: <20170329143758.5dedfb9e@ncopa-desktop.copa.dup.pw> In-Reply-To: References: <7edd13a1-bb39-60d7-c092-7694796260f0@ustc.edu> <20170329103351.53322c1c@ncopa-desktop.copa.dup.pw> 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 20:11:22 +0800 ** wrote: > * 2017/3/29 16:33, Natanael Copa **: > > On Wed, 29 Mar 2017 13:17:45 +0800 > > ** wrote: > > =20 > >> Hi, > >> > >> Udhcpc doesn't respond to hotplug of network cable -- i.e. keep outdat= ed > >> IP address etc. after the machine reconnected with a new cable [1]. > >> > >> Following the suggestion in [1], I installed ifplugd in Alpine, and it > >> does work with udhcpc, i.e. re-configure interface after plug in a cab= le. > >> > >> How about add ifplugd to the repo? Or do you have other solutions? > >> > >> [1] https://dev.openwrt.org/ticket/9367 =20 > > 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. =20 >=20 > Nice solution. Thank you very much! >=20 > I think it would be more convenient to add an option in=20 > `setup-interfaces` script to use > dhcpcd instead of udhcpc. Yeah, but I thought that its not worth it since a simple "apk add dhcpcd" solves it. Might be good to add to documentation though. >=20 > > > > -nc > > > > > > --- > > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > > Help: alpine-devel+help@lists.alpinelinux.org > > --- > > =20 >=20 > Duan, Yao >=20 >=20 >=20 > --- > Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org > Help: alpine-devel+help@lists.alpinelinux.org > --- >=20 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---