On Fri, 2008-10-31 at 21:48 +0100, David Paleino wrote: > On Mon, 27 Oct 2008 17:21:08 -0700, Josh Triplett wrote: > > mii-tool doesn't seem to detect link correctly on my system. With no > > wire connected: > > > > $ sudo mii-tool eth0 > > SIOCGMIIREG on eth0 failed: Input/output error > > SIOCGMIIREG on eth0 failed: Input/output error > > eth0: negotiated 100baseTx-FD flow-control, link ok > > Same output here. > > > If it helps, my wired card uses the e1000e driver. > > Same driver here. > > > ethtool seems to work correctly: > > > > $ sudo ethtool eth0 > > Settings for eth0: > > Kinda same output here. > > This seems like the best environment to do bug triaging! ;)
Yeah. :) > > However, wicd doesn't seem to obey the setting that tells it to use > > ethtool explicitly rather than mii-tool (reported as bug 503745), so I > > can't seem to force it to use ethtool. > > I've set that to "Automatic". Yeah, I started with it set to Automatic. > > if bug 503745 gets fixed, and making wicd use ethtool fixes my > > problem, then this bug does not lie with wicd; however, wicd might > > still want to use a more reliable mechanism for link detection. If > > using ethtool does not fix the problem, then this bug still applies. > > With "Automatic" set, I've just plugged in my eth cable: wicd switched to the > wired network. I plugged the cable off, and it went to my wifi again. This is > the expected behaviour, I suppose! :) > > Please, try these same steps with link detection set to "Automatic". I originally tried these steps with link detection set to "Automatic"; I only tried changing it to see if that would fix the problem. If I plug in a wire, wicd doesn't notice; it just stays on wireless. If I manually switch it to wired, it does connect. If I then unplug the wire, wicd doesn't notice. - Josh Triplett
signature.asc
Description: This is a digitally signed message part

