Configure the Raspberry Pi – beginner guide

Configure Your Raspberry Pi After Installation – Beginner’s Guide, Part 3

In Part 2 you wrote Raspberry Pi OS to your card with Raspberry Pi Imager and booted the Pi for the first time. If you filled in the customisation settings along the way, most of the setup is already done. To configure Raspberry Pi OS from here, you only need to install updates, check the language and know where to change settings later. This guide reflects Raspberry Pi OS as of November 2026, with raspi-config 20261026 and Raspberry Pi Imager 2.0.

In short

If you used Imager’s customisation settings, your user and password, hostname, Wi-Fi, time zone, keyboard and, if you turned it on, SSH are already set. All that’s left is installing updates and, if British English isn’t what you want, changing the language.

  • No customisation: on the desktop, the setup wizard has already set the language and, if the Pi was online, installed updates. Set the hostname and SSH yourself if you need them.
  • Changing things later: use the Control Centre on the desktop, or run sudo raspi-config in a terminal or over SSH.
  • No default password: there hasn’t been one to change since 2022. You log in with the user you created yourself.
  • Remote desktop: see Part 4 (VNC), or use Raspberry Pi Connect in your browser.

What Part 2 has already taken care of

What’s set up on first boot depends on whether you filled in Imager’s customisation settings or went through the setup wizard on the desktop instead. The table covers both cases and shows where to change each setting later.

SettingWith Imager customisationWith the setup wizard (desktop, no customisation)Change it later
User and passwordyesyesControl Centre → System, raspi-config S3, passwd
Hostnameyesno, stays raspberrypiControl Centre → System, raspi-config S4
Wi-Fi and Wi-Fi countryyesyesWi-Fi icon in the taskbar, raspi-config S1 and L4, nmcli
SSHyes, if you turned it onno, stays offControl Centre → Interfaces, raspi-config I1
Time zone and keyboardyesyesControl Centre → Localisation, raspi-config L2 and L3
Languageno, stays British EnglishyesControl Centre → Localisation, raspi-config L1
Updatesnoyes, if the Pi is onlinesudo apt update and sudo apt full-upgrade

Codes like S3 or L1 are menu entries in raspi-config, which the next section introduces. If you skipped customisation and run Raspberry Pi OS Lite with a monitor and keyboard, the Pi asks for a username and password on the console the first time it boots. You then set everything else using the options in the last column. Without a monitor, there’s no user account yet, and without one you can’t log in over SSH either. Enable SSH on Raspberry Pi explains how to fix that without a monitor in its section on setting up without Imager. For the updates, the Pi needs an internet connection.

Two tools: the Control Centre and raspi-config

You can change these settings with one of two programs. On the desktop, the Control Centre is the easier option. In a terminal, over SSH or on Raspberry Pi OS Lite, which has no desktop, you use raspi-config. Both change the same settings.

The Control Centre on the desktop

Click the Raspberry Pi icon in the taskbar and open Preferences → Control Centre. Three of its tabs matter here: System for your password and hostname, Localisation for language, time zone, keyboard and Wi-Fi country, and Interfaces for the SSH, VNC, SPI and I2C switches. The tab list is longer than the window, so use the arrows at the top and bottom to scroll through it. There’s no OK button; you close the window with Close. On systems from before October 2025, the same tabs live in a program called Raspberry Pi Configuration.

raspi-config in a terminal or over SSH

raspi-config is a menu that runs in the terminal. It needs admin rights and quits straight away without sudo:

sudo raspi-config

You control it entirely with the keyboard. The arrow keys move through the menu and Enter opens an entry. Tab jumps to the buttons at the bottom: Select and Back in the submenus, Select and Finish in the main menu. Esc takes you back one level from a submenu. The menus are always in English, whatever language the system uses.

raspi-config main menu in the terminal, listing 1 System Options to 9 About raspi-config, with the Select and Finish buttons
The raspi-config main menu: pick an entry with the arrow keys, press Tab to reach Select and Finish.

Always leave raspi-config with Finish. After some changes, such as a new hostname, it then asks whether you want to reboot. Pressing Esc in the main menu closes raspi-config immediately and skips the reboot prompt.

You’ll need three of the main menus here: 1 System Options, 3 Interface Options and 5 Localisation Options. For everything else, including how to use raspi-config in scripts without the menu, see our raspi-config guide.

Step 1: Update the system

If you let the setup wizard install updates on the desktop, your system is already current and you can skip this step. If you used Imager’s customisation, run the updates yourself in a terminal or over SSH. On the desktop, click the Terminal icon in the taskbar to open one. The first command fetches the latest list of available packages:

sudo apt update

The second one installs the updates. apt shows you what’s going to change first; press Y and Enter to go ahead:

sudo apt full-upgrade

Raspberry Pi recommends full-upgrade over plain apt upgrade, because upgrade holds back any package that would need another package installed or removed. The first run can take a while, depending on how many updates there are and how fast your connection is. When it’s done, reboot so that things like a new kernel get loaded:

sudo reboot

How often to update, and what to watch out for when moving to a new Raspberry Pi OS release, is covered in Update Raspberry Pi OS.

Step 2: Check language, time zone and keyboard

Imager sets the time zone and keyboard layout, but not the language. Unless you went through the setup wizard, Raspberry Pi OS stays on its default, British English. That suits plenty of readers, but if you’re in the US you’ll probably want US date formats and spelling. Two commands show what’s currently set. The first lists the language settings:

locale

If the LANG line says en_GB.UTF-8, the system is set to British English. The second command shows the time and time zone; the Time zone line should show your own zone, for example America/New_York:

timedatectl

If you’re at the Pi, check the keyboard by typing a few symbols such as @, " and # in the terminal. If anything other than what’s printed on the keys shows up, the layout is wrong.

Change the language

Only change the language if you want menus and messages in something other than British English. If that suits you, skip this part.

On the desktop, open the Localisation tab in the Control Centre, click Set Locale… and pick, for example, en under Language and US under Country.

In raspi-config, go to 5 Localisation Options → L1 Locale. The list is long, so type a letter to jump ahead. Highlight en_US.UTF-8 UTF-8, press the space bar until an asterisk appears next to it, then press Enter. On the next screen, choose en_US.UTF-8 as the system default. Or skip the menu and do it all with one command:

sudo raspi-config nonint do_change_locale en_US.UTF-8

Then reboot with sudo reboot. raspi-config won’t prompt you here, but the new language only applies everywhere after a restart.

Change the time zone and keyboard

You only need this if the values from Imager are wrong. On the desktop, the Localisation tab has Set Timezone… and Set Keyboard… buttons; in raspi-config, use 5 Localisation Options → L2 Timezone and L3 Keyboard. In the terminal, this lists every time zone name:

timedatectl list-timezones

Then set yours, here using New York as an example:

sudo timedatectl set-timezone America/New_York

And this switches to the US keyboard layout:

sudo raspi-config nonint do_configure_keyboard us

Changing settings later

Every setting can be changed on the desktop or in raspi-config. For your password and Wi-Fi there’s also a quick command, and for SSH there’s the command to connect.

Change your password

There’s no default password you need to change: since April 2022, you create your own user and password during setup. It’s still worth changing if you picked a weak one, especially with SSH turned on, or if you bought the Pi second-hand or with the system already installed.

  • On the desktop: Control Centre, System tab, Change Password…
  • In raspi-config: 1 System Options → S3 Password
  • In the terminal: passwd. It asks for your current password, then for the new one twice. Nothing shows up on screen while you type; that’s normal.

Forgot your password? Raspberry Pi default passwords and password reset walks you through getting back in.

Change the hostname

The hostname is the name your Pi shows up under on the network, for example in your router’s device list. Without Imager customisation, it’s raspberrypi. You can use the letters a to z, digits and hyphens, but a hyphen can’t come first or last, and spaces or other characters aren’t allowed. Sticking to lowercase is the safest choice, for example homeserver.

  • On the desktop: Control Centre, System tab, Change Hostname…
  • In raspi-config: 1 System Options → S4 Hostname. When you leave with Finish, raspi-config offers to reboot; choose Yes.

After a reboot, you can reach the Pi on your home network by its new name followed by .local, such as homeserver.local.

Don’t change the hostname with hostnamectl

Some guides use sudo hostnamectl set-hostname homeserver. That only changes the hostname itself. The old name stays in /etc/hosts, and from then on every sudo command complains “sudo: unable to resolve host homeserver”. raspi-config updates both, so use it instead. Already used the command? Set the name once more in raspi-config under S4 Hostname, or change the 127.0.1.1 line in /etc/hosts to the new name.

Change the Wi-Fi network

On the desktop, click the Wi-Fi icon in the taskbar, pick the network and enter the password. In raspi-config, go to 1 System Options → S1 Wireless LAN and enter the network name (SSID), then the password. raspi-config only asks for the Wi-Fi country if none is set yet, and Imager’s customisation already sets it.

In the terminal, network connections are handled by NetworkManager, which you control with nmcli. This shows the Wi-Fi networks in range:

nmcli device wifi list

This connects the Pi to a network. Put in your own network name and Wi-Fi password:

sudo nmcli device wifi connect "MyNetwork" password "MyPassword"

The connection is saved and comes back after every reboot. To see your saved connections:

nmcli connection show

Keep in mind that this way your Wi-Fi password ends up in the terminal’s command history. If you’d rather avoid that, use raspi-config. Hidden networks and troubleshooting are covered in Set up Wi-Fi on Raspberry Pi.

Turn on SSH and connect

SSH lets you control the Pi over the network from a terminal window on your computer. If you didn’t turn it on in Imager, you can do it now. On the desktop, open the Control Centre’s Interfaces tab and switch on SSH. In raspi-config, choose 3 Interface Options → I1 SSH and answer Yes to “Would you like the SSH server to be enabled?”. SSH starts right away; there’s no need to reboot.

On your computer, open PowerShell (Windows) or Terminal (macOS, Linux) and connect with your own username and the Pi’s hostname:

ssh username@hostname.local

The first time you connect, SSH asks whether you trust the Pi (“Are you sure you want to continue connecting”). Type yes and press Enter. Then enter your password; nothing shows up on screen while you type.

If your computer can’t find the name, use the Pi’s IP address from your router’s device list instead, for example ssh username@192.168.1.50. If you’re sitting at the Pi, hostname -I shows the address. More options are in Find your Raspberry Pi’s IP address.

On your home network, a strong password is enough. Logging in with an SSH key is safer, and if the Pi is reachable from the internet, you should turn off password logins altogether. Enable SSH on Raspberry Pi shows you how to do both.

Interfaces for electronics projects: SPI and I2C

Many sensors, displays and other parts you wire to the GPIO pins talk to the Pi over SPI or I2C. Both interfaces are off by default. Turn them on in the Control Centre’s Interfaces tab, or in raspi-config under 3 Interface Options → I4 SPI or I5 I2C. They work straight away and stay on after a reboot.

This command tells you whether SPI is running. You should see /dev/spidev0.0 and /dev/spidev0.1:

ls /dev/spidev*

For I2C there’s a tool called i2cdetect. It comes with the desktop version; on Raspberry Pi OS Lite, install it first:

sudo apt install i2c-tools

This then prints a grid with the address of every device connected to the I2C pins:

sudo i2cdetect -y 1

Wiring and Python examples are in Enable SPI and I2C on Raspberry Pi.

Remote access: which option for what

There are three ways to reach your Pi from another computer, each with its own setup guide.

What forOptionHow to turn it onGuide
Terminal on your home networkSSHraspi-config I1, or the SSH switch in the Control CentreEnable SSH on Raspberry Pi
Desktop on your home networkVNC with the preinstalled wayvnc server, TigerVNC on your computerraspi-config I3, or the VNC switch in the Control Centre. The Pi has to boot to the desktop.Part 4: Set up VNC
Desktop or terminal in your browser, from anywhereRaspberry Pi Connect, with a free Raspberry Pi IDraspi-config I2 RPi ConnectSet up Raspberry Pi Connect

Connect can only share the screen on the standard Raspberry Pi OS desktop. On Raspberry Pi OS Lite you get the terminal in your browser, but no desktop.

Optional: automatic security updates

If your Pi runs around the clock, say as a small home server, it can install security updates on its own. That’s the job of the unattended-upgrades package, which doesn’t come preinstalled on Raspberry Pi OS. Two commands install it:

sudo apt update
sudo apt install unattended-upgrades

Installing the package already turns on daily automatic updates. To double-check, run the next command and answer Yes when it asks about automatic updates:

sudo dpkg-reconfigure -plow unattended-upgrades
What unattended-upgrades leaves out

Out of the box, the package only installs updates from the Debian archive. The kernel, the firmware and everything else from the Raspberry Pi archive, such as Raspberry Pi’s own build of the Chromium browser, are not included. Keep installing those regularly with sudo apt update and sudo apt full-upgrade. If your Pi is reachable from the internet, Secure your Raspberry Pi covers the rest.

Troubleshooting

ProblemCauseFix
SSH says “Connection refused”The SSH service is offTurn on SSH in the Control Centre (Interfaces) or under 3 Interface Options → I1 SSH; no reboot needed
Wi-Fi won’t connect, or raspi-config shows “There was an error running option S1 Wireless LAN”Wrong password, the Pi is out of range, or the Wi-Fi country is missing or wrongCheck the password, including upper and lower case, move the Pi closer to the router, and set the country under 5 Localisation Options → L4 WLAN Country
“sudo: unable to resolve host …” after changing the hostnameThe hostname was changed with hostnamectl, and /etc/hosts still has the old nameSet the hostname again in raspi-config under 1 System Options → S4 Hostname, which fixes /etc/hosts
Wrong language or date formatThe system is still on the default locale, en_GB.UTF-8Change it under 5 Localisation Options → L1 Locale or in the Control Centre, then reboot. raspi-config’s own menus are always in English.
Wrong timeWrong time zone, or the Pi isn’t online: it sets its clock over the internetCheck the time zone with timedatectl and make sure the network connection works
hostname -I shows no IP addressThe Pi isn’t connected by cable or Wi-FiCheck the network cable or set up Wi-Fi again (S1 or nmcli)
“raspi-config: command not found”The Pi is running a different operating system, such as Ubunturaspi-config only exists on Raspberry Pi OS; details in our raspi-config guide

Conclusion and what’s next

After Imager’s customisation from Part 2, you’re down to two jobs: installing updates and, if British English isn’t what you want, switching the language. Everything else you change as needed in the Control Centre or in raspi-config. In the next part, you’ll control the Pi’s desktop from your computer: Part 4: Set up VNC. If you also want to reach the Pi when you’re away from home, Raspberry Pi Connect in your browser is the alternative.

Frequently asked questions about configuring your Pi after installation

Do I need to set anything up after installing Raspberry Pi OS?

If you used the customisation settings in Raspberry Pi Imager, your user, password, hostname, Wi-Fi, time zone, keyboard and, if you turned it on, SSH are already set. That leaves installing updates and, if needed, changing the language. Without customisation, a setup wizard guides you through the settings the first time the desktop starts.

What is the default password for a Raspberry Pi?

There hasn’t been one since April 2022. Raspberry Pi dropped the old pi user with the password raspberry, and you now create your own user and password during setup. You can change the password with the passwd command or in the Control Centre under System. If you’ve forgotten it, it can be reset.

How do I connect to my Raspberry Pi over SSH?

Turn on SSH in Imager under Remote access, or later in raspi-config under 3 Interface Options → I1 SSH. Then connect from PowerShell or Terminal with ssh username@hostname.local, using your own username and the Pi’s hostname. If the name doesn’t work, use the IP address from your router’s device list.

How do I set up Wi-Fi on Raspberry Pi OS?

On the desktop, use the Wi-Fi icon in the taskbar. In raspi-config, go to 1 System Options → S1 Wireless LAN. In the terminal, run nmcli device wifi connect followed by the network name, the word password and your Wi-Fi password. NetworkManager handles the connections and restores them after every reboot.

How do I update Raspberry Pi OS?

Run sudo apt update, then sudo apt full-upgrade. Raspberry Pi recommends full-upgrade over apt upgrade because only full-upgrade also updates packages that bring in new dependencies. Then reboot with sudo reboot so that things like a new kernel get loaded.

How do I change the language or locale on a Raspberry Pi?

On the desktop, go to Localisation → Set Locale… in the Control Centre. In raspi-config, use 5 Localisation Options → L1 Locale, or run sudo raspi-config nonint do_change_locale en_US.UTF-8 to switch to US English. Reboot afterwards. raspi-config’s own menus stay in English.

Further reading

Similar Posts