20
30
I use Mac OS 10.6 to connect to a NAS drive using the afp
protocol (Finder -> Go -> Connect To Server). I have set up the NAS to automatically power off during the day, and power on in the evening. Now what happens is this: each time the NAS powers off, the network share disappears. After the NAS has turned on again, I have to manually re-connect to the network share.
My girlfriend uses Windows 7 to connect to the same share. For her, when the NAS is off, the network drive is still visible in "My Computer", albeit with a "not connected" marker. When the NAS is on, she simply opens the network drive and Windows notices that it is available again.
Is there a way to make Mac OS behave in a comparable way to Windows here? I want Mac OS to automatically reconnect to the drive when it is available again (or at least when I try to access it).
I know I can turn the connection into a login item, but I rarely re-login. I want this to work automatically, while already being logged in.
This has been bugging me for quite some time now. The thing is that you will probably get an error message like "The share has become unavailable" and the AFP mount disappears, right? – slhck – 2011-06-21T12:55:48.127
I'm not sure about the compatibility of the script with afp, but take a look at this question.
– viking – 2011-06-22T19:56:04.950