Configuring Raspberry Pi OS
Now we are connected, let's do a few things to prepare the Raspberry Pi for use, such as changing the user password and changing the hostname to make the Pi more secure.
We can perform many of these tasks with the raspi-config
tool, a menu system to perform configuration tasks on Raspberry Pi OS. We start it with another tool, sudo
, which runs raspi-config
as root, a master user. Refer to the following command:
sudo raspi-config
The raspi-config
interface will appear, as shown in Figure 4.5:
Now we've accessed raspi-config
, we can use it to change some of the settings on the Raspberry Pi.
Renaming your Pi
Every fresh Raspberry Pi image is called raspberrypi. If there is more than one of those in a room, your computer will not be able to find yours. It's time to think of a name. For now, we'll use myrobot
, but I am sure you can think of something better...