[pptp-server] Lost with pppoe and pptpd

Jerry Vonau jvonau at home.com
Wed Aug 15 22:09:17 CDT 2001


Georg:

Sounds like a confict with something that is in the /etc/ppp/options
or the config file for pppoe, may have something that pptp doesn't
like...
could you post them? There was a post a while back with a sucess
story...
looking now.... 

Jerry Vonau
 
Georg Altmann wrote:
> 
> Hi everybody,
> 
> It took me some time to find out that pptpd is conflicting with pppoe.
> 
> Here is what I did so far:
> Recompile+install Kernel 2.4.7 with IP GRE and PPP support with linux-2.4.4-openssl-0.9.6a-mppe.patch.gz,
> compile+install ppp-2.4.1 with ppp-2.4.1-MSCHAPv2-fix.patch.gz and ppp-2.4.1-openssl-0.9.6-mppe-patch.gz,
> compile+install pptpd-1.0.1
> modify syslog.conf
> 
> I'm trying to connect a W2k roadwarrior (myself ;) to my linux box which is also the router with pppoe running.
> When I shut down pppoe and then fire up pptpd everything works fine.
> 
> With pppoe running the log looks like this:
> Aug 15 19:44:05 router pptpd[1239]: MGR: Manager process started
> Aug 15 19:44:10 router pptpd[1240]: MGR: Launching /usr/sbin/pptpctrl to handle client
> Aug 15 19:44:10 router pptpd[1240]: CTRL: local address = 192.168.0.10
> Aug 15 19:44:10 router pptpd[1240]: CTRL: remote address = 192.168.0.30
> Aug 15 19:44:10 router pptpd[1240]: CTRL: pppd speed = 115200
> Aug 15 19:44:10 router pptpd[1240]: CTRL: pppd options file = /etc/ppp/pptp-options
> Aug 15 19:44:10 router pptpd[1240]: CTRL: Client 192.168.0.51 control connection started
> Aug 15 19:44:10 router pptpd[1240]: CTRL: Received PPTP Control Message (type: 1)
> Aug 15 19:44:10 router pptpd[1240]: CTRL: Made a START CTRL CONN RPLY packet
> Aug 15 19:44:10 router pptpd[1240]: CTRL: I wrote 156 bytes to the client.
> Aug 15 19:44:10 router pptpd[1240]: CTRL: Sent packet to client
> Aug 15 19:44:12 router pptpd[1240]: CTRL: Received PPTP Control Message (type: 7)
> Aug 15 19:44:12 router pptpd[1240]: CTRL: Set parameters to 1525 maxbps, 64 window size
> Aug 15 19:44:12 router pptpd[1240]: CTRL: Made a OUT CALL RPLY packet
> Aug 15 19:44:12 router pptpd[1240]: CTRL: Starting call (launching pppd, opening GRE)
> Aug 15 19:44:12 router pptpd[1240]: CTRL: pty_fd = 5
> Aug 15 19:44:12 router pptpd[1240]: CTRL: tty_fd = 6
> Aug 15 19:44:12 router pptpd[1240]: CTRL: I wrote 32 bytes to the client.
> Aug 15 19:44:12 router pptpd[1241]: CTRL (PPPD Launcher): Connection speed = 115200
> Aug 15 19:44:12 router pptpd[1240]: CTRL: Sent packet to client
> Aug 15 19:44:12 router pptpd[1241]: CTRL (PPPD Launcher): local address = 192.168.0.10
> Aug 15 19:44:12 router pptpd[1241]: CTRL (PPPD Launcher): remote address = 192.168.0.30
> Aug 15 19:44:12 router pptpd[1240]: CTRL: Received PPTP Control Message (type: 15)
> Aug 15 19:44:12 router pptpd[1240]: CTRL: Got a SET LINK INFO packet with standard ACCMs
> Aug 15 19:44:12 router pppd[1241]: pppd 2.4.1 started by root, uid 0
> Aug 15 19:44:12 router pppd[1241]: Using interface ppp1
> Aug 15 19:44:12 router pppd[1241]: not replacing existing default route to ppp0 [217.5.98.8]
> Aug 15 19:44:12 router pppd[1241]: found interface eth0 for proxy arp
> Aug 15 19:44:12 router pppd[1241]: local  IP address 192.168.0.10
> Aug 15 19:44:12 router pppd[1241]: remote IP address 192.168.0.30
> Aug 15 19:44:49 router pptpd[1240]: CTRL: Received PPTP Control Message (type: 12)
> Aug 15 19:44:49 router pptpd[1240]: CTRL: Made a CALL DISCONNECT RPLY packet
> Aug 15 19:44:49 router pptpd[1240]: CTRL: Received CALL CLR request (closing call)
> Aug 15 19:44:49 router pptpd[1240]: CTRL: I wrote 148 bytes to the client.
> Aug 15 19:44:49 router pptpd[1240]: CTRL: Sent packet to client
> Aug 15 19:44:49 router pptpd[1240]: CTRL: Error with select(), quitting
> Aug 15 19:44:49 router pptpd[1240]: CTRL: Client 192.168.0.51 control connection finished
> Aug 15 19:44:49 router pptpd[1240]: CTRL: Exiting now
> Aug 15 19:44:49 router pptpd[1239]: MGR: Reaped child 1240
> 
> Is there anybody who got pppd running with pppoe?
> Could someone explain where the conflict between pppoe and pptpd is located?
> Is it that there may only be one instance of pppd running?
> 
> The problem for me is, that I need this fixed until friday because I will travel to USA, and that's actually why I'm trying setting this up... ;)
> Thanks for any hint!
> 
> Regards,
> Georg
> 
> <CONFIG>
> 
> my options file (actually /etc/ppp/pptp-options):
> debug
> lock
> mtu 1490
> mru 1490
> name router
> auth
> +chap
> +chapms
> +chapms-v2
> mppe-40
> mppe-128
> mppe-stateless
> ipcp-accept-local
> ipcp-accept-remote
> lcp-echo-failure 3
> lcp-echo-interval 5
> deflate 0
> #require-chap
> proxyarp
> 
> my pptpd.conf:
> speed 115200
> option /etc/ppp/pptp-options
> debug
> localip 192.168.0.10 #eth0 local net
> remoteip 192.168.0.30-40
> #listen 192.168.0.10
> pidfile /var/run/pptpd.pid
> 
> chap-secrets:
> georg   router  georg   *
> 
> --
> Vote against Spam!
> http://www.politik-digital.de/spam/de/
> The European Coalition Against Unsolicited Commercial Email:
> http://www.euro.cauce.org//
> 
> _______________________________________________
> pptp-server maillist  -  pptp-server at lists.schulte.org
> http://lists.schulte.org/mailman/listinfo/pptp-server
> --- To unsubscribe, go to the url just above this line. --



More information about the pptp-server mailing list