Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Hi all,
I wanna know is there a way to know the speed between the ethernet card and router. Specifically if the router is limited to 10 Mbps or something (speed)
Speed of ethernet card is 10/100 Mbps depending on the other side of the link .
Code:
$ sudo ethtool eth1
[sudo] password for shirish:
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 32
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: pumbg
Wake-on: d
Current message level: 0x00000007 (7)
Link detected: yes
Another way
Code:
$ sudo mii-tool -v eth1
eth1: negotiated 100baseTx-FD, link ok
product info: vendor 00:00:00, model 0 rev 0
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
link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
From the above it can be seen it seems to be auto-negotiated at 10 Mbps.
Am I reading it right or wrong?
If there is someway to explicitly know what speed is the router able to transfer data between itself and the ethernet card (apart from the derived logic)
why do you think it's 10? ethtool and mii-tool both clearly state it's 100...
"able to" is a vague thing... you will naturally never get 100mbps in reality, but 80mbps should be realistic assuming it's a direct link with no other machines switching across that layer 2 path. what really matters is what data you actually have to transfer in the first place. If you have enough data to shift between the two points then you can just see for yourself using all manner of tools, like iptraf.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.