Results 1 to 2 of 2

Thread: load ethtool options on startup

  1. #1

    Default load ethtool options on startup

    Hi there!

    I need to set speed and duplex mode of my network adapter manually with ethtool like:
    Code:
    sudo /sbin/ethtool -s eth0 autoneg off speed 100 duplex full
    How can I force SUSE to use these settings automatically on startup, so I don't have to do it by hand every time I restart? Where is the right place/file to add these options?

    btw. using openSUSE 11.3

    Thanks in advance!
    Andreas

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,720

    Default Re: load ethtool options on startup

    Create the file /etc/init.d/after.local (if it does not allready exist) and put it there. Without the sudo, statements here are run as root at the end of the startup sequence.
    Henk van Velden

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •