Setting Up PPTP VPN in Ubuntu 9.10 Karmic Koala

by Craig Mayhew on Nov.05, 2009, under Guides/Fixes, Linux/Ubuntu

Ubuntu 9.10 doesn’t come with VPN connectivity out of the box. So you need to install 3 packages to get it to work. Symptoms of these packages not being installed are grayed out “Add” buttons and grayed out “Apply” buttons in the VPN connection manager.

Here’s the command to install the 3 packages:

sudo apt-get install network-manager-pptp network-manager-vpnc network-manager-openvpn

I have no idea why Ubuntu doesn’t include these packages by default. Looks like a great many people are having this issue: https://bugs.launchpad.net/ubuntu/+source/network-manager-pptp/+bug/107738

:, ,

15 Comments for this entry

  • Yas

    Hi, im new to Ubuntu and trying it for first time:

    I get the following :

    Reading package lists… Done
    Building dependency tree
    Reading state information… Done
    Package network-manager-pptp is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    However the following packages replace it:
    network-manager
    E: Package network-manager-pptp has no installation candidate

    Can you help ?
    Yas

  • shadeslayer

    Yas,

    Looks like you need to update package source list. Following steps should fix this issue:
    1. Go to System> Administration> Software Sources.
    2. Click on tab “Other Software” and click on check box “http://archive.canonical.com/ubuntu”
    3. Click on close button on the bottom right of the panel, it will ask you to reload the package information. Say yes to it and it will connect to server and update package information.
    4. Once package information has been updated, try sudo apt-get install network-manager-pptp network-manager-vpnc network-manager-openvpn command again and it will work this time.

  • ordinaryuser

    Hey shadeslayer !! and Craig Mayhew!!!

    I’m getting a different but yet similar error. I’ve followed advice. I’ve already posted a thread on the Ubuntu Help Forums..

    The link is here I’m the last post (as of 12/7/09 at 730PM EST)

    http://ubuntuforums.org/showthread.php?t=964255&page=7

    Please help, you can respond here and I’ll check back. Thanks in advance!

  • Pjotr

    Thanks! This was really helpful. :-)

  • Nigel

    I’ve done this, added my work to the list. However I don’t see anywhere to ‘connect’ to the VPN?

    I don’t want to click the auto connect as I want to control when I’m on and not on.

  • Mike

    Nigel: you should left-click on the network manager icon in the taskbar, select “VPN Connections” and choose the connection you want to use from the list.

  • yyxt

    Mike,
    When I click the Network Connections icon in the taskbar, the Network Connections window pops up. I cannot see anywhere to indicate a connection. I have the same problem with Nigel.

  • vlad

    Thanks that was really helpful. installed perfectly on ubuntu 9.10

  • Coban

    YEEEEAAAAHHHH !!!!
    i did it, my english is very bad but i just have to read it
    and after uninstall and reinstall completely it finaly works
    i use synaptic paket manager to uninstall all network manager and clic on reinstall
    thank’s a lot
    regards

  • Goran

    I get the same foremetioned issue, however I can not connect to the internet to download the package because i need the PPTP VPN connection for my internet access…
    So this is a chicken vs egg story for me…
    Any solutions or help for me?

  • Craig Mayhew

    If you have no internet connection then download the packages to a USB stick on another computer. Then put the USB stick in your computer and double click to install via package manager.

    Hope that helps,
    Craig

  • Nazeer Palakkaparambil

    This really helped me… Thanks!

  • Hindex

    Hi, um…was just wandering…if i have no internet connection for this situation…from WHERE do i download the rest. Plz link the full web link on which i can find the parts and put em on usb.!! thank you

  • Tom Bullock

    I am just getting started in Ubuntu and Linux and ran into this problem. I used your solution (installing the 3 packages). They installed without complaint. But now I am at a loss to activate the program. In windows at work I have a desktop icon to click on and it opens a gui to connect and use other features.
    I assume there is no gui for vpn on Karmic Koala, so what command do I use from a terminal? I tried “man vpn” and got a “no man entry for vpn” message.

    All working ideas accepted gratefully!!

    Thanks.

    Tom

  • enric garcia

    Tom since you did not checked “automatically connect” you need to left click on the connection icon on your status bar and turn it ON from there.

Leave a Reply


In a bid to lower the spam levels on this blog, please type the following captcha code

Visit our friends!

A few highly recommended friends...