Network questions

Asif Iqbal vadud3 at gmail.com
Tue Mar 10 23:08:39 UTC 2009


On Tue, Mar 10, 2009 at 5:04 PM, Mark Haney <mhaney at ercbroadband.org> wrote:
> Asif Iqbal wrote:
>> On Tue, Mar 10, 2009 at 3:05 PM, Mark Haney <mhaney at ercbroadband.org> 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.
>>>
>>> http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch03_:_Linux_Networking
>>>
>>> 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

Yes I did. /etc/sysconfig does not exist with ubuntu 8.10.

> I'll hold your hand then.  No, you do not need to write an init script

Please stay technical.

I do not see a dir /etc/sysconfig in ubuntu 8.10. That may have added
my confusion

> 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
> IPADDR=192.168.1.100
> NETMASK=255.255.255.0
> 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.
>
> 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.

Thanks for your help

>
> Geez.
>
>
>
> --
> Frustra laborant quotquot se calculationibus fatigant pro inventione
> quadraturae circuli
>
> Mark Haney
> Sr. Systems Administrator
> ERC Broadband
> (828) 350-2415
>
> Call (866) ERC-7110 for after hours support
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?




More information about the ubuntu-users mailing list