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

mac mavericks after sleep: every time wi-fi seems ok but browsers don't connect. Needs restart, or Wi-Fi network removal-addition in System Preferences. Please help.

Hello, this is a recent problem with my wi-fi connection at home. It was ok before. I've searched the web but I don't find exactly the same problem discussed so here's a description:

First, the affected mac is a MacBook Pro Retina, 13-inch, Mid 2014. Processor 2.6 GHz Intel Core i5, memory 8 GB 1600 MHz DDR3. Using OS X 10.9.5

Another mac (mac mini, OS X 10.8) uses the same home network via cable, no problems.

The problem:

Wi-Fi on the MacBook appears connected to my home network, with strong signal. Browsers work after computer restart but as soon as I close my laptop and wake it up again from sleep, they don't find any webpages (Wi-Fi still showing the strong signal). It affects any browsers and also Mail.

By shutting down the MacBook (it doesn't suffice to turn Wi-Fi off and on on the MacBook) and then restarting the router, the MacBook restarts with normal connection but only until closing the lid and waking it again from sleep.

I found a quicker way to reset the connection (but still only temporarily, i.e. until next computer sleep): In [System Preferences -> Network -> Advanced -> Wi-Fi] I can select my home network, delete it via the minus sign, select OK and Apply, go to Advanced again and click the plus sign, find my home network via the 'Choose a network' button (for this to work I have to turn off the Wi-Fi and then on again, otherwise my network will not be listed) and select it, with entering the password.

Quite complicated but this latter method has the advantage that open webpages don't have to reload like after restarting the computer.

I admit it needs patience to go through this every time.

I had contacted my network service and no problems were detected. Seems confined to the MacBook.

Just in case it matters: I had (from my cable connected computer) entered my IP in a browser's address bar and logged in my to my router and tried changing channel (turning AutoChannel off) without any effect. I also tried in [System Preferences -> Network -> Advanced _> TCP/IP] to change the DHCP configuration (IPv4 Address) manually and then back to default (also trying the Renew DHCP Lease) but the problem always shows up again.

Any obvious solution?

Adalgeir

Posted on May 19, 2015 6:53 AM

Reply
Question marked as Best reply

Posted on May 19, 2015 7:16 AM

What happens if you connect the Mini only via wifi?

What if you connect the MacBook via Ethernet only?

Maybe a problem with your network wifi network


This is the Mac Pro desktop forum. I requested your post be moved to the MacBook Pro laptop forum.

31 replies

May 19, 2015 7:24 AM in response to Adalgeir

Test after taking each of the following steps that you haven't already tried. Back up all data before making any changes.

1. Make sure the network is on the preferred list by following these instructions. It's important to read the article carefully, as it's the starting point for any further efforts to solve the problem. If you skip any of the steps, the problem may not be solved. Make sure the box marked

Remember networks this computer has joined

is checked.

2. Follow the instructions in this support article under the heading

Symptom: After restarting or waking from sleep, my computer might not connect to the Internet

3. Reset the PRAM.

4. Make a note of all your settings for Wi-Fi in the Network preference pane, then delete the connection from the connection list and recreate it with the same settings. You do this by clicking the plus-sign icon below the connection list, and selecting Wi-Fi as the interface in the sheet that opens. Select Join other network from the Network Name menu, then select your network. Enter the password when prompted and save it in the keychain.

5. From the Location menu at the top of the Network preference pane, select Edit Locations. A sheet will drop down. Click the plus-sign button to create a new location. Give it any name you want. In the new location, set up the Wi-Fi service with the same settings you used before. Click Apply and test.

6. Launch the Keychain Access application. Search for and delete all AirPort network password items that refer to the network. Make a note of the password first.

7. Repair permissions on the startup volume.

8. Turn off Bluetoothand test.

9. Reset the System Management Controller.

10. This step shouldn't be necessary, but has been advised by Apple Support in some cases, apparently as a workaround for a bug. Open the Energy Saver pane in System Preferences. If applicable, click the padlock icon in the lower left corner to unlock the settings. Enter your administrator login password when prompted.

Select the Power Adapter tab and uncheck the boxes marked

Wake for Wi-Fi network access

and

Enable Power Nap...

if present. Then, if the computer is a MacBook, select the Battery tab and uncheck

Enable Power Nap...

11. Reinstall OS X.

May 19, 2015 9:08 AM in response to lllaass

Thanks, the mini can connect via Wi-Fi also (unplugging the cable). The MacBook had trouble also with the cable (with Wi-Fi off). The problem remained after [System Preferences -> Network -> Assist me… -> Diagnostics...], both with Ethernet and Wi-Fi. Both answers were 'Your Internet connection appears to be working correctly'.

But then something happened just as I was about to open the System Preferences Network settings, when following step 2 in the list provided below by Linc Davis, see further details there ...

In short: The problem seems to be solved but I'm not clear what solved it.

May 19, 2015 9:13 AM in response to Linc Davis

Thanks for your help and detailed reply. Something mystical happened when I followed step 2 and I'm not clear what it was. I had just before been trying the [System Preferences -> Network -> Assist me… -> Diagnostics...] on the MacBook (also with Ethernet cable instead of the Wi-Fi), and the problem seemed to remain. But when I opened again the [System Preferences -> Network] in order to follow your step 2 test, I saw a browser in the background starting to respond and reload a webpage. I don't remember having actually started to do anything in the Network window so it appeared to have been a delayed result of some background process, perhaps initiated by the Diagnostics window?


The problem seems to have been solved because I gave the MacBook a nap for 5 minutes and it woke up with the browsers working, after a short hesitation. The next nap delivered the browsers immediately working.


Now, the only problem is that this solution will perhaps not be of much help to others with a similar problem, finding this discussion thread. But in case I see this problem returning, I'll provide more details.

May 19, 2015 12:04 PM in response to Linc Davis

The problem reappeared after a longer computer nap. Maybe it had temporarily been solved in connection with the cable connection attempt, but obviously that does not lead to a stable solution.

So I followed your step 2, renewed the DHCP lease, removed all preferred networks and restarted the computer after removing all the AirPort network passwords from the Keychain access (login and system lists). Reentered the password while logging in to the network and the problem reappeared after a nap.

But then I tried another round of System Preferences … Wi-Fi -> Assist me and the connection started to work again some minutes later. Currently it works after a nap but I expect the problem to reappear and then I'll continue with your tests.


One thing that I noticed before I tried the above, maybe something for you to comment on: In my System Preferences Network window, the list of network services in the leftmost part of the window had no Wi-Fi entry. I had just selected the "Built-in Ethernet" and had accessed the Wi-Fi settings from there (Turn Wi-Fi On/Off, Show Wi-Fi status in menu bar, Assist me…, Advanced etc). But I wondered if this was part of the problem and added, via the + sign, Wi-Fi from the pop-up menu. After that the list shows Wi-Fi as Connected (green), and the Built-in Ethernet as 'No IP Address' (orange). Apparently this didn't help solving the problem because this was before the step 2 test. Or could this possibly indicate that the computer is somehow set to look for a cable connection as a first choice, after waking from sleep? And still shows the Wi-Fi connection as active, just failing to use it?

May 19, 2015 5:41 PM in response to Linc Davis

Thanks, that's good to know. I deleted it from the service list but the problem continued.

I then followed all the 11 steps from beginning, i.e. I also repeated the first two in case it mattered to have corrected the service list in the meantime.

When testing after each step, the problem always reappeared after a nap.

When the reinstalling of the OS X ended, the computer automatically restarted and showed the problem immediately, before any nap.

I then restarted the computer once more and this time the connection worked in the beginning but failed after a nap.

I also restarted the router but without luck.

Currently the only way to restore the network connection after a nap seems to be by restarting the computer. The Wi-Fi Assist me window only responds with 'Your Internet connection appears to be working correctly' and nothing else happens (like before when the browsers started to work after a little while). The deleting and re-adding of the network doesn't help either.

Some MacBook hardware problem perhaps?

May 19, 2015 5:40 PM in response to Adalgeir

Please back up all data, then open the iCloud pane in System Preferences. If the box marked iCloud Drive is checked, uncheck it and confirm. Your iCloud documents should be preserved on Apple's servers.

Test to see whether there's an improvement, then re-check the box and test again. It may take a noticeable amount of time for your iCloud Drive documents to resynchronize.

May 19, 2015 6:36 PM in response to Linc Davis

Thanks again for your quick response and appreciated help.


It took some time to back up ~4Gb of data with TimeMachine (by USB to the backup disk). Maybe because I hadn't restarted the computer after the last nap?


In the iCloud pane I see no box marked iCloud Drive. The boxes that are checked are Contacts, Calendars, Reminders, Safari, Photos and Documents & Data (the Options button for the last-mentioned lists Preview, TextEdit, GarageBand and Affinity Designer as storing documents and data). Is there something I'm getting wrong, do you think?

May 19, 2015 7:32 PM in response to Adalgeir

Please read this whole message before doing anything.

This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.

The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches.

Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards, if applicable. Start up in safe mode and log in to the account with the problem.

Note: If FileVault is enabled in OS X 10.9 or earlier, or if a firmware password is set, or if the startup volume is a software RAID, you can’t do this. Ask for further instructions.

Safe mode is much slower to start up and run than normal, with limited graphics performance, and some things won’t work at all, including sound output and Wi-Fi on certain models. The next normal startup may also be somewhat slow.

The login screen appears even if you usually login automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin.

Test while in safe mode. Same problem?

After testing, restart as usual (not in safe mode) and verify that you still have the problem. Post the results of the test.

May 19, 2015 8:18 PM in response to Linc Davis

The problem did not show in safe mode (after a 5 minutes nap).

After restarting as usual, it reappeared.

I looked at my Users & Groups settings: there are seven Login items and four of them are listed as Unknown in the Kind column, followed by a yellow triangle with an exclamation mark. Two of the seven have the Hide box checked. The items are: Klemmuspjaldsbreytir (Application and ok, i.e. no warning triangle), iTunesHelper (Hide + triangle), Microsoft AU Daemon (triangle), AdobeResourceSyncronizer (triangle), EyeTV Helper (Hide but ok, i.e. Application and no triangle), GrowlHelperApp (triangle) and Dropbox (Application and ok).

Does that list help?

May 19, 2015 8:46 PM in response to Adalgeir

1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.

The test works on OS X 10.7 ("Lion") and later. I don't recommend running it on older versions of OS X. It will do no harm, but it won't do much good either.

Don't be put off by the complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.

2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.

There are ways to back up a computer that isn't fully functional. Ask if you need guidance.

3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.

You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.

In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.

You may not be able to understand the script yourself. But variations of it have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message. See, for example, this discussion.

Another indication that the test is safe can be found in this thread, and this one, for example, where the comment in which I suggested it was recommended by one of the Apple Community Specialists, as explained here.

Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.

4. Here's a general summary of what you need to do, if you choose to proceed:

☞ Copy a particular line of text to the Clipboard.

☞ Paste into the window of another application.

☞ Wait for the test to run. It usually takes a few minutes.

☞ Paste the results, which will have been copied automatically, back into a reply on this page.

These are not specific instructions; just an overview. The details are in parts 7 and 8 of this comment. The sequence is: copy, paste, wait, paste again. You don't need to copy a second time.

5. Try to test under conditions that reproduce the problem, as far as possible. For example, if the computer is sometimes, but not always, slow, run the test during a slowdown.

You may have started up in safe mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.

6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.

7. Load this linked web page (on the website "Pastebin.") The title of the page is "Diagnostic Test." Below the title is a text box headed by three small icons. The one on the right represents a clipboard. Click that icon to select the text, then copy it to the Clipboard on your computer by pressing the key combination command-C.

If the text doesn't highlight when you click the icon, select it by triple-clicking anywhere inside the box. Don't select the whole page, just the text in the box.

8. Launch the built-in Terminal application in any of the following ways:

☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)

☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.

☞ Open LaunchPad and start typing the name.

Click anywhere in the Terminal window to activate it. Paste from the Clipboard into the window by pressing command-V, then press return. The text you pasted should vanish immediately.

9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter

exec bash

and press return. Then paste the script again.

10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. If you don't know the password, or if you prefer not to enter it, just press return three times at the password prompt. Again, the script will still run.

If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.

11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, a series of lines will appear in the Terminal window like this:

[Process started]

Part 1 of 8 done at … sec

Part 8 of 8 done at … sec

The test results are on the Clipboard.

Please close this window.

[Process completed]

The intervals between parts won't be exactly equal, but they give a rough indication of progress. The total number of parts may be different from what's shown here.

Wait for the final message "Process completed" to appear. If you don't see it within about ten minutes, the test probably won't complete in a reasonable time. In that case, press the key combination control-C or command-period to stop it and go to the next step. You'll have incomplete results, but still something.

12. When the test is complete, or if you stopped it because it was taking too long, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.

At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.

If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.

13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "The message contains invalid characters." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.

14. This is a public forum, and others may give you advice based on the results of the test. They speak for themselves, not for me. The test itself is harmless, but whatever else you're told to do may not be. For others who choose to run it, I don't recommend that you post the test results on this website unless I asked you to.

______________________________________________________________

Copyright © 2014, 2015 by Linc Davis. As the sole author of this work (including the referenced "Diagnostic Test"), I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

mac mavericks after sleep: every time wi-fi seems ok but browsers don't connect. Needs restart, or Wi-Fi network removal-addition in System Preferences. Please help.

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