Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

30secondstosam

macrumors newbie
Original poster
Oct 12, 2011
24
0
Hi all - something that does my head in every morning at work (because I'm lazy) is connecting to the NAS automatically. I know that on this small LAN, the Windows (*shudders*) machines automatically connect and there is no mounting required.
However, in Mac, we have to go to finder, click on the NAS, then click on the folders we want to use and THEN it mounts them.

Any ideas? I've tried a couple a couple of login scripts that didn't work. Using Snow Leopard

Thanks all
 
RE: automounting of shares...

Hi 30secondstosam,

I don't quite know what you mean when you say that you tried a couple of login scripts, so perhaps you have already tried the things I suggest below. Sorry if that is the case...

First of all, you can use the Login Items in the Users & Groups pane to add a network share to your login. When you login then the network share should be mounted (assuming, of course, that you have the proper permissions to do so, but this should be the case if you can mount the share manually) automatically.

Code:
System Preferences -> Users & Groups -> <username> -> Login Items -> + -> <shared volume>

Secondly, if the first method did not work, then you can add the desired mount to your /etc/auto_master map file used by the automountd daemon which is run by the launchd daemon at boot time. This will mount the share at boot time. While this is a little more work, it is well documented how to do this in the manpages: "man auto_master", "man automount", "man autofs.conf", "man automountd", etc.

Regards,
Switon
 
Once you have your NAS volumes connected. Go to system preferences, login items, drag the volume icon(s) from your desktop into the login items window to add them to your login items.
 
You could also created an Automator workflow to start on login as well to map the drives.

I do it with an Automator workflow so the drives map without opening new windows of the contents. It just mounts the shares.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.