On Mon, 2011-03-28 at 01:42 +0200, Vincent Lefevre wrote:
> reopen 619520
> thanks
> 
> On 2011-03-27 23:36:04 +0000, Debian Bug Tracking System wrote:
> > ethtool just reports what the driver says.  Also, the driver should
> > never report link up before the interface is up.
> 
> ethtool says that there is no link even *after* a "ifconfig eth0 up".
> There's definitely something wrong, either in ethtool or in the
> driver.

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.

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