Subject: Re: ifwatcher written! [was Re: Getting laptop to auto-dhclient]
To: Brian Grayson (home) <>
From: Thor Lancelot Simon <>
List: tech-net
Date: 10/14/2003 10:42:17
On Mon, Oct 13, 2003 at 09:07:08PM -0500, Brian Grayson (home) wrote:
>   I'm moving this thread to tech-net, because I ran into a problem:
> running dhclient causes the link to send several more RTM_IFINFO
> messages, including making the link go up and down.  So
> when the link comes up, the script runs dhclient, which causes the
> link to go down and come up, which causes ifwatchd to run the script,

I've long considered the tendency of dhclient to configure the interface
down, then up, between each address change, to be a serious bug.  Among
other things, the repeated carrier transitions can cause switches to 
decide the port in question is bad, and it makes the firmware on at least
one ethernet card of which I'm aware completely freak out, because it can't
handle being repeatedly reset like that, particularly not when it's still
initializing or doing media autonegotiation.

 Thor Lancelot Simon	                            
   But as he knew no bad language, he had called him all the names of common
 objects that he could think of, and had screamed: "You lamp!  You towel!  You
 plate!" and so on.              --Sigmund Freud