Saturday, 1 December 2018

macos - Permanently map a network drive on Mac OS X Leopard


I want to have a mapped drive in Mac OS X which points to my NAS - however I've found that I have to do it after every single reboot.


I'm a Mac noob, so would like to just have the drive mapped at all times like Windows does, but instead each time I reboot and forget to map the drive, I accidentally open iTunes and find no music as it's all stored on my NAS!


Is there a simple way of doing this? Have I missed something really silly?



Answer



Mount a Windows Share in OS X and Have it Reconnect at Login (via www.howtogeek.com)


Mounting the Windows Share


When you are in Finder you can click Go and Connect to Server or you can type Command + K to get to the same menu.


In Server Address you will need to put the location of you Windows share with this format smb://server/share where server is the name or IP address of your Windows machine and share is going to be the folder or drive you want to mount.


alt text


If your Windows share requires authentication it will ask you for that info here.


Now if you have Connected Servers showing on your desktop, it will show up on your desktop an in Finder.


Making the Share Mount at Login


To keep the share showing up when you have to log out seems pretty difficult. The internet is littered with ways to write scripts to allow you to do this. But OS X makes it pretty simple if you are just needing to add the share to your machine.


You will need to be in System Preferences for this, which you can get to by clicking on the Apple Menu and then going to System Preferences.


alt text


Then you will go to Accounts.


alt text


Once in Accounts, you will need go to the Login Items tab. Then you will just drag the share from your desktop or Finder window into the Login Items list.


alt text


If your share requires authentication, it may be possible to add the username and password into your keychain with the check box in the authentication window. Some shares will not work with the keychain though.


This is pretty nice if you are working a lot between OS X and Windows, and need to move files between the two.




To solve the issue of a Finder window showing the network drive each time you log in, you can check the Hide box in the Login Items list.


No comments:

Post a Comment

Where does Skype save my contact's avatars in Linux?

I'm using Skype on Linux. Where can I find images cached by skype of my contact's avatars? Answer I wanted to get those Skype avat...