Mac OS can't connect to SMB shares after sleep
Rise to the top 3% as a developer or hire one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Puzzle Game 5 Looping
--
Chapters
00:00 Mac Os Can'T Connect To Smb Shares After Sleep
02:08 Accepted Answer Score 6
02:27 Answer 2 Score 4
03:33 Answer 3 Score 2
04:07 Thank you
--
Full question
https://superuser.com/questions/144327/m...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#macos #osxsnowleopard #networkshares #sleep #smb
#avk47
ACCEPTED ANSWER
Score 6
I'm having the same issue with my MacBook Pro. I followed the instructions here - http://blog.djmnet.org/2009/02/09/macs-needing-unix-network-geekery/ and my issues seem to be resolved.
ANSWER 2
Score 4
Hey, I recently had the same problem with my 2010 MBP, I found the solution to be a combination of two things.
The first is a kernel tweak ( essentially TCP_NODELAY
on the connections ), which can be done in Terminal:
sudo sysctl -w net.inet.tcp.delayed_ack=0
Second, is dealing with file permissions / DS_Store files. Commonly when you setup Windows shares the Mac will only have read access. Finder tries to create them in every folder you view and can eventually hang. So there are two options to solve this - enable sufficient file permissions on the Windows machine, or stop Finder from creating these files on network shares. I prefer to disable finder from creating them, which can be done by running the following command in terminal:
defaults write com.Apple.desktopservices DSDontWriteNetworkStores true
You'll need to reboot after running them.
ANSWER 3
Score 2
I can't help solve the problem, but I can add a little bit more detail. It also happens on Windows 7 and the OS X device must still be connected when the windows share is put to sleep. If you disconnect or sleep OS X, and then standby Windows you do not experience this problem.
I would really like a solution to this as well.
Edit: After some searching many other people have had similar problems:
- +thread on apple forums i've lost
- http://forums.macosxhints.com/showthread.php?t=101185