On Mon, 2011-03-28 at 06:17 +0200, Vincent Lefevre wrote:
> 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).

So shall I close this again, or do you want to blame some other package
now?

> 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.

The ethtool manual page is not intended as a tutorial about Ethernet.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to