Jump to content

Mount SMB Network Drive permanently


StefanM
 Share

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...

Link to comment
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...

 

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.

  • Like 1
Link to comment
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 ;-)

  • Like 1
Link to comment
Share on other sites

  • 6 years later...

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.

Link to comment
Share on other sites

  • 3 months later...

 

 

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

Link to comment
Share on other sites

 Share

×
×
  • Create New...