How to setup WiFi on the Raspberry Pi - Raspbian

How to setup WiFi on the Raspberry Pi - Raspbian

In this tutorial we will show you how to setup WIFI on the Raspberry Pi. This particular tutorial will be focusing on the Raspbian operating system. Tutorials for other Raspberry Pi operating systems, such as OpenELEC, RaspBMC and Arch can be found below: We'll be showing you the two main ways to setup WIFI, both via the GUI (Graphical User Interface) and CMD (Command Line). Let's begin! 1. GUI (Graphical User Interface)
  1. Launch "WIFI Config" from the desktop, this will launch the GUI application for easily configuring wireless networks
  2. Click "Scan"
  3. Double click your desired network, This will bring up another window containing some more advanced options for connecting to your network. For this example, we are assume you have a simple network setup.
  4. In the "PSK" field, enter your wireless password. All keyboard entries here will be converted into *'s for security purposes
  5. Once done, click "Add". This will take you back to the previous scan screen, which you can now close. If everything has been done correctly, the WIFI config application will show you as connectedpi-wpa-gui
1. CMD (Command Line) First we're going to make sure our Raspbian operating system is all up to date with the latest drivers. To do this we'll run the following commands sudo apt-get update sudo apt-get upgrade sudo apt-get autoremove We'll want to take a backup of the WIFI configuration file before we start to make changes. sudo cp /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf.bak Next up we can edit the file with the "nano" editor. sudo nano /etc/wpa_supplicant/wpa_supplicant.conf We want the file to look like the screenshot below. You'll need to swap "YOUR_SSID" and "YOUR_PASSWORD" for your WIFI name and password. Once done, save and close the nano editor pi_wifi_commands That should be all we need to do to get things going! Reboot your Raspberry Pi with sudo reboot Once your Raspberry Pi is back up and running, we can run sudo ifconfig to see if the change we have made has worked. The screenshot below shows that it has worked and that our WLAN adapter has been assigned an IP address (192.168.3.19 in this example) pi_ifconfig

While you're here, why not check out the WiFi dongles we have available..

Featured Products

Raspberry PiRaspberry Pi 3 Model B+
Sale price £33.60 incl. VAT excl. VAT
Raspberry PiRaspberry Pi Zero W
Sale price £14.40 incl. VAT excl. VAT

Leave a comment

All comments are moderated before being published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.