Raspberry Pi board

When you power up a Raspberry Pi for the first time you are presented with a menu of optional actions that you can take to make changes to its basic configuration. You can make as many or as few of these changes now, or return later by re-running the script, or by making the changes manually. To re-run the script later, type

sudo raspi-config

A typical menu is shown below. The format changes periodically but you'll need to work through each top-level menu item to find the settings you want to change.

raspi-config main menu

Almost Certainly

  1. 1 - Password
  2. N1 - Hostname
  3. N2 - WiFi settings
  4. B1 - Boot into GUI or command line


  1. P1 - Camera
  2. P2 - Enable SSH
  3. P4 - Enable SPI interface
  4. P5 - Enable I²C interface

Each menu item is discussed below:

Step 1

info provides a little more information about this set-up tool.

Step 2

expand_rootfs makes a change to the root filesystem so that it will expand to use any unallocated space on the SD card. This change will occur when the Pi reboots.

Step 3

overscan controls how the video picture is displayed on your monitor and this option allows you to enable or disable it.

Step 4

configure_keyboard allows you to choose the type of keyboard you are using. A list of different keyboard types and layouts are shown and you need to choose the one that best matches yours.

Step 5

change_pass lets you change the password for the user "pi".

Step 6

change_locale lets you change the system's locale setting. This sets the language and character encoding to be used. The default is en_GB.UTF-8.

Step 7

change_timezone lets you change the system's timezone. By default it is UTC.

Step 8

memory_split lets you change how the memory is split between main system and the GPU.

Step 9

overclock lets you change the processor's running frequency. Increasing the frequency can damage the processor permanently.

Step 10

ssh enables or disables ssh. Enabling ssh will allow you to connect to your Pi from another ssh-enabled computer - this could be a Pi, Linux system, PC, iPhone or any device that will run ssh and can connect to your Pi using Ethernet. ssh replaces the original telnet which was insecure and is now deprecated.

Step 11

boot_behaviour lets you choose whether to start the X-Windows application and display the GUI or leave you at the command prompt. If you choose to remain at the command prompt, you can always starts X-Windows with the startx command.

Step 12

update lets you bring your Pi software up to date before you start using it.