Operating System - Linux
1827892 Members
1927 Online
109969 Solutions
New Discussion

LINUX AS 3 R4 DUPLEX SETTING

 
John Ketron
Occasional Contributor

LINUX AS 3 R4 DUPLEX SETTING

how can I force the duplex setting to 100 full or even see what it is at right now. I cannot use mii-tool or ethtool, both do not work
4 REPLIES 4
Stuart Browne
Honored Contributor

Re: LINUX AS 3 R4 DUPLEX SETTING

What network card is in the server?

Those two tools work on 90% of the drivers Linux provides.

The output of 'lsmod' and 'lspci' will probably be of help there.

In any case, your info will hopefully be in the 'dmesg' buffer, or in '/var/log/dmesg'.
One long-haired git at your service...
Gopi Sekar
Honored Contributor

Re: LINUX AS 3 R4 DUPLEX SETTING


when the driver is loaded and ip address configured most of the drivers will give what is the speed at which they are working. these messages are generally sent to kernel messages (dmesg) and /var/log/messages.

Gopi
Never Never Never Giveup
Ross Minkov
Esteemed Contributor

Re: LINUX AS 3 R4 DUPLEX SETTING


Add options directive in /etc/modules.conf to set the speed and the duplex. For example here is /etc/modules.conf from one of my servers:

# cat /etc/modules.conf
alias eth0 e1000
alias eth1 e1000
alias eth2 e1000
alias eth3 e1000
options e1000 Speed=100,100,100,100 Duplex=2,2,2,2
alias eth4 tg3
alias scsi_hostadapter cciss
alias usb-controller usb-ohci


HTH,
Ross
Steven E. Protter
Exalted Contributor

Re: LINUX AS 3 R4 DUPLEX SETTING

If the switch is programmed for autonegotiate and is a full duplex switch/hub.

And the card is modern, you should not have to do anything to go full duplex.

The preferred methodology is autonegotiate.

I would stop trying to force full duplex and investigate the wiring,switch and other infrastructure to figure out why you are not getting full duplex with auto negotiate.

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