On 2011-03-28 01:17:18 +0100, Ben Hutchings wrote: > You (or guessnet) are running ethtool immediately after ifconfig, or > using some fixed delay. This is fundamentally unreliable as link > negotation is *asynchronous*. > > The right way to find link state is to listen for link events using > netlink, as Network Manager does.
Thanks, this is OK via netplug (which is based on netlink). FYI, I was using ethtool because this is what some documentation and software use (at least, this is the method used by wicd), and the ethtool man page has no warnings about that. -- Vincent Lefèvre <[email protected]> - Web: <http://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon) -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

