Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
baselayout-1.12.0_pre15-r1 some ppp options are not allowed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
mrfree
Veteran
Veteran


Joined: 15 Mar 2003
Posts: 1303
Location: Europe.Italy.Sulmona

PostPosted: Sun Feb 05, 2006 3:54 pm    Post subject: baselayout-1.12.0_pre15-r1 some ppp options are not allowed Reply with quote

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
View user's profile Send private message
mrfree
Veteran
Veteran


Joined: 15 Mar 2003
Posts: 1303
Location: Europe.Italy.Sulmona

PostPosted: Sun Feb 05, 2006 4:01 pm    Post subject: Reply with quote

I've found this bug report https://bugs.gentoo.org/show_bug.cgi?id=115346 about this question
_________________
Please EU, pimp my country!

ICE: /etc/init.d/iptables panic
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Mon Feb 06, 2006 11:18 am    Post subject: Reply with quote

I've wanged a patch on that bug that allows your options through. We set persist anyway ;)
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
mrfree
Veteran
Veteran


Joined: 15 Mar 2003
Posts: 1303
Location: Europe.Italy.Sulmona

PostPosted: Mon Feb 06, 2006 1:29 pm    Post subject: Reply with quote

Ok thanks ;)
_________________
Please EU, pimp my country!

ICE: /etc/init.d/iptables panic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum