New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

How to run script when connecting to particular network?

Post Reply New Thread Subscribe

Thread Tools

Member Since: Nov 07, 2008
Posts: 26
bkhl is on a distinguished road

bkhl is offline
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.
QUOTE Thanks

McYukon's Avatar
Member Since: May 14, 2009
Location: Near Whitehorse, Yukon
Posts: 2,053
McYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to beholdMcYukon is a splendid one to behold
Mac Specs: 2012 MBP i7 2.7 GHz 15" Matte - 16 GB RAM - 120 GB Intel SSD - 500 GB DataDoubler Mac OS 10.9

McYukon is offline
The closest thing I know to changing things when connecting to a particular network is NetworkLocation,
Download NetworkLocation for Mac - Easy way to change network locations. MacUpdate Mac Software Downloads

Found some others too, one of em is free.
Download AirPort Location for Mac - Save Mac setting configurations for various locations. MacUpdate Mac Software Downloads
Download Locations Pro for Mac - Network aware locations prefpane. MacUpdate Mac Software Downloads

Use the reputation system if a post helps you!
Mac Forums IRC Channel - Help build it by hanging out with us
The next sentence is true. The previous sentence is false.
QUOTE Thanks

Post Reply New Thread Subscribe

« Kernel Trap help | mixing 10.2 and 10.6 »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Connecting Powerbook to Network blip Internet, Networking, and Wireless 1 11-28-2009 10:15 AM
Problems connecting to WPA-PSK wireless network classicbs OS X - Operating System 0 10-30-2009 01:45 PM
Connecting a Network Drive to an existing network buckers Internet, Networking, and Wireless 1 10-27-2009 03:43 PM
Map a drive automatically when connecting to a wireless network cmcirillo Internet, Networking, and Wireless 0 08-18-2009 01:14 AM
connecting to a network hub? muirgheal Internet, Networking, and Wireless 6 11-08-2006 12:20 PM

All times are GMT -4. The time now is 04:31 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?