Problem Running mii-tool

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
jdmfontz
Forum Newbie
Posts: 17
Joined: Wed Apr 15, 2009 12:38 pm

Problem Running mii-tool

Post by jdmfontz »

Have a small php script that calls mii-tool, but I am getting this error:

[root@localhost libexec]# mii-tool eth0
SIOCGMIIPHY on 'eth0' failed: Operation not supported

Here is my kernel version:

[root@localhost libexec]# uname -a
Linux localhost.localdomain 2.6.18-128.1.1.el5 #1 SMP Mon Jan 26 13:59:00 EST 2009 i686 i686 i386 GNU/Linux

Here is the latest version of net-tools I have which is the latest for el5:

[root@localhost libexec]# rpm -qa | grep -i net-tools
net-tools-1.60-78.el5
net-tools-debuginfo-1.60-73
[root@localhost libexec]#


I heard that there were problems with mii-tool implementations in kernel version 2.6 and thereafter. There were also talks about a patch, but has not been able to find anything. Does anyone knows of a workaround?
Post Reply