Hi Guys,
This simple applescript works - had lots of help from Camelot and another on applescript support forums:
Before you start go into terminal and type 'ifconfig -lu' do this with your VPN on and off - work out what interface is the VPN (mine is tun0), run ifconfig -lu again with VPN off ...
Search found 3 matches
- Sat Oct 22, 2011 7:23 am
- Forum: Mac Support
- Topic: Bind Transmission to Interface with Applescript
- Replies: 2
- Views: 7252
- Fri Oct 21, 2011 8:13 am
- Forum: Mac Requests
- Topic: VPN status detection ?
- Replies: 4
- Views: 16549
Re: VPN status detection ?
Hi, I have been trying to solve this with an applescript I can't use the ones above as I connect to VPN through the client and not network prefs so I posted this problem on the apple support boards
https://discussions.apple.com/message/16465964#16465964
Camelot pointed my at the solution:
on idle ...
https://discussions.apple.com/message/16465964#16465964
Camelot pointed my at the solution:
on idle ...
- Fri Oct 21, 2011 8:10 am
- Forum: Mac Support
- Topic: HowTo: Bind to a specific network interface
- Replies: 45
- Views: 385236
Re: HowTo: Bind to a specific network interface
Hi, I have been trying to solve this with an applescript so I posted this problem on the apple support boards
https://discussions.apple.com/message/16465964#16465964
Camelot pointed my at the solution:
on idle
set activeInterfaces to do shell script "ifconfig -lu"
if activeInterfaces is not ...
https://discussions.apple.com/message/16465964#16465964
Camelot pointed my at the solution:
on idle
set activeInterfaces to do shell script "ifconfig -lu"
if activeInterfaces is not ...