Mail archive
alpine-devel

Re: [alpine-devel] Udhcpc doesn't respond to hotplug of cable. How about add ifplugd to the repo?

From: 段垚 <duanyao_at_ustc.edu>
Date: Wed, 29 Mar 2017 23:11:10 +0800

在 2017/3/29 20:37, Natanael Copa 写道:
> On Wed, 29 Mar 2017 20:11:22 +0800
> ** <duanyao_at_ustc.edu> wrote:
>
>> * 2017/3/29 16:33, Natanael Copa **:
>>> On Wed, 29 Mar 2017 13:17:45 +0800
>>> ** <duanyao_at_ustc.edu> wrote:
>>>
>>>> Hi,
>>>>
>>>> Udhcpc doesn't respond to hotplug of network cable -- i.e. keep outdated
>>>> 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 cable.
>>>>
>>>> How about add ifplugd to the repo? Or do you have other solutions?
>>>>
>>>> [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.
>> Nice solution. Thank you very much!
>>
>> I think it would be more convenient to add an option in
>> `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.
>

Fair enough :)
>>> -nc
>>>
>>>
>>> ---
>>> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
>>> Help: alpine-devel+help_at_lists.alpinelinux.org
>>> ---
>>>
>> Duan, Yao
>>
>>
>>
>> ---
>> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
>> Help: alpine-devel+help_at_lists.alpinelinux.org
>> ---
>>
>
>
> ---
> Unsubscribe: alpine-devel+unsubscribe_at_lists.alpinelinux.org
> Help: alpine-devel+help_at_lists.alpinelinux.org
> ---
>




---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed Mar 29 2017 - 23:11:10 GMT