How to configure RaspberryPi to connect to Wifi

The Raspberry Pi is a tiny and affordable computer that you can use to learn programming through fun, practical projects.

This tutorial explains the steps to configure RaspberryPi to connect to Wifi.

Step1: Login to RaspberryPi as root

Step2: Search for the required Wifi network

#iwlist wlan0 scan

We will get the SSID (Network Name) from the results

Step3: Open the Wifi configuration file

#nano /etc/wpa_supplicant/wpa_supplicant.conf

Step4: Update the SSID (Network Name) and PSK (Password) to this configuration file

network={
ssid="SSID"
psk="PSK"
}

Note to replace SSID with the Network Name and PSK with the password

Step5: Check whether the system automatically connected to the Wifi. Sometimes the Raspberry Pi will not connect automatically and require a reboot to connect.
If it doesn’t connect after waiting 2-3 minutes, reboot the system.

#reboot

 

Leave a Reply

Your email address will not be published. Required fields are marked *