public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Set eth0 parameters via conf.d?
@ 2011-10-14 12:31 Pandu Poluan
  2011-10-14 14:10 ` Jonas de Buhr
  0 siblings, 1 reply; 4+ messages in thread
From: Pandu Poluan @ 2011-10-14 12:31 UTC (permalink / raw
  To: gentoo-user

Is it possible to set eth0 parameters (e.g., txqueuelen) via /etc/conf.d/net ?

Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Set eth0 parameters via conf.d?
  2011-10-14 12:31 [gentoo-user] Set eth0 parameters via conf.d? Pandu Poluan
@ 2011-10-14 14:10 ` Jonas de Buhr
       [not found]   ` <CAA2qdGWccMcK=33_tTRkMwt1DrM4hNnwPrX9c1nyjntV-yMkYA@mail.gmail.com>
  0 siblings, 1 reply; 4+ messages in thread
From: Jonas de Buhr @ 2011-10-14 14:10 UTC (permalink / raw
  To: gentoo-user

Am Fri, 14 Oct 2011 19:31:57 +0700
schrieb Pandu Poluan <pandu@poluan.info>:

> Is it possible to set eth0 parameters (e.g., txqueuelen)
> via /etc/conf.d/net ?

yes, set:

txqueuelen_eth0="1000"

or whichever value you want. have a look at 

/usr/share/doc/openrc-0.8.3-r1/net.example.bz2

your version of openrc may be different. in that case try 

locate net.example

/jonas



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Set eth0 parameters via conf.d?
       [not found]   ` <CAA2qdGWccMcK=33_tTRkMwt1DrM4hNnwPrX9c1nyjntV-yMkYA@mail.gmail.com>
@ 2011-10-14 14:39     ` Pandu Poluan
  2011-10-14 15:56       ` Jonas de Buhr
  0 siblings, 1 reply; 4+ messages in thread
From: Pandu Poluan @ 2011-10-14 14:39 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 616 bytes --]

On Oct 14, 2011 9:12 PM, "Jonas de Buhr" <jonas.de.buhr@gmx.net> wrote:
>
> Am Fri, 14 Oct 2011 19:31:57 +0700
> schrieb Pandu Poluan <pandu@poluan.info>:
>
> > Is it possible to set eth0 parameters (e.g., txqueuelen)
> > via /etc/conf.d/net ?
>
> yes, set:
>
> txqueuelen_eth0="1000"
>

Ah , thanks!

So, basically, any parameter settable using 'ip link set' can be declared as
<parameter>_eth0?

> or whichever value you want. have a look at
>
> /usr/share/doc/openrc-0.8.3-r1/net.example.bz2
>
> your version of openrc may be different. in that case try
>
> locate net.example
>

I'm using openrc-0.9.3-r1

Rgds,

[-- Attachment #2: Type: text/html, Size: 930 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Set eth0 parameters via conf.d?
  2011-10-14 14:39     ` Pandu Poluan
@ 2011-10-14 15:56       ` Jonas de Buhr
  0 siblings, 0 replies; 4+ messages in thread
From: Jonas de Buhr @ 2011-10-14 15:56 UTC (permalink / raw
  To: gentoo-user

Am Fri, 14 Oct 2011 21:39:15 +0700
schrieb Pandu Poluan <pandu@poluan.info>:

> On Oct 14, 2011 9:12 PM, "Jonas de Buhr" <jonas.de.buhr@gmx.net>
> wrote:
> >
> > Am Fri, 14 Oct 2011 19:31:57 +0700
> > schrieb Pandu Poluan <pandu@poluan.info>:
> >
> > > Is it possible to set eth0 parameters (e.g., txqueuelen)
> > > via /etc/conf.d/net ?
> >
> > yes, set:
> >
> > txqueuelen_eth0="1000"
> >
> 
> Ah , thanks!
> 
> So, basically, any parameter settable using 'ip link set' can be
> declared as <parameter>_eth0?

i'm not sure about that, give it a try ;)

> I'm using openrc-0.9.3-r1

then the example file you should read should be located at

/usr/share/doc/openrc-0.9.3-r1/net.example.bz2



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-10-14 15:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-14 12:31 [gentoo-user] Set eth0 parameters via conf.d? Pandu Poluan
2011-10-14 14:10 ` Jonas de Buhr
     [not found]   ` <CAA2qdGWccMcK=33_tTRkMwt1DrM4hNnwPrX9c1nyjntV-yMkYA@mail.gmail.com>
2011-10-14 14:39     ` Pandu Poluan
2011-10-14 15:56       ` Jonas de Buhr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox