Reforger

Q: Losing network or internet connection after sleep/wake

I've created this as a new thread as it seems to be more prevalent with Mavericks and the very last update to ML but the problem has been around a while. It does seem to affect all types of Mac though from the other threads I have read and posted to.

 

The problem is essentially this: Intermittently, after a system sleep, the Mac appears to have no network connectivity (local and internet) and for a while the only reliable solution was to force the renewal of the DHCP lease or turning WiFi off and on again, after which the network would be restored.

 

There have been several theories postulated and a number of fixes, such as the DHCP renew, suggested but none of them have lasted for long but I now think I have this fixed as the following been 100% stable on my Mac Pro with wired ethernet connection for the last two weeks with no recurrences. I see no reason why this would not work on other Macs or connection types.

 

The problem seems to lie in the automatic location setting in the network settings, so here's what I did...

 

  1. Network settings - Location - Edit Locations
  2. Add a new location .. "Home" for example
  3. With home selected, click the cogwheel below the network services and choose "Set Service Order"
  4. Reorder the services so your preferred connection type is at the top
  5. After that, select each service in turn (assuming you have a few - like Bluetooth PAN etc)
  6. Make the services you are not using inactive
  7. Apply

 

Please post a reply if this works for you - it's been dragging on far too long and needs sorting out by Apple but if this is a good workaround for people then it will certainly do for now.

Mac Pro (Mid 2010), OS X Mavericks (10.9)

Posted on Nov 7, 2013 11:58 PM

Close

Q: Losing network or internet connection after sleep/wake

  • All replies
  • Helpful answers

first Previous Page 9 of 13 last Next
  • by MalcolmR,

    MalcolmR MalcolmR May 6, 2014 12:10 PM in response to PhillipUK
    Level 1 (0 points)
    May 6, 2014 12:10 PM in response to PhillipUK

    I have an update which may be of value; From my experience, you may be correct that your router is the problem.

     

    As I mentioned earlier, Verizon sent me a new router. This is their version 7 for FiOS service... another Actiontec, but sporting 802.11n, and possibly other performance improvements.

     

    Last weekend I installed the new one - necessitating a fair amount of reassignment of various device addressing, WPA2 codes, etc. All went well, and the network is now stable.... no dropouts, no intermittency. Thus I conclude that although installing Mavericks seemed to trigger the intermittency problem, the resolution lay in replacing the router.

     

    One other important detail: One of my Airport Expresses (an early (g) model from about 2007) would not connect to the new router by wifi. It would connect by Ethernet, but duh!... I replaced this old device with a brand new APX (n) which setup flawlessly.

     

    The entire network has not missed a beat for several days now, and it is noticeably faster and more responsive in every way. The wifi capability of the new router includes (n) which the old one did not, and it has two antennae, one of which I have connected to a directional, beaming aerial. Range is about 1 bar better than before at all locations in and outside my house.

     

    By the way, I use static IP addressing as far as feasible. Only my CableTV box and a VOIP bridge for Vonage phone service insist on using DHCP: 2 Macs, 2 AirTunes nodes, 2 AppleTVs, 1 iPod Touch, 2 iPads and 2 printers are all on wifi with static adresses. I store DNS on the router (on the LAN side it is at 192.168.1.1) which speeds things further.

     

    Good luck.

  • by mouneet,

    mouneet mouneet May 7, 2014 12:55 AM in response to Reforger
    Level 1 (0 points)
    May 7, 2014 12:55 AM in response to Reforger

    Thanks, this worked for me. Had the issue of Wifi getting disconnected on sleep and then took too long to connect back. As suggested, I added a location called office with the Wifi Networks in order of preference. It solved the issue.

  • by BadAppleZ,

    BadAppleZ BadAppleZ May 7, 2014 6:25 PM in response to Reforger
    Level 1 (0 points)
    May 7, 2014 6:25 PM in response to Reforger

    Apple thank you so much for using your loyal user community as guiney pig testers for mavericks. We absolutley appreciate your desire to drive us all slowly insane by the incessant issues that reside in your implementation of "networking" in your latest and greatest releases of your OS.

     

    It is especially nice of you to insist that so many of us now accept your new user license agreement of using tin cans and cables along with bongo drums to connect to the "tin"ternet along with your new bongo2 protocol.

     

    Although I would just like to point one little ity-bitty weakness in your obvious enormous effort to please us all with your latest "special" and "free" OS and it is this

     

    So many of us are having to use microsoft windows to log on to your forums to show our appreciation

     

    Yours sincerely and faithfully,

    A once loyal customer of 14 years

     

    P.S.

    After 14 years, I am moving back to MS with my next purchase, because guess what, they actually listen to their customers more than you guys do now.

     

    Plus I actually need a machine that can reliably cummunicate with the rest of the planet no matter what network interface or settings I use. Its called networking for a reason....you do actually realise that part don't you Funny how the wind changes direction.

     

    One loyal customer joined by other longtime loyal customers brings about a tidal change, you forget we went to your platform for reliability and stability. Now all you seem to focus on is prettyness and fleecing.

     

    As a company you do a perfect imitation of a osterich sticking its head in the sand.

  • by Mom2LilMan,

    Mom2LilMan Mom2LilMan May 8, 2014 8:49 PM in response to Reforger
    Level 1 (0 points)
    May 8, 2014 8:49 PM in response to Reforger

    I don't have time to read this entire thread.  I have just realized that the problem may be connected to the Mavericks upgrade.  I am trying this (originally posted) solution, however my problem is slightly different. 

     

    I haven't noticed that the internet drops after sleep mode. Today, it dropped right in the middle of use on the iMac as well as an iPod on the network.  It doesn't happen every day, but it will sometimes drop up to 4 times a day.  The iMac is connected to the brand new BEC router via Ethernet.  Wifi on the iMac is off.  Everything else is wireless.  The drop involves not only internet, but also email and anything that needs an internet connection.  The drop affects ALL devices--iMac, iPad, iPhones, iPod Touch.

     

    The only thing I've found that resets it is to unplug the router from the electrical outlet, wait 10 seconds, and plug it back in.  My internet is through my phone company and they are convinced that the router is fine.  New Ethernet cable, new router.

     

    Is this still the same issue as being discussed here or is it something else?  I just can't see how making a new location, then essentially leaving everything how it already was is going to help? Thanks.

  • by MalcolmR,

    MalcolmR MalcolmR May 9, 2014 4:46 AM in response to Mom2LilMan
    Level 1 (0 points)
    May 9, 2014 4:46 AM in response to Mom2LilMan

    This sounds quite similar to my problem (see earllier posts). If I were you, I'd focus on your new router being the source of trouble.

     

    Does the dropping out occur at the same times each day? Mine did - in fact I could literally set my watch to them. I use AirTunes a lot, and the signal that the network was interrupted was the sudden musical silence. Anyway, it turned out that although upgrading to Mavericks on my iMac-iTunes server (ethernet to router) seemed to start the problem, another older MacBook using Lion and connected by wifi did exactly the same thing at exactly the same times when I tested it as an iTunes server.

     

    In fact all network functionality on all devices, iPod, iPad, Airport Expresses, printing, etc. would go down together, so this definitely pointed to the router. In my case, the interruptions were 20 seconds in duration.

     

    As described in earlier posts, I messed about with new router protocols, DHCP leases, DNS settings, new ethernet cables and static IP addressing on my LAN. Although more or less every tweak resulted in a few hours of relief, the problem returned.

     

    Changing router (Verizon supplied ActionTec, series 7) fixed it. However one device, an old Airport Express (version 1, g) refused to connect to the new router's LAN. All other devices work flawlessly. And checking the router's logs shows no daemon errors at all.

     

    Hope this helps.

  • by Mom2LilMan,

    Mom2LilMan Mom2LilMan May 9, 2014 1:14 PM in response to MalcolmR
    Level 1 (0 points)
    May 9, 2014 1:14 PM in response to MalcolmR

    No, the problem does not occur at the same time everyday.  Internet access has only come back on its own just once, I usually have to do a hard restart of the router. 

     

    I do not have any other computers (we do have an iPad, some Nooks for reading, iPhones, iPod Touch) regularly connected to this network.  I occasionally have my work PC connected, but I have not noticed the problem coinciding with its use. 

     

    There is absolutely NOTHING I can point to that might be causing this--no rhyme or reason to when or how often it happens.  Installation of Mavericks could very well be only coincidental, but my ISP can find nothing wrong with my service, including the router.  This router is brand new, but the problem occurred with the old BEC router as well.  My ISP does not believe it is their router or anything on their end.  However, we never had this problem with the old Comptrend router (which I have pointed out many times to my phone guy!).  My ISP is no longer using those though since they were compromised.

  • by Mom2LilMan,

    Mom2LilMan Mom2LilMan May 9, 2014 1:30 PM in response to Mom2LilMan
    Level 1 (0 points)
    May 9, 2014 1:30 PM in response to Mom2LilMan

    Well, my phone guy is coming over with a different brand router.  We'll see...

  • by fireflymd,

    fireflymd fireflymd May 9, 2014 3:42 PM in response to Mom2LilMan
    Level 1 (4 points)
    Apple Watch
    May 9, 2014 3:42 PM in response to Mom2LilMan

    I have tried, since upgrading to Mavericks, everything listed on this thread and others.  There are periods of time where I think, that's it--that did it!  I actually have periods of time where everything is fine, and then it inexplicably goes back to loss of connection after waking from sleep.

     

    This is a Mavericks issue that, incredibly, Apple has not yet been able to fix.  For now, I just click on my Wi-Fi icon, turn it off, then turn it back on. 

     

    I will never upgrade ever again without waiting for a couple of months to ensure there are no problems.  The reason this thread is so very long, is because there is no solution, as of yet.

  • by SalArlington,

    SalArlington SalArlington May 14, 2014 7:49 AM in response to Reforger
    Level 1 (4 points)
    Mac OS X
    May 14, 2014 7:49 AM in response to Reforger

    Excellent. This worked perfectly for me! Hope it holds. Thanks for the instructions, Reforger!

  • by antzcrashing,

    antzcrashing antzcrashing May 16, 2014 8:40 PM in response to fireflymd
    Level 1 (0 points)
    May 16, 2014 8:40 PM in response to fireflymd

    I have been following this thread for awhile and we are creating confusion for every new person that reads this thread.  When they go to the last pages, to get the latest info they just see a lot of confusing info.  They are seeing alot of suggested fixes, trying them and they dont work, or they do work, but there are so many suggestions that no one knows what to try.  So I have a proposal. Lets do this right.  Copy and paste this post.  If you try one of the suggestions and it works for you, bump up the "success count", if it doesn’t bump up the failure count.  Because when multiple people have something working we can have confidence it should work for us.

     

    Problem:

    Since upgrading to Mavericks whenever my MacBook goes to sleep (if I leave it idle or if I close the lid) the wifi disconnects and it can take up to a minute to reconnect when it wakes. When searching the web you get the message “Not connected to the internet”

     

    Why it happens:

    Wifi and Bluetooth conflict with each other when the computer wakes.  If a bluetooth device was paired, and was disconnected while the mac was sleeping, the mac will first look to repair that device.  Since the device does not allow the mac to pair, the mac continues to search for it for up to 1 minute and then will timeout and allow the wifi to ocnnect.

     

    How to test it:

    Close the lid of your mac to let it sleep, open it and login, does it take 0-5 seconds to connect Wifi (Wifi icon becomes solid black and can surf the web) if so you are good.  Else if wifi icon is gray or shows searching and you cannot surf the web for 30s to 1 minute or until you select your wifi network you have the problem.

     

    Potential ways to get around this (Please add to success/fail count as you test! )

     

    1) EASY - Turn off Bluetooth (Top Right corner menu bar Bluetooth Icon > Turn Bluetooth Off, icon will become gray)

    Test it works: Turn bluetooth off, close lid, open, and surf web

    Disadvantage: Obviously you cannot use bluetooth.

    Success Count: 100+     

    Fail Count: 0

     

    2) MEDIUM - Delete the plist and reboot your mac (Open finder, select ‘Go’ at top menu bar, ‘Go to folder’ > Library/Preferences, delete this folder if you have it: SystemConfiguration (if you have it) and this file: com.apple.systempreferences.plist(More info https://discussions.apple.com/docs/DOC-4301)

    Test it works: Turn Bluetooth on, close lid, open, and surf web

    Disadvantage: Issue returns if after doing this fix, you disconnect a Bluetooth device while the mac is sleeping.

    Success Count: 1     

    Fail Count: 0

     

    2) EASY – If you have unpaired a Bluetooth device while mac was sleeping, repair that device.  Unpair it while mac is awake.

    Test it works: Turn Bluetooth on, close lid, open, and surf web

    Disadvantage: You must have the device available of course

    Success Count: 1     

    Fail Count: 0

     

    3) EASY - Allow Bluetooth devices to wake this computer (Top Right corner menu bar Bluetooth Icon) > Open Bluetooth Preferences > Advanced > Uncheck Bluetooth devices to wake this computer

    Test it works: Turn Bluetooth on, close lid, open, and surf web

    Disadvantage:

    Success Count: 0     

    Fail Count: 1

     

    4) EASY - Disconnect all bluetooth devices (Top Right corner menu bar Bluetooth Icon) > Open Bluetooth Preferences > Remove all connected devices

    Test it works: Turn Bluetooth on, close lid, open, and surf web

    Disadvantage:

    Success Count: 0     

    Fail Count: 1

  • by kevinstylus,

    kevinstylus kevinstylus May 17, 2014 3:40 AM in response to antzcrashing
    Level 1 (0 points)
    May 17, 2014 3:40 AM in response to antzcrashing

    Thanks antzcrashing for attempting to rationalize this thread, as firefly said the fixes on this thread aren't permanent, I've noticed the Apple security updates break my temporary fix of creating a new wifi profile and removing bluetooth from the connection list.

    I don't think the Apple tech team read these threads so we're basically just floundering around trying to fix what is most likely a component firmware / OS incompatibility issue.

    There are similarly long threads, like the one for iPhone 4 users who can't get any sound on phonecalls since the iOS6 opgrade.

     

    Not every mac or iDevice is affected because the firmware and components vary slightly within a model's production run. Those of us unlucky enough to buy from the batch that aren't fully compatible end up here on this toothless forum.

     

    There is only one fix, that's to get the offending component's firmware flashed (not a diY job)  and I really doubt Apple are going to waste time writing a patch or recalling the duff units because most of us just sell the device on eBay and dutifully buy a new one. Sadly, Apple's marketing dept has more influence than their tech-support dept.

  • by Alan Goodall,

    Alan Goodall Alan Goodall Jun 17, 2014 2:19 AM in response to Reforger
    Level 1 (143 points)
    Mac OS X
    Jun 17, 2014 2:19 AM in response to Reforger

    Hi Reforger

     

    Thank you!

     

     

     

     

    This works for me - setting up a new location as Home (rather than auto) and following your list as below

     

     

    Network settings - Location - Edit Locations

    Add a new location .. "Home" for example

    With home selected, click the cogwheel below the network services and choose "Set Service Order"

    Reorder the services so your preferred connection type is at the top

    After that, select each service in turn (assuming you have a few - like Bluetooth PAN etc)

    Make the services you are not using inactive

    Apply

     

     

    This problem has plagued me for many months and driven me to despair!  Especially as I do not have the same problem on my iMac - only on my 2007 MBP.  I had to restart my MBP each time after sleep.  Both are using same versionof Mavericks (10.8.3) so perhaps it is to do with the Firmware on the MBP?

     

    Tried re closing Bluetooth - also - but then I could not use my Apple wireless keyboard!  Anyway - it works without disabling Bluetooth and I have done several sleep tests today.  Internet connections checked via Diagnostics and all 'green'  GREAT

     

    Anyway - thanks again!

  • by Alan Goodall,

    Alan Goodall Alan Goodall Jun 17, 2014 4:05 AM in response to Alan Goodall
    Level 1 (143 points)
    Mac OS X
    Jun 17, 2014 4:05 AM in response to Alan Goodall

    Update - I spoke too soon!

     

    Problem now back again...........  red lights for ISP, Internet and Server - as before!

     

    What can I do?????????

  • by ukkpower,

    ukkpower ukkpower Jun 24, 2014 4:51 AM in response to Reforger
    Level 1 (0 points)
    Jun 24, 2014 4:51 AM in response to Reforger

    I had the same problem. It happened all of a sudden on Friday last. I thought it was my office internet providers fault. All computers were very slow to connect. Then when I went home I had the same issue. All devices at home were slow to connect. Since both locations were the same internet provider I contacted them. They assured me there is nothing wrong with the connection.

     

    Then a couple of days latter I noticed that it was only when I was on my MacBook pro 2013. Otherwise the internet connection was fine. I went to a new location, a hotel and the macbook was fine there. It was only my office and home.

     

    I tried every solution I found but none worked until I tried this forums solution of Delete System Config folder in /Library/Preferences


    Everything is OK now. I think theses files got corrupted when I ran the macbook from a sleep.

  • by Alan Goodall,

    Alan Goodall Alan Goodall Jun 24, 2014 6:26 AM in response to ukkpower
    Level 1 (143 points)
    Mac OS X
    Jun 24, 2014 6:26 AM in response to ukkpower

    Hi Thanks for this, however do you mean to delete the complete folder 'SystemConfiguration' - or just each of the contents (all .plist) (and including another folder inside which is titled CaptiveNetworkSupport and contains settings.plist (maybe that one is the cause of the problem?

     

    So, do I delete the whole folder - if so how is that replaced since individual .plist are when I reboot (forgive my ignorance!)  Please tell me EXACTLY what to delete.

     

    Finally, I have also been having this loss of connections even whilst using my MBP - and not only confined to sleep!

first Previous Page 9 of 13 last Next