Hardware
Raspberry Pi 3 Model B V1.2 or 4 Model B
Laptop or Desktop Computer
SD Card and a Reader
Network cable (Ethernet RJ45)
Power Supply for Raspberry Pi
Software
Step 1. Format the SD card
Install SD Card Formatter
Connect SD card to your computer
Format the SD card
Step 2. Write Raspberry Pi OS into the SD Card
Download Raspberry Pi Imager (version 1.7.4 for Windows)
Install an operating system using Raspberry Pi Imager. You can watch this video to learn how to install an OS using Raspberry Pi Imager.
(1) Run the imager that you just downloaded.
(2) Choose OS for Raspberry Pi OS (32-bit) and Storage for your SD card (whichever driver it is mounted on). Don't click on "Write" yet.
(3) Click on the gear icon for the advanced options:
Set hostname: raspberrypi4.local
Enable SSH, use password authentication
Set username and password: username: pi, password: raspberry
Configure wireless LAN: SSID: [wifiname], password: [wifipasswd]
(3) Click on “Write”
Wait about 10 minutes for the installation to complete.
Step 3. Connect Raspberry Pi from the laptop using a ethernet cable (no extra monitor and keyboard required)
Insert SD Card with Raspberry Pi OS to Raspberry Pi
Connect the Pi to a power source and you should see a red LED light on the Pi.
Plug one side of ethernet cable to the computer and plug the other side of ethernet cable to Raspberry Pi.
Start PuTTY
Hostname: raspberrypi4.local, Port: 22
Login as: pi, Password: raspberry
Enter the command to start a VNC virtual desktop (VNC server)
> vncserver
Note the IP address for the new desktop, raspberrypi:1 (169.254.69.234:1)
Start VNC viewer
Create a new connection to the virtual desktop 169.254.69.234:1
Username: pi and password raspberry
You should see a Raspberry Pi desktop.
Step 4. Configure the Raspberry Pi
On the Raspberry Pi desktop that you see via the VNC viewer, start the command-line window.
If you don't see the icon for the command-line window, try ctrl-alt-t to start the command-line window
On the command-line window, start the configuration app by entering:
> sudo raspi-config
Explore all options and change as you like.
To access the WiFi
Go to "System Options."
Choose "Wireless LAN"
Enter the appropriate information for SSID [WiFI Name] and password
Finish
5. Reboot the Raspberry Pi.
> sudo reboot
Step 5. Check the Internet Access from the Pi
Run Putty to connect to the Pi
Host Name: raspberrypi4.local
Port: 22
Login: pi
Password: raspberry
> vncserver
2. Run VNC Viwer using the IP address for the Pi Desktop: 169.254.69.234:1
Troubleshoot: disregard the new different IP address the vncserver command may return as it may happen when the Pi is connected to the internet and may confuse with the local IP address of the Pi.
3. Start the browser and try to connect to any website.
Troubleshoot: if you don't connec to the internet, please check if you are connected to the right WiFi.