Click to See Complete Forum and Search --> : Pptp Vpn


Jimmy Lio
08-16-2002, 11:36 AM
I want to connect my Win XP to a Linux server through PPTP. But the following errors keep coming:

Aug 16 19:23:04 proxy pptpd[16626]: CTRL: Client XXX.YYY.98.105 control connection started
Aug 16 19:23:04 proxy pptpd[16626]: CTRL: Starting call (launching pppd, opening GRE)
Aug 16 19:23:04 proxy pppd[16627]: pppd 2.4.1 started by root, uid 0
Aug 16 19:23:04 proxy pppd[16627]: Using interface ppp0
Aug 16 19:23:04 proxy pppd[16627]: Connect: ppp0 <--> /dev/pts/2
Aug 16 19:23:04 proxy /etc/hotplug/net.agent: assuming ppp0 is already up
Aug 16 19:23:04 proxy pptpd[16626]: GRE: Discarding duplicate packet
Aug 16 19:23:07 proxy pptpd[16626]: CTRL: Ignored a SET LINK INFO packet with real ACCMs!
Aug 16 19:23:07 proxy pppd[16627]: CHAP peer authentication succeeded for abcduser
Aug 16 19:23:07 proxy pppd[16627]: LCP terminated by peer (&M-^?SM-1^@<M-Mt^@^@^BM-e)
Aug 16 19:23:07 proxy pptpd[16626]: CTRL: Error with select(), quitting
Aug 16 19:23:07 proxy pppd[16627]: Modem hangup
Aug 16 19:23:07 proxy pppd[16627]: Connection terminated.
Aug 16 19:23:07 proxy pppd[16627]: Connect time 0.1 minutes.
Aug 16 19:23:07 proxy pppd[16627]: Sent 43 bytes, received 0 bytes.
Aug 16 19:23:07 proxy pppd[16627]: Exit.


What's going on? What's LCP? Why is the conenction terminated?


Jimmy

jumpedintothefire
08-17-2002, 12:50 PM
add debug to the options.pptp file to get more debugging info.

Based on "CHAP peer authentication" I'd say that the client is not happy about not being able to get encrypition. "MSCHAP-v2 peer authentication succeeded for xxxxxxxxxx" is a requirement to get to "MPPE 128 bit, stateless compression enabled"

Did you install the patched ppp and kernel modules, that are required for MPPE? If so, then your missing some entries in the config files. What do you have in /ppp/options, /ppp/options.pptp, and /etc/pptpd.conf?

more debugging info at:

http://pptpclient.sourceforge.net/howto-diagnosis.phtml

It was written for the pptp client, but the faults are the same..

more configuration info at:

http://sourceforge.net/docman/?group_id=44827

http://www.shorewall.net/PPTP.htm


You could turn off the requiremet for encryption on the client, if your data is not important (lan games only IMHO)

hope this helps..

jumpedintothefire
08-17-2002, 01:44 PM
There are patches and some precompiled stuff at:

http://planetmirror.com/pub/mppe/