OS X: Automatically trigger actions after connecting to a network.
I often change networks during the day, and always connect to my office network through a VPN. I want to automate the process to do something like this:
1) After connecting to an arbitrary network, connect to my VPN
2) Mount a share on the VPN
3) When going to sleep mode, unmount share and disconnect from VPN
I have so far only found
pearPort. It's a step in the right direction, but it does only work for WLAN, not for Bluetooth (cellphone modem) nor Ethernet. It also only connects to a VPN, and can't trigger other actions.
The ideal solution would be something that simply listens to new connections, and can be configured to then call arbitrary apps/applescripts, as that would be the most flexible solution.
Does something like this exist?
posted by stereo at 5:56 AM on June 24, 2007