View previous topic :: View next topic |
Author |
Message |
mrfree Veteran
Joined: 15 Mar 2003 Posts: 1303 Location: Europe.Italy.Sulmona
|
Posted: Sun Feb 05, 2006 3:54 pm Post subject: baselayout-1.12.0_pre15-r1 some ppp options are not allowed |
|
|
I'm trying to migrate my actual "pptp over pppoa" adsl configuration to new baselayout style
Code: | # cat /etc/conf.d/net
modules=( "iproute2" )
config_eth0=( "10.0.0.2 netmask 255.255.255.0" )
# Tell gentoo to set up the ppp interface
config_ppp0=( "ppp" )
# set up the link. note that the IP address is given by the
# provider and is identical to the one in the routes_eth0
# statement.
link_ppp0="pty 'pptp 10.0.0.138 --nolaunchpppd'"
# Enter your username and password observing the apostrophe
username_ppp0='username'
password_ppp0='pwd'
pppd_ppp0=(
"lock"
"updetach" # WARNING: If you don't specify this then we will
# not wait for the actual PPP link to go up
"noauth" # Do not require the peer to authenticate itself
"defaultroute" # Make this PPP interface the default route
"lcp-echo-interval 10" # Send a LCP echo every 15 seconds
"lcp-echo-failure 10" # Make peer dead after 3 seconds of in-activity
"holdoff 4"
"usepeerdns"
)
# eth0 should start before
depend_ppp0() {
need net.eth0
} |
but I can't add option persist and maxfail because if I do that the service doesn't start returning an error like Quote: | option "persist" not allowed |
My question is: Why???
How can I obtain the same persist behaviour without specify this option? _________________ Please EU, pimp my country!
ICE: /etc/init.d/iptables panic
Last edited by mrfree on Thu Feb 23, 2006 7:42 am; edited 1 time in total |
|
Back to top |
|
|
mrfree Veteran
Joined: 15 Mar 2003 Posts: 1303 Location: Europe.Italy.Sulmona
|
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
mrfree Veteran
Joined: 15 Mar 2003 Posts: 1303 Location: Europe.Italy.Sulmona
|
Posted: Mon Feb 06, 2006 1:29 pm Post subject: |
|
|
Ok thanks _________________ Please EU, pimp my country!
ICE: /etc/init.d/iptables panic |
|
Back to top |
|
|
|