Summary: | pppd network configuration module does not allow a pty instead of a tty to be specified. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | benjrh <benjrh> |
Component: | [OLD] baselayout | Assignee: | Alin Năstac (RETIRED) <mrness> |
Status: | RESOLVED INVALID | ||
Severity: | enhancement | CC: | benjrh, igor, uberlord |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
benjrh
2005-12-16 06:28:39 UTC
link_ppp0="/dev/null" does not solve the problem? You could always do: link_ppp0="pty 'pptp 10.0.0.138 --nolaunchpppd'" But it won't set the default route. Is there a way of doing this within the basic funtionality? It was possible in the old baselayout.. > link_ppp0="pty 'pptp 10.0.0.138 --nolaunchpppd'"
This works. Thanks. It's really a workaround though, since "pty" is a pppd option.
I pass "defaultroute" as a pppd option, to make pppd do the routing set-up. I also needed config_ppp0=( "ppp" ), which doesn't seem to be documented in net.examples, by the way.
(In reply to comment #2) > But it won't set the default route. Is there a way of doing this within the > basic funtionality? It was possible in the old baselayout.. sure... you could add "defaultroute" to pppd_ppp0 or do the following: modules=( "iproute2" ) routes_ppp0=( "default" ) (In reply to comment #3) > > link_ppp0="pty 'pptp 10.0.0.138 --nolaunchpppd'" > > This works. Thanks. It's really a workaround though, since "pty" is a pppd > option. I disagree. It is true that pty is an option, but it also set the link over which the PPP connection is established. It makes sense to me, therefore I will recommend this link_${iface} variant in net.example. For any further comments, please see bug #114551. |