Bug + Automount Net-Volumes

Got a problem with Viscosity or need help? Ask here!

piranha

Posts: 6
Joined: Sun Aug 30, 2009 9:10 am

Post by piranha » Sun Aug 30, 2009 9:16 am
Hi,

First there is a bug in the connection details, the middle tap isn't right

Image

Is it possible to automount net-volumes in the finder, when you connect in Viscosity?

Thanks for reading.

Greets
Michael

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Sun Aug 30, 2009 8:59 pm
Hi Michael,

Thanks for the bug report. It appears to be an issue with the translation - it'll be corrected in the next version.
Is it possible to automount net-volumes in the finder, when you connect in Viscosity?
Yes - however it does require a little scripting. Basically you'll need to write your own up/down scripts (see OpenVPN's "up" and "down" commands) that mount the network volume for you when you disconnect (and optionally unmount it when you disconnect).

Writing such a script is fairly easy - see the following Mac OS X Hints article. Once you have your script/s, Edit your connection in Viscosity, click the Advanced tab, and add the appropriate up and/or down commands. You'll need to turn off DNS Support for this to work (under the General tab).

If you want DNS support and the ability to auto-mount network volumes you'll need to add your auto-mounting commands to Viscosity's DNS support scripts (e.g. Viscosity.app/Contents/Resources/dnsup.py), however this starts to get somewhat complicated (and requires a knowledge of Python).

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs

piranha

Posts: 6
Joined: Sun Aug 30, 2009 9:10 am

Post by piranha » Sat Sep 19, 2009 3:53 am
Hi James,

Thanks for the detailed answer.

Would it not be easier and great btw if you can choose a automator workflow after (un)connect?

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Fri Sep 25, 2009 2:46 am
Would it not be easier and great btw if you can choose a automator workflow after (un)connect?
Which is a feature which should be coming soon :)

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
4 posts Page 1 of 1