Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

At home I use my MacBook Pro on my own WiFi network and routinely mount several volumes from a RAID attached to my AirPort Base station. I like to have my MBP automatically mount the volumes on startup.

In the past I have dragged their locations into my startup items so they would auto-mount, but this causes problems when I startup my MBP on other WiFi networks where my RAID is not available. Finder searches and searches for the drives and sometimes hangs.

What I would like to do is somehow have my MBP detect which WiFi network its on at startup and only if connected to my home network attempt to mount the RAID volumes.

Is this possible with Apple/Shell script or some 3rd party software?

share|improve this question
up vote 8 down vote accepted

MarcoPolo is a really cool peice of software for having your computer figure out where it is based upon a large number of criteria (which WiFi is visisble, which monitor is hooked up, etc.) and then take actions (including mounting network disks) based upon that information.

I use it for switching certain settings based on whether I am at home or at work, and it works really, really well.

Best of all, it's free.

share|improve this answer
This worked really well, thanks! I like the different rules that can be set for different criteria. Another reason why I love Mac developers. – Darren Newton Jul 23 '09 at 16:28
ControlPlane is a maintained Fork of MarcoPolo – Fabian Zeindl Aug 31 '12 at 17:09

Take a look at Home and Away. Works for me. I just have a script that gets run to mount the drives on my home network when it knows I am there.

share|improve this answer
I just looked at MarcoPolo (from the other answer) it looks to have more features...might be the better way to go – Jason Jul 23 '09 at 16:04
Home and Away looks totally suitable, but I went for MarcoPolo for the additional features. Thanks for you help! – Darren Newton Jul 23 '09 at 16:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .