vpn pptp on Kubuntu is not available

Bug #151867 reported by dentaku65
182
This bug affects 6 people
Affects Status Importance Assigned to Milestone
knetworkmanager
Fix Released
Wishlist
plasma-widget-networkmanagement (Ubuntu)
Fix Released
Wishlist
Unassigned

Bug Description

Binary package hint: knetworkmanager

In this last version the menu are ok, but when i select pptp or ppp, i get the message :
There is no configuration interface for the VPN service pptp installed. Please check your installation.

I think is a big problem because KVpnc does not work with Knetworkmanager and of course the KNetworkManager dialog allows configuration for service types OpenVPN and VPNC but not for PPTP (and PPP). Options ppp and PPTP says "no configuration interface found".

Package info is as follows (Gutsy 32-bit):

network-manager Version: 0.6.5-0ubuntu14
network-manager-gnome Version: 0.6.5-0ubuntu9
network-manager-kde Version: 1:0.2ubuntu1-0ubuntu5
network-manager-openvpn Version: 0.3.2svn2342-1ubuntu2
network-manager-pptp Version: 0.6.5+svnhead2574-0ubuntu1
network-manager-vpnc Version: 0.6.4svn2422-0ubuntu3

Revision history for this message
torsten-keiser (torsten-keiser) wrote :

I do have the same problem here, with 7.04 erverything worked fine, now with 7.10 I can not setup a vpn-connection over pptp with knetworkmanager. This behavior stops the upgrade-process to 7.10 in my company.

regards

Torsten Keiser

Revision history for this message
dentaku65 (dentaku65) wrote :

See this bug
https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/123696
There is a workaround posted by Nem75 that bypass the issue.

Revision history for this message
Robin Battey (zanfur) wrote :

The gutsy version of network-manager-kde/knetworkmanager isn't compiled with pptp support. I've recompiled the package with pptp support, which creates the pptp configuration interface, but there is a mismatch of names: The NetworkManager configuration calls it the "ppp" service, but knetworkmanager calls it the "pptp" service.

I did get it to work. Download the source package for network-manager-kde, edit debian/rules to add "--with-pptp" to the DEB_CONFIGURE_EXTRA_FLAGS variable, rebuild and reinstall the package, then edit /etc/NetworkManager/VPN/nm-ppp-starter.name to change the "name=ppp" line to "name=pptp". Restart the NetworkManager service (and knetworkmanager itself), and you'll be up and running. This had no effect on the Gnome applet, but allowed the KDE applet to connect without problems.

I suppose you could also edit the network-manager-pptp package, but I suspect that it would be cleaner to update the network-manager-kde package to look for the correct vpn service name.

Revision history for this message
Anthony Mercatante (tonio) wrote :

Thanks for reporting this.
I'll look into this toonight.
Better is probably to patch knm sources to check for the correct service name.

Revision history for this message
Robin Battey (zanfur) wrote :

Found a simpler solution: change /usr/share/services/knetworkmanager_pptp.desktop to point to the correct service name. I've uploaded my working network-manager-kde source and binary packages to http://www.zanfur.com/knetworkmanager/. (This is in addition to adding the --with-pptp option as described above.) Anthony Mercatante is the official maintainer of the package; hopefully he sees my changes soon. Until then, my package is a drop-in replacement for network-manager-kde that will resolve this problem.

Maintainers: This package compiled and tested for i386 architecture running 7.10, using pbuilder with a base.tgz last updated 2007-10-30, and signed with my private key 0x6A57B07D. No changes other than installing this modified package were required to resolve this issue. I've also attached a diff of my changes against version 1:0.2ubuntu1-0ubuntu5. If there's an easier way for me to submit these things, please let me know.

Cheers!
-robin

Revision history for this message
Anthony Mercatante (tonio) wrote :

knetworkmanager (1:0.2ubuntu1-0ubuntu6) hardy; urgency=low

  * Added kubuntu_08_ppp_support.patch. Adds ppp/kppp support. Thanks to
    Roderick B. Greening for the patch.
  * Added kubuntu_09_pptp-service-name.patch and fixed debian/rules to enable
    network-manager-pptp support. Patch from Robin Battey <email address hidden>
    Closes LP: #151867

 -- Anthony Mercatante <email address hidden> Fri, 09 Nov 2007 11:12:19 +0100

Changed in knetworkmanager:
status: New → Fix Released
Revision history for this message
piccobello (piccobello) wrote :

>knetworkmanager (1:0.2ubuntu1-0ubuntu6) hardy; urgency=low

Thanks! Will it be ported to Gutsy soon?

Revision history for this message
nytmyn (nytmyn) wrote :

I have up to date hardy installation (network-manager-kde 1:0.2ubuntu1-0ubuntu7) and pptp is not available or configurable via knetworkmanager.
Additional change in knetworkmanager_pptp.desktop made configuration avalaible. But I was still not able to login to vpn I needed
(nm-applet worked fine) and NetworkManager was even crashing when I was trying to. So I spend several hours debugging and finally I got result: working a configurable pptp in knetworkmanger with several extra options available.
I attach fixed kubuntu_09_pptp-service-name.patch here and much bigger nytmyn_01_pptp-config.patch in in next message (as only one atachement per message is possible)
Yout can get binaries from my ppa: https://launchpad.net/~nytmyn/+archive

Revision history for this message
nytmyn (nytmyn) wrote :
Revision history for this message
mrnedburns (alanteigne) wrote : re: [Bug 151867] Re: vpn pptp on Kubuntu is not available

Sorry, I'm new at this. I see these files available at the link you provided:

knetworkmanager_0.2ubuntu1.orig.tar.gz
                (1.1 MiB)
      knetworkmanager_0.2ubuntu1-0ubuntu9~ppa1.diff.gz
                (23.5 KiB)
      knetworkmanager_0.2ubuntu1-0ubuntu9~ppa1.dsc
                (922 bytes)
      network-manager-kde_0.2ubuntu1-0ubuntu9~ppa1_amd64.deb
                (534.4 KiB)
      network-manager-kde_0.2ubuntu1-0ubuntu9~ppa1_lpia.deb
                (503.6 KiB)
I'm running an x86 Ubuntu 7.10, what should I download?

Thanks

----------------------------------------
Return-Path: <email address hidden>
Received: from adelie.canonical.com [91.189.90.139] by maila31.webcontrolcenter.com with SMTP;
   Thu, 21 Feb 2008 14:35:27 -0700
Received: from forster.canonical.com ([91.189.90.190])
 by adelie.canonical.com with esmtp (Exim 4.60 #1 (Debian))
 id 1JSJ4e-0007eB-8h
 for <email address hidden>; Thu, 21 Feb 2008 21:35:24 +0000
Received: from localhost ([127.0.0.1] helo=forster.canonical.com)
 by forster.canonical.com with esmtp (Exim 4.60 #1 (Debian))
 id 1JSJ4e-00039h-4K
 for <email address hidden>; Thu, 21 Feb 2008 21:35:24 +0000
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: nytmyn <email address hidden>
To: <email address hidden>
Reply-To: Bug 151867 <email address hidden>
References: <email address hidden>
Sender: <email address hidden>
Date: Thu, 21 Feb 2008 21:25:40 -0000
Message-Id: <email address hidden>
Subject: [Bug 151867] Re: vpn pptp on Kubuntu is not available
X-Launchpad-Bug: distribution=ubuntu; sourcepackage=knetworkmanager;
 component=main; status=Fix Released; importance=Undecided;
 assignee=None;
X-Launchpad-Bug-Private: no
X-Launchpad-Bug-Security-Vulnerability: no
X-Launchpad-Message-Rationale: Subscriber of Duplicate
Errors-To: <email address hidden>
Precedence: bulk
X-Generated-By: Launchpad (canonical.com)
X-SmarterMail-Spam: SpamAssassin 0 [raw: 0], SPF_None

I have up to date hardy installation (network-manager-kde 1:0.2ubuntu1-0ubuntu7) and pptp is not available or configurable via knetworkmanager.
Additional change in knetworkmanager_pptp.desktop made configuration avalaible. But I was still not able to login to vpn I needed
(nm-applet worked fine) and NetworkManager was even crashing when I was trying to. So I spend several hours debugging and finally I got result: working a configurable pptp in knetworkmanger with several extra options available.
I attach fixed kubuntu_09_pptp-service-name.patch here and much bigger nytmyn_01_pptp-config.patch in in next message (as only one atachement per message is possible)
Yout can get binaries from my ppa: https://launchpad.net/~nytmyn/+archive

** Attachment added: "kubuntu_09_pptp-service-name.patch"
   http://launchpadlibrarian.net/12148583/kubuntu_09_pptp-service-name.patch

--
vpn pptp on Kubuntu is not available
https://bugs.launchpad.net/bugs/151867
You received this bug notification because you are a direct subscriber
of a duplicate bug.

Revision history for this message
Björn Streicher (bstreicher) wrote :

Are you sure this bug is fixed with knetworkmanager-0.2.2-1ubuntu2 ?

I'm using the latest hardy packages and I still get the message: "There is no configuration interface for the VPN service ppp installed. Please check your installation." when trying to add a VPN connection with service name "ppp" (sic!, not pptp). Editing existing "ppp"-entries brings up the same error message.

I think I once had installed some packages from nytmyn and I worked back then (by then I was still on gutsy).

network-manager-pptp version is 0.6.5+svnhead2574-0ubuntu1

Revision history for this message
mrnedburns (alanteigne) wrote :

I can confirm that this has indeed NOT been fixed for Kubuntu Hardy Heron 8.04, with knetworkmanager-0.2.2. PPTP VPN connections still are not possible without complex workarounds above the capability of the average user.

Revision history for this message
Christian González (droetker) wrote :

Also can confirm, NOT fixed in Hardy.

Revision history for this message
Kevin Christmas (kachristmas) wrote :

I can confirm the other confirmations.

Revision history for this message
Harald Sitter (apachelogger) wrote :

Reopening

Changed in knetworkmanager:
importance: Undecided → Medium
status: Fix Released → Triaged
Revision history for this message
Murz (murznn) wrote :

Confirm on Hardy 8.04 with last updates

Revision history for this message
cmnorton (octopusgrabbus) wrote :

After reading bug https://lists.ubuntu.com/archives/kubuntu-bugs/2007-October/038764.html I found there is no
/usr/share/services/knetworkmanager_pptp.desktop

I only have these.
-rw-r--r-- 1 root root 627 2007-07-20 06:44 /usr/share/services/knetworkmanager_openvpn.desktop
-rw-r--r-- 1 root root 555 2007-07-20 06:44 /usr/share/services/knetworkmanager_vpnc.desktop

What should the settings be? I can guess what most of them should be; but am hoping someone has a sample of this file I could use.

tnx

Revision history for this message
Björn Streicher (bstreicher) wrote :

I've got a /usr/share/services/knetworkmanager_pptp.desktop with the contents listed below. However, changing the service name to pptp as described on the message you linked, did not help. May be there are some settings missing or some of them need to be changed.

[Desktop Entry]
Encoding=UTF-8
Type=Service
Icon=
ServiceTypes=KNetworkManager/VPNPlugin
X-KDE-Library=knetworkmanager_vpnc
X-NetworkManager-Services=vpnc
X-KDE-PluginInfo-Author=Helmut Schaa
<email address hidden>
X-KDE-PluginInfo-Name=knetworkmanager_vpnc
X-KDE-PluginInfo-Version=0.1
X-KDE-PluginInfo-Website=
X-KDE-PluginInfo-Category=VPNService
X-KDE-PluginInfo-Depends=
X-KDE-PluginInfo-License=GPL
X-KDE-PluginInfo-EnabledByDefault=false
Name=VPNC
Name[bn]=ভপএনস
Name[xx]=xxVPNCxx
Comment=VPNC
Comment[bn]=ভপএনস
Comment[xx]=xxVPNCxx

X-Ubuntu-Gettext-Domain=desktop_knetworkmanager

Revision history for this message
Guido (flyingmonkey) wrote :

Hi,
I installed the package provided by nytnym (https://launchpad.net/~nytmyn/+archive). The configuration of PPTP connection is possible, but the text fields to set the mtu and mru are limited to two digits only (up to 99). But having a look at the nytmyn_01_pptp-config.patch, you never seem to touch these settings.

I tried to edit the mtu and mru settings in knetworkmanagerrc by hand, but they are overwritten as soon as the configuration dialog of Knetworkmanager is used the next time.

Is there any robust workaround, since I am not able to connect at the moment?

Cheers,

Guido

Revision history for this message
Jonathan Jesse (jjesse) wrote :

This is still a problem in Intrepid 8.10. Would hope that something gets done quickly for this.

Is there an upstream bug against this?

JOnathan

Changed in knetworkmanager:
status: Unknown → New
Revision history for this message
cmnorton (octopusgrabbus) wrote :

Is there a new patch for 8.04, and instructions on how to apply it? I got confused as to how to apply the patches noted earlier this year and Fall 2007.

Thanks.
cmn

Revision history for this message
Tom Helner (duffman) wrote :

PPTP is not available in knetworkmanager 0.7 yet. There is an upstream bug at:

https://bugs.kde.org/show_bug.cgi?id=174439
Bug 174439: VPN PPTP not available

Also should this bug be marked as a duplicate of one of these (or visa versa):

dependency problem on Kubuntu
https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/123696

VPN PPTP not available for knetworkmanager 0.7
https://bugs.launchpad.net/ubuntu/+source/knetworkmanager/+bug/294717

Revision history for this message
cmnorton (octopusgrabbus) wrote :

Since commenting on this bug, I found that KVPNC works on 8.04 KUbuntu. It finally started working outside our firewall after a download in December 2008. That was with a Thinkpad T61p running KUbuntu. KVPNC won't disconnect on Ubuntu 8.10 -- https://bugs.launchpad.net/ubuntu/+source/kvpnc/+bug/289463 -- but Network Manager works fine creating a VPN.

Changed in knetworkmanager:
status: New → Confirmed
Revision history for this message
Ram (tempwarez) wrote :

Confirmed the problem still persists with Knetworkmanager. Saving config using nm-applet and starting KNM don't help even after restarting too [don't waste your time with this work around]. The latest version of KVPNC available at http://download.gna.org/kvpnc/kvpnc_0.9.1_hardy-1_i386.deb works great on hardy and backtrack linux 4. Kvpnc doesn't freeze while disconnecting. This problem was also fixed in Kvpn version - 0.9.1

Revision history for this message
Ram (tempwarez) wrote :

For other distros who need to connect to a VPN from KDE immediately check - http://download.gna.org/kvpnc/

I am very sorry that this is not related to this bug, but just to help people who need it urgently.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

VPN over PPTP is on the ToDo list for the NetworkManager plasma widget.

Changed in knetworkmanager:
importance: Medium → Wishlist
Revision history for this message
Vishal Rao (vishalrao) wrote :

Is there any update on status for VPN over PPTP for the plasma widget network manager? Is it likely to be ready and included for the Jaunty final release? This is a deal breaker (for me) and lack of this will cause me to desert my beloved Kubuntu for Ubuntu...

Revision history for this message
William Hood (william-a-hood) wrote :

Vishal,

It doesn't look like the new plasmoid will supported PPTP for Jaunty, but I wouldn't let it be a deal-breaker. If you install the package "network-manager-gnome", remove the Network Manager Plasmoid from your desktop, put a link in ~/.kde/Autostart to /usr/bin/nm-applet, then restart KDE, you will be able to run KDE, but will instead have the Gnome network manager applet (complete with PPTP VPN) running in your System Tray. I'd rather use the new Plasmoid, but I may well have to wait for October. Until then, no I'd rather not downgrade to Gnome over one issue.

Revision history for this message
Vishal Rao (vishalrao) wrote :

Thanks William,

Since my last comment I'd already realised you can install GNOME's network manager after some online searches and especially after trying Fedora 11 (KDE) beta and noticing the icon looked funny. I had to also install gnome-keyring and gnome-keyring-daemon in addition to the network-manager-pptp plugins. Then instead of ~/.kde/Autostart I edited /etc/xdg/autostart/nm-applet.desktop and appended "KDE;" to the list of desktops in the line that read "OnlyShowIn=" and voila VPN/PPTP works for me and so does static IP config. So I'm glad I can continue running Kubuntu 9.04 since KDE 4.2 is looking very good indeed.

Revision history for this message
dino.korah (dckorah) wrote :

I agree with Vishal and William, gnome-keyring, gnome-keyring-daemon, network-manager-pptp, pptp-linux, AND network-manager-gnome on [K]ubuntu 9.04 works for me.
I start up the daemons with the following script in .kde/Autostart. [ I havent tried Vishal's method; sorry. ]

#!/bin/sh
/usr/bin/gnome-keyring-daemon
(
    sleep 5;
    killall nm-applet;
    killall knetworkmanager;
    sleep 1
    nohup /usr/bin/nm-applet --sm-disable </dev/null &>/dev/null &
)&

And it seem to work for me.

Once you log in, you can [left] click on the icon and configure VPN. It is straight forward from here.

Revision history for this message
IRQ (apavelm) wrote :

I suppose that not difficult to include support of pptp-vpn in plasma-applet. But I don't know why developers ignoring this. If anybody knows way to sign to the developers plasma-network-manager-applet, please write it.
//WBR

affects: plasma-widget-network-manager (Ubuntu) → plasma-widget-networkmanagement (Ubuntu)
Changed in knetworkmanager:
status: Confirmed → In Progress
Revision history for this message
cmnorton (octopusgrabbus) wrote :

Appreciate this finally being confirmed. Later versions of NetworkManager are improved, but my production workstation has to stay on 8.04 for stability, and I'd like to use NetworkManager for vpn, instead of adding another application to do it.

Revision history for this message
IRQ (apavelm) wrote :

look at this: https://bugs.kde.org/show_bug.cgi?id=174439

plugin is close to be finished.

Revision history for this message
Oedipe (oedipe) wrote :

I do hope that Kubuntu 8.04 (LTS) hardy users will be able, at last, to have a VPN pptp operational !
I mean it's realy a pity to see KDE not handling the most basic networking functions... For me and my company it was a "no go" !

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Should be working in general with the latest snapshot.

Changed in plasma-widget-networkmanagement (Ubuntu):
status: Triaged → Fix Released
Changed in knetworkmanager:
importance: Unknown → Wishlist
Changed in knetworkmanager:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.