public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] openrc 0.9.4 : opaque warnings
@ 2011-11-28 10:17 Philip Webb
  2011-11-28 10:29 ` Pandu Poluan
  0 siblings, 1 reply; 14+ messages in thread
From: Philip Webb @ 2011-11-28 10:17 UTC (permalink / raw
  To: Gentoo User

Since updating to Openrc 0.9.4 , I'm getting some opaque messages :

(1) When starting eth0 : "You are using a bash array for config_eth0.
This feature will be removed in the future.  Please see net.example
for the correct format for config_eth0".

(2) When starting D-BUS system messages: "Use of the opts variable
is deprecated & will be removed in the future.  Please see extra_commands
or extra_started_commands".

I've looked in the obvious places in /etc , but see nothing relevant.
Can anyone explain what these messages mean ?

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




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

* Re: [gentoo-user] openrc 0.9.4 : opaque warnings
  2011-11-28 10:17 [gentoo-user] openrc 0.9.4 : opaque warnings Philip Webb
@ 2011-11-28 10:29 ` Pandu Poluan
  2011-11-28 10:40   ` Pandu Poluan
                     ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Pandu Poluan @ 2011-11-28 10:29 UTC (permalink / raw
  To: gentoo-user

On Mon, Nov 28, 2011 at 17:17, Philip Webb <purslow@ca.inter.net> wrote:
> Since updating to Openrc 0.9.4 , I'm getting some opaque messages :
>
> (1) When starting eth0 : "You are using a bash array for config_eth0.
> This feature will be removed in the future.  Please see net.example
> for the correct format for config_eth0".
>

Open /etc/conf.d/net

Compare it with /etc/conf.d/net.example

For example:

The old way of writing multiple addresses for eth0 is:
config_eth0=("1.2.3.4" "6.7.8.9")

The new non-bash-array way: config_eth0="1.2.3.4 <newline> 6.7.8.9"

Make sure you rewrite your conf.d files according to the new way.

> (2) When starting D-BUS system messages: "Use of the opts variable
> is deprecated & will be removed in the future.  Please see extra_commands
> or extra_started_commands".
>
> I've looked in the obvious places in /etc , but see nothing relevant.
> Can anyone explain what these messages mean ?
>

The relevant initscript in /etc/init.d is still using opts="..." line.

The newer way is to put the words in opts="..." into
extra_commands="..." or extra_started_commands="..." (both parameters
described in man runscript)

You *can* edit the offending initscript, but it should be the
package's maintainers' responsibility to revise the initscript and
release a new revision.

(That said, a new revision *might* have been released, but still
unstable "~arch". Just wait awhile -- say one or two months -- and
update to the fixed new revision).

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] 14+ messages in thread

* Re: [gentoo-user] openrc 0.9.4 : opaque warnings
  2011-11-28 10:29 ` Pandu Poluan
@ 2011-11-28 10:40   ` Pandu Poluan
  2011-11-28 10:50   ` Neil Bothwick
  2011-11-29 11:41   ` Philip Webb
  2 siblings, 0 replies; 14+ messages in thread
From: Pandu Poluan @ 2011-11-28 10:40 UTC (permalink / raw
  To: gentoo-user

On Mon, Nov 28, 2011 at 17:29, Pandu Poluan <pandu@poluan.info> wrote:
>
>> (2) When starting D-BUS system messages: "Use of the opts variable
>> is deprecated & will be removed in the future.  Please see extra_commands
>> or extra_started_commands".
>>
>> I've looked in the obvious places in /etc , but see nothing relevant.
>> Can anyone explain what these messages mean ?
>>
>
> The relevant initscript in /etc/init.d is still using opts="..." line.
>
> The newer way is to put the words in opts="..." into
> extra_commands="..." or extra_started_commands="..." (both parameters
> described in man runscript)
>
> You *can* edit the offending initscript, but it should be the
> package's maintainers' responsibility to revise the initscript and
> release a new revision.
>
> (That said, a new revision *might* have been released, but still
> unstable "~arch". Just wait awhile -- say one or two months -- and
> update to the fixed new revision).
>

I have to emphasize that YOU SHOULD NOT EDIT THE INITSCRIPT YOURSELF.

The warning is just that: a warning.

Keep your system up-to-date, and the warning will sooner or later go
away (when the relevant package has been updated by the maintainer).

To see which files still use "opts", enter:

grep "^[[:space:]]*opts=" /etc/init.d/* | cut -d : -f 1 | grep -v "\\.sh$"

And to see which packages use the offending initscript:

grep "^[[:space:]]*opts=" /etc/init.d/* | cut -d : -f 1 | grep -v
"\\.sh$" | xargs qfile -CSq | uniq

(Both command snippets taken from this post in f.g.o :
http://forums.gentoo.org/viewtopic-p-6850360.html#6850360 )

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] 14+ messages in thread

* Re: [gentoo-user] openrc 0.9.4 : opaque warnings
  2011-11-28 10:29 ` Pandu Poluan
  2011-11-28 10:40   ` Pandu Poluan
@ 2011-11-28 10:50   ` Neil Bothwick
  2011-11-28 11:50     ` Pandu Poluan
  2011-11-29 11:41   ` Philip Webb
  2 siblings, 1 reply; 14+ messages in thread
From: Neil Bothwick @ 2011-11-28 10:50 UTC (permalink / raw
  To: gentoo-user

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

On Mon, 28 Nov 2011 17:29:26 +0700, Pandu Poluan wrote:

> Open /etc/conf.d/net
> 
> Compare it with /etc/conf.d/net.example

That file should be removed, the elog message states this. The example
file /usr/share/doc/openrc-0.9.4/net.example.


-- 
Neil Bothwick

I thought I saw the light at the end of the tunnel...
but it was just some sod with a torch bringing me more work!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] openrc 0.9.4 : opaque warnings
  2011-11-28 10:50   ` Neil Bothwick
@ 2011-11-28 11:50     ` Pandu Poluan
  2011-11-28 20:01       ` Mick
  0 siblings, 1 reply; 14+ messages in thread
From: Pandu Poluan @ 2011-11-28 11:50 UTC (permalink / raw
  To: gentoo-user

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

On Nov 28, 2011 5:53 PM, "Neil Bothwick" <neil@digimed.co.uk> wrote:
>
> On Mon, 28 Nov 2011 17:29:26 +0700, Pandu Poluan wrote:
>
> > Open /etc/conf.d/net
> >
> > Compare it with /etc/conf.d/net.example
>
> That file should be removed, the elog message states this. The example
> file /usr/share/doc/openrc-0.9.4/net.example.
>

Whoa, you're right!

Gee, how old is OP's system, I wonder?

Rgds,

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

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

* Re: [gentoo-user] openrc 0.9.4 : opaque warnings
  2011-11-28 11:50     ` Pandu Poluan
@ 2011-11-28 20:01       ` Mick
  2011-11-29  1:35         ` Dale
  0 siblings, 1 reply; 14+ messages in thread
From: Mick @ 2011-11-28 20:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 717 bytes --]

On Monday 28 Nov 2011 11:50:30 Pandu Poluan wrote:
> On Nov 28, 2011 5:53 PM, "Neil Bothwick" <neil@digimed.co.uk> wrote:
> > On Mon, 28 Nov 2011 17:29:26 +0700, Pandu Poluan wrote:
> > > Open /etc/conf.d/net
> > > 
> > > Compare it with /etc/conf.d/net.example
> > 
> > That file should be removed, the elog message states this. The example
> > file /usr/share/doc/openrc-0.9.4/net.example.
> 
> Whoa, you're right!
> 
> Gee, how old is OP's system, I wonder?

I update regularly and just got the same message.  I wonder why didn't the dev 
create a symlink from the /etc/conf.d/net.example -> /usr/share/doc/openrc-
<latest_version>/net.example to save a need for the enotice?
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] openrc 0.9.4 : opaque warnings
  2011-11-28 20:01       ` Mick
@ 2011-11-29  1:35         ` Dale
  2011-11-29  1:48           ` Neil Bothwick
  0 siblings, 1 reply; 14+ messages in thread
From: Dale @ 2011-11-29  1:35 UTC (permalink / raw
  To: gentoo-user

Mick wrote:
> On Monday 28 Nov 2011 11:50:30 Pandu Poluan wrote:
>> On Nov 28, 2011 5:53 PM, "Neil Bothwick"<neil@digimed.co.uk>  wrote:
>>> On Mon, 28 Nov 2011 17:29:26 +0700, Pandu Poluan wrote:
>>>> Open /etc/conf.d/net
>>>>
>>>> Compare it with /etc/conf.d/net.example
>>> That file should be removed, the elog message states this. The example
>>> file /usr/share/doc/openrc-0.9.4/net.example.
>> Whoa, you're right!
>>
>> Gee, how old is OP's system, I wonder?
> I update regularly and just got the same message.  I wonder why didn't the dev
> create a symlink from the /etc/conf.d/net.example ->  /usr/share/doc/openrc-
> <latest_version>/net.example to save a need for the enotice?

I used to symlink mine myself but when it changes versions, the link 
breaks.  Now I just use equery f to find the dang thing.  I do wish they 
would put net.example where the net file goes.  Lots easier to find.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!




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

* Re: [gentoo-user] openrc 0.9.4 : opaque warnings
  2011-11-29  1:35         ` Dale
@ 2011-11-29  1:48           ` Neil Bothwick
  2011-11-29  2:54             ` Pandu Poluan
  0 siblings, 1 reply; 14+ messages in thread
From: Neil Bothwick @ 2011-11-29  1:48 UTC (permalink / raw
  To: gentoo-user

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

On Mon, 28 Nov 2011 19:35:02 -0600, Dale wrote:

> > I update regularly and just got the same message.  I wonder why
> > didn't the dev create a symlink from the /etc/conf.d/net.example
> > ->  /usr/share/doc/openrc- <latest_version>/net.example to save a
> > need for the enotice?  

Because that would mean removing the existing file, which is in a
CONFIG_PROTECTed directory.

> I used to symlink mine myself but when it changes versions, the link 
> breaks.  Now I just use equery f to find the dang thing.  I do wish
> they would put net.example where the net file goes.  Lots easier to
> find.

Set DOC_SYMLINKS_DIR in make.conf to save having to chase documentation
when version numbers change.


-- 
Neil Bothwick

STATUS QUO is Latin for "the mess we're in."

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] openrc 0.9.4 : opaque warnings
  2011-11-29  1:48           ` Neil Bothwick
@ 2011-11-29  2:54             ` Pandu Poluan
  2011-11-29  3:08               ` Dale
  0 siblings, 1 reply; 14+ messages in thread
From: Pandu Poluan @ 2011-11-29  2:54 UTC (permalink / raw
  To: gentoo-user

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

On Nov 29, 2011 8:51 AM, "Neil Bothwick" <neil@digimed.co.uk> wrote:
>
> On Mon, 28 Nov 2011 19:35:02 -0600, Dale wrote:
>
> > > I update regularly and just got the same message.  I wonder why
> > > didn't the dev create a symlink from the /etc/conf.d/net.example
> > > ->  /usr/share/doc/openrc- <latest_version>/net.example to save a
> > > need for the enotice?
>
> Because that would mean removing the existing file, which is in a
> CONFIG_PROTECTed directory.
>

Makes sense.

> > I used to symlink mine myself but when it changes versions, the link
> > breaks.  Now I just use equery f to find the dang thing.  I do wish
> > they would put net.example where the net file goes.  Lots easier to
> > find.
>
> Set DOC_SYMLINKS_DIR in make.conf to save having to chase documentation
> when version numbers change.
>

Ahhhh... never knew that before...

*scurries to set said setting

Rgds,

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

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

* Re: [gentoo-user] openrc 0.9.4 : opaque warnings
  2011-11-29  2:54             ` Pandu Poluan
@ 2011-11-29  3:08               ` Dale
  2011-11-29  7:16                 ` Dale
  0 siblings, 1 reply; 14+ messages in thread
From: Dale @ 2011-11-29  3:08 UTC (permalink / raw
  To: gentoo-user

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

Pandu Poluan wrote:
>
>
> On Nov 29, 2011 8:51 AM, "Neil Bothwick" <neil@digimed.co.uk 
> <mailto:neil@digimed.co.uk>> wrote:
> >
> > On Mon, 28 Nov 2011 19:35:02 -0600, Dale wrote:
> >
> > > > I update regularly and just got the same message.  I wonder why
> > > > didn't the dev create a symlink from the /etc/conf.d/net.example
> > > > ->  /usr/share/doc/openrc- <latest_version>/net.example to save a
> > > > need for the enotice?
> >
> > Because that would mean removing the existing file, which is in a
> > CONFIG_PROTECTed directory.
> >
>
> Makes sense.
>
> > > I used to symlink mine myself but when it changes versions, the link
> > > breaks.  Now I just use equery f to find the dang thing.  I do wish
> > > they would put net.example where the net file goes.  Lots easier to
> > > find.
> >
> > Set DOC_SYMLINKS_DIR in make.conf to save having to chase documentation
> > when version numbers change.
> >
>
> Ahhhh... never knew that before...
>
> *scurries to set said setting
>
> Rgds,
>

I set mine to this:

DOC_SYMLINKS_DIR="/etc/config_examples/"

I created the directory so that it won't clutter up everything else.

That work you think?

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!


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

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

* Re: [gentoo-user] openrc 0.9.4 : opaque warnings
  2011-11-29  3:08               ` Dale
@ 2011-11-29  7:16                 ` Dale
  0 siblings, 0 replies; 14+ messages in thread
From: Dale @ 2011-11-29  7:16 UTC (permalink / raw
  To: gentoo-user

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

Dale wrote:
> Pandu Poluan wrote:
>>
>>
>> On Nov 29, 2011 8:51 AM, "Neil Bothwick" <neil@digimed.co.uk 
>> <mailto:neil@digimed.co.uk>> wrote:
>> >
>> > On Mon, 28 Nov 2011 19:35:02 -0600, Dale wrote:
>> >
>> > > > I update regularly and just got the same message.  I wonder why
>> > > > didn't the dev create a symlink from the /etc/conf.d/net.example
>> > > > ->  /usr/share/doc/openrc- <latest_version>/net.example to save a
>> > > > need for the enotice?
>> >
>> > Because that would mean removing the existing file, which is in a
>> > CONFIG_PROTECTed directory.
>> >
>>
>> Makes sense.
>>
>> > > I used to symlink mine myself but when it changes versions, the link
>> > > breaks.  Now I just use equery f to find the dang thing.  I do wish
>> > > they would put net.example where the net file goes.  Lots easier to
>> > > find.
>> >
>> > Set DOC_SYMLINKS_DIR in make.conf to save having to chase documentation
>> > when version numbers change.
>> >
>>
>> Ahhhh... never knew that before...
>>
>> *scurries to set said setting
>>
>> Rgds,
>>
>
> I set mine to this:
>
> DOC_SYMLINKS_DIR="/etc/config_examples/"
>
> I created the directory so that it won't clutter up everything else.
>
> That work you think?
>
> Dale
>
> :-)  :-)
>
> -- 
> I am only responsible for what I said ... Not for what you understood or how you interpreted my words!


I did a emerge -e system and it puts some files in there but not the 
ones I had hoped for.  The one I really liked was openssl.  It opens to 
a picture and that's all.  No text or anything.  The picture is a link 
but if you are having network issues, well, then what?

Is there a way to do this for the stuff that is not HTML?  You know, 
make.conf.example, net.example and other friends like that.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or how you interpreted my words!


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

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

* Re: [gentoo-user] openrc 0.9.4 : opaque warnings
  2011-11-28 10:29 ` Pandu Poluan
  2011-11-28 10:40   ` Pandu Poluan
  2011-11-28 10:50   ` Neil Bothwick
@ 2011-11-29 11:41   ` Philip Webb
  2011-11-30  6:43     ` Mick
  2 siblings, 1 reply; 14+ messages in thread
From: Philip Webb @ 2011-11-29 11:41 UTC (permalink / raw
  To: gentoo-user

111128 Pandu Poluan wrote:
> On Mon, Nov 28, 2011 at 17:17, Philip Webb <purslow@ca.inter.net> wrote:
>> Since updating to Openrc 0.9.4 , I'm getting some opaque messages :
>> (1) When starting eth0 : "You are using a bash array for config_eth0.
>> This feature will be removed in the future.  Please see net.example
>> for the correct format for config_eth0".
> Open /etc/conf.d/net ; Compare it with /etc/conf.d/net.example
> For example: The old way of writing multiple addresses for eth0 is:
> config_eth0=("1.2.3.4" "6.7.8.9")
> The new non-bash-array way: config_eth0="1.2.3.4 <newline> 6.7.8.9"
> Make sure you rewrite your conf.d files according to the new way.

Thanks: I've done that & my I/net connection doesn't seem affected.

>> (2) When starting D-BUS system messages: "Use of the opts variable
>> is deprecated & will be removed in the future.  Please see extra_commands
>> or extra_started_commands".
> The relevant initscript in /etc/init.d is still using opts="..." line.
> The newer way is to put the words in opts="..."
> into extra_commands="..." or extra_started_commands="..."
> both parameters described in 'man runscript'
> You *can* edit the offending initscript,
> but it should be the package's maintainers' responsibility
> to revise the initscript and release a new revision.
> Just wait say one or two months & update to the fixed new revision.

So that one looks like an oversight by the maintainer.
I've read & noted the subsequent msgs in the thread: thanks.

A further question: since I had previously updated  /etc/conf.d/net ,
I was given a router by my ISP & therefore started to use DHCP.
The new  net.example  file suggests I might make further changes in 'net'
& simplify my configuration files.  What I have now in 'net' is :

# For a static configuration use eg :
# PP 111129 : drop Bash syntax to avoid start-up warning
#config_eth0=( "192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255" )
config_eth0="192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
# You need to create the PPP net script yourself:
# do it via 'cd /etc/init.d ; ln -s net.lo net.ppp0'
# We have to instruct ppp0 to actually use ppp
config_ppp0=( "ppp" )
# Each PPP interface requires an interface to use as a "Link"
link_ppp0="eth0"       		# PPPoE requires an ethernet interface
# Specify what pppd plugins you want to use: available are:
# pppoe, pppoa, capi, dhcpc, minconn, radius, radattr, radrealms, winbind 
plugins_ppp0=( "pppoe" )
# PPP requires at least a username.
# It will use the password specified in /etc/ppp/*-secrets
username_ppp0='****@***'
#pppd_ppp0=( "debug" "updetach" "noauth" "defaultroute" "usepeerdns" "persist" )
pppd_ppp0=( "updetach" "defaultroute" )

Does anyone have further suggestions or comments ?

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




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

* Re: [gentoo-user] openrc 0.9.4 : opaque warnings
  2011-11-29 11:41   ` Philip Webb
@ 2011-11-30  6:43     ` Mick
  2012-01-08  2:15       ` Philip Webb
  0 siblings, 1 reply; 14+ messages in thread
From: Mick @ 2011-11-30  6:43 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1804 bytes --]

On Tuesday 29 Nov 2011 11:41:57 Philip Webb wrote:

> A further question: since I had previously updated  /etc/conf.d/net ,
> I was given a router by my ISP & therefore started to use DHCP.
> The new  net.example  file suggests I might make further changes in 'net'
> & simplify my configuration files.  What I have now in 'net' is :
> 
> # For a static configuration use eg :
> # PP 111129 : drop Bash syntax to avoid start-up warning
> #config_eth0=( "192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
> ) config_eth0="192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
> # You need to create the PPP net script yourself:
> # do it via 'cd /etc/init.d ; ln -s net.lo net.ppp0'
> # We have to instruct ppp0 to actually use ppp
> config_ppp0=( "ppp" )

First of all you should not use brackets in the new format.

Second, why do you need PPP, unless this is a router that also authenticates 
into your ISP's adsl radius server?


> # Each PPP interface requires an interface to use as a "Link"
> link_ppp0="eth0"       		# PPPoE requires an ethernet interface

Ditto.


> # Specify what pppd plugins you want to use: available are:
> # pppoe, pppoa, capi, dhcpc, minconn, radius, radattr, radrealms, winbind
> plugins_ppp0=( "pppoe" )

No brackets in the new file format as previous message advised and as I said 
above, think again if you need PPP authentication performed by your Gentoo box 
(because your new router does this now).

> # PPP requires at least a username.
> # It will use the password specified in /etc/ppp/*-secrets
> username_ppp0='****@***'
> #pppd_ppp0=( "debug" "updetach" "noauth" "defaultroute" "usepeerdns"
> "persist" ) pppd_ppp0=( "updetach" "defaultroute" )

Don't need these at all.

HTH.

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

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

* Re: [gentoo-user] openrc 0.9.4 : opaque warnings
  2011-11-30  6:43     ` Mick
@ 2012-01-08  2:15       ` Philip Webb
  0 siblings, 0 replies; 14+ messages in thread
From: Philip Webb @ 2012-01-08  2:15 UTC (permalink / raw
  To: gentoo-user

111130 Mick wrote:
> On Tuesday 29 Nov 2011 11:41:57 Philip Webb wrote:
>> A further question: since I had previously updated  /etc/conf.d/net ,
>> I was given a router by my ISP & therefore started to use DHCP.
>> The new  net.example  file suggests I might make further changes in 'net'
>> & simplify my configuration files.  What I have now in 'net' is :
>> # For a static configuration use eg :
>> config_eth0="192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
>> # You need to create the PPP net script yourself:
>> # do it via 'cd /etc/init.d ; ln -s net.lo net.ppp0'
>> # We have to instruct ppp0 to actually use ppp
>> # Each PPP interface requires an interface to use as a "Link"
>> link_ppp0="eth0"   	# PPPoE requires an ethernet interface
>> config_ppp0="ppp"
>> # Specify what pppd plugins you want to use: available are:
>> # pppoe, pppoa, capi, dhcpc, minconn, radius, radattr, radrealms, winbind
>> plugins_ppp0="pppoe"
>> # PPP requires at least a username.
>> # It will use the password specified in /etc/ppp/*-secrets
>> username_ppp0='****@***'
>> #pppd_ppp0=( "debug" "updetach" "noauth" "defaultroute" "usepeerdns"
>> "persist" ) pppd_ppp0=( "updetach" "defaultroute" )
> why do you need PPP, unless this is a router
> that also authenticates into your ISP's adsl radius server?
> your new router does this now.  Don't need these at all.

Thanks!  I finally got around to testing leaving that stuff out
& you are quite correct: there's no need for any of it
nor for the symlink 'net.ppp0' in  /etc/init.d .

-- 
========================,,============================================
SUPPORT     ___________//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT    `-O----------O---'   purslowatchassdotutorontodotca




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

end of thread, other threads:[~2012-01-08  2:16 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-28 10:17 [gentoo-user] openrc 0.9.4 : opaque warnings Philip Webb
2011-11-28 10:29 ` Pandu Poluan
2011-11-28 10:40   ` Pandu Poluan
2011-11-28 10:50   ` Neil Bothwick
2011-11-28 11:50     ` Pandu Poluan
2011-11-28 20:01       ` Mick
2011-11-29  1:35         ` Dale
2011-11-29  1:48           ` Neil Bothwick
2011-11-29  2:54             ` Pandu Poluan
2011-11-29  3:08               ` Dale
2011-11-29  7:16                 ` Dale
2011-11-29 11:41   ` Philip Webb
2011-11-30  6:43     ` Mick
2012-01-08  2:15       ` Philip Webb

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