Allow Single connection only via networkmanager-openvpn (reuse tun0?)
I've just subscribed to a VPN service that has multiple locations, and imported all the necessary .ovpn files into Network Manager. It seems that I do not have the option to disconnect from the VPNs when connected, and upon choosing another location it creates another tun device. I've made the change to no success to /etc/NetworkManager/VPN/openvpn-service.name supports-multiple-connections=false Yet it still connects multiple locations without disconnecting the previous connection. Furthermore, I've set it to specifically use tun0 for my connections yet upon trying to load another connection even after "disabling" the VPN (I use Cinnamon Desktop) it says that it cannot access tun0 as the device is busy. I can disconnect via nmctl but was wondering if there was a way that I could force NetworkManaager to only use one VPN connection at a time, releasing back tun0 to be used again. Error Code: ERROR: Cannot ioctl TUNSETIFF tun0: Device or resource busy (errno=16) ___ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: [PATCH] nm-pppd-plugin: fix crash
On Thu, 2016-04-14 at 16:48 +0200, Lubomir Rintel wrote: > On Wed, 2016-04-13 at 22:53 +0200, Thomas Haller wrote: > > > > Thank you. A few lines before there is also: > > > > bus_name = getenv ("NM_DBUS_SERVICE_PPTP"); > > if (!bus_name) > > bus_name = NM_DBUS_SERVICE_PPTP; > > > > > > thus, this should be changed too. > That one looks correct to me? Oh, right. Never mind. Thomas signature.asc Description: This is a digitally signed message part ___ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: [PATCH] nm-pppd-plugin: fix crash
On Wed, 2016-04-13 at 22:53 +0200, Thomas Haller wrote: > On Wed, 2016-04-13 at 21:43 +0300, Mikhail Efremov wrote: > > > > A bus name is not an object path. > > Fix crash introduced by commit > > 17ae85788987ef1f7c92a251c535312163144c33. > > --- > > src/nm-pptp-pppd-plugin.c | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/src/nm-pptp-pppd-plugin.c b/src/nm-pptp-pppd-plugin.c > > index 2b8c819..4567fcc 100644 > > --- a/src/nm-pptp-pppd-plugin.c > > +++ b/src/nm-pptp-pppd-plugin.c > > @@ -318,8 +318,8 @@ plugin_init (void) > > proxy = g_dbus_proxy_new_sync (bus, > > G_DBUS_PROXY_FLAGS_DO_NOT_L > > OA > > D_PROPERTIES, > > NULL, > > - NM_DBUS_SERVICE_PPTP_PPP, > > bus_name, > > + NM_DBUS_PATH_PPTP_PPP, > > NM_DBUS_INTERFACE_PPTP_PPP, > > NULL, ); > > g_object_unref (bus); > Thank you, applied. > Hi Mikhail, > > > > Thank you. A few lines before there is also: > > bus_name = getenv ("NM_DBUS_SERVICE_PPTP"); > if (!bus_name) > bus_name = NM_DBUS_SERVICE_PPTP; > > > thus, this should be changed too. That one looks correct to me? > > > [[ I leave this to Lubomir (CC'ed) ]] > > > Thomas Lubo ___ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: [PATCH] dns: use DBus to make dnsmasq nameserver changes
On Tue, 2016-03-22 at 10:03 -0400, Mathieu Trudel-Lapierre wrote: > Use DBus to make nameserver updates rather than restarting the > dnsmasq binary > again and again. > > Signed-off-by: Mathieu Trudel-Lapierreical.com> Hi, I opened a bug for this patch. https://bugzilla.gnome.org/show_bug.cgi?id=765043 And you'll find the code at https://cgit.freedesktop.org/NetworkManager/NetworkManager/log/?h=th/dnsmasq-dbus-bgo765043 Thomas signature.asc Description: This is a digitally signed message part ___ networkmanager-list mailing list networkmanager-list@gnome.org https://mail.gnome.org/mailman/listinfo/networkmanager-list