Jump to content
StefanM

Mount SMB Network Drive permanently

5 posts in this topic

Recommended Posts

Hi,

 

how do i mount a smb network drive permanently in Mac OSX Leopard?

when i connect to a server, the connection is lost after next restart!

 

I want to use a smb network share for parallels and also always use this drive for my documents.

 

So i need a permanent connection.

This was possible in Tiger...

Share this post


Link to post
Share on other sites
Advertisement
Hi,

 

how do i mount a smb network drive permanently in Mac OSX Leopard?

when i connect to a server, the connection is lost after next restart!

 

I want to use a smb network share for parallels and also always use this drive for my documents.

 

So i need a permanent connection.

This was possible in Tiger...

 

Create script (Applications/Applescript/Script Editor) containing :

try

tell application "Finder"

mount volume "smb://john:pswd@ls-gl5d7/cctvpatio"

mount volume "smb://john:pswd@ls-gl5d7/macstuff"

mount volume "smb://john:pswd@edmini/share"

end tell

end try

 

with your own user id and password. Save the script as say Mounts in Users/John/Library/Scripts

 

Go to System Preferences/Accounts/Login Items and add it (Mounts) to your startup list.

 

On reboot, it will make the links.

Share this post


Link to post
Share on other sites
Hi,

 

how do i mount a smb network drive permanently in Mac OSX Leopard?

when i connect to a server, the connection is lost after next restart!

 

I want to use a smb network share for parallels and also always use this drive for my documents.

 

So i need a permanent connection.

This was possible in Tiger...

 

Another way (without scripting):

 

1. Mount drive in Finder

2. Go to System Pteferences > Accounts > Login Items

3. Add this drive in the list of objects as if it were an application ;-)

Share this post


Link to post
Share on other sites

Create script (Applications/Applescript/Script Editor) containing :

try

tell application "Finder"

mount volume "smb://john:pswd@ls-gl5d7/cctvpatio"

mount volume "smb://john:pswd@ls-gl5d7/macstuff"

mount volume "smb://john:pswd@edmini/share"

end tell

end try

 

with your own user id and password. Save the script as say Mounts in Users/John/Library/Scripts

 

Go to System Preferences/Accounts/Login Items and add it (Mounts) to your startup list.

 

On reboot, it will make the links.

 

Thank you for this ! Works like a charm and is easily updated.

Share this post


Link to post
Share on other sites

 

 

Another way (without scripting):

 

1. Mount drive in Finder

2. Go to System Pteferences > Accounts > Login Items

3. Add this drive in the list of objects as if it were an application ;-)

 

This works even on Mavericks

thumbs up and thank you

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×