Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > AS/ES/WS Basics > Issue <<  16 of 908 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 483
Last update: 05-11-06
Issue:
How do I add ethtool settings to a network device permanently?
Resolution:

ethtool can be used to set options for many types of ethernet devices. The /etc/sysconfig/network-scripts/ifcfg-ethX can have the ethtool settings added to the file so that the settings are in place whenever the device is brought up.

For example, the command :

ethtool -s eth0 speed 100 duplex full autoneg off

will set the eth0 device to 100Mbs, full duplex, with the auto negotiation off. To have the initialization scripts set this every time the eth0 device is brought up, add a line to the /etc/sysconfig/network-scripts/ifcfg-eth0 like this:

ETHTOOL_OPTS="speed 100 duplex full autoneg off"


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > AS/ES/WS Basics > Issue <<   16  of  908  >>