Help - Search - Members - Calendar
Full Version: How can I auto mount a remote share?
InsanelyMac Forum > OSx86 Project > Post-Installation Discussion > OSx86 Tiger (10.4)
BladeRunner
I know this is a nit. I don't re-boot that often and I can always use Finder -> network to connect to the required NAS folders. Still, what I would like to know is a method of making those connections automatically when I login. The NAS device runs some version of Linux, but the folders appear as WinXX shares.

If anyone knows how to do this I would really appreciate some pointers.

TIA.
BladeRunner
QUOTE


Thanks very much for the quick reply. I have bookmarked the URLs and begun my study. So far, I am attempting the AppleScript method since it looks like a reuseable skill to acquire biggrin.gif
BladeRunner
Just to bring closure to the item, I thought I would provide my solution and again say thanks to Ramjet.

I chose an AppleScript - saved as an application and then dragged to my Account -> startup items.

The script is short and with no error checking, but given the nature of what it does I don't see that as a problem.

This is the script:

tell application "Finder"
mount volume "smb://lrh@homestorage/music"
mount volume "smb://lrh@homestorage/video"
mount volume "smb://lrh@homestorage/pictures"
end tell

I chose "mount volume" in place of "open location" because the open actually opens a finder window and I didn't want that. I also got a lot of usefull information form the Apple developer site at

http://developer.apple.com/

Again, thanks for the help.
andzor
thank you for showing off your progress! I need just the same script with a small change! smile.gif
BladeRunner
QUOTE
thank you for showing off your progress! I need just the same script with a small change!


Andzor,

you are quite welcome. It's noce to know I was able to pay some back. After all, that's what communities are for.
xyloweb
hi,

Have you try to use AutomountMaker tool ? wink.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.