View Single Post
Old November 16th, 2009, 02:20 PM   #3 (permalink)
droppedD
New Member
 
Join Date: Nov 2009
Posts: 9
 
Device(s):
Thanks: 0
Thanked 4 Times in 2 Posts
Default

Quote:
Originally Posted by chris.h View Post
I needed to enable usb debugging on my device, then it took 3 tries to make the connection.

also, an executable apple script can probably run the shell script to cut out having to open terminal.
Updated with instructions about USB debugging (Sorry - I turn that setting on the second I get a phone; totally forgot about it).

Also updated with instructions on making it "one click" from inside OS X.

If anyone wants to throw together an Applescript or Automator up/down script for this to hide the ugly bits, feel free; I spend 1/2 my day at the Terminal anyways, so I don't particularly mind

You could also probably set up a configuration inside the Tunnelblick GUI app to do this that calls a bash script to do the DNS setup/teardown; but yet again, I live at the terminal anyways, so I personally won't bother.
droppedD is offline  
Reply With Quote