πŸ› οΈ Raspberry Pi – raspi-config Tool Explained (2025 Beginner Guide)


🧲 Introduction – What Is raspi-config?

raspi-config is the official configuration tool for Raspberry Pi OS. It provides a simple text-based interface that allows users to customize system settings like Wi-Fi, SSH, display, localization, performance, and moreβ€”without editing system files manually.

🎯 In this guide, you’ll learn:

  • How to launch and use raspi-config
  • All available configuration options explained
  • Practical use cases (enable SSH, change hostname, expand filesystem)
  • Best practices for beginners and advanced users

πŸš€ How to Launch raspi-config

Open your Raspberry Pi terminal and run:

sudo raspi-config

You’ll see a menu-based interface with numbered sections. Use arrow keys to navigate, Enter to select, and Esc to exit.


πŸ“š raspi-config Main Menu Options

Here’s a complete breakdown of what each option does:

πŸ”’ Menu OptionπŸ” Purpose
1. System OptionsHostname, Boot behavior, Auto-login, Time zone
2. Display OptionsResolution, overscan, screen blanking
3. Interface OptionsEnable/disable SSH, VNC, SPI, I2C, Serial, Camera
4. Performance OptionsOverclocking, GPU memory allocation
5. Localisation OptionsLanguage, keyboard layout, time zone, Wi-Fi country
6. Advanced OptionsExpand filesystem, fan control, bootloader, custom hostname
7. UpdateUpdate raspi-config tool to latest version

βœ… Each option modifies core OS settings safelyβ€”ideal for both beginners and power users.


πŸ” Enable SSH for Headless Access

To remotely control your Pi:

sudo raspi-config
β†’ Interface Options
β†’ SSH
β†’ Enable

Then connect from another machine using:

ssh pi@<ip-address>

βœ… Essential for headless Raspberry Pi projects.


πŸ“‘ Connect to Wi-Fi via raspi-config

sudo raspi-config
β†’ System Options
β†’ Wireless LAN

Enter your SSID and password, and your Pi will auto-connect on boot.


πŸ’» Set Hostname & Auto-Login

To change your Pi’s name on the network:

sudo raspi-config
β†’ System Options
β†’ Hostname

To auto-login into desktop or CLI:

β†’ System Options
β†’ Boot / Auto Login

Choose:

  • Desktop GUI with auto-login
  • CLI with or without login prompt

🧠 Enable GPIO Interfaces (SPI, I2C, Serial, Camera)

For hardware and sensor projects:

sudo raspi-config
β†’ Interface Options
β†’ Choose SPI / I2C / Serial / Camera
β†’ Enable

πŸ”Œ Useful for robotics, displays, and GPIO-based controls.


πŸ§ͺ Expand Filesystem

Make full use of your SD card:

sudo raspi-config
β†’ Advanced Options
β†’ Expand Filesystem

βœ… Run this after first boot to avoid space limitations.


🌍 Set Locale, Keyboard, and Timezone

Localization options for your region:

sudo raspi-config
β†’ Localisation Options

Set:

  • Language (e.g., en_US.UTF-8)
  • Keyboard (e.g., US, UK)
  • Timezone (Asia/Kolkata, UTC, etc.)
  • Wi-Fi country (e.g., IN, US)

πŸ’‘ Overclock (Optional – Use with Caution)

If you’re using active cooling, you can push your Pi’s performance:

sudo raspi-config
β†’ Performance Options
β†’ Overclock

Options depend on the Pi model. ⚠️ Use responsibly and monitor temperatures.


πŸ”„ Update raspi-config

To get the latest features:

sudo raspi-config
β†’ Update

OR

sudo apt update
sudo apt install raspi-config

πŸ“Œ Summary – Recap & Next Steps

raspi-config is the Swiss Army knife of Raspberry Pi configuration. It saves time, prevents mistakes, and helps you optimize your system with just a few keystrokes.

πŸ” Key takeaways:

  • Launch with sudo raspi-config from terminal
  • Configure SSH, Wi-Fi, hostname, GPIO, locale, and more
  • Essential for headless setups and performance tuning
  • Safe and user-friendly alternative to editing config files manually

βš™οΈ Real-world relevance: From setting up servers to robotics and remote access, raspi-config is used in almost every Raspberry Pi project.


❓ FAQs – Raspberry Pi raspi-config Tool

❓ Can I use raspi-config on Raspberry Pi OS Lite?

βœ… Yes! It’s fully functional even on headless setupsβ€”no desktop required.


❓ How do I reset raspi-config settings?

βœ… Simply rerun the tool:

sudo raspi-config

You can reconfigure any setting again.


❓ Is raspi-config only for Raspberry Pi OS?

βœ… Yes, it’s optimized for Raspberry Pi OS. It may not work on other distros like Ubuntu or Arch Linux for ARM.


❓ How do I enable SPI or I2C from the command line?

βœ… Use:

sudo raspi-config β†’ Interface Options

Or manually edit /boot/config.txt.


❓ Does raspi-config require sudo?

βœ… Yes. It changes system files, so administrative privileges are required.


Share Now :
Share

πŸ› οΈ Raspberry Pi – raspi-config Tool

Or Copy Link

CONTENTS
Scroll to Top