I use ppp over pptp (over ethernet) for the connection to my isp. Normal pppd configuration for this requires the pty option instead of a ttyname, i.e. the pppd option: pty "/usr/sbin/pptp <host> --nolaunchpppd". I've tried setting up net.ppp0 with baselayout-1.12.0_pre11-r3, but the pppd module insists on a link_ppp0 option being specified, although I need to be able to omit it entirely, and rely just on the pty option passed in pppd_ppp0. Or perhaps there should be special pty or pptp parameters. Reproducible: Always Steps to Reproduce: 1. 2. 3.
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.