Connecting remotely to the Pi
While it’s quite common to see the Raspberry Pi used as a PC in educational settings, it’s more likely that we’ll want to use it as a server of some sort, and therefore connect to it remotely, rather than set it up with its own monitor, mouse and keyboard. This is called headless mode, and it’s what we’re going to look at next.
Working with a headless Pi
To use a headless Pi, we’ll need to set it up so that we have a way of connecting it to the network and accessing it remotely. We’re going to configure a new Pi (or just rebuild the old one) to access a wireless network, and we’re going to use SSH for access, which we saw in Chapter 14, PowerShell 7 for Linux and macOS. We can set up both of these things with the Raspberry Pi Imager tool on the Pi website at https://www.raspberrypi.com/software/. Note that a lot of documentation on the internet suggests that we might want to create and edit...