Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SCMaverick

macrumors member
Original poster
Feb 22, 2006
42
1
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

macrumors 68000
Feb 23, 2006
1,642
0
shell script.

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

FullmetalZ26

macrumors regular
Jun 12, 2006
159
0
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:

Code:
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.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.