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

“Connection failed” message even successfully connecting to Wifi.

I'm using Macbook Pro 13 - Early 2011 & OS X 10.7.5


After some point, my Macbook Pro started returning errors saying that "Connection failed".


However, it then goes on trying and connects fine. But never remembers those networks.


I've removed lots of unused wireless networks, changed location but it doesn't help.


Did anybody experienced such thing?


Thanks!

MacBook Pro, Mac OS X (10.7.5)

Posted on Mar 29, 2013 3:15 AM

Reply
10 replies

Mar 30, 2013 9:00 AM in response to enesismail

Please read this whole message before doing anything.


This procedure is a test, not a solution. Don’t be disappointed when you find that nothing has changed after you complete it.


Step 1


The purpose of this step is to determine whether the problem is localized to your user account.


Enable guest logins* and log in as Guest. For instructions, launch the System Preferences application, select Help from the menu bar, and enter “Set up guest users” (without the quotes) in the search box. Don't use the Safari-only “Guest User” login created by “Find My Mac.”


While logged in as Guest, you won’t have access to any of your personal files or settings. Applications will behave as if you were running them for the first time. Don’t be alarmed by this; it’s normal. If you need any passwords or other personal data in order to complete the test, memorize, print, or write them down before you begin.


Test while logged in as Guest. Same problem?


After testing, log out of the guest account and, in your own account, disable it if you wish. Any files you created in the guest account will be deleted automatically when you log out of it.


*Note: If you’ve activated “Find My Mac” or FileVault, then you can’t enable the Guest account. The “Guest User” login created by “Find My Mac” is not the same. Create a new account in which to test, and delete it, including its home folder, after testing.


Step 2


The purpose of this step is to determine whether the problem is caused by third-party system modifications that load automatically at startup or login, or by a peripheral device.


Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:


  • Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
  • When you see the gray Apple logo, release the shift key.
  • If you are prompted to log in, type your password, and then hold down the shift key again as you click Log in.


Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs. The next normal boot may also be somewhat slow.


The login screen appears even if you usually log in 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.


*Note: If FileVault is enabled, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode.


Test while in safe mode. Same problem?


After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of steps 1 and 2.

Apr 3, 2013 11:48 AM in response to Linc Davis

Hi Linc,


Thanks for the detailed instructions. I have been really busy for the last few days and I just got the chance to follow the instructions. Here are the results:


Step 1


I have created a guest user other than "Guest User created by Find My Mac". After that I logged in with the brand new guest user and experienced the same problem.


But I observed something more! Wifi connect dialog connects well when "remember this network" checkbox unchecked.


But the problem rises when it's checked. Somehow there is a problem with remembering networks.



Step 2


Computer started in safe boot mode as instructed and the same problem is there.


Again, if I choose not to remember network, problem goes away.


Shutdown safely booted session and rebooted. Problem is still there.



In Summary; same problem observed with brand new guest user and safe boot. Plus, "failed to connect" message never show up when remember network option unchecked.



Thanks!

Apr 3, 2013 3:55 PM in response to enesismail

Back up all data.

Triple-click the line below to select it:

/Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist

Right-click or control-click the highlighted line and select

Services Reveal

from the contextual menu.* A Finder window should open with an item selected. Copy the selected item to the Desktop, leaving the window open. Then move the original (not the copy) to the Trash. You may be prompted for your administrator password. Reboot and test. If there's no change, put the item you copied back where it was (or restore it from a backup), overwriting the one that may have been created in its place. Reboot again. Otherwise, delete the item you copied. You'll have to recreate your preferred networks.

*If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select

Go Go to Folder...

from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

“Connection failed” message even successfully connecting to Wifi.

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