Re: Mount on VPN-Connection
On Wed, 2010-05-26 at 09:24 -0500, Greg Oliver wrote: On Wed, May 26, 2010 at 9:22 AM, rh lis...@singsang.at wrote: I want to mount some samba shares every time a special VPN-connection is established. How can I do this? Thanks for your hints. Reinhard I vote for passing the connection name to the dispatcher, so dispatcher could do all sorts of cool things! Wishlist. I do not know of a way to do it currently by connection though. 'man NetworkManager' You'll get a 'vpn-up' even for your dispatcher script, and you'll get a ton of info in the script's environment. Including the UUID of the connection that just got brought up, which you can use to figure out if you want to start the samba share or not. Dan ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Mount on VPN-Connection
I want to mount some samba shares every time a special VPN-connection is established. How can I do this? Thanks for your hints. Reinhard -- R.Hnat ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Mount on VPN-Connection
On Wed, May 26, 2010 at 9:22 AM, rh lis...@singsang.at wrote: I want to mount some samba shares every time a special VPN-connection is established. How can I do this? Thanks for your hints. Reinhard I vote for passing the connection name to the dispatcher, so dispatcher could do all sorts of cool things! Wishlist. I do not know of a way to do it currently by connection though. -Greg ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list
Re: Mount on VPN-Connection
On 05/26/2010 04:22 PM, rh wrote: I want to mount some samba shares every time a special VPN-connection is established. How can I do this? Doesn't the vpn software have the ability to launch scripts on connection establishment? Other than that, does your system use /sbin/ifup-local? Or is that a Fedora only thingy? I use /sbin/ifup-local to mold the routing table, cleanup /etc/resolv.conf and restart openvpn after a connection change. (Note that it does not exist by default, YOU have to create it!) M4 ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list