Networking and maintaining mounted drives

Discussion in 'Mac Pro' started by SCMaverick, Jun 27, 2006.

  1. SCMaverick macrumors member

    Feb 22, 2006
    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?
  2. SC68Cal macrumors 68000

    Feb 23, 2006
    shell script.

    That's somewhat strange though. I don't remember my Powerbook unmounting network resources when I put it to sleep.
  3. FullmetalZ26 macrumors regular

    Jun 12, 2006
    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@"
    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.

Share This Page