lkml.org 
[lkml]   [2003]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [ANNOUNCE] netplug, a daemon that handles network cables getting plugged in and out
Date
David T Hollis <dhollis@davehollis.com> writes:

>>Thank you, thank you, thank you. I was just thinking today how
>>annoying it is that whenever I boot up my laptop, dhclient runs and tries
>>to get an IP address on the ethernet interface until it's ^C'd. Since
>>I often use the Ethernet interface this is not a bad default, but dhclient
>>can't even realize on its own that there's no cable plugged in.
>
> Hmm, that seems to raise the question - why doesn't dhclient just
> handle that? On a DHCP interface, it's running anyway. if it paid
> attention to link status, it would know when to re-request an IP. If
> you are statically assigned, you don't really care anyway.

Well, sometimes it's better to not have the interface configured UP
when there's no cable connected. It avoids some very long timeouts
when some program tries to connect to something. It's better to just
get a host unreachable error immediately.

--
Måns Rullgård
mru@users.sf.net

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:48    [W:0.030 / U:0.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site