How can I have my VPN connect automatically when the wireless connects?

Posted by ams on Ask Ubuntu See other posts from Ask Ubuntu or by ams
Published on 2011-12-09T09:26:17Z Indexed on 2012/06/08 10:47 UTC
Read the original article Hit count: 239

Filed under:
|

I have a working VPN connection using NetworkManager, OpenConnect, and the network-manager-openconnect-gnome package, but I have to start it manually every time I connect to a network, and I have to enter my password manually each time.

How can I get it to connect automatically, and remember my password (securely)?

I have checked the 'Connect Automatically' box on the Configure VPN page, but this seems to have no effect. I've also got the 'Start connecting automatically' box checked in the pop-up box, and that does avoid the need to press the connect button in that window, but seems to have no part in kicking off the whole process in the first place. There is no option to remember the password in the window, but maybe there's one somewhere else?

© Ask Ubuntu or respective owner

Related posts about network-manager

Related posts about vpn