Comment 71 for bug 259168

Revision history for this message
Matthew (matthew-isaacs) wrote : Re: [Bug 259168] Re: Network Manager unable to connect to PPTP VPN

Simply adding the hardy repositories is probably not the best idea. You can
pin the version, but future upgrades MAY be problematic; at least I've had
trouble in the past with this. Additionally library dependencies are
different.

A better way is to grab the 0.6.x source package from hardy and rebuild it
for Intrepid. It could be hosted in someone's PPA on launchpad. I may do
this once I get some time.

Additionally, there appear to be workarounds by editing the gconf database
to configure the settings for the connection and not using the NM applet
GUI.

This has recently cause us some problems at my place of employment, so I may
have some time to generate the packages and/or document the workaround in
more detail later this week (if someone doesn't beat me to it).

The only regression I'm aware of is in PPTP VPN support. 0.7 adds many
features otherwise. Additionally, PPTP support in NM is, and AFAIK always
has been, a universe component and therefore does not quite have the
support/review that components in main do.

On Mon, Nov 10, 2008 at 1:37 PM, James House <
<email address hidden>> wrote:

> Will installing those packages overwrite the 8.10 packages automatically,
> or
> should the Intrepid packages be removed first? What about when updates come
> out that fix this issue? Do we need to watch for them, or will they
> automatically be installed with apt-get?
>
> On Mon, Nov 10, 2008 at 1:17 PM, dmandell <email address hidden> wrote:
>
> > I'd like to reiterate what William said, 0.7 is a major regression in
> > terms of features and in terms of the number of bugs introduced.
> >
> > William Loucks and those who might prefer the old version:
> >
> > I decided it was better to just use the Hardy version of network
> > manager... if you're using pptp you need to install the following
> > packages from the Hardy repository:
> >
> > libnm-glib0
> > libnm-util0
> > network-manager
> > network-manager-gnome
> > network-manager-pptp
> >
> > These packages work fine with Intrepid, and the former route
> > functionality (which I also used) has returned.
> >
> > --
> > 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: Triaged
> > Status in "pptp-linux" source package in Ubuntu: Invalid
> > Status in network-manager-pptp in Ubuntu Intrepid: Triaged
> > Status in pptp-linux in Ubuntu Intrepid: Invalid
> >
> > 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
> >
>
> --
> 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.
>