4. Wi-Fi adapter
For an internet connection
Several software downloads are needed to utilize this project and to take full advantage of what the raspberry pi can offer. Therefore, an internet connection is quite important.
Either an ethernet cable or a wifi adapter may be utilized.
Details with WiFi adapter
A WiFi adapter can be used to connect the Raspberry Pi to the internet. To use a WiFi adapter with the Raspberry Pi follow the instructions below:
The Raspberry Pi official website provides 3 different tutorials to install the WiFi adapter.
In this tutorial we will be using the commands that worked.
Connect the WiFi adapter into the Raspberry Pi.
Open the LXT Terminal on the Raspberry Pi desktop.
Command lines in LXT Terminal
To determine which WiFi signals are available for the Raspberry Pi enter with the following command:
sudo iwlist wlan0 scan
The Open source software is the Virtual Router. You can download it in this link Virtual Router . You just need to crate a name and a password. Take a look at the example above: When you finish to install the sot

All the WiFi available will be displayed. Determine the ISSD and the password of the prefered WiFi connection.
Enter the following command:
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf
Add the code below to the file. Recall the IDSS and the Password.
network={
ssid=" Your ESSID"
psk="Your_wifi_password"
}
Here is an example:
network={
ssid="WiFi-Test "
psk="12345678"
}
When finished, use Ctrl + X, chose Y, and press Enter. (It will save the changes made)
To activate changes use:
sudo ifdown wlan0
Then enter:
sudo ifup wlan0
Confirm the WiFi is working using the following command:
iwconfig
The Wlan0 will be connected in the WiFi that you have chosen.
Last updated
Was this helpful?