On Sun, Dec 26, 2004 at 02:33:13AM +0100, martin f krafft wrote: > The link detection seems to fail with guessnet, because guessnet > seems to take the link down temporarily (for 2-3 seconds). I cannot do > autodetection here, but whether the cable is connected or not, the link > detection always fails (and the missing-cable test therefore succeeds). > If I put mii-tool into watch mode, the following output illustrates > the problem: > guessnet: 1 candidate profiles > guessnet: Interface eth0 was down: initializing for broadcast > guessnet: Link beat not detected > 02:29:28 eth0: no link > Failed to bring up disconnected. > 02:29:30 eth0: autonegotiation failed, link ok > If I remove the guessnet invocation from the mapping, the link does > not go down.
This problem is caused by some network drivers going down and needing lots of time to go up again after being configured. Try working around the problem by adding: map init-time: 5 (or higher numbers) to the mapping stanza of your interfaces file: that asks guessnet to wait for 5 seconds (instead of the default 3 seconds) after bringing up the interface. If it doesn't work with 5 seconds, try with 10 :) At some point, it should work, and you should see the "link ok" message before guessnet terminates. Ciao, Enrico -- GPG key: 1024D/797EBFAB 2000-12-05 Enrico Zini <[EMAIL PROTECTED]>
signature.asc
Description: Digital signature