Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Internet connection not working after computer wakes up from sleep. OSX Lion

After upgrading to Lion, I noticed that my internet connection doesn't work when I wake my computer from sleep. I have to turn off the WiFi connection, turn it back on and it will work. I guess this is a glitch that will be fixed later on. Just wanted to point it out. I don't know if someone else is having the same problem? I am not very happy with the upgrade to Lion, things seem to be slower, I've had several freezes requiring to reboot. I guess Lion needed a little more twicking before release. Not worth the $29.99 price tag.

OSX 10.7 Lion-OTHER, Mac OS X (10.7)

Posted on Jul 23, 2011 2:41 PM

Reply
109 replies

Apr 7, 2012 11:49 AM in response to Shannon Coffey1

Using the power button no longer works consistently for me either, although it does seem to make reconnection more likely.


Re-installing the recent huge (1+GB) WiFi update did not work either.


Removing and re-instating the wifi setting also only seemed to work for a short while.


Symptoms are (usually but not always) that I see full signal bars in the status bar, but the network preferences panel shows an orange light for wifi. Turning wifi off and then on again always fixes it.


2010 iMac

Apr 8, 2012 7:18 AM in response to kyen99

I am having this exact issue coming out of sleep on a new MacBook Pro 13" purchased in March 2012


As reported by others, when coming out of sleep, I see the wireless signals search and connect. Network Utility testing such as Ping, and Trace Route work right away. However, as others have seen Safari and Firefox show no network connection for 2 to 3 minutes even when network tools show the connection.


Eliminated the following as fixes through troubleshooting/testing:


- Firewall - Firewall has disabled since purchase

- Wifi Password - No password on networks used

- Wifi Ecryption - No encrytion on network used

- Wifi Services Remove and Re-Add - Same issue

- Resuming from Sleep with Power Button - Same issue


The solution that worked consistently was Kyen99's script that kills mdsresponder. Both performing this manually and using the application worked every time.


At this point, my only option is to run this app each time coming out of Sleep until which time Apple releases a fix.

Apr 11, 2012 5:23 PM in response to Thenollyon

I have a MBA OSX Lion v10.7.3 and it wouldn't reconnect to my home internet after waking up from sleep. After following some suggestions, it now reconnects automatically.

What I did:

  • make two updates:
    • Mac OS X 10.7.3 Supplemental Update
    • OS X Lion Update 10.7.3 (Client Combo)
  • turn firewall off and then on again


Hope it helps 🙂


And I've just looked at my 'Preferred Networks' list (under the 'Advanced' option in Network Preferences) and only my home network is there. However, before the updates, I had several networks listed.


Note: I also tried deleting all the networks from the 'Preferred Networks' list and then readding the ones I used though it didn't help me reconnect automatically to the internet.

Apr 19, 2012 11:44 PM in response to andresg01

Hi, everybody,

Same problem of MacBookPro (2011 version) with OS X 10.7.3:

- Safari & Firfox cannot connect to internet via wifi for about 3 minutes after waking from sleep

- Wifi indicator on MBP shows "connected"

- 2 other MacBooks (non-pro) do not have this problem using the same version of Lion and the same network settings

- No problem if I use internet connection via ethernet

- No problem for sending/receiving email using Mac OS X mail

Apr 25, 2012 1:58 PM in response to HappyFatty

Yes, this did the trick for me (MBP 2011). Don't listen to shootist007's comment on your post. The problem doesn't always have the same cause as I can read what helped others.

Thanks HappyFatty 🙂.

A little less security on my wifi I'm willing to give in, but still hoping apple will come with serious solutions soon.



HappyFatty wrote:


If you want to autoconnect to a WiFi network after sleep you have to use no better encryption than WEP.


If you try anything higher in the securuty chain i.e. WPA, it will not connect automatically and you will have to manually connect.


I have tested this on a unibody 2010 MacBook Pro running 10.7.3. This was fine on the same hardware before Lion.


Before you go formatting, resetting and all the other tasks above, just try changing your router to WEP authentication (sometimes also called Shared Key or Legacy 802.1X) because that may well save you a lot of trouble.


As a result, this confirms this is a software issue and I can't for the life of me understand why Apple still don't have a fix for it when using WPA.


HTH!

Apr 26, 2012 3:54 AM in response to fonkimonki

fonkimonki wrote:


Yes, this did the trick for me (MBP 2011). Don't listen to shootist007's comment on your post. The problem doesn't always have the same cause as I can read what helped others.

Thanks HappyFatty 🙂.

A little less security on my wifi I'm willing to give in, but still hoping apple will come with serious solutions soon.



If you use WEP you are exposing yourself to WiFi hackers. Do what you think best.

May 2, 2012 4:33 AM in response to andresg01

Occasionally I'll forget I'm connected to a VPN and last night I put my iMac to sleep while the VPN was still on. This morning when I woke it up, I couldn't get any internet web pages to load, although I can browse devices on the LAN such as my printer and router. All other computers/iPhones on the LAN work okay but I tried using FireFox, Safari, and Camino and nothing would load.


Also Apple Mail is showing all my email accounts are Offline but I am clearly connected to the Internet because:


Filezilla connects okay.

Ping works and DNS will resolve IP addresses.

DHCP is working - correct router address is shown.

Traceroute is working all the way to external sites.

My Mac is available on LogMeIn.

Apple Remote Desktop shows my clients on the WAN.

VPN Connections work.


To try and fix the problem I...

Rebooted the router

Turned off my iMac firewall

Deleted the Ethernet connection and remade using DHCP.

Tried switching from Ethernet to Airport

Tried ifconfig en0 down/up

Deleted Airport and Ethernet connections then created a new location.

Powered off and rebooted all switches and router

Network Diagnostics can't find a problem and says it's working.

Quit all Apps including DropBox, LogMeIn, Finder,

Logged out and back in.


None of this fixes the problem although a full reboot always does but there has to be a better way.


iMac core i5 running OSX 10.6.8

I can't believe Apple haven't addressed this issue there's nearly 25,000 views of this post!

Jul 31, 2012 4:16 AM in response to andresg01

I THINK I COULD SOLVE THE PROBLEM!!!

I it is obvious that we are talking about different issues, but all arise from the same origin. I am a surgeon and fortunately one of my patients is executive manager of one of biggest ISP companies from which I have bought my Internet service for home and my clinic.

One day I told him the problem and he promised to check it for me. A few days later he called me and discussed the exact problem (unfortunately as I am not I.T professional, I couldn’t understand it well, I can just remember he was talking about MULTIPLEXING incompatibility between Mac security settings and that specific ISP multiplexing settings, He also said they had similar problems with some Linux users. I can remember he relate the problem to cheap ISP hardware, which leads to security issues which are ignored by Windows Systems but leading to connection blockade in Mac Browsers. That’s why if you PING yahoo.com, you will see everything is OK but your browsers are not working)

In fact this is a hardware issue which is related to ISP (Internet Service Provider) security and not your Mac.

The day after, I took my MacBook to some ISP offices and asked them to let me connect to their line just for a test. “ Surprisingly I found out without changing my MacBook’s settings it works well with some ISPs and not with others!! “

I have two ADSL lines: one at home and one in my clinic. First I changed my home ISP and everything is well at home from the day I did the change. But before changing my clinic’s ISP it worked at home and not at the clinic. Later I changed my clinic’s ISP and afterward never I had any problem. This proves ( as that manager said also) this problem is related to ISP and not Mac itself and that’s why Apple could not have resolved the problem yet: different ISPs have different issues.

Here I can make some suggestions:


  1. 1- First, take your MacBook into different ISP offices and find the one which works well (before making the contract and paying money to the ISP, restart the Mac or send it into sleep mode repeatedly to make sure the connection never drops with restart or sleeps)
  2. 2- Change your modem: Modems as TP-LINK, D-LINK, are not well compatible with Mac. Apple modems or Linksys are perhaps the best choices (this is not main cause of internet drop, but can affect the performance)
  3. 3- Make sure your neighbor’s Wi-Fi is not exactly on the same channel as you are using (I use iStumbler for finding my neighbor’s channels)
  4. 4- Find best DNS: ask your ISP to provide you most compatible DNS’s for you. Perhaps most known DNSs are 8.8.8.8 and 4.2.2.4.It helps you to browse the Internet more efficiently
  5. Some people in other forums suggested that upgrading to Mountain Lion has helped them. But It didn't work for my clinic's line. Just changing the ISP at clinic resolved my problem



BETWEEN THESE 4 SUGGESTIONS, THE FIRST ONE IS THE MAIN SOLUTION AND NO 2-4 CAN HELP THE PERFORMANCE.

Move on!!! Change your ISP and let me know if it works!!!!

Aug 6, 2012 6:40 AM in response to andresg01

I lost days of productivity with the wifi issue that occurred the moment I upgraded to Moutain Lion - this SOLVED the issue for me after trying many that did not work and I am thrilled (follow in this order exactly):


  1. Go to Network System Preferences and click the Advanced button;
  2. From the Wi-Fi tab, delete all the known networks
  3. Return to the main Network display and delete Wi-Fi from the Services list.
  4. Finally, add a new Wi-Fi service (by clicking the + icon at the bottom of the list section).

Aug 6, 2012 7:11 AM in response to laralea

I am currently running Lion and wanted to see if I could follow your procedure. I did not find all the system displays you listed. After hitting the Advanced Button, I did not see a Wi-FI tab and going through what was available I did not know where to delete the networks. Can someone tell me if the System Preferences/Network is changed in Moutain Lion from Lion?


I finally got my wifi to work reasonably well with Lion. It stays connected about 90% of the time. Thus I am very hesitant to go to Moutain Lion and face this problem again. Before I upgrade, I am following intently the fixes people have been successful with for the Wi-FI problem in Moutain Lion.


Thanks

Internet connection not working after computer wakes up from sleep. OSX Lion

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