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 12 of 13 last Next
  • by Diegus83,

    Diegus83 Diegus83 Nov 25, 2014 3:43 AM in response to fireflymd
    Level 1 (5 points)
    Nov 25, 2014 3:43 AM in response to fireflymd

    In my experience, the only way to make the spinning beach ball of dead go away in those cases is erasing the hard drive and doing a clean install of the new OS.

     

    You can also try repairing permissions and verifying the disk, but if there is some incompatible items left behind by software you installed at some point, a clean install is the safest solution.

  • by DanaBinPA,

    DanaBinPA DanaBinPA Nov 25, 2014 6:29 AM in response to Reforger
    Level 1 (0 points)
    Nov 25, 2014 6:29 AM in response to Reforger

    Thank you! After weeks of frustration you've saved me a call to the Mac specialist and probably hundreds of $. I thought I was going crazy when my Mac was the only thing in the house not connecting to the internet.

  • by fireflymd,

    fireflymd fireflymd Nov 25, 2014 10:28 AM in response to Diegus83
    Level 1 (4 points)
    Apple Watch
    Nov 25, 2014 10:28 AM in response to Diegus83

    The only software I have downloaded that did not come with the computer is Adobe Reader.  I have reset PRAM and so far, so good, (I don't even know what resetting PRAM means!  I just followed the directions I found online.)   If the symptom recurs, I will follow your suggestions.  Thanks.

  • by fireflymd,

    fireflymd fireflymd Nov 29, 2014 5:13 PM in response to painted_stick
    Level 1 (4 points)
    Apple Watch
    Nov 29, 2014 5:13 PM in response to painted_stick

    Well, Yosemite disconnects wifi, too!  Just not as much as Mavericks, thankfully.  So now I will move on to the Yosemite wifi disconnect discussion, knowing full well that NOTHING I do is going to make a lasting difference until APPLE figures out what it is doing wrong.

  • by Macs Are War Horses,

    Macs Are War Horses Macs Are War Horses Dec 3, 2014 11:09 PM in response to Reforger
    Level 1 (0 points)
    Dec 3, 2014 11:09 PM in response to Reforger

    Reforger,

    Thanks. What a relief! All I did was disconnect my AC chords to my modem router and Mac in anticipation of a flood where I live. Thank God for no flood. However, for some reason the symptoms you described happened after I reconnected everything.. I would renew the DHCP. I would manually change the address. It became a huge pain everytime I booted up. I tried your solution and then booted up. Everything works GREAT!  No need to be put on hold with my service provider. LOL. Thanks again!

  • by Smithy9999,

    Smithy9999 Smithy9999 Jan 7, 2015 11:31 AM in response to Reforger
    Level 1 (0 points)
    Jan 7, 2015 11:31 AM in response to Reforger

    Thank you very much for this response, worked first time.

     

     

  • by Timothy Miller,

    Timothy Miller Timothy Miller Jun 12, 2015 11:02 PM in response to Smithy9999
    Level 1 (79 points)
    Mac OS X
    Jun 12, 2015 11:02 PM in response to Smithy9999

    F my life. I've got this problem, too, with my Mac Mini and Yosemite. Trying various remedies, I tried turning off Bluetooth.

     

    "Hey, why do I have Bluetooth turned on, anyway?"

     

    "Oh yeah, I have a new wireless mouse and keyboard. I guess I should turn Bluetooth back on. I just click right here."

     

    "Hey, why is my mouse unresponsive? Oh...."

     

    Of course, there is no corded mouse in the office, and it's the middle of a business day.

  • by Diegus83,

    Diegus83 Diegus83 Jun 13, 2015 1:30 PM in response to Timothy Miller
    Level 1 (5 points)
    Jun 13, 2015 1:30 PM in response to Timothy Miller

    I realize it may be too late now but it could be useful next time.

     

    You can force a shutdown with the power button, turn on the machine again and if not mouse is connected, the Blue-tooth assistant will come up asking you to turn your mouse on/make it discoverable.

  • by jtslking,

    jtslking jtslking Jun 18, 2015 7:36 AM in response to Reforger
    Level 1 (0 points)
    Jun 18, 2015 7:36 AM in response to Reforger

    Worked for me too.  However, I wonder if it would not be adequate to simply change the service order int he Automatic location and accomplish the same thing.

  • by nayals,

    nayals nayals Jun 21, 2015 1:40 AM in response to Reforger
    Level 1 (0 points)
    Jun 21, 2015 1:40 AM in response to Reforger

    Thanks a lot Reforger, it worked great!

     

    I was really getting tired of switching WiFi on/off every time my MacBook woke up.

  • by TheRealPorky,

    TheRealPorky TheRealPorky Jul 4, 2015 11:54 PM in response to Reforger
    Level 1 (0 points)
    Jul 4, 2015 11:54 PM in response to Reforger

    Best way I found, which by the way seems to have also made my Macbook Pro Internet faster, is to go to network settings / advanced / DNS

     

    from here add 2 new DNS servers to the list, and delete any other that may be in the list, if you can't delete all of them don't worry about it, they will just simply get replaced, add:

    8.8.8.8

    8.8.4.4

     

    These are google servers and are free, they are know for having good speeds and better security over the default that you router uses.

     

    P.S.

    The periods ARE important, after you add these servers the internet will not drop any more and will seem a bit more responsive as well!!!!Screen Shot 2015-07-05 at 1.53.00 AM.png

  • by Diegus83,

    Diegus83 Diegus83 Jul 6, 2015 5:32 AM in response to TheRealPorky
    Level 1 (5 points)
    Jul 6, 2015 5:32 AM in response to TheRealPorky

    The speed up could be related to the DNS servers assigned by your ISP being slower or overloaded but it should not affect you LAN or WiFi working in any way.

     

    I have to said that after dealing with this problem for a long time (Reforger's work around made it better but it didn't completely fixed) since I updated to 10.10.4 the problem seems to be gone, all related to the removal of discoveryd apparently.

  • by nayals,

    nayals nayals Jul 6, 2015 6:47 AM in response to Diegus83
    Level 1 (0 points)
    Jul 6, 2015 6:47 AM in response to Diegus83

    "the problem seems to be gone, all related to the removal of discoveryd apparently"

     

    I was (and sometimes still am) experiencing this problem on OS X Mavericks, which does not have discoveryd but mDNSResponder, so discoveryd is probably not the only faulty component.

  • by Diegus83,

    Diegus83 Diegus83 Jul 6, 2015 6:53 AM in response to nayals
    Level 1 (5 points)
    Jul 6, 2015 6:53 AM in response to nayals

    Yes, I definitely had the same problem on Mavericks, and then for the first three versions of Yosemite as well.

     

    Just now it seem to have gone away for good in 10.10.4

  • by Timothy Miller,

    Timothy Miller Timothy Miller Jul 6, 2015 4:39 PM in response to Diegus83
    Level 1 (79 points)
    Mac OS X
    Jul 6, 2015 4:39 PM in response to Diegus83

    I've been following this thread for months, tried many of the suggested solutions. Chances are, there are several separate issues going on, with similar symptoms, but different causes and solutions. The miracle solutions posted so far on this thread have been generally disappointing.

     

    In my case, I'm on a new Mac Mini. Today, I upgraded to 10.10.4. We'll see if that contains fixes.

     

    Specifically, there is one web page I often use throughout the day. It's usually open in my browser. If  I don't use the machine for awhile (how long? Not sure... 30 to 60 minutes, maybe?) the page won't refresh and I have to wait for it for a long time, maybe two or three minutes, possibly longer. At these times, other internet connectivity is also lost. I'm not sure if the onset of the problem coincides with the screen going to sleep.( I'm usually busy and distracted when not facing the screen.) I'm guessing it does.

     

    The problem began when I got my new Mac Mini. At the same time, I got a new bluetooth keyboard and mouse, and also a new Time Capsule. I now use the Time Capsule's WiFi, instead of the WiFi in the modem I get from AT&T. There were several hypotheses to test. Connecting by ethernet instead of WiFi didn't help. That ruled out the possibility that the WiFi on the router was timing out. I tried removing the Time Capsule. That didn't help. Same problem with the old modem/router. I'm planning to get a wired keyboard, to see if Bluetooth is part of the problem, haven't gotten around to it, yet.

     

    I made one change that instantly and permanently eliminated the problem. Not very original, I admit. System Preferences --> Energy Saver -->

     

    "Prevent computer from sleeping automatically when display is off." Enabled

     

    "Enable power nap" Enabled

     

    "Put hard disk to sleep when possible" Disabled.

     

    The problem has disappeared.

     

    I'd rather have the computer and hard disk sleep when possible. I will turn these things on one at a time, and try to narrow it down a bit more. Will also try the wired keyboard. Will report back.

first Previous Page 12 of 13 last Next