Results 1 to 9 of 9
  1. #1
    auto mounting network drive

    Member Since
    Jul 21, 2007
    Posts
    62
    auto mounting network drive
    I need a way to automatically mount a network drive every time my mac mini boots. I use this mac to watch movies and such on my tv and do not have a keyboard or mouse hooked up. It is always running 24x7 but I do not want to have to hook up a keyboard and mouse every single time I boot up. How can I automatically get it to mount the drive when it boots? My iTunes library is on that network so this is a must.

    Thank you.

  2. #2
    auto mounting network drive
    RiDE's Avatar
    Member Since
    Sep 13, 2006
    Location
    Deep in the heart of Texas!
    Posts
    3,566
    Specs:
    Mac's
    Try this.

    Mount the network drive...

    Now...

    Go to System Prefs>>> Accounts>>>> Login Items Tab

    Drag the Network Drive icon in to the Login Items.

    Restart the Mac and see if it Auto-Mounts.

  3. #3
    auto mounting network drive
    giulio's Avatar
    Member Since
    Mar 19, 2007
    Location
    NY USA
    Posts
    1,813
    Specs:
    iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano
    If that doesn't work, I can give you an Automator application to do so. You would add the application to your startup or login item.

    I use Automator apps because some network shares will not mount via alias. And like you, I do not want to go through hoops to mount a share.

  4. #4
    auto mounting network drive
    giulio's Avatar
    Member Since
    Mar 19, 2007
    Location
    NY USA
    Posts
    1,813
    Specs:
    iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano
    ... how do you navigate to the media you play on your tv, without a keyboard or mouse?

  5. #5
    auto mounting network drive

    Member Since
    Jul 21, 2007
    Posts
    62
    Giulio

    I use the remote and front row. Works great. I will try RIDE's suggestion and if it doesn't work I will contact you.

  6. #6
    auto mounting network drive
    XJ-linux's Avatar
    Member Since
    Jul 02, 2007
    Location
    Going Galt...
    Posts
    3,418
    Specs:
    MacBookAir5,2:10.9.5-MacMini3,1:10.9.5-iPhone6,1:8.3
    Quote Originally Posted by giulio View Post
    If that doesn't work, I can give you an Automator application to do so. You would add the application to your startup or login item.

    I use Automator apps because some network shares will not mount via alias. And like you, I do not want to go through hoops to mount a share.
    I'd be interested in the Automator script/app also. I use the drag to login items option now but would like to know how else this could be done. In AIX there is an automount file in /etc/filesystems, but I can't seem to find it in OS X.
    Never judge a man, untill you have walked a mile in his shoes...
    That way you'll be a mile away from him, and you'll have his shoes.

  7. #7
    auto mounting network drive

    Member Since
    Jul 21, 2007
    Posts
    62
    Well this works on 2 of my 3 macs but the one it doesn't work on is the one I really need it too. Could this be because I log into my network wireless and on my other macs I plug it directly into my router?

  8. #8
    auto mounting network drive

    Member Since
    Oct 27, 2005
    Posts
    4,702
    Quote Originally Posted by XJ-linux View Post
    I'd be interested in the Automator script/app also. I use the drag to login items option now but would like to know how else this could be done. In AIX there is an automount file in /etc/filesystems, but I can't seem to find it in OS X.
    How-to Auto-Mount Network shares:


    When the share or shares are mounted on the Desktop:


    1) Drag the share/s icon/s from the Desktop/Finder Sidebar onto the Menubar of any Finder window

    2) When you are disconnected from the network the icon will change to ?

    Don't worry about this as it just tells you the Share is no longer mounted.

    3) When the Network connection is active again, click the ? to auto-mount the share

    I prefer this method as I previously used the "Add To Log-In Items" way but didn't like the extra login time, or way the Share was always launched in a new Finder window ... this was too distracting for me.

    So, besides adding items to the Finder Sidebar, you can also add them to the Finder Menubar ... to reposition an item in the Finder Menubar just press and hold Command as you move the icon either left or right along the menu or you can remove it this way too ... it'll disappear in a *puff* of virtual smoke.


    #
    Attached Images Attached Images

  9. #9
    auto mounting network drive
    giulio's Avatar
    Member Since
    Mar 19, 2007
    Location
    NY USA
    Posts
    1,813
    Specs:
    iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano
    Here is a repost of a Faq I made a long time ago. The problem it solved was different, but you'll get the same resolve. Instead of 'sidebar', think 'login item panel'...

    Mac OS X is great in how it allows you to skin a cat in a multiple of ways. Something that frustrated me, though, is the Finder's Sidebar window. You can drag almost anything into it, and those items act like aliases. But what about mounted server shares? Nope. It will not let you drag a share into the Sidebar. So we are forced to use the 'Connect to Server' window. With Automator we can get around these annoyances.

    Here's how to use Automator to work around this issue. Note that for a truly automated solution, you should first mount the share and store the credentials in Keychain. Once that's done (the share must be mounted, in any event), follow these steps:
    1. Launch Automator, which will create a new workflow.
    2. From the Finder Library, drag the Get Specified Servers Action into the workflow. Click the [+] and enter the address of your server. Something like cifs://server/share, then click Connect.
    3. From the Finder Library, drag the Connect to Servers Action into the workflow. Be sure 'Use Results from Previous Action' is enabled in the URLs pulldown. (The following three steps are optional. They will open a Finder window focused on the mounted share and set the View for it.)
    4. Add the Finder Action Get Specified Finder Items to the workflow. Click the [+] and select the share you want to automate mounting of. Click Open.
    5. Drag Finder's Open Finder Items Action into the workflow. 'Open with' should be 'Default Application.'
    6. To make sure the Finder honors your preferred view, drag Finder's Set Folder Views action into the workflow. Use the options to your liking.
    7. Select Save As, and set the File Format to Application. I suggest saving it to your user's Applications (~/your_user/Applications) folder, and naming it with the share's name.
    8. In the Finder, navigate to where you saved this Automator app. Drag the new app into the Finder's Sidebar window.
    To test your new solution, unmount the share and then click the new application icon in the Sidebar. If the server was not mounted, it will mount. If it was already mounted, you wil not see any errors, and if you did the optional steps, you will be brought to the folder with the view set.

    Notes:
    • This is most useful on a network with a shared web server. You can share the directory that all of the website accounts are in. So instead of each website being an item in your sidebar, we can now have that share be the single item. When you mount the share, you see all of the websites.
    • Based on the list of server types presented in the Connect to Server Automator action, it should work on basically any server you can connect to.
    schweb This has to be one of the best threads ever in MF history...
    Cherokee This gets my vote for most innovative thread on Mac-Forums... ever.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Network drive not mounting on startup
    By Dank35 in forum Internet, Networking, and Wireless
    Replies: 3
    Last Post: 08-24-2013, 01:15 AM
  2. Un - Auto Mount Network Drive
    By Liquidsoda in forum OS X - Operating System
    Replies: 0
    Last Post: 01-13-2011, 05:44 PM
  3. Auto Mounting Network Drives
    By simple190 in forum OS X - Operating System
    Replies: 6
    Last Post: 10-13-2010, 07:41 AM
  4. Auto-mounting NAS
    By u063370 in forum OS X - Operating System
    Replies: 3
    Last Post: 06-28-2007, 07:58 AM
  5. Mounting Hard Drive on Airport Network?
    By Postpunk in forum Internet, Networking, and Wireless
    Replies: 3
    Last Post: 08-09-2004, 10:11 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •