Re: [SLE] ethtool settings on computer boot
From: Sandy Drobic (suse-linux-e_at_japantest.homelinux.com)
Date: 03/01/05
- Previous message: Mike: "Re: [SLE] release of Suse 9.3 ?"
- In reply to: Ryan McCain: "[SLE] ethtool settings on computer boot"
- Next in thread: Stan Glasoe: "Re: [SLE] ethtool settings on computer boot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 01 Mar 2005 21:17:55 +0100 To: suse-linux-e@suse.com
Ryan McCain wrote:
> I've searched the archives of the mailing list but havent found a
> definitive answer to this question. How can I issue this command
> during
> system boot:
>
> ethtool -s eth1 autoneg off duplex full
>
> .. I tried putting it in /etc/boot.local, but apparently boot.local
> runs before the network settings are touched.
If you really need an ugly hack, here's one possibility:
Set up a new service (use /etc/init.d/skeleton as a template) where you
define the required services that need to be started. Something like
-------/etc/init.d/netduplex-------------
### BEGIN INIT INFO
# Provides: netduplex
# Required-Start: $network
# Default-Start: 3 5
# Default-Stop: 0 1 2 6
# Short-Description: Set full duplex connection
# Description: Set full duplex connection after initialization
### END INIT INFO
ethtool -s eth1 autoneg off duplex full
-------/etc/init.d/netduplex-------------
chkconfig netduplex on
There you are, a quick and definitely ugly hack!!
Sandy
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
- Previous message: Mike: "Re: [SLE] release of Suse 9.3 ?"
- In reply to: Ryan McCain: "[SLE] ethtool settings on computer boot"
- Next in thread: Stan Glasoe: "Re: [SLE] ethtool settings on computer boot"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|