Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How do I find out whether a network connection is full or half duplex?

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

You can use mii-tool :

$ sudo mii-tool 
eth0: negotiated 100baseTx-FD flow-control, link ok

'FD' is full duplex. 'HD' would represent half. For those who haven't seen this, it's because it generally represents a network problem -- you should always see and expect full.

If you don't have mii-tool installed, it is in the net-tools package:

$ dpkg -S mii-tool
net-tools: /usr/share/man/man8/mii-tool.8.gz
net-tools: /sbin/mii-tool

I believe it is included with a base install, however.

In some cases, dmesg will be sufficient.
Identify your local interface and check dmesg:

$ dmesg | grep -i duplex
[   31.920900] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx
share|improve this answer
    
An article that gives more details: cyberciti.biz/faq/… –  N.N. Oct 20 '11 at 18:01
    
@N.N. Ah, it does also talk about ethtool . Not installed by default, but the package is also named ethtool, for those wanting to check it out. –  belacqua Oct 20 '11 at 18:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.