Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] openrc 0.9.4 : opaque warnings
Date: Wed, 30 Nov 2011 06:44:10
Message-Id: 201111300643.49457.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] openrc 0.9.4 : opaque warnings by Philip Webb
1 On Tuesday 29 Nov 2011 11:41:57 Philip Webb wrote:
2
3 > A further question: since I had previously updated /etc/conf.d/net ,
4 > I was given a router by my ISP & therefore started to use DHCP.
5 > The new net.example file suggests I might make further changes in 'net'
6 > & simplify my configuration files. What I have now in 'net' is :
7 >
8 > # For a static configuration use eg :
9 > # PP 111129 : drop Bash syntax to avoid start-up warning
10 > #config_eth0=( "192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
11 > ) config_eth0="192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
12 > # You need to create the PPP net script yourself:
13 > # do it via 'cd /etc/init.d ; ln -s net.lo net.ppp0'
14 > # We have to instruct ppp0 to actually use ppp
15 > config_ppp0=( "ppp" )
16
17 First of all you should not use brackets in the new format.
18
19 Second, why do you need PPP, unless this is a router that also authenticates
20 into your ISP's adsl radius server?
21
22
23 > # Each PPP interface requires an interface to use as a "Link"
24 > link_ppp0="eth0" # PPPoE requires an ethernet interface
25
26 Ditto.
27
28
29 > # Specify what pppd plugins you want to use: available are:
30 > # pppoe, pppoa, capi, dhcpc, minconn, radius, radattr, radrealms, winbind
31 > plugins_ppp0=( "pppoe" )
32
33 No brackets in the new file format as previous message advised and as I said
34 above, think again if you need PPP authentication performed by your Gentoo box
35 (because your new router does this now).
36
37 > # PPP requires at least a username.
38 > # It will use the password specified in /etc/ppp/*-secrets
39 > username_ppp0='****@***'
40 > #pppd_ppp0=( "debug" "updetach" "noauth" "defaultroute" "usepeerdns"
41 > "persist" ) pppd_ppp0=( "updetach" "defaultroute" )
42
43 Don't need these at all.
44
45 HTH.
46
47 --
48 Regards,
49 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] openrc 0.9.4 : opaque warnings Philip Webb <purslow@××××××××.net>