Sponser Link

How To Configure WiFi on Raspberry Pi: Step By Step Tutorial

You can configure wifi in raspberry pi using different method. In this tutorial we will learn using config file.

Open terminal and type given below command and press enter


sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Now goto end of this file and add given below code.

network={
        ssid="My_wifi_name"
        scan_ssid=1
        psk="wifi password"
}

Here you will change the wife name and password. Now press Ctrl + X to exit and for save press Y then press enter. Now reboot the device and check your wifi connection. It will connect automatically after reboot.