Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

On my home network, I have a NAS I regularly use for storage.

I have set my Mac to automatically mount it via a login item to open the directory on the System Preferences/Users & Groups pane.

I also use my Mac at work, though, where I can't access the NAS any more, because it's on a different network.

This means I get a ton of persistent "There was a problem connecting to the server" messages. I can close them, but they pop back up again.

Is there a better way to do what I'm doing, or to disable those messages?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

What you need is a network location manager program, typically these allow you to perform certain actions (e.g. connect to a network drive) when the machine is on some networks and not on others. Several years ago I was using one, now defunct, so I can't recommend any from experience. What I found now are things like Sidekick ($29), Control Plane (free).

You can also do this with a script (e.g. Login Item, if you log off or shutdown the machine when moving it from home to work or vice versa, or cron job) to determine the network the machine is on and depending on it to connect to the network drive (if not already connected) or not.

share|improve this answer
add comment

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.