Operating System - Linux
1830884 Members
2171 Online
110017 Solutions
New Discussion

Netcard config : How can I display the Duplex mode from a card...

 
Eckle
Occasional Advisor

Netcard config : How can I display the Duplex mode from a card...

System : Compaq DL350 - Linux 8.0.

Because of communication Pb, I would like to know how to display de duplex (half / Full) and speed that is set on an Ethernet card From the Linux...
ifconfig give many infos but not those...
Does somebody know ???
6 REPLIES 6
Vitaly Karasik_1
Honored Contributor

Re: Netcard config : How can I display the Duplex mode from a card...



ethool eth0

will provide current mode.

See "man ethoool" for more [how to change settings and so on]

As usually in Linux, you have few ways to set NIC parameters:

1) mii-tool [doesn't work for some NIC, for example for Broadcom]

2) in /etc/modules.conf you can use module parameters for setting speed/duplex mode - unfortunately, syntax of such parameters isn't standart


Rgds,
vitaly
Sergejs Svitnevs
Honored Contributor

Re: Netcard config : How can I display the Duplex mode from a card...

Show the link status using "mii-diag" tool.
# mii-diag -a

Regards,
Sergejs
Bill Wood_3
Respected Contributor

Re: Netcard config : How can I display the Duplex mode from a card...

The driver output found from the "dmesg" command will usually display the settings as well.
K.C. Chan
Trusted Contributor

Re: Netcard config : How can I display the Duplex mode from a card...

mii-tool will show something like this:
eth0: negotiated 100baseTx-FD, link ok
Reputation of a thousand years can be determined by the conduct of an hour
Peeyush
Regular Advisor

Re: Netcard config : How can I display the Duplex mode from a card...

try

dmesg | grep eth0

if u want to change its setting u can edit /etc/modules.conf

options eth0 line_speed=100 full_duplex=1


regards
Peeyush
http://geocities.com/peeyush_maurya/
any suggestion for my site.. http://geocities.com/peeyush_maurya/
Steven E. Protter
Exalted Contributor

Re: Netcard config : How can I display the Duplex mode from a card...

service network restart

It displays speed an duplex on newer distributions.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com