Language: EN

configurar-raspberry-pi

How to set up Raspberry Pi with GUI or command line

We continue with the Raspberry Pi tutorials. We have already seen how to install Raspbian (or another OS) through Etcher or with Noobs. Now it’s time to configure our Raspberry Pi.

Within the configuration, we include options to change language, location, enable or disable interfaces, change the resolution, or boot options.

In the next entry, we will see how to manage users and change passwords, so we exclude this from the Raspberry Pi configuration because it deserves its own entry.

Fortunately, in the current versions of Raspbian, the process of setting up a Raspberry Pi has been greatly simplified, as a graphical configuration window has been added to the GUI.

Nevertheless, the previous method of setting up from the command line is still maintained, through a window with options similar to the one available in the GUI. We will see both methods in this post.

We will assume that we have just installed the Raspberry Pi, so it is still in English. Therefore, the instructions and windows we see will be in English, to make it easier to follow. At the end of the entry, you will have your Raspberry Pi configured in the language you want.

Configure Raspberry Pi from GUI

As we mentioned earlier, in the current versions of Raspbian, the process of configuring the Raspberry Pi has been greatly simplified since we have a configuration window with all the available options.

This window is available from the start menu, under Preferences/Raspberry Pi Configuration.

raspberry-pi-configuracion-01

We access a window that has four different tabs.

raspberry-pi-configuracion-02

In the first one, we can change the password, the device name, adjust boot options, and change the resolution.

raspberry-pi-configuracion-a

In the second tab, we have the interface options. From here, we can activate very important functions of the Raspberry Pi, such as remote access via SSH or VPN, the interface with the camera, communication buses (SPI, I2C, Serial, and 1-Wire), or remote GPIO control.

raspberry-pi-configuracion-b

In the third tab, we have the performance options. Basically, the option to overclock our Raspberry Pi and change the memory dedicated to the GPU (graphics card).

raspberry-pi-configuracion-c

The fourth and last tab has the location options and has four buttons. It is advisable to go through all four to configure the regional options of the Raspberry Pi.

raspberry-pi-configuracion-d

With the first button, Set Locale, we change the language and region of the Raspberry Pi. In the second button, Set TimeZone, we change the time zone.

raspberry-pi-configuracion-e

The third button, Set Keyboard, allows us to change the keyboard layout (well, Spanish speakers, we have the letter ‘Ñ’ again).

raspberry-pi-configuracion-f

Finally, with the fourth button, Set Wifi Country, we choose our region again. This simply adjusts certain Wifi parameters as some countries have different regulations regarding electromagnetic emission and use of Wifi channels.

raspberry-pi-configuracion-g

Configure Raspberry Pi from command line

It is also possible that we want to configure the Raspberry Pi from the command line. This may be because we have chosen an OS without a GUI, because we are accessing via SSH, or simply because we like to use the command line.

Since the first version of the Raspberry Pi, before having a graphical window for configuration, Raspbian has always had a console utility to configure the Raspberry Pi.

To access, from a command line, we run the command

sudo raspi-config

raspberry-pi-configuracion-03

A window appears in which, basically, we have the same options as we have seen in the previous section in the case of the graphical window.

raspberry-pi-configuracion-04

We simply scroll through the different menus and submenus with the cursor keys, and modify the options we want.

We have now configured our Raspberry Pi. In the next entry, we will spend some time managing users and passwords, a basic and necessary security measure in any installation.