desktop-packages team mailing list archive
-
desktop-packages team
-
Mailing list archive
-
Message #06448
[Bug 280571] Re: NetworkManager does not auto-connect to VPNs marked "Connect Automatically"
Johannes Storm wrote a very tiny script. Is anyone able to prepare the
patch here? I don't know where to start in the sources. NM is much to
complicated for me to start helping with patches :(
For the meantime, his script for /etc/NetworkManager/dispatcher.d/:
#! /bin/bash
REQUIRED_CONNECTION_NAME="<Connection1>"
VPN_CONNECTION_NAME="<VpnConnection1>"
activ_con=$(nmcli con status | grep "${REQUIRED_CONNECTION_NAME}")
activ_vpn=$(nmcli con status | grep "${VPN_CONNECTION_NAME}")
if [ "${activ_con}" -a ! "${activ_vpn}" ];
then
nmcli con up id "${VPN_CONNECTION_NAME}"
fi
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/280571
Title:
NetworkManager does not auto-connect to VPNs marked "Connect
Automatically"
Status in NetworkManager:
Confirmed
Status in “network-manager” package in Ubuntu:
Triaged
Status in Debian GNU/Linux:
New
Bug description:
VPN connections marked "Connect Automatically" are not activated when
a wired or wireless network becomes available.
To manage notifications about this bug go to:
https://bugs.launchpad.net/network-manager/+bug/280571/+subscriptions