Following my previous experiences with setting up Cisco AnyConnect VPN connections on Ubuntu 14.04 I tried the same approach here by installing packages:
sudo apt-get install -y network-manager-openconnect-gnome network-manager-openconnect network-manager-vpnc network-manager-vpnc-gnome vpnc vpnc-scripts
Even after this an option to create Anyconnect compatible VPN connection does not appear.
Ubuntu 16.04 64bit, stock.
I am having the same problem on fresh install of Ubuntu 16.04. You can however connect via terminal :
after that you should be prompted for user name and password.
I had same problem. use package in this page (or build it if you don't trust) http://tomtomtom.org/networkmanager-openconnect/
It works for me
There seems to be an official fix in xenial-proposed. If you enable pre-release updates and then do:
it will start working. Well, it worked for me at least :)
To supplement Morteza Pourkazemi's answer, the answer works for me, but I need to install the following packages which are required by the
configure
command.I think the issue appears to be that the openconnect plugin is missing a library that network manager now requires.
If I examine the files in /etc/NetworkManager/VPN I see that all of the plugins except openconnect have a section that looks like the following:
network-manager-openconnect-gnome does not appear to provide a similar library and nor does any package in the ubuntu repository. I think this libnm library is some new requirement of NetworkManager and the version of openconnect in ubuntu doesn't support it yet.
Since I upgraded to 16.04 from 15.10 I still have my VPN connection defined. I can select and login from the NM GUI. However I cannot edit the connection via the GUI nor can I add a new VPN connection using openconnect.
It is not at all difficult to do this with a CLI instead of a GUI:
There are also options for giving it your username / password - so throw those in and add the script to startup, and you'll never even have to think about it.