April 12, 2008

Control network speed

we can control the speed of the the enthernet card by using the " ethtool "
which allow us to configure Ethernet card on Fedora :)

common options

-s  ---> allows changing some or all settings of the specified Ethernet device. All following options only apply if -s was specified.

speed 10|100|1000 ---> Set speed in Mb/s. ethtool with single argument will show you the supported device speeds.

duplex half|full --> Set full or half duplex mode.

port tp|aui|bnc|mii ---> Select device port.

autoneg on|off ---> Specify if autonegotiation is enabled.

In the usual case it is, but might cause some problems with some network devices, so you can turn it off.

Example :

# ethtool -s eth0 speed 100 duplex full autoneg off

--
Thanks
Mohamed Nasr

No comments: