Thursday, 21 April 2011

Forcing ethernet duplex and speed during startup on linux (Suse)

a) Modify /etc/sysconfig/network/config file to have
  following options set to 'yes'.


b) Create a script file (E.g, ethtool-settings) in
  /etc/sysconfig/network/if-up.d directory with required ethtool commands.

E.g, the file can contain the following ethtool command -

  /usr/sbin/ethtool -s ethX speed 10

c) Set the mode of the file to 755.
#chmod +755 ethtool-settings

No comments:

Post a Comment