Raspberry Pi Wi-Fi Setup Tutorial

1. UPDATE YOUR PI

Make sure your Pi is running the latest software version:

sudo apt-get update

sudo apt-get upgrade



2. SETUP WI-FI

You’ve then got two options for setting up a wireless connection.
It might seem easier to boot into the GUI, but really it’s more straightforward to do it in the command line.
You should already have your SSID name (Your Wi-Fi Name), but if not, use:

sudo iwlist wlan0 scan

This will reveal the SSID in the line “ESSID”. Next, open wpa_supplicant.conf:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

You’ll need to add or edit the following:

network={
ssid="YOUR-SSID"
psk="YOUR-WIFI-PASSWORD"
}

Press CTRL+X to exit and save, pressing Y and Enter to confirm.
Wireless connectivity should start immediately; if not, use:

sudo ifdown wlan0

sudo ifup wlan0

…to restart wireless. You could also simply enter:

sudo reboot

If you prefer to use the GUI, right-click the Ethernet icon in the panel (two computer monitors) and select the wireless networking option.
Then all you need to do is select the correct SSID and add the password.


You should now be online, and be able to disconnect the Ethernet cable!

Congratulations your Wi-Fi is now working on your Raspbery Pi.


If you have any questions about this tutorial you can ask me via Email: info@danykilian.com or use my contact form.