Accessing information about a connection with scutil
Posted: Sun Sep 21, 2014 10:24 pm
I have seen some posts mention certain System Configuration keys for accessing information about a VPN connection:
Is there some configuration option that enables exposing the information about a connection to System Configuration? I am looking for a "State:/Network/Service/com.viscosityvpn.vpn-tun0/IPv4" key or similar and for the "com.viscosityvpn.vpn-tun0" service to be added to the "Setup:/Network/Global/IPv4" ServiceOrder in order to complete a script that I am working on to monitor my client IP address.
I also tried accessing this information through AppleScript, but I am only able to determine the connection name and status ("Connected").
I am using Viscosity 1.5.1 (1232) for Mac OS 10.9.5.
- http://www.sparklabs.com/forum/viewtopic.php?f=3&t=471
- http://www.sparklabs.com/forum/viewtopic.php?f=3&t=491
- http://www.sparklabs.com/forum/viewtopic.php?f=3&t=686
Is there some configuration option that enables exposing the information about a connection to System Configuration? I am looking for a "State:/Network/Service/com.viscosityvpn.vpn-tun0/IPv4" key or similar and for the "com.viscosityvpn.vpn-tun0" service to be added to the "Setup:/Network/Global/IPv4" ServiceOrder in order to complete a script that I am working on to monitor my client IP address.
I also tried accessing this information through AppleScript, but I am only able to determine the connection name and status ("Connected").
I am using Viscosity 1.5.1 (1232) for Mac OS 10.9.5.