You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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:53 PM

Reply
196 replies

Apr 25, 2014 7:04 AM in response to Reforger

>Reforger: Many thanks. Your solution solved my problem. (iMac upgraded from Lion to Mavericks about 4 weeks ago; I use this machine to serve iTunes to my Airtunes network. It had run for years without any problems, but as soon as Mavericks was installed, the Airtunes network would drop for 20 seconds on the hour at :51mins and 34secs. I could set my watch by it)


Prior to your solution, I'd been through the gamut of DNS and DHCP tweaks, converting all my nodes to static IP addresses, and shutting down IGMP on my router (Verizon/ActionTec). Some of these seemed to solve the problem, but only briefly.


I'd like to see a proper explanation for this Mavericks behavior and wonder if it is related to Apple's relationship with the NSA.


Anyway, thanks again Reforger.

Apr 28, 2014 6:00 AM in response to Reforger

Thanks Reforger,


I've been going through this problem for months now, what a pain! I sometimes could not log into my mac remotely because of no connection and boy what a problem that was. I have tried multiple suggestions in other discussions. I have been up and running connection-wise for 3 without an issue. Never thought to look at what was trying to connect first and set wi-fi to be first.

Apr 28, 2014 6:36 AM in response to MalcolmR

SPOKE TOO SOON. Problem not fixed. As both a Lion based and Mavericks based Macs lose network on the LAN at the same time, it points more to some quirk in routing. Ethernet and WiFi are both affected.


The LAN and WAN drop for 20 seconds every hour starting at 10:51:34 AM and ending at 6:51:34 PM. The router logs are full of daemon errors a few minutes prior to these clcok-like events.


Verizon FiOS support was unable to shed any light on the issue, but is sending me an up-to-date router (the current Actiontec is rev A from 7 years ago).


Message was edited by: MalcolmR

May 1, 2014 2:29 PM in response to nikitkas

I have a mac mini I bought last year. Occasionally my router goes out and I have to reset it. More often, when I sit down at my mac, I can see it connect in skype, and then it will disconnect. The last time this happened, I logged off and logged back in and the problem was solved. I don't know why this solved my issue this time. I will try turning off bluetooth next time. I don't think I have any bluetooth devices, but I can see the bluetooth icon.


For others, is it possible that removing your system configuration turned off bluetooth?

May 6, 2014 11:28 AM in response to MalcolmR

Same here.

Thanks for the tips. Tried them all. It works ok for a day or so but reverts back to the way it was.


I have an ethernet connection and it takes about a minute or so to reconnect after a wake. I think it is something to do with the lease renewal between my iMac and router (Asus RT-N66U) as my previous Thomson one didn’t suffer from this. I have also bought a new iMac since and the same happens. Pain in the neck really. Wondering if a static IP from ISP will make a difference???

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.

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.

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.

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.

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.

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.

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

Losing network or internet connection after sleep/wake

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.