Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

2 Answers 2

up vote 6 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
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. –  Darren Newton Jul 23 '09 at 16:28
1  
ControlPlane is a maintained Fork of MarcoPolo controlplaneapp.com –  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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.