Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: mii-tool, mii-tool cant find eth0< Next Oldest | Next Newest >
catfish Offline





Group: Members
Posts: 16
Joined: Sep. 2003
Posted: June 21 2005,03:32 QUOTE

On one particular machine I need to run mii-tool to force the link speed (i.e., # mii-tool -F 10baset-hd). However, mii-tool reports "SIOCGMIIPHY on eth0 failed: Operation not supported. no MII interfaces found". Running this command on other OS (FC2, feather linux) works okay and I can proceed with "netcardconfig" to configure eth0.

"netcardconfig" seems to find eth0 and will attempt to DHCP (but it fails because there is no link).

Is there a potential trouble with mii-tool with DSL1.2.1 (running livecd and as root) or does anyone have any suggestions to troubleshoot?

Thanks,
Back to top
Profile PM 
Knuke
Unregistered






Posted: July 01 2005,17:09 QUOTE

I just tried it and it worked for me, but not at first.  When I tried to do it as a user,  I got the same message that you did.  I have a hard drive install, if that makes a difference, and the syntax that I used was:

sudo mii-tool -F 10baseT-HD

Then as a normal user, I checked the setting with the command:

mii-tool

It showed that I was now running eth0 at 10base Half Duplex.

Hope this helps.
Knuke
Back to top
catfish Offline





Group: Members
Posts: 16
Joined: Sep. 2003
Posted: July 04 2005,03:53 QUOTE

Thanks for the response. There must be a difference between the livecd and installed versions of mii-tool as that appears to be the only difference between our tests. I connected my machine to a different switch which doesn't require me to explicitly set the link parameters, and mii-tool still does not run (as root and even though eth0 is up and running).

Can you possibly test on your machine running from the livecd rather than the hd install?

Thanks,
Back to top
Profile PM 
Knuke
Unregistered






Posted: July 06 2005,20:11 QUOTE

Sorry about leaving you out in the cold for a while, but I forgot to follow up on this thread.  You are right about the CD being different.  I just tried it.  I also ran into some other problems using mii-tool on a various different machines, and spent a BUNCH of hours researching the mii-tool.

 What I found was that some machines do not like the --force command, so I started using the --advertise command, and things went much smoother.  I also found that when using the CD, instead of using sudo to give the command, using Xterm as root worked.  It is weird how different syntaxes can make a difference, but that's Linux.  The exact command that I used with the CD was:

mii-tool --advertise=10baseT-HD

Again, I did this using Xterm as root.

Hope this helps!
Knuke
Back to top
Knuke
Unregistered






Posted: July 06 2005,20:17 QUOTE

Short Addendum:

I did have one case where I eveidently played around with mii-tool a bit too much, and the NIC was just stuck on the wrong setting.  I tried mii-tool -r command, but even that didn't work.  I ended up shutting everything down, turning off the power supply, unplugging the network cable, and letting it rest for a minute.  When I rebooted, the NIC came back up at the default 100Mbit setting.  I used mii-tool again to throttle it back to 10Mb, and it worked the way it was supposed to work.  Again, weird...

Knuke
Back to top
5 replies since June 21 2005,03:32 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: mii-tool

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code