VPN connection to a Windows server fails (and no posted solution worked)

Asked by Nikos Mouchtaris

I try to connect to a VPN server using the network-manager applet and pptp but it fails no matter what combination of settings I use. I even tried the updated version of nm-applet and its dependencies from the PPA, but the connection still fails.

Below is the relevant section of /var/log/syslog :

Mar 7 01:53:56 fakedream pppd[5705]: Plugin /usr/lib/pppd/2.4.4/nm-pptp-pppd-plugin.so loaded.
Mar 7 01:53:56 fakedream kernel: [ 231.929083] PPP generic driver version 2.4.2
Mar 7 01:53:56 fakedream pppd[5705]: pppd 2.4.4 started by root, uid 0
Mar 7 01:53:56 fakedream pptp[5713]: nm-pptp-service-5701 log[main:pptp.c:314]: The synchronous pptp option is NOT activated
Mar 7 01:53:56 fakedream pptp[5725]: nm-pptp-service-5701 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
Mar 7 01:53:56 fakedream pppd[5705]: Using interface ppp0
Mar 7 01:53:56 fakedream pppd[5705]: Connect: ppp0 <--> /dev/pts/2
Mar 7 01:53:56 fakedream pptp[5725]: nm-pptp-service-5701 log[ctrlp_disp:pptp_ctrl.c:739]: Received Start Control Connection Reply
Mar 7 01:53:56 fakedream pptp[5725]: nm-pptp-service-5701 log[ctrlp_disp:pptp_ctrl.c:773]: Client connection established.
Mar 7 01:53:57 fakedream pptp[5725]: nm-pptp-service-5701 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
Mar 7 01:53:57 fakedream pptp[5725]: nm-pptp-service-5701 log[ctrlp_disp:pptp_ctrl.c:858]: Received Outgoing Call Reply.
Mar 7 01:53:57 fakedream pptp[5725]: nm-pptp-service-5701 log[ctrlp_disp:pptp_ctrl.c:897]: Outgoing call established (call ID 0, peer's call ID 47932).
Mar 7 01:53:57 fakedream pptp[5725]: nm-pptp-service-5701 log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from peer_callid 0
Mar 7 01:53:57 fakedream pptp[5725]: nm-pptp-service-5701 log[ctrlp_disp:pptp_ctrl.c:953]: send_accm is 00000000, recv_accm is FFFFFFFF
Mar 7 01:53:57 fakedream pptp[5725]: nm-pptp-service-5701 warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async Control Character Maps are not supported!
Mar 7 01:53:58 fakedream pptp[5725]: nm-pptp-service-5701 log[ctrlp_disp:pptp_ctrl.c:950]: PPTP_SET_LINK_INFO received from peer_callid 0
Mar 7 01:53:58 fakedream pptp[5725]: nm-pptp-service-5701 log[ctrlp_disp:pptp_ctrl.c:953]: send_accm is FFFFFFFF, recv_accm is FFFFFFFF
Mar 7 01:53:58 fakedream pptp[5725]: nm-pptp-service-5701 warn[ctrlp_disp:pptp_ctrl.c:956]: Non-zero Async Control Character Maps are not supported!
Mar 7 01:53:58 fakedream pppd[5705]: LCP terminated by peer (I5jX^@<M-Mt^@^@^BM-3)
Mar 7 01:53:58 fakedream pptp[5725]: nm-pptp-service-5701 log[ctrlp_disp:pptp_ctrl.c:912]: Received Call Clear Request.
Mar 7 01:54:01 fakedream NetworkManager: <info> VPN plugin failed: 1
Mar 7 01:54:01 fakedream pppd[5705]: Connection terminated.
Mar 7 01:54:01 fakedream pptp[5713]: nm-pptp-service-5701 warn[decaps_hdlc:pptp_gre.c:204]: short read (-1): Input/output error
Mar 7 01:54:01 fakedream pptp[5713]: nm-pptp-service-5701 warn[decaps_hdlc:pptp_gre.c:216]: pppd may have shutdown, see pppd log
Mar 7 01:54:01 fakedream pptp[5725]: nm-pptp-service-5701 log[callmgr_main:pptp_callmgr.c:234]: Closing connection (unhandled)
Mar 7 01:54:01 fakedream pptp[5725]: nm-pptp-service-5701 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
Mar 7 01:54:01 fakedream pptp[5725]: nm-pptp-service-5701 log[call_callback:pptp_callmgr.c:79]: Closing connection (call state)
Mar 7 01:54:01 fakedream NetworkManager: <info> VPN plugin failed: 1
Mar 7 01:54:01 fakedream pppd[5705]: Modem hangup
Mar 7 01:54:01 fakedream pppd[5705]: Exit.

Could someone please help me or at least explain what is wrong? I really have no idea about network protocols, so I can't see what is wrong.

Thanks in advance.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu network-manager Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Micah Gersten (micahg) said :
#1

I would suggest trying kvpnc. I've had some issues with network-manager-pptp as well. I have not tried kvpnc for pptp, but I use it for IPSec and it makes VPN connections on Linux really simple.

Revision history for this message
Nikos Mouchtaris (isidev) said :
#2

Hey Micah, thanks for your reply.

kvpnc seems to have troubles of its own and definitely did not make things any "simpler". It has way too many options for PPTP and depending on how I change them I get slightly different errors in the syslog -- and that's not always so. I will keep trying brute-forcing them though until it might work, thanks for the pointer : )

I think the question remains, though, about what is wrong with network-manager-pptp . Perhaps it is an issue of the module that has to be looked at. So I will mark this as still needed an answer.

Thanks for your replying again!

Revision history for this message
Micah Gersten (micahg) said :
#3

Nikos Mouchtaris wrote:
> Question #63333 on network-manager in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/network-manager/+question/63333
>
> Status: Answered => Open
>
> Nikos Mouchtaris is still having a problem:
> Hey Micah, thanks for your reply.
>
> kvpnc seems to have troubles of its own and definitely did not make
> things any "simpler". It has way too many options for PPTP and depending
> on how I change them I get slightly different errors in the syslog --
> and that's not always so. I will keep trying brute-forcing them though
> until it might work, thanks for the pointer : )
>
> I think the question remains, though, about what is wrong with network-
> manager-pptp . Perhaps it is an issue of the module that has to be
> looked at. So I will mark this as still needed an answer.
>
> Thanks for your replying again!
>
>
Another thing you can try is to install Virtualbox and install a Virtual
XP machine to connect to the Windows server. Again, not a real fix, but
it might get you up and running.

Can you help with this problem?

Provide an answer of your own, or ask Nikos Mouchtaris for more information if necessary.

To post a message you must log in.