Fix Wi-Fi autoconnect problems in Lion

Some OS X Lion users are experiencing a problem with Wi-Fi connections not autoconnecting when the network has changed. Here are some possible remedies to this situation.

One persistent problem that some users have noted in OS X Lion is where Wi-Fi connections may not autoconnect when waking from sleep or when performing other tasks where the Wi-Fi connection is cut and needs to be re-established. Instead of locating a previously used network, the Wi-Fi connection will remain gray and require you to manually select a Wi-Fi network in order to connect.

If this problem happens to your system, you can try a few things to correct the problem:

  1. New Location
    An easy step is to try creating a new network configuration in the Network system preferences. Do this by selecting "New Location" from the "Location" menu, and then clicking the plus button to add the network ports that you use (e.g., Wi-Fi, Ethernet, etc.). With your ports added, configure them accordingly, and see if the problem with re-establishing a connection persists.

  2. Remove Wi-Fi keychain entries
    Part of the process of establishing a connection with a Wi-Fi network is to supply the appropriate password for the connection. In OS X these passwords are stored in the user's keychain, and if there is a problem with them or with accessing them, then the Wi-Fi connection may not be properly established. Therefore, open Keychain Access and remove any keychain entries that are associated with your Wi-Fi networks, and try connecting again to save your passwords for these networks.

  3. Remove AirPort configuration property list
    Many times problems with system services can happen after an upgrade if some corruption has occurred in the configuration files associated with those connections. In the case of Wi-Fi network connections, the options for auto log-in and other details about a specific network are saved in a configuration property list at the following location:

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

    Try disabling AirPort in the menu bar, go to that folder and remove the "com.apple.airport.preferences.plist" file, and then re-enable AirPort. Doing this will create a new configuration file that will not have any residual settings or options in it from your Snow Leopard installation, and therefore may prevent the autoconnect problem from occurring.

This issue is likely not related to Wi-Fi connections randomly dropping for some users, but the solutions here may help those users re-establish their connections if and when they do drop out.



Questions? Comments? Have a fix? Post them below or e-mail us!
Be sure to check us out on Twitter and the CNET Mac forums.

Tags:
Computers
About the author

    Topher, an avid Mac user for the past 15 years, has been a contributing author to MacFixIt since the spring of 2008. One of his passions is troubleshooting Mac problems and making the best use of Macs and Apple hardware at home and in the workplace.

     

    Join the discussion

    Conversation powered by Livefyre

    Show Comments Hide Comments
    Latest Galleries from CNET
    15 crazy old phones from a Korean museum (pictures)
    10 gloriously geeky highlights from 2014 (pictures)
    2015.5 Volvo XC60: updated tech, understated design
    Busted! CNET readers show us their broken devices (pictures)
    Take a closer look at the BlackBerry Classic (pictures)