Configure Wi-Fi on Raspberry Pi and remote access.

Configure Wi-Fi on Raspberry Pi and remote access.

From your computer under Windows or Linux, open your favorite browser and download Raspberry Pi OS from the following link: https://www.raspberrypi.org/downloads/raspberry-pi-os/.

Click ‘Download ZIP’ under ‘Raspberry Pi OS (32-bit) with desktop and recommended software’.

 

Raspberry Pi

Next, download a Live USB utility like Rufus to make the SD card bootable for the Raspberry Pi. After installation select your SD card under ‘Device’ and the Raspberry Pi OS image under ‘Boot selection’ and click ‘START’.

From the file explorer and navigate to the root of the SD card containing the Raspberry Pi OS image, right click and create a new text document. Add the following lines in the file replacing ‘yourHiddenSSID’ with the SSID of your wi-fi home network and ‘Your_Wireless_network_password’ with the password.

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
ssid="yourHiddenSSID"
scan_ssid=1
psk="Your_wireless_network_password"
}

Rename the newly created file wpa_supplicant.conf.

Create a second text file named ‘ssh’ without extension. Remove the .txt extension from both files.

Eject the SD card from your computer and connect it to your Raspberry Pi. Plug the power cable the image will install automatically.

Next we need to retrieve the IP address of the Raspberry Pi, you can use ‘Angry IP scanner’ which will scan your home network for IP addresses.

Download ‘Angry IP Scanner’ for Windows or Linux: https://angryip.org/download/#windows

After installation, click on ‘Start’ to scan your network, after a while the IP address of your Raspberry Pi should appear.

Next we need to connect to the Raspberry Pi from the computer. For this we will use ‘PuTTY’, click on the following link to download the software. https://www.putty.org/

When the download is finished, launch PuTTY, enter the IP address of the Raspberry Pi under ‘Host Name (or IP address)’, select SSH and click ‘Open’.

When the warning message appears, click ‘Yes’.

You are now connect to the Raspberry Pi through SSH. Next we need to enter the default login credentials. Type ‘pi’ as the login then hit Enter and ‘raspberry for the password and hit Enter.

When you have successfully logged-in, the following prompt will appear.

Next type:

sudo raspi-config and hit Enter.

With the arrows of your keyboard select ‘Interfacing Options’, hit the ‘Tab’ key to choose ‘Select’ and hit Enter.

Select ‘VNC’.

Select ‘Yes’ hit Enter.

Confirm and hit Enter.

Now we need to download a remote desktop connection software. I used VNC Viewer downloadable from the following link: https://www.realvnc.com/en/connect/download/viewer/

After installation, launch VNC Viewer and enter the IP address of the Raspberry Pi, hit Enter, the connection is starting, enter the Raspberry credentials when prompted, then click ‘OK’.

A warning message appears when the connecting for the first time. Select ‘Continue’ and hit Enter.

The connection is now established to the Raspberry Desktop.


Leave a Comment

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

×