Contents


The set up for Raspberry Pi using Wi-Fi is the same as the previous article on how to Set Up Raspberry Pi 4 through laptop/pc using Ethernet cable(No Moniter, No Wi-Fi) with some minor changes which we are going to see.

Hardware Requirements:

  1. Raspberry Pi 4 Model B (1/2/4 GB RAM)
  2. USB Type-C power supply
  3. Personal computer

Steps to install the required software tools

  1. If you had followed the previous article then skip these steps and move to ‘step-6’. From the official raspberrypi.org download the Raspbian Buster operating system1
  1. Also, download the Raspberry Pi Imager from the website2, this is for writing the image file onto the SD card.
  1. If you are using windows you probably have to download the ssh client, I prefer downloading it from Bitvise ssh client from PuTTY.

Further Steps:

  1. To access the desktop of the pi, you can either connect a micro to HDMI connector from the pi to a monitor or you can access it remotely on your PC/laptop. To connect remotely VNC-server has to be installed onto the pi by default the VNC-server is installed within the operating system, in order to view it remotely one has to download VNC-viewer on his/her Desktop.

  2. Open the Raspberry Pi Imager and select the custom setup then select the OS from the Downloaded folder and carefully set the target as a USB drive. Wait for the image to be written on the card.

  3. After done, open the boot folder, create a new document named “ssh” without any extensions. Create another text file, enter the following configurations and save it as wpa_supplicant.conf. Dont forget to enter the country code and the wi-fi credentials.

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=<Insert country code here>

network={

    ssid="testing"
    psk="testingPassword"

}
  1. Now power up the pi with the type-C cable and wait for a while for the pi to be connect to your Wi-Fi.

  2. Open Advanced IP Scanner and make a quick scan, identify the Raspberry Pi and note the IP address.

  3. Open the Bitvise SSH Client3, enter raspberrypi.local or the IP address(from the previous step) as host and leave 22 as default port in the server section.

  1. Click Log in and enter the username as pi and the default password as raspberry. A terminal pops up and you are now into the Raspberry Pi.

  2. If this is your first time logging into pi make sure to update your pi by issuing the command sudo apt-get update and then sudo apt-get upgrade to upgrade.

$ sudo apt-get update
$ sudo apt-get upgrade

Quick tip: Don’t forget to change your password once you are logged in.

Accessing Pi Desktop Remotely

  1. Go to terminal and type vncserver, notedown the generated ip address. Now open VNC-Viewer4 on your desktop and enter the ip address or paste it, after few seconds a window pops sharing the screen of raspberry pi desktop.