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

Nov 13, 2013 1:31 PM in response to Reforger

Thomas: the same thing is happening to me it seems, there are other threads with this same Mavericks problem. I have contacted applecare they have been looking into it for over two weeks and their engineers have not come up with any fix yet, but the file is open. I will keep people posted but any other ideas? m@rk I also deleted the systemconfirguration file upon your advice but no luck, it didn't work...

Nov 13, 2013 2:07 PM in response to ki11a

Following Reforger's advice didn't cure my network dropping out problem completely, but it did significantly reduce the frequency with which I have to turn wireless off and back. Similarly, waking from sleep now reconnects about 50% of the time whereas before it was zero.

The only things I have found that are completely effective at preventing the drop outs with Mavericks is (a) use an Apple Airport Extreme router or (b) setup your non-Apple wireless router to only use 801.11g as it seems to be 801.11n that Mavericks struggles with. My router at home has both an "n" channel and a guest "g" channel. I don't get any drop outs when I connect via the guest channel, but do when trying to use the faster "n" channel.

Nov 13, 2013 3:03 PM in response to Reforger

I probably should have added that I had the same network issues both after an upgrade from Mountain Lion to Mavericks and then again after a full clean install from scratch so that, for me, blew away any notion that this was due to some lingering config files or other bits of junk left over from a previous OS.


In response to mrsannmc, the cable in/out method has the same effect as forcing a DHCP renew - which would also bring back the network connection (as does turning WiFi off & on) in my experience.


However, in light of everything above, the solution I outlined in the original post has been 100% successful, both on my Mac Pro wired connection and also on a 2009 MacBook running a Mavericks upgrade from ML, which has totally cured the need to switch WiFi on & off.


For MarkH356 I think there may be a compounded issue with the compatibility of your router. I'm using an Asus RT-N66U and the MacBook is now absolutely rock solid on 802.11n at 5Ghz.


Clearly I can't address every case but I remain convinced that the problem lies with the automatic network location feature.

Nov 14, 2013 11:38 PM in response to Reforger

Deleting the system configuration files was unsuccessful. However, following the instructions in the original post + having booted to safe mode (saw this mentioned somewhere, dont know if it is necessary) I created a new location setting wlan first in order and voilà! Now it has worked ok so far. Let's see how for how long. What I didnt do was disable the other service (LAN). Anyway, thanks a lot for this tip. I thought this kind "features" were reserved only for Windows. A real nerve wrecker.


Slightly off topic: if you go to advanced settings in network and save a password for a specified router, is it still possible to edit that entry somehow? I accidentally mispelled the name but could not edit it anymore, only delete and recreate was possible.

Nov 15, 2013 6:15 AM in response to MHTSOSMAN

You may need to disconnect completely from the server on which your sparsebundle is sitting to break the link and then go through the process of setting up time machine again choosing the same network location. It should hopefully recognise the sparsebundle and sort itself out. Worst-case scenario would be to delete the sparsebundle from the network drive completely and run a new full backup.

Nov 15, 2013 12:30 PM in response to Reforger

I have read on the internet if you have a router that is older it may not support IPv6. WARNING if you are using IPv6 don't do this hint because it's for only older wireless routers that don't support IPv6.


So go into System Preferences->Netowrk, Airport section. In Airport click on the 'Advanced' button and in the TCP/IP mini-tab in the 'Configure IPv6' and use the toggle bar to 'Link-local only'. Then make sure you click the OK button and it spits you out to the main Network pane click the 'Apply' button to save this configuration.

Nov 18, 2013 9:53 AM in response to Reforger

I have a new Macbook Air running Mavericks and new 802.11ac Airport Extreme router.


My problem is that the MBA drops the internet connection after waking from sleep. I tried the solution offered by the OP, but it didn't work.


In my case, here's what I have to do to get a connection again. I open the Network preference pane, and then choose "Assist me..." and then "Diagnostics". Invariably it will show a green light beside Wi-Fi, Wi-Fi Settings and Network Settings. I have 5 bars showing in the WiFi menu bar icon. But ISP, Internet and Server will be yellow.


When I go through the steps prompted by the wizard, the ISP/Internet/Server lights turn green on the third screen where I select the wireless network I want to join.


I'm not sure if this is the same problem described here, or a different one? Is this what you are all experiencing?


It seems as if it's connecting to the WiFi network when it wakes from sleep, but losing the internet connection?


I'm going to start a new thread in case this isn't the same problem.

Nov 18, 2013 10:09 AM in response to Reforger

Update: My connection is working now, and I don't know why. I removed the folder from librarysystem preferences, I re-inputted all the information from the original thread here in network (new location, new set order, make inactive etc) and nothing as I mentioned above worked right away, but after a few days it suddenly started connecting. The ONLY other thing I did in this time was I went off site with my Air. I left the house and it was in my bag as I ran some errands which I hadn't done since before Mavericks download, and it started connecting after that. It sounds weird I know but it seems somehow the system had to disconect from the server area in order to work again. I couldn't tell you whether it is simply that as a quick fix or it was a combination of that plus one of the other fixes from here, but it has been a five days it all works perfectly again. We will see how long it lasts but my recommendation is to do all of the above AND go off site - see if it works for you too.

Nov 18, 2013 2:12 PM in response to scottfitzroy

You might be on to something there. I was still having a few drop outs from sleep after setting up the new location, but having taken the computer into work and connected it to the work network, it now doesn't drop out either at work or when I take it back home. Maybe those still having problems with drop outs after setting a new location could try connecting their laptops to a public, work or friends wifi network and see if this fixes the problem.

Nov 18, 2013 2:45 PM in response to Reforger

Did you do the other steps listed in this thread? As mentioned I did them all, not sure which or what helped but it may be a combination of them, or them all. It's the only other thing I can think of, that and if applecare still comes back with something I will let you know. Their engineers have heard all about this problem they tell me, and are working on a fix..

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.