Contents


In this we shall be working with Raspberry Pi 4 Model-B of 1Gb RAM for the set up. Raspberry-Pi is a single board computer used for educational purposes and DIY projects with an affordable cost, requires a power supply of 5 volts with 3 amps current.

Operating Systems like Raspbian OS, Windows, Linux, RISC OS, can be installed into it. The Pi 4 model has Ethernet, wireless adapter, USB type-C port, and 40 GPIO(General Purpose Input Output) pins. Unlike the older versions the performance has very much improved with the “Pi 4” model.

Hardware Requirements:

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

Steps to install the required software tools

Step-1: OS Download

From the official raspberrypi.org1 download the Raspbian Buster operating system

Step-2: Imager

Also download the Raspberry Pi Imager2 from the same website, this is for writing the image file onto the SD card.

Raspberry pi OS selection

Step-3: SSH Client Download

If you are using windows you probably have to download the ssh client, I prefer downloading Bitvise ssh client from PuTTY3.

PuTTY

Step-4: Real VNC Viewer

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-Viewer4 on his/her Desktop.

vnc viewer website

Step-5: Image Burning

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

1 2 3
4 5

Step-6: ssh

After done, open the boot folder, create a new document named ssh without any extensions, save and then unmount the drive.

save as 'ssh' file

Step-7: Power

Now connect the Ethernet cable to your PC/lap and power up the pi with the type-C cable.

| | — | — | —

Step-8: Network Connections

If you are using Windows 10 go to Control Panel –> Network and Internet –> Network Connections, right-click on Wi-Fi select properties, go to sharing section and check on “Allow other network users to connect through this computer’s Internet connection”. Make sure that Home network connection is Ethernet. Save and close the window.

| — | —

Step-9: SSH Configuration

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

Step-10: Authentication

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

| — | —

Step-11: Pi Terminal

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.

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

Accessing Pi Desktop Remotely

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

  • Enter the ip address given by vncserver from the raspberry pi to vncviewer application on your pc. VNC viewer screen

Enter the username and password on the authentication prompt. Enter the server password

  • Welcome! to Pi’s desktop. Raspberry pi desktop

  • This article was originally published in instructables website5.


References: