This instruction should work for other Pi with built-in WiFi.
Step 1: Change default DNS
Step 2: Connect to Wi-Fi temporarily
Generate a WPA PSK from an ASCII passphrase for your WiFi
You should see the file
/etc/wpa_supplicant/wpa_supplicant.conf generated with content
like following. It is highly recommended to delete the plain text password in the comment.
Start WPA supplicant (Raspberry Pi’s built-in WiFi should have network interface name
if not, change following accordingly)
Obtain IP through DHCP (assuming DHCP is enabled on your router)
Now if you use ifconfig you should see internal IP allocated to
and you should be able to access internet.
Step 3: Connect to Wi-Fi persistently
There are many ways, but I prefer to manage it manually with ifup and
/etc/network/interfaces. Feel free to use DHCP instead of static IP.
ifupdown and use it to bring up