Network questions

H.S. hs.samix at
Wed Mar 11 02:03:48 UTC 2009

Mark Haney wrote:
> Asif Iqbal wrote:
>> On Tue, Mar 10, 2009 at 3:05 PM, Mark Haney <mhaney at> wrote:
>>> Asif Iqbal wrote:
>>>>>>              ethtool -s <interface> speed 100 duplex full autoneg off
>>>>>> Is there a way I can modify the interfaces file to stick these options, as
>>>>>> well,
>>>>>> short of writing a init script?
>>> You know, it's amazing what a little trip to google will do.
>>> Try to google these things before coming to the list with something that
>>>  was answered a decade ago before there were GUIs for everything.
>> So I do have to write init script for the speed and duplex setting to
>> survive the reboot. That is what I suspected if you read my email
>> carefully.
> Really? Did you /read/ the link I sent you?  Obviously not.  Okay, well
> I'll hold your hand then.  No, you do not need to write an init script
> for that.  There are VERY FEW things that need that kind of expertise to
> do any more.  This has been an option for a decade at least.  Here's how
> you do it:
> #
> # File: /etc/sysconfig/network-scripts/ifcfg-eth0
> #
> DEVICE=eth0
> BOOTPROTO=static
> ONBOOT=yes
> ETHTOOL_OPTS="speed 100 duplex full autoneg off"
> See the last line?  (In case you missed that part, too.) That line
> passes the ethtool parms to the NIC at initialization time either at
> boot (as in the case of this one) or whenever you bring the interface up.

Are you on a Redhat based system? If not, have you verified the above is
valid on an Ubuntu system? Could you provide the URL that shows the
above lines w.r.t. Ubuntu or Debian?

> I ask again nicely.  Google this stuff first before you ask the list.
> We're hear to help /after/ you've done all the research you can do based
> on your knowledge level.  We're not here to do it for you, we're here to
> help you learn it for yourself.

Please see my other post where I give some links to how to go about this
stuff in Ubuntu (or in Debian based systems).

You see, just google searching is not enough, as you have proved above.
One has to search within the proper context which can be not obvious to
a noobie.


Please reply to this list only. I read this list on its corresponding
newsgroup on Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.

More information about the ubuntu-users mailing list