Macos – How to keep a server connected as a volume after sleep

macosmountnetwork-sharessleep

This would be in Mac OS X 10.6…

I know I can connect a server share as a volume and do so via a script so every time I boot up it gets mapped.

How can I make sure that same share is mapped after my computer comes out of sleep mode? It seems like the connection gets dropped. Can the same process map the drive for me when I boot up?

Best Answer

TTry this:

Add

/- auto_afp

to /etc/auto_master. Then, create /etc/auto_afp with a line like

/Volumes/MyShare -fstype=afp afp://computername/sharename

Make sure the permissions of auto_afp match auto_master

Take a the following for more info: http://images.apple.com/business/docs/Autofs.pdf

Related Question