How do I connect my Mac to Wi-Fi automatically? I have a Macbook Pro running Mac OS X, but it doesn't connect to Wi-Fi automatically. If I turn Wi-Fi on, I then have to manually select the network. Is there some way to change this behaviour?
Mac OS X should automatically join any known networks, as reported in the network applet.
After you select the Airport service in the list of the network connection, you can click on the Advanced button, which will show a dialog that allows you to select your preferred networks, and to sort them.

  



The Mac will not automatically connect if it doesn't find any of the preferred networks, or if the preferred network requires a "password" that is unknown to the Mac.