Detecting link state in dhcpc...

Jason Schoon floydpink at gmail.com
Sat Feb 10 18:35:13 UTC 2007


On 2/10/07, Denis Vlasenko <vda.linux at googlemail.com> wrote:
>
> On Friday 09 February 2007 03:04, David Daney wrote:
> > I recall reading on the list recently that someone was thinking about
> > modifying dhcpc to do nice things when the link state changes.
> >
> > Has this been done?
> >
> > If not, I think I will be doing it very soon.
>
> Why do you need this?
>
> Windows have such a behavior (of severing all TCP connections
> whenever I need to unplug my network cable for 5 seconds)
> and it is _awful_.
>
> I hope you plan to implement something less annoying then this.


Perhaps he is talking more along the lines of doing an automatic renewal
when a link is upped.  For example, plugging into a new network.  You want
to get a new address on that net, not keep using an old one.  I have
implemented that several times in different DHCP clients.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.busybox.net/pipermail/busybox/attachments/20070210/4093efe9/attachment-0001.htm 


More information about the busybox mailing list