- Download the image from https://www.raspberrypi.org/downloads/raspberry-pi-os/
- Flash the image by using https://www.balena.io/etcher/
- Once the flashing completed, create a new
ssh
file insideboot
folder.
touch ssh
- Add details inside
wpa_supplicant.conf
file(File Location :/boot/wpa_supplicant.conf
)
vi wpa_supplicant.conf
# add the following details
#
# ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
# update_config=1
# country=US
#
# network={
# ssid="wifi"
# psk="password"
# key_mgmt=WPA-PSK
# }
#
#
- Save the file and insert memmory card in ras-pi
sudo apt-get install arp-scan
sudo arp-scan 192.168.1.0/24
- Create a new ssh coonection to the ras-pi by
ssh pi@192.168.3.11
default username: pi
default password: raspberry
- Download and install vnc server
sudo apt-get update
sudo apt-get install tightvncserver
- Set one time password for the VNC Server
tightvncserver
- Set the
VNC
resolution
vncserver :1 geometry 1024x768
- Enter the ip address in the following format
sudo apt install tigervnc-viewer
vncviewer <ip>:<display/port>
Example
vncviewer 192.168.0.8:2