[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#496647: netcfg: ethtool-lite incorrectly reports status of e1000e iface on HP 2510p



On Tuesday 26 August 2008, Frans Pop wrote:
> After some more testing it looks like the first issue could be solved
> by a longer pause in netcfg.c after bringing the interface up and
> before calling ethtool-lite. Changing usleep(250) to sleep(2) resulted
> in correct selection of the default (a sleep of 1 was not enough).

Another option could be to _not_ bring the link up before calling 
ethtool-lite as link detection seems to work just as well when the link 
is down as when it is up, at least on this laptop. The usleep can then be 
removed as well.

The reason it was added in the first place is unclear (the changelog for 
r22513 just says "fix everything"...).

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


Reply to: