Raspberry Pi For Dummies. Sean McManus

Чтение книги онлайн.

Читать онлайн книгу Raspberry Pi For Dummies - Sean McManus страница 20

Raspberry Pi For Dummies - Sean McManus

Скачать книгу

alt="Snapshot of the Raspberry Pi Configuration tool in the desktop."/>

      Sean McManus

      FIGURE 3-1: The Raspberry Pi Configuration tool in the desktop.

      By default, the tool opens to its System tab. The options here include

       Change the password. The default password for the username pi is raspberry.

       Change the hostname (which is the name used for this Raspberry Pi on the network).

       Control whether it boots into the desktop or the command line interface (CLI), which is explained in Chapter 5.

       Set whether the pi user is automatically logged in.

       Set the Pi to wait for the network at the start.

       Display the graphical splash screen that shows when the Pi is booting.

       Change whether the power LED on the board is constantly lit, or only when there is activity on the microSD card.

      The tool’s Display tab allows you to enable pixel doubling, so you can better see the screen output on very high-resolution displays and to enable or disable the screen blanking screensaver. You can also enable or disable underscan. Underscan and overscan change the size of the displayed screen image to optimally fill the screen. Underscan should be disabled to fill the screen if you see a black border around your screen and enabled if the desktop doesn’t all fit on the screen.

      The tool’s Interfaces tab enables you to enable or disable various connection options on your Raspberry Pi, including enabling the Raspberry Pi camera. Other options here include SSH (short for Secure Shell), which is a way of setting up a secure connection between computers, usually so that you can control one computer from another computer. The VNC software enables remote access to your Raspberry Pi with a graphical interface and is also enabled here. (For more on SSH and VNC, see “Connecting Using SSH” and “Connecting Using VNC,” later in this chapter.) The other interfaces are SPI, I2C, Serial Port, Serial Console, 1-Wire, and Remote GPIO (which enables another machine on the network to access the Pi’s GPIO pins). In most cases, you only need to change these settings if you’re using a particular add-on or working on a project that requires them.

      The tool’s Performance tab gives you access to options for overclocking and changing the GPU memory.

      So, what is overclocking, anyway? It’s when you make a computer work faster than the manufacturer recommends, by changing some of its settings. That said, the options offered to you within this tool have been chosen by the Raspberry Pi Foundation, and they have previously said they don’t expect overclocking to cause any measurable reduction in your Pi’s lifetime. The speed of the CPU is measured in MHz, and the highest overclocking setting increases the speed to 1000 MHz. You won’t necessarily be able to use the top setting: It depends on your Pi and your power supply. Overclocking is not currently supported on the Raspberry Pi 3, 4, or 400.

      If you’re using the Raspberry Pi Case Fan (see Chapter 1), you need to enable it in the Performance tab.

      The options on the tool’s Localisation tab enable you to set the character set used in your language (the locale), your time zone, the keyboard setup you want to use, and your Wi-Fi country. If you’re using the Raspberry Pi outside its home country of the U.K., you may find you need to adjust settings here, especially if you see unexpected results when using the keyboard.

      

You can adjust the mouse and keyboard sensitivity separately by going through the main menu to the mouse and keyboard settings, also in the Preferences folder.

      

If you’re using Raspberry Pi OS without the desktop, you can find an alternative tool for configuration options by typing sudo raspi-config on the command line. Note that you can’t use the mouse to move through its menus. You use up- and down-arrow keys to select different options on the screen, and left- and right-arrow keys (or Tab, which is usually above the Caps Lock key) to select actions such as OK, Cancel, Select, and Finish. Press Enter to confirm a choice.

Snapshot of adjusting the screen resolution.

Snapshot of the Bluetooth and Wi-Fi buttons, beside the volume control and clock.

      FIGURE 3-3: The Bluetooth and Wi-Fi buttons, beside the volume control and clock.

      Click a network to select it and you’re prompted to enter the Pre-shared Key, which is the Wi-Fi password. If the connection fails or drops, the Wi-Fi icon changes to an icon with two red crosses on it.

      You can test whether your connection is working by opening the web browser and visiting a web page with it (see Chapter 4).

      After you’ve set

Скачать книгу