Connecting to Wi-Fi networks
Turn off Wi-Fi when you’re not using it, to extend the life of your battery. The Status bar displays icons that indicate Wi-Fi status. When you connect to a Wi-Fi network, the phone obtains a network address and other information it needs from the network, using the DHCP protocol.To turn Wi-Fi on and connect to a Wi-Fi network just press Menu > Settings > Touch Wireless & networks > Wi-Fi settings. Check Wi-Fi to turn it on. The phone scans for available Wi-Fi networks and displays the names of those it finds. Secured networks are indicated with a Lock icon. If the phone finds a network that you connected to previously, it connects to it.
Touch a network to connect to it. If the network is open, you are prompted to confirm that you want to connect to that network by touching Connect. If the network is secured, you’re prompted to enter a password or other credentials. (Ask your network administrator for details.)
When you’re connected to a network, you can touch its name in the Wi-Fi settings screen for details about the speed, security, address, and related settings.
To receive notifications when open networks are in range just check Network notification on Wi-Fi settings screen. You can uncheck this option to stop receiving notifications.
Google Android 2.2 User’s Guide

