Welcome to the 24th Raspberry Pi tutorial! Last year, I talked a bit abut the Raspberry Pi Imager and how easy it made installing Raspberry Pi and going headless. Well now, they've outdone themselves and made it even easier!
They now give you advanced options before you even write the image to your SD card and they allow you to configure items such as:
You no longer have to create a wpa_supplicant.conf file or a generic ssh file in the boot directory of your SD Card. You can set this up all in one go. Makes going headless super duper easy!
Download Raspberry Pi Imager
Get the latest version of Raspberry Pi Imager here: https://www.raspberrypi.org/downloads/
Booting your Pi with Raspberry Pi OS is easy. Once you install the Raspberry Pi Imager, run it, click on Choose OS, Pick "Raspberry Pi (other)" and select "Raspberry Pi OS Lite". This will install Pi without a desktop environment.
Advanced Options Shortcut
To look at the advanced options, click CTRL+SHIFT+X. There's no button or right clicking to get to these settings. It's kind of hidden. But just use this shortcut and open the menu below:
Choose your settings, save, write to SD card, and...that's it! Turn on your Pi and if you set a unique hostname, you should be able to SSH into it directly without needing to do anything else.
I do these projects to learn and teaching is a good way to learn. But if you do want to support me, head on over to Patreon and become a Patron: https://www.patreon.com/nazmus
If you've implemented this project, I'd like to see it! So please share it with me through any of my regular channels.
Remember to checkout the Resources section below for associated downloadable content, JSFiddle links, and other resources. Watch the video and follow along!