New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Operating System General OS operation information and support

OS 10.4 - auto mounting network drive


Post Reply New Thread Subscribe

 
Thread Tools
jdevleerjr

 
Member Since: Jul 21, 2007
Posts: 62
jdevleerjr is on a distinguished road

jdevleerjr is offline
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.
QUOTE Thanks
RiDE

 
RiDE's Avatar
 
Member Since: Sep 13, 2006
Location: Deep in the heart of Texas!
Posts: 3,559
RiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond reputeRiDE has a reputation beyond repute
Mac Specs: Mac's

RiDE is offline
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.
QUOTE Thanks
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
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.
QUOTE Thanks
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
... how do you navigate to the media you play on your tv, without a keyboard or mouse?
QUOTE Thanks
jdevleerjr

 
Member Since: Jul 21, 2007
Posts: 62
jdevleerjr is on a distinguished road

jdevleerjr is offline
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.
QUOTE Thanks
XJ-linux

 
XJ-linux's Avatar
 
Member Since: Jul 02, 2007
Location: Going Galt...
Posts: 3,350
XJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond reputeXJ-linux has a reputation beyond repute
Mac Specs: MacBookAir5,2:10.9.4-MacMini3,1:10.9.4-iPhone6,1:7.1.2

XJ-linux is offline
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.

"Those who don't understand Unix are condemned to reinvent it, poorly." Henry Spencer
QUOTE Thanks
jdevleerjr

 
Member Since: Jul 21, 2007
Posts: 62
jdevleerjr is on a distinguished road

jdevleerjr is offline
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?
QUOTE Thanks
NanoBite

 
Member Since: Oct 27, 2005
Posts: 4,714
NanoBite is an unknown at this point

NanoBite is offline
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
File Type: png Picture 1.png (11.8 KB, 13 views)
QUOTE Thanks
giulio

 
giulio's Avatar
 
Member Since: Mar 19, 2007
Location: NY USA
Posts: 1,813
giulio is just really nicegiulio is just really nicegiulio is just really nicegiulio is just really nice
Mac Specs: iMac 5.1 | iMac 7.1 | iPod Touch | iPod Nano

giulio is offline
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.
QUOTE Thanks

Post Reply New Thread Subscribe


« All applications need to be reopened twice to work HELP PLZ | I Can't Verify my Start Disk... »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
iPhone + Network Hard Drive killawattz iPhone Hardware and Accessories 6 06-15-2007 01:18 AM
simple Q: Refresh contents on network drive Logan OS X - Operating System 6 06-19-2006 12:55 PM
disconnect from network drive? AidanPS Internet, Networking, and Wireless 1 12-01-2005 08:41 AM
New Here,Really Need Help With Imac G3 CD-RW/DVD-ROM Drive DeSelby Apple Desktops 0 06-29-2005 01:02 PM
1st Gen iMac Hard Drive Replacement Problem DakRoland Apple Desktops 2 11-19-2004 05:48 PM

All times are GMT -4. The time now is 05:25 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?