SETTING UP RASPBERRY PI FOR FIRST TIME

This tutorial will help the ones who is wondering to setup the raspberry pi for first time


follow the steps:

Hardware Required:

Raspberry Pi (any model)

Laptop or Desktop

SD Card or USB Flash Drive

Network Cable (Ethernet RJ45)

[Its ok if you have no internet connection just connect the router to laptop and rpi with rj45 cables]

Power Supply for Raspberry Pi

 

1.      Download os from the link”https://www.raspberrypi.org/software/
2.      Use Etcher for writing os on sdcard”https://www.balena.io/etcher/


3.      Insert the memory card or usb with OS written in it.
4.       You need the HDMI for first time at least otherwise you can't use   the VNC for virtual display. (If you don't have an hdmi monitor use TV with HDMI connectivity or use a HDMI-VGA converter)
OR
We create an empty file and named it SSH with no extension. This would enable SSH interface on Raspberry Pi which allow Raspberry Pi to communicate with our PC through Ethernet Port.
i. Go to SD Card or USB Flash directory
ii. Right Click > New > Text Document
ii. Type SSH with no extension
iv. Unplug your SD Card or USB Flash from Computer

5.      Power on the raspberry pi with the power micro usb port
[NOTE: I recommend the 2.5 Amp power adapter for the rasp pi, it can boot up with 800mA but it'll show you some glitch if you continue to use more peripherals in usb ports.

Best way to power it is using battery power bank.]

A.    we'll use Putty to communicate with Raspberry Pi through SSH. Then use it to enable VNC Server on Raspberry Pi.

i. Open Putty

ii. Under Host Name, Type raspberrypi.local

ii. under Port, Type 22

iv. Click Open

 

B.    Let's login to our Raspberry Pi in a Terminal Window which just pop up
Login as: pi
pi@raspberrypi.local's password: raspberry
pi@raspberrypi:~ $ sudo raspi-config
6.    for the most of rasp pi os's boots into GUI if not type startx on terminal to boot as GUI
7.    Update the rasp pi with "sudo apt-get update" and give it some time update and when it completed the terminal command will be available then type "sudo apt-get upgrade –y".
8.    Type “sudo raspi-config” in the terminal. Enable the VNC option in     the menu.

9.   Now we can use our PC to remote Raspberry Pi with VNC viewer through Network Cable or Wireless (if we connect both of them to the same Wi-Fi).

1. Open VNC Viewer

2. in the box, Type raspberrypi.local

A window will pop up and ask you to enter username and password

Username: pi

Password: raspberry

10.    Update the rpi with “sudo apt-get update” and give some time after complete use “sudo apt-get upgrade -y


 

 

Comments

Popular posts from this blog

HACK AND CLONE CAR KEY FOB, MY EPIC FAILURE...!!

HACK HC-05(BLUETOOTH MODULE) FRIMWARE INTO HID FRIMWARE

secrets of arduino atmega328p adc