1828316 Members
3595 Online
109976 Solutions
New Discussion

LINUX LAN COMMANDS

 
Chris Chaoman
Occasional Contributor

LINUX LAN COMMANDS

I am trying to change lan speeds on a linux server.

dmesg to ascertain the current speed settings

ethtool -s eth0 speed 100 duplex full

The ethtool command did work. Can anyone advise on what else I need to do please?

Thanks
Chris Chapman
chris.chapman@lexisnexis.co.uk
4 REPLIES 4
Ivan Ferreira
Honored Contributor

Re: LINUX LAN COMMANDS

You can use ethtool to check the speed and duplex of the interface also:

ethtool eth0

If this is a Red Hat/Fedora or some clone, ro make the changes permament, edit:

/etc/sysconfig/network-scripts/ifcfg-eth0

and add:

ETHTOOL_OPTS="speed 100 duplex full autoneg off"
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: LINUX LAN COMMANDS

Shalom Chris,

If these commands fail to help:
1) There could be a wiring problem that forces speed downb.
2) A switch port could be configured for 100 BaseT half duplex or the hub may not be capable of better speeds than this.
3) The LAN card itself could have a hardware problem.

Note that most of these problems are not with your system, but external. It may be time to talk to your networking group.

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

Re: LINUX LAN COMMANDS

Raimo Lesonen_1
Advisor

Re: LINUX LAN COMMANDS

Put 100MB full fuplex for eth0:

mii-tool -F 100baseTx-FD eth0