
P A R T I
C O N N E C T I N G T H E B O A R D
94
THE RASPBERRY PI
is designed to be as controllable as possible, through the editing of
configuration files found in the
/boot
directory of the SD card. For beginners, these files can
seem dauntingly complex—although, with a little time, they soon give up their secrets—but
without them some of the more advanced features of the Pi are unavailable.
The Raspberry Pi Software Configuration Tool,
raspi-config
, is designed to solve this
problem. Offering access to the majority of common configuration tasks through a simple,
menu-based interface,
raspi-config
makes it easy for newcomers to adjust system per-
formance, change the memory split, alter overscan settings or simply change the keyboard
layout at the console.
At the time of writing,
raspi-config
is exclusive to the Raspbian Linux distribution. Work
is in progress to bring the tool’s functionality to other operating systems but for now it is
recommended that beginners stick with the well-supported Raspbian platform in order to
take advantage of this most useful of configuration tools.
WARNING
Although
raspi-config
is designed to be safe, some settings—in particular the overclock
option—can leave your Raspberry Pi unable to boot. Make sure you read each section in this
chapter carefully before you use
raspi-config
to make any changes to your Raspberry Pi.
Running the Tool
The Raspberry Pi Software Configuration Tool edits a number of files that are important to
the running of the Raspberry Pi. As a result, the tool can only be run as the
root user
, using
the
sudo
command. To load the tool, type the following command:
sudo raspi-config
If you receive an error message stating that the command is not recognised, it means that
you don’t have
raspi-config
installed. This is usually the result of using an outdated ver-
sion of Raspbian. To update your Pi, either download the latest release from the Raspberry Pi
website or run the following command:
sudo apt-get update && sudo apt-get upgrade
The text-based menu of
raspi-config
is navigated using the cursor keys: the Up and Down
arrow keys move the red selection band through the available options, while the Left and Right
arrow keys move between the option list and the Select and Finish buttons below it.
Summary of Contents for A
Page 1: ......
Page 2: ......
Page 3: ...Raspberry Pi User Guide 2nd Edition...
Page 4: ......
Page 5: ...Raspberry Pi User Guide 2nd Edition Eben Upton and Gareth Halfacree...
Page 10: ......
Page 26: ...R A S P B E R R Y P I U S E R G U I D E S E C O N D E D I T I O N 10...
Page 28: ......
Page 29: ...Chapter 1 Meet the Raspberry Pi...
Page 37: ...Chapter 2 Getting Started with the Raspberry Pi...
Page 56: ......
Page 57: ...Chapter 3 Linux System Administration...
Page 79: ...Chapter 4 Troubleshooting...
Page 89: ...Chapter 5 Network Configuration...
Page 109: ...Chapter 6 The Raspberry Pi Software Configuration Tool...
Page 122: ......
Page 123: ...Chapter 7 Advanced Raspberry Pi Configuration...
Page 140: ......
Page 141: ...Chapter 8 The Pi as a Home Theatre PC...
Page 151: ...Chapter 9 The Pi as a Productivity Machine...
Page 160: ......
Page 161: ...Chapter 10 The Pi as a Web Server...
Page 172: ......
Page 173: ...Chapter 11 An Introduction to Scratch...
Page 189: ...Chapter 12 An Introduction to Python...
Page 216: ......
Page 218: ......
Page 219: ...Chapter 13 Learning to Hack Hardware...
Page 234: ......
Page 235: ...Chapter 14 The GPIO Port...
Page 249: ...Chapter 15 The Raspberry Pi Camera Module...
Page 265: ...Chapter 16 Add on Boards...
Page 280: ......
Page 281: ...Appendix A Python Recipes...
Page 287: ...Appendix B Raspberry Pi Camera Module Quick Reference...
Page 293: ...Appendix C HDMI Display Modes...