Raspberry Pi For Dummies. Sean McManus. Читать онлайн. Newlib. NEWLIB.NET

Автор: Sean McManus
Издательство: John Wiley & Sons Limited
Серия:
Жанр произведения: Компьютерное Железо
Год издания: 0
isbn: 9781119796879
Скачать книгу
the software updates available.

      When the setup is complete, you have the option to restart now, so any changes you’ve made to the settings take effect, or to restart later. We recommend you restart now.

      For most of the rest of this book, we assume that you’re using Raspberry Pi OS with the desktop. It’s the most user-friendly option and the best way to get started with the Pi.

      When your Pi has finished booting, you should be in the desktop environment. You’ll learn more about this topic in Chapter 4, but for now, let’s take a look at how you use it to finish setting up your Pi or adjust its settings in the future.

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.

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