How to run script when connecting to particular network?

Joined
Nov 7, 2008
Messages
26
Reaction score
0
Points
1
On my university network I have to first connect with DHCP and then log in via a web form. I can easily write a shell script to do the web form login (just one call to curl(1) really). However, I can't figure out how to run this, or an AppleScript, or anything, automatically when I connect to this particular network.
 
Joined
May 14, 2009
Messages
2,052
Reaction score
136
Points
63
Location
Near Whitehorse, Yukon
Your Mac's Specs
2012 MBP i7 2.7 GHz 15" Matte - 16 GB RAM - 120 GB Intel SSD - 500 GB DataDoubler Mac OS 10.9

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top