7

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?

2 Answers 2

8

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.

2
  • 1
    This worked really well, thanks! I like the different rules that can be set for different criteria. Another reason why I love Mac developers. Commented Jul 23, 2009 at 16:28
  • 3
    ControlPlane is a maintained Fork of MarcoPolo controlplaneapp.com Commented Aug 31, 2012 at 17:09
2

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.

2
  • I just looked at MarcoPolo (from the other answer) it looks to have more features...might be the better way to go
    – Jason
    Commented Jul 23, 2009 at 16:04
  • Home and Away looks totally suitable, but I went for MarcoPolo for the additional features. Thanks for you help! Commented Jul 23, 2009 at 16:29

You must log in to answer this question.

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