You want to use WiFi to connect your Raspberry Pi to the internet. This tutorial will show you how to connect raspberry pi to wifi with 3 easy Methods.
If you complete the How to Connect Raspberry pi to wifi with 3 Easy Method, you need flowing equipment.
Method-1 Using the Desktop environment to connect raspberry pi to wifi:
It is straightforward to configure WiFi in the latest Raspbian. Click the network icon in the upper-right corner of your raspberry pi desktop environment (Figure 1).
Following that, you’re presented with a list of available WiFi networks. Choose your network and enter your Pre-Shared Key on the prompt (password).
Please type in your password. After a short period, the network icon will change to the standard WiFi symbol, and you will be connected.
Method-2 Using the command line sudo raspi-config:
This is a perfect way to set up WiFi if you set up your Raspberry Pi so that it can be used without a keyboard and a monitor attached after you set it.
To start the raspi-config utility, type the following command:
Select Network Options flow Figure 2.
The SSID (WiFi name) and password are requested in a prompt.
Method-3 Using the command line wpa_supplicant.conf :
You can also set a Wireless connection by editing the required file directly by using the command line. To do so, use the following command to modify the file /etc/wpa supplicant/wpa supplicant.conf:
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Scroll to the bottom of the document and add the following lines:
ssid=”Your wifi name”
psk=”your wifi password.”
Change the values for SSID and psk to match the name and password of your WiFi network.
Reboot your Raspberry Pi to make the changes to the file take effect.
WiFi uses a lot of power, so you might need to use a larger power supply if you find your Pi unintentionally or fail to boot correctly. Look for a 1.5A or higher power supply; if you’re using a Raspberry Pi 4 with high-power USB peripherals, use a 3A power supply.
33 total views, 3 views today