1

On a lightweight Debian machine I am using ConnMan instead of NetworkManager. For this I installed ConnMan based on the following packages:

  • connman
  • connman-vpn
  • cmst

Ethernet, wifi, virtual bridges etc. are working completely fine.

However, it seems to be impossible to graphically add a VPN-connection (openconnect) via connman's cmst-GUI.

Do I have to create config-files for every VPN via text editor by hand?


In NetworkManager this was a pretty easy task within the GUI. First, install the packages

  • network-manager
  • network-manager-gnome
  • network-manager-openconnect-gnome

Afterwards it was possible to set up the VPN inside the GUI.


In ConnMan this intention seems to be a bit different. So the final question now is:

How to set up a Cisco AnyConnect compatible VPN-connection (OpenConnect) for use with ConnMan?

1

To configure your VPN file you can use connman_dmenu:

# apt install suckless-tools
$ git clone https://github.com/march-linux/connman_dmenu.git
$ cd connman_dmenu
# ./connman_dmenu

You will be able to connect/disconnect to the configured VPN from the cmst GUI.

Edit :

cmst (connman-ui) have a VPN Editor , it can be enabled from Preferences by checking Advenced Control , The VPN Editor tab will appear at the bottom of the GUI.

  • Thanks for your answer! Unfortunately connman_dmenu is not included in the official Debian repositories. As far as I understand this package is just a tool for creating the necessary configuration-file, right? Where do I have to put this config-file in the end? And do I need the package openconnect as well for running my VPN? – Dave May 10 '18 at 16:37
  • @Dave answer edited with the right package name. – GAD3R May 10 '18 at 17:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.