Comment 18 for bug 259168

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

This works for me, too!!! great!

Am Montag, den 29.09.2008, 22:35 +0000 schrieb Stef Walter:
> After looking at the source code, I got this to work by adding a gconf
> setting. This setting cannot be properly set from the new network-
> manager-pptp UI.
>
> I added a string type gconf key called 'refuse-eap' under the gconf path
> of /system/networking/connections/1/vpn and set it to 'yes'
>
> /system/networking/connections/1/vpn/refuse-eap = "yes"
>
> Obviously the '1' number there may be different for different users.
>
> --
> Network Manager 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: Confirmed
>
> 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