View Full Version : Networking and maintaining mounted drives
SCMaverick
Jun 27, 2006, 10:22 PM
Networking between my MacBook and both my Intel iMac and Windows XP machine works great. However, when I close the lid on my MacBook I lose the mounted disks and I have to re-establish the connection by going throught the whole "mount" process again. Is there a way to avoid doing that and just have the drives stay mounted?
SC68Cal
Jun 27, 2006, 11:18 PM
shell script.
That's somewhat strange though. I don't remember my Powerbook unmounting network resources when I put it to sleep.
FullmetalZ26
Jun 28, 2006, 02:24 AM
I'm pretty sure that SMB/CIFS shares are always lost when the computer goes into sleep mode. I'm not sure of any way to automatically remount the drive upon bringing the system back up, but you can always leave an AppleScript in the dock or on the desktop to remount the share without having to go through the finder dialogs. Here's the one I use:
tell application "Finder"
mount volume "smb://username:password@192.168.1.10/SERVER_ROOT/"
end tell
Save that as an executable AppleScript, drop it into your Applications folder, and drag a copy to the Dock. (Note: the line that begins "mount volume..." includes the quoted material in the same line, so this script should only be three lines, even though it may show up differently on the forums.)
While on the topic of Samba shares, does anyone else have trouble with random speed dropouts? Like files copying at about 10kB/sec? I switched over to NFS mounts and gave up on SMB except when there's no other option due to these random dropouts. I've had them since I started using OS X at 10.3.7, and update after update goes by in Tiger, and I never see it get fixed.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.