You are not logged in.

#1 2012-01-16 18:41:06

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Problems connecting to pptp vpn

Hey all,

I've been debugging this all day, but I've run out of debugging messages. I'm trying to follow the instructions at https://wiki.archlinux.org/index.php/Mi … pptpclient

I've gotten as far as the debugging command at "making your connection", but the command is terminating with output that doesn't seem to tell me much:

mp            # (from command line)
noauth          # (from /etc/ppp/options.pptp)
refuse-pap              # (from /etc/ppp/options.pptp)
refuse-chap             # (from /etc/ppp/options.pptp)
refuse-mschap           # (from /etc/ppp/options.pptp)
refuse-eap              # (from /etc/ppp/options.pptp)
name dusty.phillips             # (from /etc/ppp/peers/yougov)
remotename PPTP         # (from /etc/ppp/peers/yougov)
                # (from /etc/ppp/options.pptp)
pty pptp pptp.paix.yougov.net --nolaunchpppd            # (from /etc/ppp/peers/yougov)
crtscts         # (from /etc/ppp/options)
                # (from /etc/ppp/options)
asyncmap 0              # (from /etc/ppp/options)
lcp-echo-failure 4              # (from /etc/ppp/options)
lcp-echo-interval 30            # (from /etc/ppp/options)
hide-password           # (from /etc/ppp/options)
ipparam yougov          # (from /etc/ppp/peers/yougov)
proxyarp                # (from /etc/ppp/options)
require-mppe-128                # (from /etc/ppp/peers/yougov)
noipx           # (from /etc/ppp/options)
using channel 7
Using interface ppp0
Connect: ppp0 <--> /dev/pts/1
sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x72ef1c5d> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x44 <accomp> <pcomp> <mru 1500> <magic 0x133db848> <auth chap MS-v2> <mrru 1600> <ssnhf> <endpoint [MAC:fe:2d:a6:ab:ea:d4]>]
sent [LCP ConfRej id=0x44 <mrru 1600> <ssnhf>]
rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x72ef1c5d> <pcomp> <accomp>]
rcvd [LCP ConfReq id=0x45 <accomp> <pcomp> <mru 1500> <magic 0x133db848> <auth chap MS-v2>]
sent [LCP ConfAck id=0x45 <accomp> <pcomp> <mru 1500> <magic 0x133db848> <auth chap MS-v2>]
sent [LCP EchoReq id=0x0 magic=0x72ef1c5d]
rcvd [CHAP Challenge id=0x1 <bb1e688d5db4d5b40f1d49f92b4d2786>, name = ""]
sent [CHAP Response id=0x1 <d6dedb922ae581bb6ba1f01230e5007200000000000000007c68d0e442bd2ea010b4494a3db52b93544be98c17dc92e700>, name = "dusty.phillips"]
rcvd [LCP EchoRep id=0x0 magic=0x133db848]
Script pptp pptp.paix.yougov.net --nolaunchpppd finished (pid 3402), status = 0x0
Modem hangup
Connection terminated.

/var/log/messages has more info, but nothing I can interpret:

Jan 16 11:47:02 cactus pppd[3401]: pppd options in effect:
Jan 16 11:47:02 cactus pppd[3401]: debug		# (from command line)
Jan 16 11:47:02 cactus pppd[3401]: nodetach		# (from command line)
Jan 16 11:47:02 cactus pppd[3401]: logfd 2		# (from command line)
Jan 16 11:47:02 cactus pppd[3401]: dump		# (from command line)
Jan 16 11:47:02 cactus pppd[3401]: noauth		# (from /etc/ppp/options.pptp)
Jan 16 11:47:02 cactus pppd[3401]: refuse-pap		# (from /etc/ppp/options.pptp)
Jan 16 11:47:02 cactus pppd[3401]: refuse-chap		# (from /etc/ppp/options.pptp)
Jan 16 11:47:02 cactus pppd[3401]: refuse-mschap		# (from /etc/ppp/options.pptp)
Jan 16 11:47:02 cactus pppd[3401]: refuse-eap		# (from /etc/ppp/options.pptp)
Jan 16 11:47:02 cactus pppd[3401]: name dusty.phillips		# (from /etc/ppp/peers/yougov)
Jan 16 11:47:02 cactus pppd[3401]: remotename PPTP		# (from /etc/ppp/peers/yougov)
Jan 16 11:47:02 cactus pppd[3401]: 		# (from /etc/ppp/options.pptp)
Jan 16 11:47:02 cactus pppd[3401]: pty pptp pptp.paix.yougov.net --nolaunchpppd		# (from /etc/ppp/peers/yougov)
Jan 16 11:47:02 cactus pppd[3401]: crtscts		# (from /etc/ppp/options)
Jan 16 11:47:02 cactus pppd[3401]: 		# (from /etc/ppp/options)
Jan 16 11:47:02 cactus pppd[3401]: asyncmap 0		# (from /etc/ppp/options)
Jan 16 11:47:02 cactus pppd[3401]: lcp-echo-failure 4		# (from /etc/ppp/options)
Jan 16 11:47:02 cactus pppd[3401]: lcp-echo-interval 30		# (from /etc/ppp/options)
Jan 16 11:47:02 cactus pppd[3401]: hide-password		# (from /etc/ppp/options)
Jan 16 11:47:02 cactus pppd[3401]: ipparam yougov		# (from /etc/ppp/peers/yougov)
Jan 16 11:47:02 cactus pppd[3401]: proxyarp		# (from /etc/ppp/options)
Jan 16 11:47:02 cactus pppd[3401]: require-mppe-128		# (from /etc/ppp/peers/yougov)
Jan 16 11:47:02 cactus pppd[3401]: noipx		# (from /etc/ppp/options)
Jan 16 11:47:02 cactus pppd[3401]: pppd 2.4.5 started by dusty, uid 0
Jan 16 11:47:02 cactus pppd[3401]: Using interface ppp0
Jan 16 11:47:02 cactus pppd[3401]: Connect: ppp0 <--> /dev/pts/1
Jan 16 11:47:02 cactus pptp[3402]: anon log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Jan 16 11:47:02 cactus pptp[3406]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Jan 16 11:47:02 cactus pptp[3406]: anon log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Jan 16 11:47:02 cactus pptp[3406]: anon log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Jan 16 11:47:03 cactus pptp[3406]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Jan 16 11:47:03 cactus pptp[3406]: anon log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Jan 16 11:47:03 cactus pptp[3406]: anon log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 41302).
Jan 16 11:47:04 cactus pptp[3406]: anon log[ctrlp_disp:pptp_ctrl.c:788]: Received Stop Control Connection Request.
Jan 16 11:47:04 cactus pptp[3406]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 4 'Stop-Control-Connection-Reply'
Jan 16 11:47:04 cactus pptp[3406]: anon log[callmgr_main:pptp_callmgr.c:258]: Closing connection (shutdown)
Jan 16 11:47:04 cactus pptp[3406]: anon log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Jan 16 11:47:04 cactus pppd[3401]: Modem hangup
Jan 16 11:47:04 cactus pppd[3401]: Connection terminated.
Jan 16 11:47:04 cactus pptp[3406]: anon log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Jan 16 11:47:04 cactus pppd[3401]: Exit.

It's possible my options are a little off, but I'm not getting any feedback from that telling me what I might want to tweak. Can anyone suggest anything I can test to get connected here?

I've also had many arguments with network-manager, trying to use the gui, but I'd rather use a netcfg2-compatible setup if I can. Network-manager also did not connect, so I came back to this.

Thanks for any hints,

Dusty

Last edited by Dusty (2012-01-16 18:44:01)

Offline

#2 2012-01-18 15:26:04

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Problems connecting to pptp vpn

Turned out that your user didn't have dail-in permissions, right?

Jan 16 11:47:04 cactus pptp[3406]: anon log[ctrlp_disp:pptp_ctrl.c:788]: Received Stop Control Connection Request.

Seems like the server is requesting the client stop the connection.


Website - Blog - arch-home
Arch User since March 2005

Offline

#3 2012-03-18 23:46:59

archthomas.butz
Member
Registered: 2011-03-15
Posts: 37

Re: Problems connecting to pptp vpn

A friend using PPTP-VPN under Knoppix 6.7 challenged me to do the same on my Archlinux system.
So I followed the wiki's instructions, and when I tried to start the VPN I always got the message:

/usr/bin/pppd: pty  option precludes specifying device name

I also tried pptpsetup with the following command-line:

pptpsetup --create tunnel --server connect.xxvpn.net --username xxvpntest --password xxvpntest --encrypt --start

No luck. What am I doing wrong?

Tom.

Last edited by archthomas.butz (2012-03-18 23:52:29)

Offline

#4 2012-03-18 23:51:15

pyther
Member
Registered: 2008-01-21
Posts: 1,395
Website

Re: Problems connecting to pptp vpn

@archthomas.butz, Please do not bump this old thread (2 months old) and create a new thread for your issue.

Last edited by pyther (2012-03-18 23:51:22)


Website - Blog - arch-home
Arch User since March 2005

Offline

#5 2012-03-19 00:06:00

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,926

Re: Problems connecting to pptp vpn

@archthomas.butz:  Pyther is correct.  Your problem seems unrelated to the original issue.  This can only lead to confusion for others doing research in the future.  I am going to go ahead and close this thread.  Please feel free to create to new thread detailing your problem.  If you like, go ahead and link back to this thread from that new thread.

Thanks.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB