[pptp-server] Lost with pppoe and pptpd

Jerry Vonau jvonau at home.com
Thu Aug 16 06:59:40 CDT 2001


Georg:

The /etc/ppp/options is a global control file that controls all pppd 
connections, including pptp. Try taking out all the options in the file 
and add them to the command line that starts the link. Like you did with 
the mtu/mru settings.

Jerry Vonau


Georg Altmann wrote:
> 
> *********** REPLY SEPARATOR  ***********
> >found it...
> >
> >http://lists.schulte.org/pipermail/pptp-server/2001-January/004411.html
> >
> >Are you using?
> >http://roaringpenguin.com/pppoe/
> Yes. sorry I forgot that there are multiple pppoe servers.
> 
> >If so I need to see the adsl-connect script.
> >It holds the configuration options in the PPP_STD_OPTIONS
> >part. I think it may have the noipdefault option set.
> I'm not using the adsl-connect script, I have a inittab script which does not set anything except the dsl ethernet-interface:
> 
>             echo -n "Bringing up ADSL link"
>             $PPPD pty "$PPPOE -I $ADSL_DEVICE -m 1452"
> 
> I've also checked the options file for pppoe - I found and disabled the noipdefault option. But infact it didn't change anything.
> 
> # /etc/ppp/options (pppoe)
> demand
> connect /bin/true
> ipcp-accept-remote
> ipcp-accept-local
> usepeerdns
> idle 600
> #noipdefault
> defaultroute
> user "<snip>"
> hide-password
> noaccomp
> nopcomp
> novj
> novjccomp
> nobsdcomp
> nodeflate
> noccp
> nocrtscts
> local
> noauth
> # mru 1492
> # mtu 1492
> lcp-echo-interval 10
> lcp-echo-failure 3
> lock
> debug
> #nodetach
> 
> In the pppoe.conf only username, interface and some dsl specific stuff is set.
> 
> Ok, I see it's basically a routing problem, right?
> I added nodefaultroute to the pptp-options file as George Vieira recommended. Then I wasn't able to bring up a connection at all - even with pppoe shut down. So the pptpd link needs to set the default route which is already set when pppoe is up.
> The routes to the ppp targets are set though:
> Target            Router          Genmask         Flags Metric Ref    Use Iface
> 217.5.98.8      *               255.255.255.255 UH    0      0        0         ppp0 => pppoe
> 192.168.0.31    *               255.255.255.255 UH    0      0        0         ppp2 =>second try pptp
> 192.168.0.30    *               255.255.255.255 UH    0      0        0         ppp1 =>first try pptp
> 192.168.50.0    *               255.255.255.0   U     0      0        0         eth2
> 192.168.0.0     *               255.255.255.0   U     0      0        0                 eth0
> 192.168.99.0    wvlan2.wireless 255.255.255.0   UG    0      0        0         eth2
> 192.168.10.0    *               255.255.255.0   U     0      0        0         eth1 =>dsl modem
> 127.0.0.0       *               255.0.0.0       U     0      0        0                 lo
> default         217.5.98.8      0.0.0.0         UG    0      0        0                 ppp0 => pppoe
> 
> Does the kernel route in the same order the routing table is printed by route? If so is must it the pppX routes first. I just thought the packets might be routed through eth0.
> Any thoughts?
> 
> Regards,
> Georg0
> 
> --
> Vote against Spam!
> http://www.politik-digital.de/spam/de/
> The European Coalition Against Unsolicited Commercial Email:
> http://www.euro.cauce.org//



More information about the pptp-server mailing list