HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- difference between cat /proc/net/nicinfo/eth0.info...
Operating System - Linux
1829550
Members
2066
Online
109992
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
07-09-2004 04:45 AM
07-09-2004 04:45 AM
Hi guys,
these two commands send back different values for the speed/duplex.
Which is the correct one ?
Thankx
[root@lx001082 init.d]# cat /proc/net/nicinfo/eth0.info
Description HP NC7781 Gigabit Server Adapter
Driver_Name bcm5700
Driver_Version 6.2.17a
Bootcode_Version 5703-v2.33
System_Device_Name eth0
.../...
Auto_Negotiate on
.../...
Speed 100
Duplex half
Flow_Control off
State up
MTU_Size 1500
AND
[root@lx001082 init.d]# /sbin/mii-tool -v eth0
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 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
these two commands send back different values for the speed/duplex.
Which is the correct one ?
Thankx
[root@lx001082 init.d]# cat /proc/net/nicinfo/eth0.info
Description HP NC7781 Gigabit Server Adapter
Driver_Name bcm5700
Driver_Version 6.2.17a
Bootcode_Version 5703-v2.33
System_Device_Name eth0
.../...
Auto_Negotiate on
.../...
Speed 100
Duplex half
Flow_Control off
State up
MTU_Size 1500
AND
[root@lx001082 init.d]# /sbin/mii-tool -v eth0
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 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2004 12:07 PM
07-11-2004 12:07 PM
Solution
Hello Vincent,
/proc/net/nicinfo/eth0.info does not come with all NIC drivers. I'm confident that information returned by mii-tool or ethtool is accurate.
Good luck,
Kodjo
(C'est la 1ere fois qu'on se croise sur ce forum. Je suis moins assidu que par le passé, manque de temps. A+
/proc/net/nicinfo/eth0.info does not come with all NIC drivers. I'm confident that information returned by mii-tool or ethtool is accurate.
Good luck,
Kodjo
(C'est la 1ere fois qu'on se croise sur ce forum. Je suis moins assidu que par le passé, manque de temps. A+
Learn and explain...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2004 12:19 PM
07-11-2004 12:19 PM
Re: difference between cat /proc/net/nicinfo/eth0.info and /sbin/mii-tool -v eth0
Much to my chargin, it appears as if 'ethtool' is a bit more reliable. I'm yet to see 'mii-tool' report giga-bit connections.
One long-haired git at your service...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2004 05:22 AM
07-12-2004 05:22 AM
Re: difference between cat /proc/net/nicinfo/eth0.info and /sbin/mii-tool -v eth0
hi,
It seems that ethtool reports in this case :
Supports auto-negotiation: Yes
Advertised link modes: Not reported
Advertised auto-negotiation: No
Speed: 100Mb/s
Duplex: Half
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
So the mii-tool will go to the trash...
It seems that ethtool reports in this case :
Supports auto-negotiation: Yes
Advertised link modes: Not reported
Advertised auto-negotiation: No
Speed: 100Mb/s
Duplex: Half
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
So the mii-tool will go to the trash...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP