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.

After Lion upgrade, having network issues after wake from sleep

After upgrading to Lion from 10.6.8 on my MacBook Pro (15-inch, Early 2011), I am unable to connect to the Internet after the computer wakes from sleep. I should rephrase this - I am able to ping IP's and DNS (DNS servers are present) however none of my apps will connect (Safari, iChat, etc) -> they all indicate the Internet is unavailable. I have two Airport Express's running 7.5.2 extending a WiFi network off an Airport Extreme running 7.5.2. This issue is specific to waking from sleep. Any thoughts or suggestions would be appriciated.

Mac OS X (10.7)

Posted on Jul 20, 2011 8:31 PM

Reply
213 replies

Jul 27, 2011 7:33 PM in response to Dogcow-Moof

William Kucharski wrote:


[...]


Have people noticed a difference between lid sleeps for portables, system timeout sleeps or "Sleep" Apple menu sleeps?


I've noticed that this issue occurs only with lid sleeps on my MacBook, but so far does not seem to occur with system timeout sleeps. To the point others have raised about Time Machine, I have a Time Capsule that backs up wirelessly, and it does not seem to make any difference whether a backup is in progress or not when the lid is closed.

Jul 27, 2011 11:13 PM in response to Dogcow-Moof

I seem to have the same trouble as listed here in this thread. It seems to happen each and every time I wake up the computer after it's been sleeping for a period of time. (Not sure but usually more than 15 minutes). I have found a reliable work around that seems to solve this each time. I use a static IP address on my home LAN and I have presently two network Locations stored. (The only difference between the two is the DNS they use[OpenDNS -vs- Google DNS]).


When I wake the machine up and I can't access the internet from my apps (Mail,Safari etc etc etc. but yet I can ping to addresses such as www.apple.com) I merely switch from one Network Location to the other then immediately switch back to the original configuration all problems go away.


It's nothing more than a hassle at this point and I would hope it gets fixed soon.


I welcome if anyone at Apple needs any kind of data dump to help isolate this. Please contact me.


~e


Hardware Overview:


Model Name: Mac Pro

Model Identifier: MacPro2,1

Processor Name: Quad-Core Intel Xeon

Processor Speed: 3 GHz

Number of Processors: 2

Total Number of Cores: 8

L2 Cache (per Processor): 8 MB

Memory: 8 GB

Bus Speed: 1.33 GHz

Boot ROM Version: MP21.007F.B06

SMC Version (system): 1.15f3

Serial Number (system): 1571519SUPZ

Hardware UUID: 00000000-0000-1000-8000-0019E3F8973E


System Software Overview:


System Version: Mac OS X 10.7 (11A511)

Kernel Version: Darwin 11.0.0

Boot Volume: Bay3

Boot Mode: Normal

Computer Name: Eric’s Mac Pro

User Name: Eric Goodrich (eric)

Secure Virtual Memory: Enabled

64-bit Kernel and Extensions: No

Time since boot: 1 day14:48

Jul 28, 2011 1:43 AM in response to Odinsdad

That seems like a different symptom, as that's not "not having a connection to the Internet," but rather that DNS resolution isn't occurring properly (and why at least one person saw their problem go away with the installation of an old version of mDNSResponder.)


It seems DNS resolution is a sticking point for every release, as there were quite a few DNS issues Snow Leopard as well.

Jul 28, 2011 6:39 AM in response to Dogcow-Moof

Perhaps my issue isn't the same as everyone else's, but I don't think it has anything to do with DNS. When opening up my MacBook the WiFi icon is greyed out, indicating the the wifi adapter isn't even connected to a network, so even if there were a DNS issue, it wouldn't make any difference.


You can try to force it to connect to a particular wifi network, but it doesn't matter, the OS doesn't even make an attempt to connect.


Whenever I've encountered this issue, the Time Machine icon would be active. It seems like the OS is waiting for something to finish, once it's finishes then it allows the WiFi adapter to connect to a network.


Next time I manage to reproduce it, I'll check the actual statuses of the network interfaces.

Jul 28, 2011 6:56 AM in response to philjackson

Hi Everyone, I'm a noob to the support community becasue I've never needed to use these forums. Until now.


I upgraded my iMac 21" early 2010 to Lion on the day of release.


Since then I have found my wifi "is not connected" when the iMac awakens from sleep.


It makes no odds how long I give it to wake up.


The airport icon is fully lit and my network shows as being connected.


Originally I thought it may be something to do with my Airport Extreme, until I noticed that my Daughter using a MB Pro with Snow Leopard was not having issues.


So, in order to do anything with Safari, I have to run the network diagnostics which instantly flicks over to 6 green lights and tells me that I'm connected.


After this, the wifi works with no problems - until the iMac next goes to sleep...

Jul 28, 2011 7:06 AM in response to Stew PA

Stew PA wrote:


So, in order to do anything with Safari, I have to run the network diagnostics which instantly flicks over to 6 green lights and tells me that I'm connected.


After this, the wifi works with no problems - until the iMac next goes to sleep...


Hi Stew, as you can see it's very common since Lion.


You can file a feedback to Apple, I think this could help (but I'm sure they are working on it...)


By now, you don't need to do all the network diagnostic, just switch the wifi off/on or change the location network (I'm not sure about the name, I'm suing Lion in italiana and it's called "posizione").


If you don't have any location menu under the "apple" menu, you can create one or more at System Preferences, Network, Change Network Location (again: should be something like that, in italian it's "Modifica posizioni"), and duplicate one or more.


Hope this helps, at least until Apple fix this...

Jul 28, 2011 8:54 AM in response to Dogcow-Moof

William Kucharski wrote:


Unfortunately it's not readily reproducible on just any system; I know I and several others have tried without success, so the more information on affected systems and exact methodology to reproduce the issue is good.

Few problems are, too many variables.


One variable I am wondering about in this case, is what wifi card is being used by each of the people having problems.

I have seen Broadcom cards in many of the logs I have looked over.

I too have a Broadcom card.

I wonder if this is simply a kernel extension problem that relates to this particular Broadcom card?

Anyone care to offer their wifi card specs?

Jul 28, 2011 9:04 AM in response to JimHughes

Note that most Apple products use Broadcom Wi-Fi chips at present, and few of them have this particular issue.


Note also that in trying to narrow this down we've got multiple issues here:


  • Upon wake, the machine does not reassociate properly with the Wi-Fi access point
  • Upon wake, network connectivity is present, but DNS service fails, causing a "no Internet" message

Jul 28, 2011 12:29 PM in response to Dogcow-Moof

William Kucharski wrote:


Note that most Apple products use Broadcom Wi-Fi chips at present, and few of them have this particular issue.


Note also that in trying to narrow this down we've got multiple issues here:


  • Upon wake, the machine does not reassociate properly with the Wi-Fi access point
  • Upon wake, network connectivity is present, but DNS service fails, causing a "no Internet" message

My issue appears to be the latter comment, related to DNS. I'll have to check my settings the next time it happens and see if there are DNS server numbers present under the network preferences. Or are there DNS servers listed and they are not being resloved?


I was actually thinking of specific Broadcom cards but I am not at home and tgherefore can not check what specific model it is. This is a late 2006 iMac however.

Jul 28, 2011 8:56 PM in response to JimHughes

I've actually seen it once or twice when upon waking DNS resolution was not occurring properly, but after about five or six seconds, things started working normally without needing to take any of the shut the interface off and turn it back on actions others have had to - nothing big but certainly an indication that there's something going on there.

Jul 29, 2011 2:02 AM in response to philjackson

The scary things is when you search for similar issues you get pages and pages of threads:


https://discussions.apple.com/search.jspa?peopleEnabled=true&userID=&containerTy pe=&container=&spotlight=true&q=network+not+working+after+sleep


That was just using the search words: network not working after sleep


If you alter the search words to more or less and different words then you end up finding even more threads about the same subject. This is bad. Gone from frustrated to really unhappy ... and now have committed to putting Snow LEopard back on my machine but destroying all settings and starting afresh to see if that fixes anything. Like I really have time to spare to do that ... 😟

After Lion upgrade, having network issues after wake from sleep

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.