3

I have taken my late 2011 MacBook Pro to the 'Genius Bar' and they said that this was NOT a hardware issue as they ran the diagnostic and found no problems. This is why I am posting this despite there being many similar questions, as all of them were resolved by replacing the hardware. The Apple 'Genius' then said the WiFi was "probably" dropping because I was running Mountain Lion and Yosemite had lots of connectivity updates. I am now running Yosemite 10.10.3 but the problem persists.

The Problem

I'll be connected to any given WiFi connection (indicating this is not a router or channel problem) and everything will work fine. Within a period of time – normally ranging from a few minutes to an hour – I will try to load a web page and see its loading status say 'resolving host' (Chrome v43).

When the WiFi dies, the only (temporary) solution is to 'forget' the network, make WiFi service inactive and then remove the service altogether, before rebooting and re-activating it. When the WiFi dies, the signal icon shows a full strength connection and in 'System Preferences > Network' the button says 'Turn WiFi off' as though it hasn't realised yet.

Sometimes, when I boot back up, clicking on the WiFi icon shows a message stating 'No hardware detected'. I have to restart once or even a few times before this is fixed.

Attempted Solutions

  • Called Apple support who talked me through deleting lots of different preference files
  • Took to Apple Genius who said it was 100% not a hardware isse as this would be picked up in diagnostics
  • Updated from Mountain Lion to Yosemite
  • Updated all other software
  • Reset PRAM / SMC

** Log **

01/06/2015 23:29:22.298 discoveryd[78]: Basic DNSResolver UDNS Send(): UDP Sendto() failed to DNSNameServer 194.168.8.100 Port 53 errno 65, fd 56, ErrLogCount 50 ResolverIntf:5
01/06/2015 23:29:58.329 com.apple.xpc.launchd[1]: (com.apple.CoreRAID[845]) Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.CoreRAID
01/06/2015 23:30:00.000 kernel[0]: Sandbox: fontworker(849) deny file-read-data /Library/Fonts/Summit_OpenType/SummitBold-InlineOne.otf
01/06/2015 23:30:08.000 kernel[0]: SerialATAPI device reconfiguration did not complete successfully.  (failedCommandInfo = 0x1)
01/06/2015 23:30:31.117 discoveryd[78]: Basic DNSResolver  Re-Binding to random udp port 50861
01/06/2015 23:30:33.191 com.apple.xpc.launchd[1]: (org.ntp.ntpd) Unknown key for Boolean: ForceEnableHack
01/06/2015 23:30:35.416 com.apple.preference.datetime.remoteservice[900]: Failed to connect (worldMap) outlet from (GEOCityPickerViewPrivController) to (GEOWorldTimeZoneView): missing setter or instance variable
01/06/2015 23:30:42.181 WindowServer[146]: WSGetSurfaceInWindow : Invalid surface 753037142 for window 141
01/06/2015 23:30:42.181 WindowServer[146]: WSGetSurfaceInWindow : Invalid surface 753037142 for window 141
01/06/2015 23:30:42.181 WindowServer[146]: WSGetSurfaceInWindow : Invalid surface 753037142 for window 141
01/06/2015 23:30:42.304 com.apple.xpc.launchd[1]: (com.apple.preference.datetime.remoteservice[900]) Service exited due to signal: Killed: 9
01/06/2015 23:31:03.337 matt[907]: Unable to resolve hostname(s)
01/06/2015 23:31:21.066 com.evernote.EvernoteHelper[800]: Terminating in response to shutdown notification
01/06/2015 23:31:31.072 CoreServicesUIAgent[301]: unexpected message <OS_xpc_error: <error: 0x7fff7775dc60> { count = 1, contents =
    "XPCErrorDescription" => <string: 0x7fff7775df70> { length = 18, contents = "Connection invalid" }
}>
01/06/2015 23:31:33.463 ntpd[901]: drift PPM:0.000 -> -48.093
01/06/2015 23:32:04.000 kernel[0]: Google Chrome He (map: 0xffffff803bef40f0) triggered DYLD shared region unnest for map: 0xffffff803bef40f0, region 0x7fff95000000->0x7fff95200000. While not abnormal for debuggers, this increases system memory footprint until the target exits.

I monitored my WiFi connection so I knew when it dropped and checked the console log. I have uploaded it to Github for you to look at. It's available here.

I am at a loss. This is severely affecting my work as a freelancer and my morale. If anyone has any ideas please do share. Thanks.

  • You could help us by posting the Console log at the time stamp of the event (lost WiFi) – Ruskes Jun 1 '15 at 16:49
  • Thanks for your reply, @Buscar웃SD. I have uploaded a log here: gist.github.com/anonymous/fcb89ee9694bc437ba4a – Matt Jun 2 '15 at 22:28
  • Is this really a Wi-Fi problem or a DNS one ?--- How to diagnose this? Just do a ping to your wireless router when you think your Wi-Fi is down. It will tell you the truth. – daniel Azuelos Jan 16 '16 at 13:21
1

I recently had similar issues with Macbook air keep dropping wifi and constantly searching wifi. I knew it was not because of my wifi router because my android device had stable connection. Upon trying different tricks such as restarting network etc, none seems to work. I finally came up with a temporary fix. I opened the network preference on Mac and ran the network diagnosis, it says my network is working fine. Then I close the network preference. And Viola, the network is now working just fine. It seems to me that some file or setting is corrupted in the network registry for some reason, and after running diagnosis, the OS overwrite and fix the corrupted file or setting until next time it is corrupted again. Hope that helps.

0

Finally I go to taking a look at your log. (even if it is very short one), the more info the better.

So, we have following to fix: Not all of it is your WiFi problem related.

  • In Application folder find and open Font Book app. In there use the Restore system fonts.

  • Your DNS server is having problems.- Open Syst Pref- Network - DNS. Add Google DNS to it as 8.8.8.8, delete others (like this one DNSNameServer 194.168.8.100).

  • Lets check your Host file.

    In Finder use the Go- go to folder and paste following /private/etc/hosts

That will show you the Hosts file in the new window. Open that file and compare your results to this:

##
# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1   localhost
255.255.255.255 broadcasthost
::1             localhost 
fe80::1%lo0 localhost

You should NOT have anything more or less in that file.

U P D A T E

After reading your Log file from 04/06/2015 on https://gist.github.com/anonymous/85efce69325f2ea487a7

  • Please stop that Google Chrome He in your Activity monitor (kill it). Do not use Google Chrome browser for a while to test without it.

  • You still have DNS server problems. You should remove all DNS servers in the syst pref Networks, and only leave the 8.8.8.8.

  • I suggest to use the Namebench app that will evaluate and suggest the best (fastest) DNS server for your location. I used it and now my surfing is much faster.

  • You should then run the Ping Google.com (in Terminal app located in your utility folder) let it finish and you shall see no packets loss, and ping times of 20-50 ms

  • Now lets set up a continuous ping that would keep your connection alive.

The following will send a signal every 60 seconds to Google server.Just let it run the whole day, then stop it using ctrl+c-

In terminal type ping -i 60 google.es Again your Ping time should be something like time=30.201 ms. I just did it from California to Spain.

Final comment: Apple has acknowledged that there is a problem with the discoveryd process, and has fixed it in the new (beta) release of the Yosemite 10.10.4. Let hope for the best and wait for it to become public.

  • Thanks so much. I followed all of your instructions. I had a different DNS in there called 'home', a bunch of blocked websites in the hosts file, and I restored the standard fonts. Would any of these be potentially to blame for the dropping WiFi? – Matt Jun 4 '15 at 14:54
  • Ok, unfortunately it seems your suggestions haven't resolved the dropping WiFi. They were great suggestions though. If you have any further suggestions I'd be happy to try them! – Matt Jun 4 '15 at 15:35
  • Well, that console log was to short and actually did not show nothing about WiFi. So please take another look at the console log and look kernel[0]: wlEvent: en0 en0 Link DOWN virtIf = 0 and copy the lines before and after that, some 30 lines before and 30 after. – Ruskes Jun 4 '15 at 16:22
  • Ok, @Buscar웃SD here's another console log. Hopefully it's a little more meaty than the last one! I very much appreciate your time with this. Link to Console Log on GistHub – Matt Jun 4 '15 at 19:05
  • Very nice report, give me some time to study it. There are a lot of networking issues going on, but right now not clear to me why. – Ruskes Jun 4 '15 at 19:33

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .