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 <listen 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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]