0
0
Iot-protocolsHow-ToBeginner · 3 min read

How to Use raspi-config on Raspberry Pi: Quick Guide

Use raspi-config by running it in the terminal with sudo raspi-config. It opens a menu where you can configure settings like network, localization, and interfaces easily.
📐

Syntax

The basic syntax to run the Raspberry Pi configuration tool is:

  • sudo raspi-config: Runs the configuration tool with administrator rights.
  • The tool opens a text-based menu to navigate and change settings.
bash
sudo raspi-config
💻

Example

This example shows how to open raspi-config and enable the SSH server for remote access.

bash
sudo raspi-config
# Navigate to 'Interfacing Options' > 'SSH' > 'Enable' > 'Finish' > Reboot if prompted
Output
Raspberry Pi Software Configuration Tool (raspi-config) 1 Change User Password 2 Network Options 3 Boot Options 4 Localisation Options 5 Interfacing Options 6 Performance Options 7 Advanced Options 8 Update Select an option:
⚠️

Common Pitfalls

Common mistakes when using raspi-config include:

  • Not running with sudo, which causes permission errors.
  • Not rebooting after changing some settings, so changes don’t apply.
  • Using arrow keys incorrectly; use Enter to select and Esc to go back.
bash
raspi-config
# Wrong: Running without sudo causes permission denied errors

sudo raspi-config
# Right: Run with sudo to access all options
📊

Quick Reference

OptionDescription
Change User PasswordUpdate the default 'pi' user password.
Network OptionsSet Wi-Fi country, hostname, and network settings.
Boot OptionsChoose boot to desktop or command line.
Localisation OptionsSet timezone, keyboard layout, and language.
Interfacing OptionsEnable or disable interfaces like SSH, SPI, I2C.
Performance OptionsAdjust CPU and GPU settings.
Advanced OptionsConfigure memory split, audio, and other advanced settings.
UpdateUpdate the raspi-config tool to the latest version.

Key Takeaways

Always run raspi-config with sudo to have full access.
Use arrow keys and Enter to navigate the menu easily.
Reboot your Raspberry Pi after changing settings to apply them.
raspi-config helps configure network, interfaces, localization, and boot options quickly.
Keep raspi-config updated using the Update option for best features.