Re-connecting SMB shares after sleep or standby?

I have searched the forums for an answer but no real solution have been found yet, maybe you can help?
Iäm currently using my Mac Mini in a Windows 2003 Server network. It's a workgroup and there is only one server. I have two shares on the Win2003 Server that I connect to from the Mac using the regular SMB "Connect to server" procedure. The shares mounts fine and everything is accessible, both read/write on NTFS.
Now, I have set my Mac to go to sleep after 1 hour of inactivity. When I wake it up, the SMB share mounts are gone so I need to manually reconnect them. I have an Applescript that I doubleclick on that reconnects the shares, again all without errors. I ususally don't shutdown the Mini via Apple-Shutdown but rather just by quickly pressing the powerbutton on the back of the mini for standby, when waking up the shares are gone.
Is it possible to "hard mount" the shares so they stay accessible after sleep, like they do in WinXP for instance?
I´ve read about "automount" but it only seems to address auto-login scripts and I have no problem with mounting at login. Someone mentioned that it's possible to create an alias to the shares and place them in the right hand side of the dock and that should make the shares auto-mount when clicked, how is that done exactly?
The simple solution would be to disable sleep and to always shutting down the Mini, but the instant wake-up is so useful that I really don´t want to wait for it to get ready.
Any suggestions and tips are welcome, thanks!
Mac Mini 1,33   Mac OS X (10.4.4)  

Thanks for the reply.
Regarding questions 1-3:
1-2 Yes.
3. Yes, and same error shows up directly after launching puNetDaemon.
I didn't have the share's login stored in keychain because I was using a script that provided the login, thanks for pointing that out. I have made sure to connect to the share via Finder and to tick "store in keychain" and the share (E$) now connects automatically via Finder >> Go >> Connect to Server.
But I still get the same error. I have posted my ch.pusoft.txt below:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>192.168.132.144</key>
<string></string>
<key>E$</key>
<string></string>
<key>WEBBER</key>
<string></string>
<key>theDrive2</key>
<string></string>
<key>theDrive3</key>
<string></string>
<key>theDrive4</key>
<string></string>
<key>theDrive5</key>
<string></string>
<key>theDrive6</key>
<string></string>
<key>theFinderDelay</key>
<integer>3</integer>
<key>theIdleReturn</key>
<integer>30</integer>
<key>theMACSource</key>
<string></string>
<key>theMACTarget</key>
<string></string>
<key>theStartupDelay</key>
<integer>15</integer>
</dict>
</plist>
I'm not familiar with Applescript or xcode so I'm pretty much at your mercy
Thanks again.
Mac Mini 1,33   Mac OS X (10.4.4)  

Similar Messages

  • Can't access smb shares after 10.9.5 upgrade

    After the upgrade to 10.9.5 (from 10.9.4) I can not anymore access my smb shares on a NAS server (Thecus N3200PRO) dispite the upgrade says that it "improves the reliability of accessing files located on an SMB server". It had the exact opposite effect with my system.
    The NAS server is visible, but after I log in no files or folders are shown (finder window is empy). Also to disconnect the smb share it takes much longer than usual.
    To access it with cifs protocol does not help, neither.
    Also the workaround by Reinfire (Michael Larson in Can't connect to SMB share after upgrade, to use smb1 instead of the upgrade) does not help at all.
    Any solution out there?
    -- thanks

    hi there,
    just a wild guess, but have you tried to connect via Terminal?
    /sbin/mount_smbfs //userid:password@ip-of-server/name-of-share
    or
    /sbin/mount_smbfs //userid:password@dns_name-of-server/name-of-share
    You need to have administrative privileges on your Mac to execute said command successfully.
    For additional information you can enter (while in Terminal):
    man mount_smbfs
    and
    man nsmb.conf
    Glad to hear the problem is solved

  • My brand new Macbook PRO i5 can't connect to internet after sleep? It works fine after reboot.

    I have a brand new Macbook PRO with the latest OS and the latest EFI. I haven't installed any 3'rd party products except Moneywell for my private finances. After a couple of days it couldn't connect to internet after sleep. I run the network diag and it says the connection is OK. Log out/in doesn't help. I have to reboot everytime it wakes up after sleep. Any clue?
    br,
    DAVID

    I am having the exact same problem.  It started with 10.7, was fixed with 10.7.1, then came back again with 10.7.2.

  • OS X 10.7.2 very slow to connect to internet after sleep

    Following the lates round of updates and firmware updates MacBook Pro Running 10.7.2 is very difficult to connect to internet after sleep. Network diagnostics show all is fine, all the IP's DNS etc WiFi are fine Safari just won't connect. Was fine before updates

    I have had this same problem since I updated to lion. I used to connect straight away. Now it takes at least 10sec.
    Have noticed a few anoying bugs with lion. The other thing that somtimes happens to me is it crashing when running some programes ( iphoto '08, BBC iplayer desctop etc... ) and also when browsing some sites (quite alot on youtube)
    Really hope these are sorted on the next update.

  • Can't connect to SMB share after upgrade

    Just upgraded to 10.9 Mavericks and can no longer connect to our SMB file share on the network.  Several of us have tried connecting to it on this machine and all we get is
    There was a problem connecting to the server "xxxxxxx.domain.com".
    You do not have permission to access this server.
    Anyone else having this problem? 

    I have been searching high and low since yesterday afternoon for an answer to this.  My problem is not connecting to an SMB share (well, it was, as the old Cmd+K to connect to the SMB share would close quickly) but instead of the old Mac way of using Cmd+K and the IP address, I simply clicked on the available NAS SMB share under Shared and it is a massively fast connection.  The old SMB connection would take minutes to open the next folder. So, connecting as you would under Windows helped fix that problem, BUT...
    1.  The NAS SMB share times out regularly and you have to eject & reconnect.  Annoying.
    2.  Worse than this is I can not open any documents on the share, only navigate it.  I have to copy paste the documents to my local ssd, manipulate, copy back.  Any new file I copy on, or edit and copy on, the NAS SMB share I can navigate to and open.  But if I try to click a pre-Mavericks existing file, I get "Can not open 'excel/word/acrobat.app' with the -36" error.  Total BS. 
    3.  Even more weird, if I click spacebar on ANY file on the SMB Share it will pop up in preview.  Double click to open and error message.
    4.  If I copy a document attached to an email (Outlook 2011) to the server it is corrupt.  If I copy the file to local ssd, then to the NAS SMB, the same file works perfectly fine. 
    This is completely ridiculous and needs a fix immediately.  I'm going to try using Reinfire's link right now and see if that helps. 
    My NAS is a Netgear ReadyNAS 516 (linux/unix OS) I use in my office.  Computer is MBPr March 2013.    

  • No connection from XI3.0 to smb share after lost of connection

    Hi Forum,
    we got issues with XI 3.0 after disconnection of
    a smb share.
    The smb share is located on a UNIX machine with the opensource fileserver SAMBA 3.x running on it. After a disconnect of the WAN link to the UNIX maschine XI has to be restarted to reconnect to the smb share.
    Question:
    - Is this problem of XI?
    - Could this be a problem of the SAMBA deamon?
    - anything else?
    This behavior isnt acceptable because we have do this manual . Are there any hints to solve this issue?
    thx
    Andre

    What does it mean? The smb share is a permanent mount?! Do I have to configure this in XI?
    thx
    Andre

  • Reconnecting Macbook to Windows share after sleep

    Mac newb here. I managed to get a smb share automount script to work. That connects on startup just fine. The problem is, when the laptop goes into sleep mode, it doesn't reconnect when it comes back from sleep automatically and it causes me problems with iTunes, WS word etc. Stuff starts to be saved locally instead of on the network drive. Any help would be greatly appreciated =)
    TIA

    hi - there's no easy way around this...
    http://docs.info.apple.com/article.html?artnum=107705
    there's a related thread on this here, but no 'automatic' solution apparently...
    http://forums.macosxhints.com/showthread.php?t=41802
    perhaps someone else here knows how to launch your script upon network availability... cheers

  • Reconnecting to Windows share after sleep

    Mac newb here. I managed to get a smb share automount script to work. That connects on startup just fine. The problem is, when the laptop goes into sleep mode, it doesn't reconnect when it comes back from sleep automatically and it causes me problems with iTunes, WS word etc. Stuff starts to be saved locally instead of on the network drive. Any help would be greatly appreciated =)
    TIA

    You might want to repost this question in the Mac OS X Tiger forums. You will more than likely get better help for this question there as it is not MacBook specific.

  • Not connected to internet after sleep

    Hi my Macbook Pro 13" early 2011 is not instantly connecting to the internet after sleep. I goto network diagnostics, all green lights are on, it says your internet is working fine, I click on a bookmark, it says I'm not connected. I repeat this two or three times, and finally after clicking on the third or fourth bookmark, it connects. I'm on Sky broadband UK through an Airport Express and my iPhone, Android (eeurgh!) 'phone, other computers and PS3 all connect with no problems. Any ideas folks?
    Also whilst I'm here, I've noticed software update has downloaded the same EFI firmware update four times, and that other software updates are available immediately after updating software.... Something I'm not used to? And, during restart, the computer beeps. Normal?
    Regards
    mackers

    Well, thanks to Carolyn Samit from San Francisco I think I found the answer by deleting Cache.db from Safari prefs in the library... Haven't been on these boards for a few years now - forgot how to use them! Anyway, if anyone can help with the software update repeats before I search the answer that'd be great thanks!
    Hi, nice weather
    mackers

  • Original Macbook Pro Retina 15 not connecting to wifi after sleep

    When Waking from sleep, it searches for wifi and finds it but doesn't connect most of the time. i click/select the network manually & sometimes it connects but iv ended up resorted to turning wifi off, then turn back on & it finds the network (it found earlier) AND connects to it automatically. this problem happens on other wifi's aswell, not just my home wifi.
    Wondering why it can find the network after sleep, but doesn't want to connect to it. All my ios devices, my sisters MBP retina 13 connects perfectly. I've come to conclusion it must be my computer....

    I to have this problem. I have a late 2013 Macbook Pro 13inch with Retina display. I soon discovered on my machine that if you disable Bluetooth then the macbook connects to the wi-fi as it should. I dont have a problem on my home network with any other apple devices and the connectivity issue is the same on what ever network I try. I soon realised that if I disabled Bluetooth the machine connects perfectly everytime. There is clearly a bug or some technical issue that occurs preventing wi-fi connection when you have Bluetooth enabled. Try it and see if it is teh same with yours?
    I was hopeing that the fault or issue would be fixed with the latest OX update but alas it is still an issue for me on my machine. I have just taken to switching Bluetooth to off until I am connected and then just turn Bluetooth on if I need it.
    Hopeing that some kind of fix will be issued soon.
    Let me know if this Bluetooth issue is the cause of the issue as I woudl be interested.
    Best wishes.
    JB

  • AIRPORT doesn't connect at startup/after sleep

    Hi All,
    I recently had to reconfigure my Airport Express - that worked fine but now my PowerBook doesn't automatically connect to my selected network, either after sleep or at startup. It connects fine manually, but never automatically.
    The connection also doesn't stick when switching between users - it used to.
    I saw a post here about deleting the keychain entry - I tried that but it didn't work.
    I've tried multiple times to re-add the network into the "join this network" area of network prefs, but it won't connect automatically. Also tried copying & renaming the location but NG.
    It worked beautifully before and I keep thinking there must be something I'm missing.
    Any ideas?
    Thanks in advance.
    R.Crooke

    Hi R.Crooke, and a warm welcome to the forums!
    You've done a ggod amount of the thungs that can work so far, but try this...
    Safe Boot from the HD, (holding Shift key down at bootup), it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move these files to the Desktop...
    /Users/YourUserName/Library/Preferences/ByHost/com.apple.networkConnect.<12 digit number>.plist
    /Users/YourUserName/Library/Preferences/com.apple.internetconnect.plist
    /Library/Preferences/SystemConfiguration/preferences.plist
    /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist
    These last two will need the originals Trashed since moving them actually just copies them to the desktop.
    Reboot. Setup again.

  • Client Macs lose connection to server after Sleep

    Ok, so my previous issues with disk I/O erroros with contacts/Mail etc appears to be resolved after I re-installed ML Server and ML clients on all my macs -- not entirely sure why but now I have new problem where client macs lose connection to the server after sleep
    So my current setup is as follows:
    Server Mac
    Mac Mini Server running ML 10.8.2 Server
    Client Macs
    2 x MBAs with 10.8.2 (Core2Duo & iCore5)
    1 x Mac Mini running 10.8.2 (Core2Due, 4GB 2.4 Ghz etc)
    Issue:
    If I leave the client Mini logged in say, as me and either the mini goes to sleep (or if I put it to sleep) and then I wake the mini up, I appear to lose connection to the server - so whilst I am still logged in as me, I've lost my connection to my home directory e.g. Doc/Music/Pics (I can see instantly my desktop picture defaults to ML galaxy picture, opposed to something I've chosen) folders are no longer present. So obviously as mailbox,iphoto & itunes libraries are missing, Mail, iPhoto & iTunes fail to operate and I my only course of action is to log out and log back in and everything is fine.
    I get the same issue - although not as frequent - on MBA's when you close it and results in having to log out and in again to resolve the issue. I also saw the same problem when it was running Lion as well.
    A couple of things to note:
      - Server Mini is never asleep and is running 24x7 (as its a media streamer as well)
      - Its only occured when in deep sleep -  so if I wake the mac up after a few seconds of sleep, its just fine but if say I leave it overnight and wake it in the morning, its no longer connected.
    Any pointers will be welcome and given that it appear to have occured on a client Mac with Lion as well, it would imply its an issue with the server rather the individual client Macs. Also note, I don;t recall the problem when running Lion Server.
    Thanks
    Rob

    Have you tried looking at the server logs, particularly the 'System' & 'Open Directory' log sets?
    Anything seen in there?
    Also logs on the client machines using the Console app. It's a bit tedious going though logs but they can be very illuminating.

  • Network connection keeps changing after sleep mode

    I bought a brand new iMac for my mom just over 2 months ago and have been having internet connection problems. Sleep is set manually going under Apple and hitting sleep.  Every time it's woken up after sleep the internet connection is gone and has to keep manually being switched to our network name which is quite frustrating.  Tried this fix found on an old link on here: http://osxdaily.com/2011/11/06/lion-wi-fi-problems-solution-mac/?utm_source=feed burner&utm_medium=feed&utm_campaign=Feed%3A+osxdaily+%28OS+X+Daily%29&utm_conten t=FaceBook
    and it didn't work. All the threads I found were from 2010 or 2012. Just wondering if there is a recent fix on here.

    Welcome to the forums!
    Only if it's Ethernet, not Airport/Wireless, because the radios are shut down to save energy.

  • Cannot connect to shares after upgrade to Tiger

    Hi,
    I work at an IT company that manages both Macs and PCs. We just performed a site-wide upgrade for one of our clients from 10.3.9 to 10.4.6 (and on to 10.4.9).
    We have 2 iBooks, a PowerMac, and 2 iMacs in an Active Directory setup. One of the iMacs already had a clean install of Tiger on it and it works fine, but the others have stopped connecting. I have since upgraded the desktops to 10.4.9, but the problem is still there.
    Specifically, when connecting to any PC share (Win2000 and Win2003 server) using SMB, the Connect button will not respond. When browsing using the Finder, the computers are all listed (possibly cached from the previous installation?) but when I try to connect to them it says that their aliases are broken.
    Also, the desktops have a simple logon Applescript that attempts to mount the server's public share (using 'mount volume'). This stopped working with an 'error -36' message after the upgrade, which I believe relates to there being network issues.
    Any ideas?
    iBook, PowerMac, iMac   Mac OS X (10.4.9)   Problem also occurs with 10.4.6

    The server is actually 2003, with the desktops all being 2000. I went in to the local policy and I believe you're referencing these items -
    Domain Controller Local Policy
    Disabled - Domain member: Digitally encrypt or sign secure channel data (always)
    Disabled - Domain member: Digitally encrypt secure channel data (when possible)
    Disabled - Domain member: Digitally sign secure channel data (when possible)
    Domain Local Policy
    Not Defined - Domain member: Digitally encrypt or sign secure channel data (always)
    Not Defined - Domain member: Digitally encrypt secure channel data (when possible)
    Not Defined - Domain member: Digitally sign secure channel data (when possible)
    Are these the correct items to change?
    Also to note, we do have a fresh install of Tiger on an iMac and it's able to browse and connect to all shares on the network perfectly fine; it's just the upgraded Macs that are now encountering issues.

  • Magic Mouse not connecting to MBP after Sleep or Re-start

    This has been an on going problem for me since I upgraded to OSX 10.8 on my MBP.  Since the upgrade my Magic Mouse will no longer connect to my MBP after it has gone to sleep, restarted or shut down.  The only way I have been able to get a connection is to Click on the BT icon goto the mouse>Open  Preferances.  At this point the computer is 'Waiting for a Bluetooth mouse to be discovered' and it will keep searching forever.  Clicking on the mouse button or moving the mouse around does not do anything even though the green light on the bottom of the mouse indicates it is on & attempting communication.  I have to turn the mouse off for 3-5 seconds and then turn the mouse back on.  This is the only way for the computer to see the mouse, I then click connect the mouse connects and all is good until the computer sleeps, gets restarted or shut down.
    I have tried resetting the PRAM & SMC.  I have also deleted the mouse from bluetooth preferances and re-paired it with the computer several times.  I even tried deleting the PList and re-pairing but nothing yet has worked!
    Open to any and all suggests! PLEASE help!

    Hi,
    I have a mid 2014 15 inch MacBook Pro and I'm experiencing now the same issue. I have an iPad and an iMac and the issue is only with the MacBook Pro.
    I went to System Preferences > Network > Wi - Fi and selected 'Ask to join new networks'. It didn't remove completely the issue (is still not finding the network) but at least I don't have to turn the wifi on and off all the time because after a while is able to connect.

Maybe you are looking for

  • Printing to a printer from iPhone

    If your printer does not have "air print capability", but has Wi-Fi, what can be done?

  • Migrating from NCS 1.0 to Prime Infrastructure 1.2

    Hi friends I know i had short discussion about this before but here it comes again and this time in detail. I have NCS 1.0 with 100 devices support license installed. Now knowing it has reached end of sale, and also for the fact that Prime does cover

  • Loading external htm file to display in TextArea

    Hi, I'm trying to think how I can load an external HTML file ad display the page in a TextArea and assign an external css file to style the text. Would appreciate any advice and sample code. Alex

  • Windows Programming with Java??? Is it possible???

    I have a small request from a client (Windows User) who wants a really simple POP3 email checker. I basically need to achieve the same thing that many email clients do, where they show some sort of symbol in the System tray when there is new email. I

  • After Effects cs 5.5 Playback jumpy

    I'm trying to do a simple effect using After Effects 5.5  it is a "pan" of a slogan on the bottom of a photoshop graphic.  When rendered out, or even after ram previewing it, it seems to studder, or jump, it just isn't smooth. I've exported it as and