This content originally appeared on DEV Community and was authored by Amal Satheesan
Requirements
- Raspberry Pi (all models)
- Memory card (16GB or larger recommended)
- SD Card adapter
- LAN cable
- Power adapter
Disclaimer:
You can use any operating system of your choice. I'll be demonstrating with Arch Linux, but the steps are applicable across different OSes.
Installing the Operating System
Start by downloading your preferred Raspberry Pi operating system here. If you prefer another ARM-based OS, feel free to download it instead.
Flashing the OS
To flash the OS onto your SD card, download Raspberry Pi Imager from here or from their GitHub repository for other systems.
- Connect the SD card to your computer.
- Open Raspberry Pi Imager.
- Select your device.
- Choose the downloaded OS.
- Select the SD card as the storage location.
- Configure hostname, username, and password.
- Enable SSH.
- Write the image to the SD card.
Setting Up Remote Access
After flashing:
- Create an empty file named
ssh
(without an extension) in thebootfs
directory of the SD card. - Eject the SD card and insert it into your Raspberry Pi.
- Power on the Raspberry Pi.
- Connect your laptop to the Raspberry Pi using a LAN cable.
Using PuTTY and VNC Viewer
Download PuTTY for SSH access and VNC Viewer for a graphical interface.
- Open PuTTY and connect using
<hostname>.local
. - Accept the connection and log in with the previously set credentials.
Enabling VNC
To enable VNC for graphical access:
sudo raspi-config
Navigate to:
- Display options: Set a resolution.
- Interface options: Enable VNC.
Access VNC by typing <hostname>.local
into your browser's address bar.
Logging in via Command Line/Terminal
To access the Raspberry Pi via terminal:
ssh <username>@<hostname>.local
or
ssh <username>@<ip_address_of_pi>
Stay tuned for more exciting projects and tutorials in my Raspberry Pi series! Happy tinkering!
This content originally appeared on DEV Community and was authored by Amal Satheesan
Amal Satheesan | Sciencx (2024-06-27T17:48:52+00:00) Setting Raspberry Pi with Laptop. Retrieved from https://www.scien.cx/2024/06/27/setting-raspberry-pi-with-laptop/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.