If you’re a Mac user, you’re probably thinking of updating to OS X 10.10, better known as Yosemite.
In fact, many of you will have updated already.
But even if you don’t have a Mac, or are sticking with the five-year-old Snow Leopard release (OS X 10.6) for legacy reasons, you may have seen or heard the growing disquiet about Yosemite and Wi-Fi.
Like me, you may even be affected.
No-one seems to know what’s wrong, and without a scientific explanation it’s hard to know where to lay the blame.
Yosemite itself could have introduced a bug; or your hardware might be affected by a reliability problem that simply didn’t show up before; or some third-party software might be revealing a latent flaw.
Wi-Fi symptoms
The symptoms are varied, but the most commonly reported problem is pretty much what I’ve experienced since first rebooting into OS X 10.10 and going online wirelessly.
Your network works fine for a while, typically between about 30 seconds and five minutes, and then fairly abruptly begins to suffer almost total traffic loss.
The network shows up as active, and low-level packets such as PINGs can be sent and received as normal.
But traffic such as UDP and TCP just doesn’t get through.
So you can’t use DNS (the Domain Name System that tells you sophos.com is actually at 31.222.175.174), and even if you knew Sophos’s IP number already, you wouldn’t be able to connect to it anyway.
User forums and Apple’s own Support Community have plenty of discussion of this issue, and numerous proposed “fixes”.
The problem with these fixes is that it’s hard to be scientific when you don’t have any information about what has changed, and what might be the cause.
So far, many of us seem to be grasping at straws, following a support technician’s worse nightmare of logic: post hoc ergo propter hoc.
That’s Latin for “X happened after Y, therefore Y caused X,” and put in those terms, it’s clearly a misleading and risky form of reasoning.
What we know
All we know is that for those of us who are affected:
- Wi-Fi network meltdowns happen repeatedly.
- Meltdowns don’t seem to recover on their own.
- You rarely get more than about three minutes between meltdowns.
- No such symptoms were observed before updating to Yosemite.
“Fixes” that I’ve seen include: forgetting all your Wi-Fi networks and entering your password again; using the 2.4GHz range only and avoiding 5GHz; turning off Bluetooth; and even wiping your disk and reinstalling Yosemite afresh from a USB key.
But removing all my networks and starting over was my first reaction (it didn’t help), I never have Bluetooth turned on, I’m not using 5GHz on my access point, and others have done complete reinstalls to no avail.
A few people have reported, “Hey, that fixed it for me” in each case, but almost none of them mentioned how long they waited to see if the trouble would return.
Indeed, many of them seem to have proclaimed success very quickly after making the change, so they may have spoken too soon.
Occasionally my network will stay up for close to 10 minutes, which feels like success if you’re used to getting cut off every three minutes or so.
But even if 10 minutes of uptime feels like a good result, it still counts as failure compared to how things were under Mavericks, with Wi-Fi connections lasting flawlessly all day (and night) long.
Can you help?
We’re not going to blame Yosemite yet, but we are turning to the Naked Security community for fixes, workarounds or even bodges.
But not just any old bodge: you have to come up with a plausible explanation of why you think it works, and why other people should try it.
I’ll open the batting with my effort, which is by no means a fix, and isn’t even a workaround: it really is a bodge, plain and simple.
I’m a hacked-together shell script, run with root privilege using the sudo command.
You can click on the image below for a text version to copy-and-paste to use yourself:
All it does is try a DNS lookup every five seconds, and turn the Wi-Fi Network rapidly off and back on if no reply is received within three seconds.
Simply explained:
- The dig +tries=1 +time=3 command does the lookup, waiting 3 seconds for an answer.
- The grep and cut commands extract some handy feedback (the time taken if the DNS request succeeds).
- ${PIPESTATUS[0]} is the return code of the first command (dig) in the pipeline above, which will be non-zero if there was an error.
- The ifconfig down/up commands force the Wi-Fi network to reconnect.
- The device name en0 is the Wi-Fi network card on my Mac.
- The sleep 5 takes a 5-second break before trying again.
When the Wi-Fi network re-connects, traffic flows again until the next meltdown.
I decided on a 3-second DNS timeout because a quick experiment showed that my successful DNS requests never seem to take more than two seconds, even using a cellular connection, and are typically 5 to 10 times quicker than that.
I chose the 5-second sleep as a reasonable compromise between the amount of “keep alive” traffic I’m generating and the longest outage I can have.
I can’t explain why the network fails only until it is brought up again, nor why it then recovers almost immediately and almost every time.
So this really is a bodge, on a par with that old support favourite, “Have you tried rebooting?”
But the script above has been keeping me online automatically for a sufficiently high proportion of the time to give me a usable internet connection. (I posted this article successfully despite a Bounced en0 message every 3 minutes or so.)
It certainly beats using the mouse to keep turning Wi-fi off and back on, which does the trick for me as well.
What’s your bodge?
Update (2015-01-28T01:07:00Z)
According to Apple the OS X Yosemite 10.10.2 Combo Update includes a resolution for Yosemite’s Wi-Fi disconnection issues.
PS. Criticise me all you like for putting form before function, but I’m not restoring my Mavericks backup. Not yet, anyway. I love the new look, I’m not having any other problems, and my Wi-Fi bodge is holding the fort for the time being.
Thank you for highlighting the issues with this upgrade as I had my suspicions especially as the new update for the iPhone 5s has just completely crashed and will not reboot whether soft or hard!! Decided to read around Yosemite and then saw the newsletter in my mail box ….. I will wait especially as I have the mid-2012 MacBook Pro which seems to be sensitive to changes and is still getting it’s head around Mavericks.
Last week I got a new iPhone 5s and the Apple Store commissioned it for me. On starting it demanded to install the iOS 8.0.1 update, using their in house WiFi, and hung during the ‘preparing to install’ stage. The second attempt also failed. They solved the problem by loading from a file on a laptop hard wired to the iPhone, which would have wiped the phone (but being new there was nothing to wipe). I am constantly using the phone with WiFi without any difficulty.
I later updated to iOS 8.0.2 without any difficulty. I’ve just updated to iOS 8.1 and that seems to be OK too.
I wonder if there is a clue in the fact you state that by totally wiping the disk and effectively doing a complete new install still does not resolve the problem? Could it be telling us that there is an incompatability between the hardware and software? Could it be telling us that there is something within OS X 10.10 that is not liked by the network interface?
But does it just happen when using WiFi networking, so does it also happen when using only Ethernet, or does it happen on either or both when using WiFi and Ethernet? Does it happen if you run a VM with this or a different OS loaded?
No it Doesn’t seem to happen using Ethernet. I never use the wifi on my iMac, I upgraded yesterday and it has been perfect all day.
Sorry, but my 2009 iMac 24″ is ethernet into an Airport Extreme (bluetooth off) and the problem is persistent on that also. Seems I’ve “fixed” it on WiFi/ MacBook Pro retina by turning off BT…
There is more than just one problem going on here with this. Different people report different issues. Some people say it only happens with wifi, but even when I plugged in a network cable, I could not get out to the internet. HOWEVER, Chrome and Parallels both could get out and worked fine. Hmmm…..
What fixed it for me. First, I did a couple of recommended commands:
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist
If I entered those in with the terminal, i got internet until I shut down my computer. Then I would have to enter them again.
Another person came up with the idea of deleting the following file:
com.apple.mDNSResponder.plist
and it’s helper out of the same folder.
That permanently fixed it, at least for me, for the last several days. Other people? They have not had the same luck I have had.
This doesn’t really answer your questions, but this does give a little different view of things, particularly the fact that Chrome and Parallels would work just fine. At least for the problem I had….you’re not going to be able to fix “the problem” until we determine what all of the problem actually is first.
Well, you know Chrome does DNS requests in IPV6 unless you force it off. Wonder if this is an IPV4/IPV6 issue?
Duck: Done any packet traces? Wireshark is your friend.
same issue here and even after updated to 10.10.2 and can’t find the com.apple.mDNSResponder.plist And it is really pain to enter it again after reboot..
On my early 15″ retina MacBook Pro, updating to Yosemite completely broke WiFi- it never worked even after trying all of the “fixes” found in the various forms. The updating of my 2010 MacPro & 2011 iMac by installing over 10.9.5 worked fine for both the WiFi and internet.
If I wipe the disk & do a fresh install on my MacBook Pro using the default install values, the WiFi works fine. As soon as I either migrate my 10.9.5 or try an install over- the WiFi is broken.
Its always the same- strong WiFi signal, gets IP address, but never connects with the DSN.
Since you mentioned that the problem seems to be present since you installed Yosemite, why not try and roll back to the previous OSX? Is there any chance that the drivers where updated in Yosemite?
I assume it’s nothing to do with the maximum MTU size?
Good shot – I relate it to “traffic shaping” in the router. Unix (OSX) and Linux use ip as it should be used, and do not use MTU – will ignore it by default. if they have started to “reusesocket” as on Windows, the result will be completely random. The socket should be set to not linger, and then MTU will be ignored – used only by Windows.
Sorry to hear about your Wi-Fi issues, Paul. I upgraded my mid-2011 iMac to Yosemite last weekend (from Mavericks), and my Wi-Fi connection hasn’t had any issues whatsoever.
Reading the Apple Community forum posting that you linked to, it looks like a mixture of 2012 and 2013 Mac models, with a few 2014 models appearing as well. I’m guessing that they all share a common wireless networking chipset, and the problem is in the interaction between that and Yosemite. I’d say that the ball is definitely in Apple’s court on this issue.
Given that this wasn’t occurring with Mavericks on the same hardware (in most cases), maybe they need to look into rolling back parts of the hardware-level wireless networking code to the Mavericks version and checking for any compatibility issues with other parts of the network stack and the various hardware control and power management modules?
Here’s hoping they can put out a proper fix for this soon!
Broadcom
No problems with 10.10 updates on my mid 2010 27″ i7 iMac. Using Apples AC router wirelessly without incident. Flawlessly streamed Netflix in HD nonstop for 5 hours and have Skyped several times since the update.
Sorry, but: Shortly after updates to OS X 10.9.5 and Safari 7.1 I have been having WIFI failure, after leaving my MacBookPro 15in Late 2008. When I return WIFI is not connected, begins searching unendingly, not finding my network, nor others it always sees. Opening System Preferences just hangs, and must be Force Quit to Restart. Upon any Restart WIFI ALWAYS connects and works. Saw CIJScannerRegister (Activity Monitor) looked odd (can’t remember why). Left Activity Monitor on, problem went away for two weeks, then same prob. Wondered if could be infected with equivalent of a rootlet on Unix. Got a notice: Another device on the network is using your computer’s IP address (10.0.0.18). Now have 5 Anthony’s MacBooks listed as Devices in Finder but uninspectible. Yosemite did not fix. Everything fine if I turn off WIFI at end of session and turn on when need.
Need to collect enough data to determine by model to see if there is a correlation in a sub-group. I use a Mac mini late 2012 and while the WiFi is up and running, my connection to the router is wired. The last time I had a problem similar to this was with an older 2 wire router. I solved the problem my putting an Apple Airport Express on the network.
Which router, firmware version, etc…
Why should I help Apple debug their operating system?
Because it’s impossible to find all bugs through in house testing and if you have this problem it’s in your interests to get it fixed.
The other day I rode past a bloke who had a flat tyre. He’d clearly just fixed a puncture but couldn’t inflate it. So I stopped, immediately realising that while I was just a commuter on a bike I paid for myself, he was a pro, or at least a semi-pro, with sponsored equipment and a bike worth, oooh, 10x as much as mine. He was out on a solo training ride.
“I left my inflation kit behind by mistake,” he said, “Doh! You don’t happen to have a pump on you, do you?”
And I said, “You’re the pro. Why should I help you inflate your tyre? Part of being pro is behaving professionally. You’ll have to push to the nearest servo. It’ll take you about 30 minutes from here, and you will learn a valuable lesson. Goodbye.”
Oh, no, that’s not it.
What I actually said was, “Sure.”
Your example makes it seem that A is a company equipped with expensive and undeserved tools, very far away from any chance to fix said tools on their own, which is totally not tr… oh, wait.
I am not sure where the word “undeserved” comes from…
From the dictionary, it’s an adjective. Undeservedly it’s the adverb. One synonym it’s unmerited.
You’re very welcome.
Love the parable.
JR, If you don’t share this sort of data concerning your own problem, and the developers fail to study your issue which was perhaps more unique than you thought, who wins?
In this instance you only hurt yourself, and all of the rest of us.
It’s quite strange really as I had intermittent problems with my MacBook Pro (2013) connecting to our BT HomeHub5 through the latter part of Mavericks and having since updated to Yosemite, the issues seem to have disappeared and WiFi on 5Ghz is far more stable!
OOPS ! You might want to talk to your software engineers in a hurry:
http://lists.psu.edu/cgi-bin/wa?A2=ind1410&L=macenterprise&F=&S=&P=569246
“I was able to solve this by just uninstalling Sophos on my laptop. When I would run into this issue I would notice that a process SophosWebSecurity was using a lot of CPU resources. Since removing Sophos I haven’t had an issue.
I saw that. I kinda seriously doubt it’s the answer, though. Remember that, as I say in the article, people are swearing to have “fixed” this with all sorts of changes that almost certainly aren’t actually fixes. In some cases, they seemed to fix the problem but it was in fact still there; in others they may have made the problem go away, but not strictly have “fixed” it.
(Perhaps the reason that SophosWebSecurity was seen to be hitting the CPU hard was *caused* by the Wi-Fi problem, because it could no longer make TCP or UDP connections, rather than the other way around?)
I have had this problem with and without Sophos Anti-Virus installed (yes, I thought I’d check – I figured that would be good science, not questionable loyalty :-). From time to time I *think* I’ve licked it, because my script will give me page after page of good news. But I’ve never actually seen the good news last more than 10 minutes.
What if you turn off Spotlight Suggestions (I think you have to turn it off in multiple places)? Does it help any?
Remember, you have to say why you think this would make a difference…
That’s so that if someone tries your fix and the problem goes away, we have confidence that the fix actually had anything to do with it 🙂
Otherwise…you’re back to post hoc ergo propter hoc.
Nope, doesn’t help… 🙁
I am having the same issue with a mid 2009 mac book pro
I have a late 2011 Macbook Pro and I was having issues with Mavericks connecting to WiFi APs i.e. the Wifi icon would show a ‘!’ in it for several minutes until it retried. Disabling the WiFi and then re-enabling it, or just selecting a network to connect to, sped things up since it generally connected immediately. I think things are better with Yosemite but its too early to come to a definitive conclusion.
One thing to try if its your own AP and a few years old is to disable 802.11n support in the AP i.e. select 802.11bg rates. The problem is that many APs were sold with chipsets that were supposed to support 802.11n but which were released and put into routers before the 802.11n spec was finished. When you first connect to an AP, the clent and AP use a default data rate (probably 1Mbit 802.11). After the connection sets up, the AP and client will try cranking up to speeds advertised by both ends. If the AP advertises that it supports an incompatible 802.11n data rate, when it moves to use that rate and your laptop follows, you will no longer be able to talk to each other. I once had this problem in a Taiwanese hotel where Dlink routers were being used. An iPad 2 could not connect but my netbook could since the netbook did not support 802.11n and neither end tried to use the incompatible speed.
My symptoms are completely different. My AP doesn’t predate the 802.11n standard. It all worked flawlessly with Mavericks. And my Mac still talks to the AP and, indeed, can still send to and receive from the internet itself (ping still works).
I’m not saying you’re wrong, but I am wondering about your note that “if the AP advertises that it supports an incompatible 802.11n data rate, when it moves to use that rate and your laptop follows, you will no longer be able to talk to each other.” Because we can talk. We just can’t talk about what I want 🙂
I mentioned it mainly because the situation I mention may appear to have similar symptoms and it might help someone. But I agree, it doesn’t sound it is any use to you. What is really needed is for someone to capture the wifi channel so we can have a look at the dump using wireshark. A netbook running aircrack makes a very useful wifi diagnostic tool.
BTW, Yosemite has definitely made my Macbook wifi links work better – it connect in about 30 seconds without manual intervention instead of 3-4 minutes with Mavericks. It would b nice if Apple spent some of their billions employing test engineers!
As I don’t write script and I’m not interested in playing games to make stuff work and Maverick’s working fine, and I have work I need to do, I think I’ll hold off till Apple figures out and fixes the problem.
One of my co-workers noted the following:
“This is indeed strange but is also consistent with issues we’ve experienced with Windows 8.1 on many PODs over the last several weeks. Computers would appear connected to the WiFi and I could ping from them but could not get any DNS resolution. In the case of the Windows 8.1 systems it seems to be a driver update related issue which most often was resolved by ensuring all OS updates were run and then restarting the system. It’s funny that all this would start around the same time on both platforms.”
I think the question now becomes: What hardware was changed that is used by both platforms? Faulty coding on a particular Intel Chipset for example. If both systems use the same chip for their wireless expansion boards or systems, this is where I would start to look!
The tcp/ip stack in Windows is incomplete, and the problem may be that the manufacturers of access points – lilke Broadcomm has introduced some bug to make Windows run. The skills now on the low-level ip is very scarce – and everyone has strong opinions – and nobody knows what is The Standard. I relate this to “traffic smoothing” in the router, related to version “n” and prioritising packets. I am surprised at how many use the laptop on 5Ghz – close to the same frequency as a microwave. If you are in the same room, use Bluetooth – but that may be one of the problems – it shares the same bus.
The beauty of proprietary hardware! I purchased a G5 (about 4 grand) in the early 2000 era, then less than three years and a few minor OS updates to 10, they dropped my CPU (Power PC) from the support line. I ended up with Linux and thanks to them my hardware has worked for a long time. Even thought they refused to release information on the WiFi devices. Seems you are being bit by the same recurring bug (proprietary hard/software). Have a great time…
It’s probably something stupid that a disenchanted programmer at Apple has added… Wouldn’t be too tough..
Jack
I had what appears to be the same issue this week while away on business, struggling with hotel Wi-Fi. I suspect our Macbooks are of similar vintage. What a royal pain in the backside…
Hope Apple fixes it soon, but I’m not holding my breath.
We found that an old installation of Net Nanny has been the problem. In this thread https://discussions.apple.com/thread/2296455 it became clear that the problem has been there longer. It seems that the installation of Yosemite only made it come to life.
The problem in the thread you link to looks different to me. (For a start, there is no mention of Wi-Fi, and some of the commenters note that the problem happened with Safari but not with other browsers.)
Hey Paul,
personally I’m not affected by this kind of bug but I’m not sure if just turning of and on the wifi is the best solution.
I would recommend to first reset all your network settings and not just the former connected WiFi stuff. I think it should be enough to create a new location in your network settings and delete the old one. If it doesn’t help to solve the issue. You should – since you are able to script – include some diagnostic stuff into your script. For example you could ask dmesg to report into a text file what happened when your WiFi dropped. Possibly also the command sysdiagnose could give some more informations.
Just give it a try.
@JR: Why should we help Apple? Because we can. Why should I behave polite to you? Because my mommy taught me to be a kind and helpful person. 😉
I didn’t find anything terribly useful (to my eye) in the Console logs. So I decided to put something together so I could actually work.
Thing is, the Wi-Fi doesn’t really drop – ICMP packets, for example, are flowing both ways because ping still works.
I have no trouble connecting to my wifi at home but at work I had this issue. I thought I fixed it by Changing the permissions in the Keychain Access but it appears it only delayed the issue. Now it only disconnects every 40 minutes or so.
Here we go again …
Basic principle: never be amongst the first people to buy a new apple product. Never be amongst the first to update apple operating systems.
Let other people do it first. Wait until they find the inevitable problems and apple eventually fixes them. Then buy/update.
But please don’t apply that thinking to pure-play security updates. Being one of a few people who have problems amongst a cohort that is properly patched is probably better than having everyone unpatched…
Our ‘corporate network’ consists of 3 mac laptops and some Debian servers and it’s more or less critical that everyone has a working laptop all day every day.
I try to pick up security updates as they happen but I never do a major version OS X upgrade until x.x.3 is on offer and it looks like things have calmed down. Even then it’s always a Friday night or Saturday morning job.
It doesn’t mean we have no down time but so far we’ve only lost work as a result of accidents and incompetence originating inside the business : )
Best of luck to everyone affected by this.
This happened to me with both Lion and Mavericks. Try resetting the System Management Controller (SMC) in accordance with Apple’s procedures, found here: http://support.apple.com/kb/HT3964
Ah! As explained in the article, you have to say *why* 🙂 According to the article you quote, the SMC has nothing at all to do with the networking stack (or even the wireless card). I suppose there is no harm in trying, but why do you think this might have any bearing on the problem?
I tried this and it solved the problem on my 2009 iMac (recently updated with SSD.) I also had issues with App Store not loading, just bouncing in the dock.
Last night I used the internet uninterrupted for over 2 hours, downloaded new iPhoto, iTunes etc without a single ISP drop-out, which I was getting constantly prior to resetting the SMC.
It’s a simple task and may be the silver bullet required. Certainly worked for me!
Go to disconnect.
Thanks for sharing Paul, I recently acquired a 2011 MacBook Pro. I installed the upgrade yesterday and I haven’t seen any problems thus far. You’d perhaps know better than I the differences between my own machine and yours.
I hope this is helping the forensics
It might not be the computer model…might be some other common factor 🙁
You can run the diagnostics on the wireless. Hold option and click on the airport menu and have it run for a good portion of your day then view the output to see what you can find there. This can also be sent to apple to review as well.
Also it could be related to an actual wireless networking issue due to overlapping networks. You did say you are on the 2.4Ghz and that only has a limited number of channels to choose from and they become saturated QUICKLY! I have seen this cause what you are describing.
I’m in a wirelessly uncongested area at the moment – I can see just five access points including my own – yet the problem is happening just as it does when there is a whole screenful of networks to choose from.
(My point in mentioning 2.4GHz was merely that some “fixes” say that using 2.4GHz is enough to avoid the hassle.)
I haven’t tried turning off the OS X firewall. Hmmm. Maybe I should brave the elements for a while and see what happens 🙂
I don’t hold out much hope, however, as IIRC others have report these troubles with and without OS X firewalling rules in play…
My home setup has a BTHub3 router, an rMBP 11,1 and an iPhone 5s.
I don’t normally have random disconnects, but at home, with this router, I always have to turn the wifi off/on at the radio icon before I get through the router to the internet. This can be done from the phone too.
The problem can be solved by either quitting iTunes or by turning off my AppleTV.
It looks like there is a Bonjour problem or some dialogue between the AppleTV and iTunes (wifi syncing or such) that is unresolved and prevents further actions.
I reported the problem to Apple a (long) while ago.
Here’s a monkeywrench in your works:
My entire team at work was having this EXACT problem with MOUNTAIN LION. It started after the network guys added more AP’s to fill in some gaps in the WDS infrastructure. Connects for 30 secs to 5 min, then total traffic loss. No Windows users reported the problem. it only happened in certain parts of the building, and did not seem to relate to signal strength. Those of us who have been upgraded to Yosemite (we skipped Mavericks) have not seen the problem since. :/
Not really a monkeywrench. (Is that what us Anglos call a “shifting spanner”?)
Sounds like two different problems. Ours (well, mine) never happened with Mavericks but is always there with Yosemite. And the packet loss isn’t total.
Giovanni yours sounds more like they have not enabled the “Compatible” version of WPS. I had the same issue on our network when our engineer moved us to all cisco AP’s with a Wireless Lan Controller. WEP seems to not work well with macs in the way Cisco has implemented it so you have to use WPA2-PSK to get macs to stay connected.
Not sure if anyone else experienced it this way but the second my install of Yosemite finished I lost wifi all together. Mine doesn’t even allow it to work for a few seconds. I simply am stuck in off mode and when you click on it flashes and stays off. I tried deleting all network preferences and rebooting. Once rebooted Id set up the wifi again and it would recognize my network, say its on, and immediately crash. Does not seem to be affecting ethernet on my end either. Have tried some other small fixes including loading different kext files with kext utility but had no effect. Id reinstall Mavericks if I had a backup of my system so for now I’m just waiting it out and hoping Apple resolves this soon.
This worked for me. Go in to your Keychain access – System. Find your wireless network – double click. There are two tabs, Attributes & Access Control. Go into the Access Control and check “allow all applications to access this item”. Mine was defaulted on confirm before allowing access, which I think was knocking me off every time I tried to do anything.
Hmmm. This comment is a copy-and-paste from the Apple Support Communities link I posted above. (A later commenter in the same thread noted that this made no difference to him.)
With the problem apparently being at a network level rather than an application level, what makes you think this change caused the fix?
here’s my rather long two-pennorth – only empirical behaviour, not logical analysis, but someone maybe able to identify causes from these notes and provide answers and systematic solutions – system: mid-2010 15′ 2.53GHz i5 MBP which worked smoothly with Maven but is a shambles with Jose Might (if you are lucky), APX version II n (i.e. not current a-c model).
AS with you there is a burst of internet connection then it goes almost completely dead for websites and, fatally, mail, whichever browser was used – the WiFi is still operational in that it can connect and move files with my NAS (WD Livebook) connected via the Airport Extreme. Unlike you, it didn’t have a burst of effective wifi on rebooting or cycling the wifi.
Oddly, some banking websites worked (slowly) but not e.g. the BBC site or search links to webpages.
Same with firewall off or on.
Besides the wifi behaviour, it is/was also very slow to load programmes and at any one time, some or all kept on freezing and were unresponsive to Force Quit (e.g. textedit, opera, finder, system prefs etc – so to make any sort of progress I had to keep force powering off/on as it would not restart due to the unresponsive programmes – but that seems to have resolved itself – heaven knows how – nothing I did, guv)
Using ethernet rather than wifi had no effect (i.e. still no effective speed).
All so bad that I drove 240 miles to our works to use the mac pro still on ML – and found that with the old Netgear DG834N router here, all problems with the MBP disappeared and I am getting the best speeds ever for more than 3 hours now – to all websites and mail.
does this provide the knowledgable with useful clues – I hope so.
It did occur to me in my more irate moments that the short connectivity was considered sufficient for the new breed of mac users – with an attention span of a few seconds – seeing that the new OS is clearly designed for pre-kindergarten or serial attention deficit disorder users, but am feeling more charitable now it is working with the older set-up: it will be interesting to see how it behaves when I go back to the airport setup next week, if no rational systematic fix is available by then.
I have the same problem – WiFi disconnects after a few seconds. The strange thing is that WiFi works flawlessly at home and at my workplace, but not in my holiday home – so it is restricted to some modems/routers.
Hello, I had the same problem since the upgrade to Yosemite, wifi didn’t work. Today I found the solution!!! (at least for me).
Here is how I fixed it. My router was using a “WPA Personal” encryption. Today I took my MBP to another place and the wifi was running perfect and fast. The router there was using “WEP” encryption, so I changed from “WPA Personal” to “WEP” in mine and wifi is back to normal (I tried “WPA2 Personal” but didn’t work either).
But for me this is a temporary solution as I would like to use a better encryption. I hope Apple publishes a hot fix for this problem soon, with Mavericks everything worked fine.
Hope this helps.
Don’t forget that WEP is like having no encryption at all because it’s so easy to crack. In fact, you can call it worse that unencrypted because it gives a pretence of security:
http://nakedsecurity.sophos.com/2013/05/22/busting-wireless-security-myths-video/
I know but for the moment it’s the only way I can use my wifi at home. I’ve tried other solutions that didn’t work.
Could it be associated with the Mac online anywhere with OS X Yosemite’s new Instant Hotspot iPhone tethering feature?
This is a shot in the dark because I’m no one that that know. But, it seems related.
I didn’t have a problem with losing WIFI connection as such, just that nothing would load. Using WIFI at home and from my iPhone presented no problems, but when I got to school I found that while I had WIFI connection no webpages would load.
A quick trip to our IT department and I have connection once again. I was told that the problem at school was because we have a “corporate network”. Our Tech hound a fix in the proxy settings, or at least a work around.
We had to turn off auto proxy discovery and configure the Web Proxy and Secure Web Proxy. I do however have to turn these off when I want to connect to any other WIFI network.
Unfortunately this won’t help anyone with issues trying to connect at home, but at least people at work may be able to get internet.
That’s a different issue, relating to the use (or not) or a proxy. The problem described in the article happens with or without a proxy.
I have an early 2008 MBP running Yosemite Beta that has been update all the way through Beta 6. It’s running perfectly, connected to my Time Capsule. However my 2014 Mac Mini that I upgraded to the New public release of Yosemite is experiencing Wifi connectivity issues. It is connected to the same Time Capsule. What changed between Beta 6 and the public release?
1. First thing I would try is a PRAM and SMC reset.
2. From a networking standpoint if ICMP works and TCP/UDP bomb I would look at disabling any hardware accelerated features like Receive Side Scaling etc.
3. Sticking with the Hardware side of things, cripple any power management features on the adaptor
4. Take an image of your machine (backup) then completely wipe the drive and reinstall 10.10 fresh.
5. Eat a bowl of salty tears for being an early OS adopter.
6. Flagellate yourself for buying into the Apple ecosystem of half-baked operating systems.
oh and it wouldn’t be something as innocuous as WiFi DFS Avoidance? #straws
I have a MacBook Air, mid-2012, and had not only this problem but then could get non SSL sites to load but not SSL sites. Three techs at the Genius Bar worked on it for nearly an hour, trying a variety of fixes, including cache clears and removing most third-party software. This is what appeared to be the problem — an error in my Keychain configuration. We went to Finder/Applications/Utilities/Keychain Access/Keychain First Aid (who knew!). I entered my password, verified and then repaired.
For those that already haven’t… Go here and fill in an Apple feedback report:
https://www.apple.com/feedback/macosx.html
Its been nearly a week now.
Hello Paul, what happens if you try a sustained transfer of a large file? Does it stop working mid way?
Have you also tried TCP and UDP?
Have you tried Safari and Firefox?
Try checking power management settings – is the Mac failing to wake up properly / shutting down a service when it shouldn’t?
Is wake on LAN enabled / disabled?
Do you have the latest BIOS? Have you tried resetting to defaults?
Try switching off services – is there a conflict?
Does the router still think it is connected when this happens? Check the router logs for errors.
Can you transfer files between Macs through the router when this happens?
Try DHCP and static IP.
Have you flushed the DNS cache? Try another DNS provider – Google / Open DNS. What happens if you set this in the router and not the Mac?
Try *temporarily* turning off the wifi encryption. Is it a handshake problem?
Apple is notorious for using way too much bandwidth on APs. The old iPhones used around six connections per phone and as technology progresses, new devices are taking even more connections. You might be overloading the AP. I noticed that people with new 802.11n routers didn’t seem to have too many problems. For people with old APs, try disconnecting everything from the router and JUST attaching the affected device. If that fixes it, then you have an easy solution. A new AP.
Here are my observations based on what I have observed:
1. The problem is with WPA-2 Enterprise. My mid-2013 Macbook Pro works fine on my home network (WPA2) and any WEP networks. Once I get to campus where it’s WPA-2 Enterprise, it stops working
2.. This seems to be a problem with 2013 models and earlier. I have two MacBooks, one mid-2013 and one 2014. Both run Yosemite. The 2014 works flawlessly, while the 2013 one experiences the problems.
The problem is with WPA-2 Enterprise. I have a Mid 2013 MacBook Pro, and it works fine when I’m at home or in the library. When I’m on campus, I experience the same problems you are experiencing.
Thanks for saying ‘bodge,’ unfamiliar to these American ears. Led to interesting Wikipedia article Bodging.
Interestingly my 2014 MBP on Yosemite Beta was bloody brilliant on WiFi, it seemed to be pulling in a whole load more access points, its connections were strong and stable. Since the final release, lots of dropouts and the odd access point at my office in Perth that it previously connected to now refuses.
I’m also having this annoying problem on three different Macs at home WLAN.
One Mac Mini (not the latest model published a few days ago), one late 2013 MacBook Pro and one mid 2013 MacBook Air. So I think it’s not a hardware issue.
The connectivity problems started after upgrading to Yosemite, before that there ws no problems at all. Only one difference, there’s also about 30-40% packet loss on ICMP traffic (ping) between home router and device(s).
Look’s like people tried to do many “workarouds” and some even found a resolution, some not, but I think and guess this must be fixed officially by Apple… So really hoping 10.10.X update and finally get things done like before.
The problem makes currently any internet related real work impossible.
I have also 5 Linux computers on home LAN/WLAN, they are not having any issues with connectivity.
Thanks a lot Paul for your writing and a script also.
Ps. I’m not using any Sophos software..
MBP 2013 (non-retina)
Installed Yosemite the day after it released and had internet speed issues. I assumed it was my ISP and checked my router configurations. After reading numerous forums, I have tried adjusting wifi login keychain settings and turning off bluetooth, forgetting all wifi networks, removing 5Ghz in favor of 2.4Ghz and plugging into ethernet.
I have not had the issue while ethernet is connected.
I have since added 5Ghz back and reset my keychain settings. I have kept Bluetooth off as I rarely use it. While running Wifi speed tests with my MBP and my Sony Viao at equal distances (turning off antennas for the other laptop between tests) I noticed that with no obstructions my MBP speed was piss poor.
I used my laptop in an area I previously had ~60 Mbps download speeds, so I figured although speed ≠ signal strength, their proportional relationship was a good enough measure.
5 ft away: Sony: 59 Mbps • MPB: 56 Mbps
10 ft away: Sony: 58 Mbps • MPB: 48 Mbps
15 ft away: Sony: 58 Mbps • MBP: 33 Mbps
20 ft away: Sony: 57 Mbps • MBP: 24 Mbps
Prior to upgrading my office was 35 ft away from my router in a different room, behind a structural wall that contained a chimney stack and I was getting 45-55 Mbps easy. I currently get 0.01 Mpbs to 1 Mbps.
My solution has been to begrudgingly sit extremely close to my router. So it’s like an ethernet cable, I just don’t get tangled when I stand up.
This sounds different.
In my case, when the meltdown happens, [a] the router hasn’t moved and [b] pings still work at the latency I’d expect on my connection. So it’s not a speed issue, at least in a general, average-speed-during-a-big-download sense. As soon as the network recovers I am back to full speed, which is typically the maximum HSPA connection speed of my access point.
My 10.10 is on a wired connection, but I’ve had a similar issue with an iPad since I upgraded it to iOS 7… I wonder what bonjour services are doing when connectivity drops (airdrop is one of the things that I know was changed on both platforms).
Hi,
This is probably something you have already checked out, but just in case. Last year I had the same problem – wifi working, but no internet. After hours of trying everything I could think of I checked my DNS settings in System Prefs to see if they had somehow changed. They had not, they were the same as my Internet Provider had been using for years and which they hadn’t changed.
I decided to delete the settings altogether and try with no DNS Servers set in Preferences restarted computer and modem. No Change. Tried with them back in, same restarts – no change. Tried deleting servers and putting in my router address 192.168.1.1. And bugger me if it didn’t solve the problem.
My router is set to retrieve DNS server addresses automatically, so somehow, for some strange reason, having them set in System Prefs became a problem. I doubt this will work to solve the problem for you, but it may be worth a try. Sorry I can’t give technical reasons why this worked for me.
Regards,
Patrick T Kent
That’s not it in this case, because when things break, no DNS requests get through, even if I explicitly aim them at a known server.
BTW, that’s what the “@8.8.8.8” part in the script means: “Ignore the network settings and go straight to four-eights, which one of Google’s free public DNS servers.”
Since upgrading to Yosemite, my Blue Tooth apple mouse is cranky. Erratic movement response and then it is fine. Facetime calls are not as reliable. Once a week, a friend and I talk for a couple of hours via facetime. This week the call was slightly choppy and then failed. His image rotated 90 degrees and disconnected. Did this a couple of time and then we could not connect at all. Bad week for a call maybe. BT Mouse issue is annoying and the batteries are at 62%. Will try fully charge batteries. I know this is not “wireless network” issue.
Mac users,
It appears there’s a vulnerability in the Apple Quick Time player. Apple has a support link* for the update (HT6493) released today. However, the possible damage to the Network installation may be the result of a DNS Changer which would affect the Wi-Fi connection at an intermittent period. Therefore, you can take steps to try and resolve the problem now.
1. Open the OS X Network Utility. This can be found in System/Library/CoreServices/Applications. This Utility will give you tools to check your connection. A more direct approach is to go to /Applications/SystemPreferences/Network Click on Advanced settings button and select the DNS tab. Check here your DNS settings, i.e. 192.168.1.1 , and click OK then Apply.
2. Open the following /Library/InternetPlugIns > plugins.settings and delete. Then update to OS Yosimite.
*Link: https://support.apple.com/kb/HT6493
Michael
My WiFi had an x through it in the menu bar after upgrading, there was no wifi network showing in system preferences, only ethernet, firewire and bluetooth, I had to add wifi as a new network in system preferences, then Wifi started to work,
Had spotty to slow then no wifi after upgrade to Yosemite on my mid 2012 15in MBP. Tried all the “fix” suggestions with no luck. Rolled back to Mavericks, which was remarkably stable and still is.
and this was with both Gen 5 Airport Extreme and new Asus RT-AC87R routers
Is this related to the loss of access to my Time Capsule? I can backup, but cannot restore from backup – iMAC just crashes with black screen. This also seems to be a common problem after upgrading to Yosemite. TC is connected by ethernet not wifi.
Do you guys have a AppleTV connected to the same AP?
I found my AppleTV keeps trying to steal my IP address and after that try,
Wifi will drop for ~10 seconds.
Watch /var/log/system.log , if you see Oct 25 02:38:39 MacBook-Pro.local configd[27]: DHCP en1: defending IP 192.168.2.111 against 9c:20:7b:c….
That’s it! Turn off your AppleTV and see if the message show again.
My fix:
1.Upgrade AppleTV
2.set AppleTv to a static IP.
I don’t have an Apple TV.
This was the issue in my case. Managed to figure it out by noticing that line in system.log and figuring out what the hardware address referenced in it actually belonged to.
Oddly, I don’t remember this happening before this week. It’s like the two devices only now managed to get out of sync.
Apparently, from what I was reading, this same issue can happen with an AirPort router or Time Capsule; it’s due to Wake On Demand functionality that’s implemented in all of these devices: http://support.apple.com/en-us/HT3774
I have the same problem. The only solution, that will fix the problem is a restart.
I have noticed, that the dans block happens after the computer went to sleep. Not always though. Ironically i can use dig to find ip addresses, a ping does not resolve hostnames then though.
I have noticed, that chrome still resolves hostnames somehow, i have no clue to why.
None of the dans cache flushing or unloading and loading methods helped me here. Only the restart gives back a reliable dns resolving.
The problem you are describing doesn’t sound the same at all.
If you can use dig to find IP addresses, I don’t think you aren’t having the problem in the article…
Hi Paul!
I think I have found a promising lead. I tried using your script but after a while and a sleep&wake up it stopped working and gave these errors:
ifconfig: down: permission denied
ifconfig: up: permission denied
so I checked the ifconfig and… turns out the OS X for some reason switches around Wi-Fi and Ethernet interfaces! So after a bit wifi becomes en1 and ethernet is on en0.
I’ve modified the script to:
1. re-enable both interfaces
2. try to reconnect to my wifi network on both services, like this
networksetup -setairportnetwork en0 ‘My Network’
networksetup -setairportnetwork en1 ‘My Network’
…which, in theory, should give an error on ethernet interface (e.g. “en0 is not a Wi-Fi interface\n** Error: Error obtaining wireless information.”) and should connect with the other one. But in reality:
Failed to join network My Network.
Error: -3905 The operation couldn’t be completed. (com.apple.wifi.apple80211API.error error -3905.)Failed to join network My Network.
Error: -3924 The operation couldn’t be completed. (com.apple.wifi.apple80211API.error error -3924.)
Unfortunately I’m not sure what the next step should be. Apple80211API is a private API and I don’t think there are any descriptions of its error codes.
Scratch that… checked older logs, it seems on this mac wifi was on en1 all along (on the other mac, it was en0, so I got them mixed up). And forcing setairportnetwork isn’t the best idea since `ifconfig up` already does that for you, and doing two connection attempts one right after another just breaks things.
Back to square one…
The only unusual thing I’ve noticed in logs was:
kernel[0]: en1: 802.11d country code set to ‘X3’.
kernel[0]: en1: 802.11d country code set to ‘PL’.
kernel[0]: en1: 802.11d country code set to ‘GB’.
Not sure if it’s relevant at all.
Ah. I don’t have a wired interface. I don’t think I’ve ever plugged in the Thunderbolt adaptor that came with my laptop 🙂
You may need to tweak the script to work out which device is your Wi-Fi.
networksetup -listallhardwareports will help you find which device is what hardware port.
Of course, Yarek! This does sound promising. Especially with older hardware. Have you read Mario Ciabarra’s article on AWLD (which seems new in Yosemite) and Airdrop?
https://medium.com/@mariociabarra/wifriedx-in-depth-look-at-yosemite-wifi-and-awdl-airdrop-41a93eb22e48
His point is Bonjour is polling over 2 interfaces and channels at the same time on Yosemite. That is supposed to be a feature of the new Broadcom WiFi chips in the iPhone 6, but sure as hell is no feature of all the older WiFi chips in Macs whichever.
He has written some code and a gui to be able to test and eliminate: Wifried for IOS8 and WifriedX for Yosemite.
What do you think of it?
Ok I have a fix that actually worked. I tried it on 2 different machines and haven’t had an issue in 2 days now.
Go to this link: http://osxdaily.com/2014/10/25/fix-wi-fi-problems-os-x-yosemite/
Follow the steps for the first procedure. You might not have all the files they are asking you to remove. I know I was missing one of them. Delete any of the ones you have and restart and your internet should be working perfectly. Gotta say since getting that out of the way that Yosemite does seem to work alot faster than Mavericks did on my machine.
Hope it works for everyone
Remember: you have to say why you think that fixed the problem (and not something else).
Otherwise it is alchemy.
(The article you link to is just a fruit salad of things people say they’ve tried. The article ends up by saying, “If all else fails, try reinstalling,” which didn’t fill me with a sense of science 🙂
I can’t be sure exactly why it worked. But I figured if it worked twice for me that it was worth sharing with others.
YES!! The terminal commands given by OSXDaily were the only “fix” that worked for me.
sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist
sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.discoveryd.plist
Didn’t work here… My DNS Servers keep disappearing and when I re-enter them, it’s not working anyway… 🙁
I have WiFi problems, and more since the upgrade. Apple apps are broken too: Safari can’t find google.com. iTunes refuses to open (bouncy-bouncy on an SSD MBP???), and Maps displays no maps. Per this Apple kb (http://support.apple.com/kb/TS5202), I get them working after deleting crlcache.db and ocspcache.db in /var/db/crls. BTW, I’ve had to do this twice (and it requires a re-boot.)
I have a long history with OS X and WiFi issues. I do run WPA2 Enterprise at home which Apple likes to blame and their support staff says they can’t help unless I pay them. I bought a MacBook Pro that had Lion with the free upgrade to Mountain Lion when it was available. Lion had WiFi issues and then so did Mountain Lion. Apple never did fix the WiFi issues at all no matter what I gave them. Mavericks magically just fixed them; so that MacBook Pro was useless until Mavericks was released, so for over a year a MacBook Pro just sat there not used as it couldn’t be thanks to WiFi issues with OS X Lion and Mountain Lion. I did report a WiFi issue with Mavericks to Apple where I saw packet loss but a Snow Leopard machine connected to the same WiFi network had none and had better response time. Apple wanted to blame the enterprise gear again. so I tested it against a consumer based product and saw the same thing. Apple never did show much interest in fixing it. I can take that Snow Leopard machine that shows no packet loss and put Mavericks on it and it shows packet loss. Apple has WiFi issues and they are just not addressing them. In my experience, all you can do is wait for the successor to Yosemite and hope it is fixed there.
To me it is website specific (namely, Facebook) when I get a long time before the page will load. Mail worked fine during the same time which leads me to believe that it isn’t interface/WiFi related. I am thinking it is IPv6 “Brokenness” that may have raised its head again. Facebook advertises a AAAA address. When my MacBook stops looking for it, the page loads.
Just a thought.
Resolved the problem when I added my router as the DNS server in Network Advanced settings (I’m using 10.0.0.1). I also added some missing .plist files from a MBP running 10.9, but I felt that might have been unnecessary, as AirDrop completely worked even though my system couldn’t connect to the internet.
Thanks for the script! I tried the SMC fix, but that only worked for about 10 mins.
I saved the script as “wifi-fix.sh” and chmod +x the file. Only change i had to do was change “en0” to “en1” and the script works great. Lets hope Apple fixes the problem soon!
The IPV6 issue that desertfool mentioned got me thinking. I went onto my wireless settings and changed my IPV6 setting to link-local only. My wireless connection has been working fine for three days now. I believe it is isolated to my AP at home (the only place I had issues). I have a UTM there as well as work and both 5Ghz and 2.4Ghz works fine at work on our Cisco gear. My AP at home is a Netgear WNR3500Lv2.
I kept on having this problem and fixing it temporarily with all the fixes I could find on the internet. Then a week or so ago I realised that my iMac had the same settings as my MacBook Pro, which I use out and about. There was a list of all the WiFi connections that my MB Pro had been using. Clearly the two are somehow sharing locations over iCloud.
I deleted all locations on both computers including automatic and then set up new locations. The first one was “home” I deleted all connections apart from WiFi for this location. I did this on both. On my laptop I then set up “4G” for tethering and only included a USB iPhone connection. Finally I set up “roaming” for public WiFi sites only. So far for over a week it’s been trouble free. This has been an intermittent problem for me for at least 2 years but infinitely worse with Yosemite.
So Paul, has Yosemite 10.10.1 fixed the wifi problems?
Don’t know. I haven’t been offered 10.10.1 by the App Store yet.
Ha! Now it’s there! All I have to do is manage to download it 🙂 More later.
https://nakedsecurity.sophos.com/2014/11/18/apple-ships-x-10-10-1-does-it-fix-those-wi-fi-problems/
10.10.1 made no difference to my mid 2014 macbook air. And why, when you contact Apple tech support do they claim to know nothing about it?
Errr, maybe they don’t know anything about it 🙂
My Mid 2009 iMac crashed altogether after installing Yosemite. I had to have the drive wiped and Maverick reinstalled. My MacBook Pro was fine, but the WiFi kept logging off as described above. I tried everything…restarted…updated Yosemite…restarted the router (actiontec)…hard reset the router…delete/recapture the ssid…I have been online wirelessly now for 30 minutes with no issues … my fix … change the 802.11 move to b/g only. I tried the n mode only and it didn’t even recognize the ssid…souldn’t connect at all…switched to b/g and it has been fine since. Maybe the intermittence issue was from the MacBook on Yosemite or the router trying to switch between modes? Is that even possible? Anyway, switching to 802.11b/g only has worked for me so far. Maybe it will stay this time. Maybe. I just wish I could broadcast at n. Not sure how backtracking will affect my other devices yet either…x box…roku…ipad…ipod…
Disable ‘Handoff’ in System Preferences. Completely fixed my WiFi connection issues, in addition to system crashing/rebooting. Had previously tried everything, up to and including a full clean re-install of OS X. I believe there may be a bug in Handoff which causes WiFi to disconnect. May not work for everyone, but has been miraculous for me – instead of losing my WiFi connection 20 times a day, I haven’t lost connection once in 4 days straight since disabling Handoff.
Can you provide a bit more info? Where does one find “Handoff” in System Preferences?
Ah. I just found it. It’s in “General” and has to do with iCloud, not with how you’re connected. FWIW, on my Mac it’s off and has never been on, so your mileage may vary if you try this. (I can’t think why it would affect TCP and UDP packets in a generic way.)
I have had this issue before upgrading to Yosemite. Both turning off and on wifi and disabling bluetooth fixes the issue. It’s to a point where I have to choose using a bluetooth mouse and keyboard with my laptop and deal with this issue, or forgo my bluetooth accessories and use my touchpad. I had hopes that Yosemite would correct the issue. I really love and hate Apple products. I will read though these solutions to see if it will revive my faith in Apple’s products.
Seems that this issue might be related to the Wifi Channel your network is on. I had issues where the wifi would drop after a short amount of time, and tried a number of things: PRAM reset, SMC reset, even reinstalling the OS. Then, switching my router over to another channel did the trick, and wifi has been stable for two days straight.
Solution to Yosemite WiFi Issue supplied by Apple Support 12/22 – I’ve been dealing with the WiFI dropping issue since installing Yosemite. Ive tried most of the suggested solutions ( http://osxdaily.com/2014/10/25/fix-wi-fi-problems-os-x-yosemite/ ) short of rolling back or a complete reinstall.
I contacted Apple support via chat today and the tech provided the following solution which seems to have resolved the problem for me:
Open System Preference
Select Network
Select Advanced
Select Wi-Fi
In the Preferred Network window delete all wi-fi networks listed. The window should be empty when you are done
Click Ok
This should take you back to the Network pane
In the window on the left select ”Wi-Fi’
Click on the minus sign on the bottom of the window to remove Wi Fi service.
Click Apply
Add ‘Wi-Fi’ back by clicking on the plus sign at the bottom of the window and then selecting wifi from the drop down
Connect back to your Wifi network (select enter password etc)
I did this nearly 24 hours ago and the connection to my local wifi network has been stable for almost 24 hours. Perviously this have been dropping at least 3 or 4 times an hour.
I have no idea if it’s related or not, but it seems all my recent iThings requests a huge amount of DHCP lease (always 90 days or 7776000 seconds to be precise).
That in turn causes all kinds of IP collisions with other devices because most routers iThings connect to just give out a maximum of 30 minutes lease.
Maybe it’s related. Maybe it isn’t. I don’t know!
All i can say is it simply doesn’t honor DHCPd lease times and that in turn causes a hell to manage, albeit it seems to honor AirPort leases which is strange.
Here is what fixed it for me.
1. Clean install yosemite
2. Change security type on router to WPA2
3. Turned off handoff on the mac
4. Chage security permission for my network in the keychain utility
to allow all programs.
Since all these changes it has worked for the last 2 days
Amazing. I have a 2008 MacBook Pro running Snow leopard and it still works perfectly. Yes, I have had to replace the LCD monitor and another few components but that is what iFixit is for. Apple it getting more and more like Microsoft every day. Just imagine if KOHLER built, shipped, and sold 10,000 faucets that had metric threads on them instead to english ones and then told their customers nothing and depended on informal support groups to find a “work around.” KOHLER would be out of business in a day.
Not so with computer companies and people are now more dependent than ever on this technology. Be afraid, be very afraid, and this is from a guy that first started writing code on punch cards!
There are countries that still use Imperial measures?
How quaint! They probably still run horse races in furlongs and insulate their houses with asbestos.
Here is what fixed it for me.
1. Clean install yosemite
2. Change security type on router to WPA2
3. Turned off handoff on the mac
4. Chage security permission for my network in the keychain utility
to allow all programs.
Since all these changes it has worked for the last 2 days
** Spoke to soon this did not work after all. Started going wrong again
Relax, you all just need to continue to “Think Different”, this is actually a new feature to get you out exercising more. It fits right in with Apple’s new iPhone fitness products and the upcoming smart watch.
Updating from OS X Yosemite 10.10.1 to 10.10.2 fixed the slow wi-fi connection for me.
it didn’t fix for me
our issue, where it randomly hangs, has been proven to be Yosemite 10.10.1 and 10.10.2. We took 50 mac laptops, all running different versions of code from 10.8.x up. Same access point, a top of the line Cisco 3702 enterprise class access point with a 21 dB signal. Signal strength is not the issue. All except those running 10.10.1 and 10.10.2 had no issues and ran great. Those running 10.10.1 and 10.10.2 would hang at random times. We measured for interference in the area, none that could cause this. Also, we were less that 10 feet from the access point. It has to do with the network stack within the Wi-Fi shim that was reworked and redesigned in Yosemite.
Hope this helps,
MC
I have issues with dropped WiFi connections on booth my MBPs AND extremely slow WiFi if bluetooth is activated. Deactivating bluetooth seems to fix everything, but I have many peripherals using bluetooth. In my opinion, Yosemite is the new Windows Millennium or Vista.
I’m seriously thinking of upgrading (and I really mean upgrade) to Mavericks. Yosemite is all crap.
A new turn of events: I previously had 10.10.1 and 10.10.2 with no problems (at least not anything similar to the problem described in this article).
Upgrading to 10.10.3 yesterday caused this problem to appear: sometimes there is no TCP/UDP connectivity – ping still responds.
It seems to be worst just after waking up from sleep.
Disable “IP Flood Detection” in your router’s firewall settings.
With IP Flood Detection enabled, the router will temporarily throttle a device if it thinks it’s taking up too much of the bandwidth. It’s a setting really intended for use in public WiFi hotspots, but at home it causes lots of problems. It can lead to high packet loss. as much as 90% according to one source. This would explain suddenly slow WiFi or complete dropouts, especially when using high bandwidth apps like uTorrent or even when Sophos updates itself.
This might explain the randomness in this WiFi problem because it’s really a problem with certain routers (I’ve got a Thomson) rather than with Yosemite. It just appears to be Yosemite.
I’ve been having intermittent dropouts or very slow page loads on my MacMini since the days of Mavericks (on both wired and WiFi) and implemented pretty much every fix ever suggested that I could understand. None worked. I hoped Yosemite would fix it – it got worse. I hoped the updates would fix it. Nope. I’ve just bought a new MacBook Pro. I hoped this would fare better. It didn’t. But now I’ve got a MacBook I’ve been able to take it to public WiFi and the dropouts and slowness that I get at home have gone.
Which led me to think the problem must be some kind of compatibility issue between OSX and particular router models. This would explain why most people with Macs have no WiFi problems, and why the problems people do have seem so random. Also, if we look beyond the Apple World, we find plenty of people using PC laptops who also have WiFi problems. So far from being a Yosemite issue, it’s a router (plus possibly Intel chipset) issue.
Anyway, I may finally have fixed the problem. Here’s what I did: I went to the router settings page (my router is a Thomson TCW770) and under the Firewall settings I turned off “IP Flood Detection”. Several hours later, and my connection is fast and steady.
Apparently the router will temporarily lock out a device if it thinks it’s taking up too much of the bandwidth (or something like that). Thinking back, my problems often occurred when I was downloading a torrent, was updating my virus software or had several tabs open on my browser.
If you Google “IP Flood Detection slow Internet” you’ll see this is a problem across Mac and PC devices using several different router models. It can lead to high packet loss (as much as 90%) according to one source. It’s a setting really intended for use in public WiFi hotspots, shutting out one user who hogs all the bandwidth downloading movies or playing online games, and not intended for home use.
I hope this helps solve lots of other people’s WiFi (and maybe wired) problems; if not, check your router settings further (e.g. turn off the Firewall completely) because a problem that seems on the face of it to be down to Yosemite may actually reside in your router.
After trying many solutions, turning off IPv6 fixed it for me, and it takes seconds to do:
Go to WiFi icon – Open Network Preferences – WiFi – Advanced – TCP/IP and set Configure IPv6 to Link Local Only
I then restarted my laptop and the problem has gone away.
Thanks so much for posting this. I was having dropouts of internet service in my new mac mini. Toggling the wifi off and on would fix it & I was about to try Paul’s script. Wheezie’s IPv6 fix was implemented several days ago and no net disconnects have occured since.
Great article tho-it puts this issue into proper perspective…..there can be many possible sources of Yosemite WI-Fi woes.
It works for me, thanx.
may be related to CPU load. I’ve noticed that my wifi flaps more frequently while CPU is busy (I’m not talking about 100% busy, but 20-30% sometimes is enough). Sometimes I have 2-3 hours of non-interruptible connection. Sometimes wifi is bounced 2-3 times per hour (every 20-30 mins).
But as stated before- I see some correlation between bouncing frequency and CPU load…
Could you check this and confirm if you see the same?
Finally, this solved my issue with 10.10.5
I tried many different suggested solutions but none of them worked.
Thank you so much!