- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to find out the speed of LAN interface
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2004 10:01 PM
тАО06-07-2004 10:01 PM
Is there a command to find out the speed at which a LAN interface is running in SuSE Linux.
I could locate two interfaces at 100 Mbps in dmesg (not sure if thats the correct method) , Still I could not locate the other two interfaces installed on my Node.
I hv four ethernet adapters in my node , And i want to check at what speed they are running.
Regds,
Kaps
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2004 10:30 PM
тАО06-07-2004 10:30 PM
Re: How to find out the speed of LAN interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2004 10:34 PM
тАО06-07-2004 10:34 PM
Re: How to find out the speed of LAN interface
I need more help !
# mii-tool -v
SIOCGMIIPHY on 'eth0' failed: Operation not supported
SIOCGMIIPHY on 'eth1' failed: Operation not supported
no MII interfaces found
#
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2004 10:45 PM
тАО06-07-2004 10:45 PM
Re: How to find out the speed of LAN interface
In this case, I think it is dependent on what device you have. I know for some cards the only way you can know is to set the value yourself at boot time.
Can you tell us what cards you have.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2004 11:04 PM
тАО06-07-2004 11:04 PM
Re: How to find out the speed of LAN interface
I normally work on HPUX & AIX not Linux. Hence I collected the following details from dmesg. If u could space some more time to let me know what command u would like me to use,
dmesg says,
*************************
eth2: OEM i82557/i82558 10/100 Ethernet, 00:02:B3:BC:9E:0B, IRQ 18.
Board assembly a57171-003, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
Secondary interface chip i82555.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0xb874c1d3).
eth3: OEM i82557/i82558 10/100 Ethernet, 00:02:B3:BC:9E:0C, IRQ 19.
Board assembly a57171-003, Physical connectors present: RJ45
Primary interface chip i82555 PHY #1.
Secondary interface chip i82555.
General self-test: passed.
Serial sub-system self-test: passed.
Internal registers self-test: passed.
ROM checksum self-test: passed (0xb874c1d3).
eth0: Broadcom BCM5703 1000Base-T found at mem f8ff0000, IRQ 24, node addr 00096b8cdeac
eth0: Broadcom BCM5703 Integrated Copper transceiver found
eth0: Scatter-gather ON, 64-bit DMA ON, Tx Checksum ON, Rx Checksum ON
eth1: Broadcom BCM5703 1000Base-T found at mem f8fe0000, IRQ 25, node addr 00096b8cdead
eth1: Broadcom BCM5703 Integrated Copper transceiver found
eth1: Scatter-gather ON, 64-bit DMA ON, Tx Checksum ON, Rx Checksum ON
bcm5700: eth0 NIC Link is UP, 100 Mbps full duplex
bcm5700: eth1 NIC Link is UP, 100 Mbps full duplex
*************************
From here i could make out eth0 & eth1 are running at 100 Mbps Full Duplex but no info regarding eth3 & 4.
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2004 11:06 PM
тАО06-07-2004 11:06 PM
Re: How to find out the speed of LAN interface
read man for more info...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2004 11:08 PM
тАО06-07-2004 11:08 PM
Re: How to find out the speed of LAN interface
Sorry the err came on the wriong node .. On this node mii-tool -v gives me,
eth0: 100 Mbit, full duplex, link ok
product info: vendor 00:08:18, model 22 rev 2
basic mode: 100 Mbit, full duplex
basic status: link ok
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD
eth1: 100 Mbit, full duplex, link ok
product info: vendor 00:08:18, model 22 rev 2
basic mode: 100 Mbit, full duplex
basic status: link ok
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD
eth2: negotiated 100baseTx-FD flow-control, link ok
product info: Intel 82555 rev 4
basic mode: autonegotiation enabled
basic status: autonegotiation complete, link ok
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
eth3: no link
product info: Intel 82555 rev 4
basic mode: autonegotiation enabled
basic status: no link
capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
advertising: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
But it doesn't show at what speed eth3 & 4 are running , basic mode is Auto negotiation .. How can I find at what speed they have negotiated ?.
Regds,
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2004 11:10 PM
тАО06-07-2004 11:10 PM
Re: How to find out the speed of LAN interface
# man ethtool
No manual entry for ethtool
# which ethtool
#
I hope it is on a diffrent OS not SuSE Linux
Or is it a freeware which i can download and use ?.
Kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2004 11:23 PM
тАО06-07-2004 11:23 PM
Re: How to find out the speed of LAN interface
call ethtool shipped with redhat installation CD.
you can download the precompiled tar.gz from:
http://sourceforge.net/project/showfiles.php?group_id=3242&package_id=19201&release_id=172583
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2004 11:26 PM
тАО06-07-2004 11:26 PM
Re: How to find out the speed of LAN interface
you can search for flags listed in
modinfo ETH_MODULE_NAME
using
find /proc/ -type f -exec grep -il
or something of that kind.
Pax, R>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-07-2004 11:51 PM
тАО06-07-2004 11:51 PM
Re: How to find out the speed of LAN interface
Doesn't look like it at first glance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2004 02:02 AM
тАО06-08-2004 02:02 AM
SolutionRemember we start at eth0 so the output for eth2 is your third card and it says that it is 100baseTx-FD. eth3 should be your fourth card and it just says "no link" which I would suspect means it isn't plugged into anything.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-09-2004 01:45 AM
тАО06-09-2004 01:45 AM
Re: How to find out the speed of LAN interface
such as
mii-tool -v eth0
If it report operation not supported, then
either the card does not support MII opteration,
or the driver has been configured to single
speed/duplex at initialiation. Check the
/etc/modules.conf file to see which parameters
have been used.
I have network admins who insist on configuring
Cisco routers at 100/Full. However, the MII
announcement in this case is 100/Half, so we
initialize the cards to 100/Full.
If the card reinitializes, mii-tool starts
telling us what the settings are and we
have a duplex mismatch.