Adrenalin’s Experience

Unix tools I start using in 2010

Posted in Uncategorized by Adrenalin on January 7, 2011

dstat
htop

Linux CentOS how to force 1000megabits ifconfig eth0

Posted in Uncategorized by Adrenalin on January 6, 2011


ethtool -s eth0 speed 1000 duplex full autoneg off
In my case it's peth0.

Other commands:
lspci |grep Ethernet
dmesg |grep eth0
ethtool eth0
ethtool -k eth0
ethtool -S eth0

To make the changes permanent, edit
/etc/sysconfig/network-scripts/ifcfg-eth0
add
ETHTOOL_OPTS="speed 1000 duplex full autoneg off"

Ref:

http://www.cyberciti.biz/tips/howto-linux-add-ethtool-duplex-settings-permanent.html

http://www.centos.org/modules/newbb/viewtopic.php?topic_id=19544&forum=40

http://www.dslreports.com/forum/r22221731-Gigabit-NIC-only-working-as-100meg-in-CentOS

Follow

Get every new post delivered to your Inbox.