How do you tell if your network card is running at 10 or 100 Meg?
THanks,
Jerry
On 1/4/06, Jerry Geis geisj@pagestation.com wrote:
How do you tell if your network card is running at 10 or 100 Meg?
mii-tool is your friend.
-- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center
Jim Perrin wrote:
On 1/4/06, Jerry Geis geisj@pagestation.com wrote:
How do you tell if your network card is running at 10 or 100 Meg?
mii-tool is your friend.
-- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Actually, I don't think mii-tool gives that info (at least, it didn't give the current speed when I tried it). Plus, it's deprecated. ethtool on the otherhand does give that info.
:)
Ben
Actually, I don't think mii-tool gives that info (at least, it didn't give the current speed when I tried it). Plus, it's deprecated. ethtool on the otherhand does give that info.
mii-tool does give the info requested as seen below:
[root@insanity ~]# mii-tool eth0: negotiated 100baseTx-FD, link ok
however ethtool gives significantly more. Apparently I'm a bit behind the times in my networking scripts. I was unaware that mii-tool was considered deprecated. Good to know. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center
Jim Perrin wrote:
Actually, I don't think mii-tool gives that info (at least, it didn't give the current speed when I tried it). Plus, it's deprecated. ethtool on the otherhand does give that info.
mii-tool does give the info requested as seen below:
[root@insanity ~]# mii-tool eth0: negotiated 100baseTx-FD, link ok
however ethtool gives significantly more. Apparently I'm a bit behind the times in my networking scripts. I was unaware that mii-tool was considered deprecated. Good to know. -- Jim Perrin System Architect - UIT Ft Gordon & US Army Signal Center _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Weird. My copy didn't give that:
[root@mis-develop plates]# mii-tool eth0: negotiated, link ok eth1: no link
Ben
On Wed, 4 Jan 2006, Benjamin J. Weiss wrote:
Jim Perrin wrote:
On 1/4/06, Jerry Geis geisj@pagestation.com wrote:
How do you tell if your network card is running at 10 or 100 Meg?
mii-tool is your friend.
Actually, I don't think mii-tool gives that info (at least, it didn't give the current speed when I tried it). Plus, it's deprecated. ethtool on the otherhand does give that info.
mii-tool does not work for 1000 networks either.
On Wednesday 04 January 2006 07:47, Jim Perrin wrote:
On 1/4/06, Jerry Geis geisj@pagestation.com wrote:
How do you tell if your network card is running at 10 or 100 Meg?
mii-tool is your friend.
mii-tool doesnt give you gigabit speeds it will work for 10/100 not 10/100/1000
you can use dmesg and grep to see what was negotiated
dmesg |grep eth eth0: SiS 900 PCI Fast Ethernet at 0xc800, IRQ 217, 00:13:d4:13:00:7b. eth0: Media Link On 100mbps full-duplex eth0: no IPv6 routers present
Dennis
Dennis Gilmore dennis@ausil.us wrote:
mii-tool doesnt give you gigabit speeds it will work for 10/100 not 10/100/1000
Correct, because the Media Independent Interface (MII) PHY (physical chip) specification pre-dates GbE. It was designed for FE.
Ethtool works with the newer GigaBit Interface Converter (GBIC) PHY specification.
Jerry Geis wrote
How do you tell if your network card is running at 10 or 100 Meg?
Do a 'man' on ethtool. Should tell you what you're looking for. -Alan