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

Feb 24, 2014 11:47 PM in response to Reforger

The suggested solution using a separate network location, didn't work for me either, but although it's sort of a dodgy solution I found something that did: Making my MacBook Pro (13" with Retina, late 2013) use the "personal hotspot" feature on my iPhone.


So my current setup is:


  • iPhone connected to WiFi.
  • Personal hotspot enabled on iPhone.
  • MBP connected to iPhone's personal hotspot.
  • Magic Trackpad connected via bluetooth to the MBP.


Also, to avoid draining the battery of my iPhone, I've connected the iPhone to my external display via USB. I've been using the above setup for the last couple of days and have no issues to report yet.


I've had my MBP since the beginning of January and it's been running without any problems whatsoever. The network began acting up last Thursday (January 20th).

Feb 25, 2014 4:09 AM in response to adamfromdk

Does setting your wifi network spec to 801.g make any difference ?

Before I got the new location working, I found that changing my router from 801.n to 801.g stopped the frequent network disconnections.


Local iPhone or iPad hotspot is a good temporary workaround, but keep an eye on your Mobile Data limit from your Telco. It can get costly if automatic updates are switched on.

Feb 25, 2014 5:23 AM in response to MarkH356

Nope, going from 801.n to 801.g didn't make a difference - unfortunately. My MBP is still online for approx. 10 minutes, but loses connection to the Internet altough it retains the WiFi-connection to the router. I can then "Turn WiFi Off/Turn WiFi On" which then starts a new approx. 10 minute cycle.


... and yep! An eye has to be kept on the cellular data usage when using "personal hotspot".

Feb 28, 2014 7:35 AM in response to Reforger

Throwing in my troubleshooting process in case anyone else finds it helpful.


Problem has been persistent through Mountain Lion and then Mavericks, all versions including today/yesterday's security update (10.9.2). I've done a thorough and detailed documentation of the problem below:


Machine:

MacBook Pro Retina

15-inch, Early 2013

2 external monitors


Settings:

Set to never hardware sleep

Display sleep after 15 minutes


Problem/troubleshooting process:


1) Upgraded my router in October. Problem begins, but ONLY on this laptop. Noticed upon display sleep for a few hours, wireless drops out and gets ! icon over the wireless. This is at home at my home router. I had to turn my wireless on and off to connect again every time, like many of you.


2) Cycled through several routers of different brands. Problems persist. Got a crappy older model of a router on sale during Black Friday, with few options for faster newer bands (including 5ghz). Problem is resolved.


3) Fiance updated my home router AGAIN, with a newer model TPLink with 5ghz enabled. Problem returns.


4) After updating to 10.9.2 today, noticed wireless didn't connect after the restart when setting up Apple ID, and upon getting back into the OS noticed wireless hanging/dropped again. Turned wireless off and on again to resolve.


5) Began to monitor my wireless using Wireless Diagnostics constantly for half an hour. The connection is dropped every time I start the monitoring, under 5 min in. I did this 5-6 times.


6) Called Apple Support. Was told to delete my home network and add again. Problem persists.


7) Came to this thread. I created a new location and followed the instructions to the letter. Problem persists, connection continues to drop every few minutes.


8) Followed advice further down the thread. Deleted System Configurations folder, then added the Home location again, then followed all the instructions of the OP again.


Problem now seems to be resolved. No dropped connections for half an hour now of monitoring. Will keep you all updated as I continue to use the laptop normally and observe what happens after normal use and display sleep.


Hope this helps.

Feb 28, 2014 4:30 PM in response to Reforger

I will apologize in advance for not being computer savy, but I had a similar problem. My internet connection would drop after reopening my laptop. I have a Macbook Retina display running OS X 10.9.1 with a Belkin wireless router FD582356-4. I would run through the network diagnostics as prompted and the connection would restore.


The problem first appeared after Christmas when I upgraded my cable modem (via cable company free deal) to Cisco DPQ3212. My wife was quick to point out the problems after I supposedly upgraded.


I tried reforger's solution to no avail. Further internet investigation mentioned something about Bluetooth. I realized that I had received a Visio TV sound bar for Christmas and had started using the Bluetooth connection to play music from the laptop to the soundbar.


I noticed that if I shutdown the Bluetooth connection to the soundbar before closing the laptop, my problem disappears. Not sure why, but disconnecting before closing the laptop appears to have eliminated my issue.

Mar 7, 2014 1:55 PM in response to NewToMacLD

Here is an update. Frome recovery mode, I repaired disc permissions and re-installed Mavericks. The problem persists. I finally decided to replace my 5 month old ASUS RT-N66U router with my old Linksys WRT160n.


This seems to solve the problem, at least for now. Time will tell.


To restate the case.


I would loose access to the Internet after the second time the MacBook went into sleep mode. Two methods to regain access were possible. 1- disconnect and reconnect the ethernet cable from the MacBook or 2- make the ethernet service inactive and the reactivate. (poosibly a third one from the terminal command line which I did not try). It did not matter if WiFi was also On or Off.

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.