Comment 5 for bug 259168

Revision history for this message
Christoph Burgdorf (christoph-burgdorf) wrote : Re: [Bug 259168] Re: Unable to connect to PPTP VPN

Hello there,

can you tell me what commands to type in order to get it connected on
the command line. I would like to try if that works for me, too...

Bye

Christoph

Am Sonntag, den 14.09.2008, 17:42 +0000 schrieb f1anker:
> Hey guys, Is there any further information I can supply to help get this
> bug confirmed? I can establish a connection successfully without NM via
> the command line just not using the new NM 0.7 Applet. syslog extract
> attached but is the same as reporter.
>
> Client Configuration: MSCHAPv2/MPPE/Stateful enabled, all other options disabled.
> network-manager-pptp version: 0.7~~svn20080908t183521-0ubuntu1
> VPN Server: Win2k3 RAS/PPTP
>
> ** Attachment added: "syslog extract"
> http://launchpadlibrarian.net/17609793/syslog.log
>
> --
> Unable to connect to PPTP VPN
> https://bugs.launchpad.net/bugs/259168
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in “network-manager-pptp” source package in Ubuntu: New
>
> Bug description:
> Binary package hint: network-manager-pptp
>
> Package version: 0.7~~svn20080818t061112-0ubuntu1~nm1~hardy1
> uname -a: Linux jim-d620 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux
>
> I am testing the SVN version of network-manager 0.7. I am attempting to connect to my employer's Windows PPTP VPN. Each time I try, the connection fails, displaying a pop-up message that says: The VPN connection 'Connection Name' failed because the VPN service stopped unexpectedly.
>
> The relevant section of /var/log/syslog is:
> Aug 18 15:15:13 jim-d620 NetworkManager: <info> Starting VPN service 'org.freedesktop.NetworkManager.pptp'...
> Aug 18 15:15:13 jim-d620 NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' started (org.freedesktop.NetworkManager.pptp), PID 16601
> Aug 18 15:15:13 jim-d620 NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
> Aug 18 15:15:13 jim-d620 NetworkManager: <info> VPN service 'org.freedesktop.NetworkManager.pptp' just appeared, activating connections
> Aug 18 15:15:13 jim-d620 NetworkManager: nm_vpn_connection_activate: assertion `nm_vpn_connection_get_vpn_state (connection) == NM_VPN_CONNECTION_STATE_PREPARE' failed
> Aug 18 15:15:13 jim-d620 NetworkManager: <info> VPN plugin state changed: 3
> Aug 18 15:15:13 jim-d620 pppd[16602]: Plugin /usr/lib/pppd/2.4.4/nm-pptp-pppd-plugin.so loaded.
> Aug 18 15:15:13 jim-d620 pppd[16602]: pppd 2.4.4 started by root, uid 0
> Aug 18 15:15:13 jim-d620 pppd[16602]: Using interface ppp1
> Aug 18 15:15:13 jim-d620 pppd[16602]: Connect: ppp1 <--> /dev/pts/1
> Aug 18 15:15:13 jim-d620 pptp[16603]: nm-pptp-service-16601 log[main:pptp.c:267]: The synchronous pptp option is NOT activated
> Aug 18 15:15:13 jim-d620 NetworkManager: <info> VPN connection 'Connection Name' (Connect) reply received.
> Aug 18 15:15:15 jim-d620 pptp[16607]: nm-pptp-service-16601 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 1 'Start-Control-Connection-Request'
> Aug 18 15:15:16 jim-d620 pptp[16607]: nm-pptp-service-16601 log[ctrlp_disp:pptp_ctrl.c:738]: Received Start Control Connection Reply
> Aug 18 15:15:16 jim-d620 pptp[16607]: nm-pptp-service-16601 log[ctrlp_disp:pptp_ctrl.c:772]: Client connection established.
> Aug 18 15:15:16 jim-d620 pptp[16607]: nm-pptp-service-16601 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 7 'Outgoing-Call-Request'
> Aug 18 15:15:17 jim-d620 pptp[16607]: nm-pptp-service-16601 log[ctrlp_disp:pptp_ctrl.c:857]: Received Outgoing Call Reply.
> Aug 18 15:15:17 jim-d620 pptp[16607]: nm-pptp-service-16601 log[ctrlp_disp:pptp_ctrl.c:896]: Outgoing call established (call ID 0, peer's call ID 11881).
> Aug 18 15:15:18 jim-d620 pptp[16607]: nm-pptp-service-16601 log[ctrlp_disp:pptp_ctrl.c:949]: PPTP_SET_LINK_INFO received from peer_callid 0
> Aug 18 15:15:18 jim-d620 pptp[16607]: nm-pptp-service-16601 log[ctrlp_disp:pptp_ctrl.c:952]: send_accm is 00000000, recv_accm is FFFFFFFF
> Aug 18 15:15:18 jim-d620 pptp[16607]: nm-pptp-service-16601 warn[ctrlp_disp:pptp_ctrl.c:955]: Non-zero Async Control Character Maps are not supported!
> Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 log[ctrlp_disp:pptp_ctrl.c:949]: PPTP_SET_LINK_INFO received from peer_callid 0
> Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 log[ctrlp_disp:pptp_ctrl.c:952]: send_accm is FFFFFFFF, recv_accm is FFFFFFFF
> Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 warn[ctrlp_disp:pptp_ctrl.c:955]: Non-zero Async Control Character Maps are not supported!
> Aug 18 15:15:19 jim-d620 pppd[16602]: LCP terminated by peer (wM-(?"^@<M-Mt^@^@^BM-3)
> Aug 18 15:15:19 jim-d620 pptp[16607]: nm-pptp-service-16601 log[ctrlp_disp:pptp_ctrl.c:911]: Received Call Clear Request.
> Aug 18 15:15:22 jim-d620 pppd[16602]: Connection terminated.
> Aug 18 15:15:22 jim-d620 pppd[16602]: Modem hangup
> Aug 18 15:15:22 jim-d620 pptp[16603]: nm-pptp-service-16601 warn[decaps_hdlc:pptp_gre.c:197]: short read (-1): Input/output error
> Aug 18 15:15:22 jim-d620 pptp[16603]: nm-pptp-service-16601 warn[decaps_hdlc:pptp_gre.c:209]: pppd may have shutdown, see pppd log
> Aug 18 15:15:22 jim-d620 pptp[16607]: nm-pptp-service-16601 log[callmgr_main:pptp_callmgr.c:231]: Closing connection (unhandled)
> Aug 18 15:15:22 jim-d620 pptp[16607]: nm-pptp-service-16601 log[ctrlp_rep:pptp_ctrl.c:251]: Sent control packet type is 12 'Call-Clear-Request'
> Aug 18 15:15:22 jim-d620 pptp[16607]: nm-pptp-service-16601 log[call_callback:pptp_callmgr.c:78]: Closing connection (call state)
> Aug 18 15:15:22 jim-d620 pppd[16602]: Exit.
> Aug 18 15:15:22 jim-d620 NetworkManager: <info> VPN plugin state changed: 6
> Aug 18 15:15:22 jim-d620 NetworkManager: <WARN> connection_state_changed(): Could not process the request because no VPN connection was active.
>
> My internet connection is via a Sierra AC 595 PCMCIA aircard, which is managed by Network Manager and seems to work fine. The VPN connection worked using wired and wireless connections and NM 0.6.6. I switched to 0.7 because I couldn't use the VPN with the aircard under 0.6.6, I think because of this bug: https://bugs.launchpad.net/ubuntu/+source/network-manager-applet/+bug/145107