Gnome Network Manager VPN Tab Disabled ( Greyed out )

by on May 26, 2011 · 23 comments· LAST UPDATED May 26, 2011

in

I've the NetworkManager service is installed and started under Linux desktop. The applet is running. The NetworkManager can display available network hardware and wireless networks. But, I'm unable to add VPN support as the Add tab is greyed out. I need to use both PPTP and Cisco vpn clients. How do I fix this problem under Debian or Ubuntu Linux?

The Gnome NetworkManager has pluggable support for VPN software, including Cisco compatible VPNs (using vpnc), openvpn, and Point-to-Point Tunneling Protocol (PPTP). You need to simply install the NetworkManager VPN plugin and configure the user's machines with the VPN's settings. The first time they connect, the user will be asked for their passwords.

Gnome Network Manager Cisco PPTP VPN Connections

Fig.01: Gnome Network Manager Cisco PPTP VPN Connections

The Add tab is greyed out when required plugins are not installed for Gnome NetworkManager. The following plugins should be installed under Debian / Ubuntu Linux:

 

  1. network-manager-openvpn and network-manager-openvpn-gnome - network management framework OpenVPN plugin GNOME GUI
  2. network-manager-pptp and network-manager-pptp-gnome - network management framework PPTP plugin GNOME GUI
  3. network-manager-strongswan - network management framework strongSwan ipsec vpn plugin
  4. network-manager-vpnc and network-manager-vpnc-gnome - network management framework (VPNC plugin GNOME GUI)

To install all of the above plugins use the apt-get command as follows:
$ sudo apt-get install network-manager-openvpn network-manager-pptp network-manager-vpnc
The following plugins should be installed under RHEL / Fedora / CentOS / Scientific Linux / Red Hat Enterprise Linux desktop systems:

  1. NetworkManager-openvpn : NetworkManager VPN plugin for OpenVPN
  2. NetworkManager-pptp : NetworkManager VPN plugin for pptp
  3. NetworkManager-vpnc : NetworkManager VPN plugin for vpnc

To install all of the above plugins use the yum command as follows:
# yum install NetworkManager-vpnc NetworkManager-pptp NetworkManager-openvpn
Now, you can add vpn connection to your system using NetworkManager itself. You may need to restart the NetworkManager as follows:
# /etc/init.d/network-manager restart

Fig.02: Linux Gnome Desktop Cisco PPTP VPN Client Support Added

Fig.02: Linux Gnome Desktop Cisco PPTP VPN Client Support Added

TwitterFacebookGoogle+PDF versionFound an error/typo on this page? Help us!

{ 23 comments… read them below or add one }

1 Al. June 9, 2011 at 8:52 am

The full command line for Debian / Ubuntu should actually be:

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

The Gnome PPTP GUI plugin was missing ;-)

Reply

2 Mike E December 28, 2011 at 4:31 pm

Thanks Al

Reply

3 mH~ April 7, 2014 at 5:16 pm

Thanks!

Reply

4 Marcio September 16, 2011 at 3:22 pm

Tks man.

It works fine on debian squeeze.

Reply

5 satyam October 7, 2011 at 8:20 am

i have followed your steps for centos6 but the button is still inactive.

Reply

6 Seba November 28, 2011 at 8:02 am

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

The Gnome VPNC GUI plugin was missing to :)

Reply

7 Gerardo January 20, 2012 at 7:31 am

Thank you very much works great!. How did you find out that it needed some extra packages?

Reply

8 guang March 16, 2012 at 10:31 am

Thanks, this is really helpful.

I found NetworkManager-openvpn package from EPEL repository:
http://fedoraproject.org/wiki/EPEL

Reply

9 HD October 29, 2012 at 2:33 pm

Hello, thanks fot howto, but I followed all steps and the “Apply” button is styl grey :( using fresh install Ubuntu 12.10

Reply

10 Christoforo November 9, 2012 at 8:36 am

On Debian 7 (wheezy) don’t work.

Reply

11 Morteza January 25, 2013 at 3:53 pm

I tested openvpn + pptp , that works correctly!

Reply

12 Upload March 16, 2013 at 6:24 pm

On Debian 7 (wheezy) you must install: sudo apt-get install network-manager-openvpn-gnome

Reply

13 data888 December 1, 2013 at 4:04 pm

Thanks – worked for me – Wheezy!

Reply

14 Seth May 19, 2013 at 10:14 am

I’ve installed ever package on this site, including sudo apt-get install network-manager-openvpn-gnome and I still can’t get my VPN to turn on in Debian Wheezy. I can set everything up. But it won’t click on.

Reply

15 Tristen June 16, 2013 at 1:47 am

I’m having the same issue on Debian 7 (wheezy). vpnc works fine via the command line. I’m presuming the issue to be network-manager-vpnc.

Reply

16 dox3r June 23, 2013 at 2:42 pm

Ive done all the installs on this page… nothing seems to work. any other ideals?

Reply

17 dox3r June 23, 2013 at 2:44 pm

my issue is the grayed-out “add” under the VPN tab.

Reply

18 uhi July 18, 2013 at 2:52 am

same problem with wheezy .. a bug?

Reply

19 uhi July 18, 2013 at 2:56 am

Aactually with
$ sudo apt-get install network-manager-openvpn network-manager-pptp network-manager-pptp-gnome network-manager-vpnc

it worked on wheezy after a restart:
$ /etc/init.d/network-manager restart

Reply

20 Fábio September 16, 2013 at 10:00 pm

I got working on wheezy after a restart too!

aptitude install network-manager-openvpn network-manager-pptp network-manager-pptp-gnome network-manager-vpnc-gnome

AND

/etc/init.d/network-manager restart

Reply

21 Stephen October 20, 2013 at 10:39 pm

My sysadmin told me not to use the Network Manager, as it creates more troubles than it solves. If I wanted to connect to a VPN, I would try to find how to use the underlying tools.

Reply

22 Galip Ermis January 16, 2014 at 4:04 am

NetworkManager will rewrite all network-configuration files if you will enable it.

If your using OpenVPN for access, then you could ask your sysadmin to supply a config-file, like a *.ovpn file. Thus you can setup your VPN via command-line.
Like for example: # sudo openvpn –config client.ovp.

You can also download and install a third-party tool.

Reply

23 Wellington Torrejais da Silva July 3, 2014 at 3:48 pm

Thanks!!

Reply

Leave a Comment

Tagged as: , , , , , , , , , , , , , , , , , , ,

Previous Faq:

Next Faq: