How to Connect to Raspberry Pi using USB Hot-spot

This is first part in a series of posts about my current Raspberry Pi Project

Photo by Vishnu Mohanan on Unsplash

I have tested the following Steps on Ubuntu Mate and Raspberry OS. Though I think it can be applied to other OS as well.

These steps can be used when you do not have any screen for Pi to connect to, and it will provide a simple terminal interface to access it.

First things first, If you do not have an OS installed on a SD card, burn your SD card with your preferable OS. I am using Raspberry OS Lite (Headless). Download the image file, connect your SD card to your PC, and use this command if you are on Ubuntu.
dd if=~/path/to/raspberryos.img of=/dev/sdb status=progress
Check the partition name using either df -h or fdisk -l

If you are using Windows, then follow my tutorial here
OR
Use Raspberry Pi Imager

Setting up SSH server —

cmdline.txt

Now that you have done setting up SSH server you can try to connect to your Pi for the first time —

Adding a host
Connecting to the host
Typing in password
Connected. Checking terminal commands

Hacking the Physical World | Senior Embedded Systems Engineer @ PiRhoAlpha Research (ActiveBuildings) | I write posts about AVR and Raspberry Pi.