Introduction

This is the chapter web page to support the content in Chapter 2 of the book: Exploring Raspberry Pi – Interfacing to the Real World with Embedded Linux. The summary introduction to the chapter is as follows:

In this chapter, you are introduced to the Linux operating system and software tools that can be used with the Raspberry Pi (RPi). This chapter aims to ensure that you can connect to your board over a network or serial connection and control it using basic Linux commands. RPi-specific configuration tools are examined for customizing and for updating the software on your board. By the end of this chapter, you should be able to control an onboard system LED having followed a step-by-step guide that demonstrates how you can use Linux shell commands in a Linux terminal window. The chapter finishes with a discussion on how to shut down or reset the board safely and correctly.

Learning Outcomes

After completing this chapter, you should be able to:

  • Communicate with the RPi from your desktop computer using a network connection.
  • Communicate with the RPi using a fallback serial connection with a USB to-TTL 3.3 V cable.
  • Interact with and control the RPi using simple Linux commands.
  • Perform basic file editing using a Linux shell terminal.
  • Manage Linux packages and set the system time.
  • Use RPi-specific utilities to further configure the RPi.
  • Use Linux sysfs to affect the state of the RPi onboard LEDs.
  • Safely shut down and reboot the RPi.

Digital Media Resources

Here the digital resources referred to in the chapter web page are provided. There are high-resolution versions of some of the important figures and links to videos, resources and websites that are described in the chapter.

Raspberry Pi Poster

The Raspberry Pi Poster is available for download as high-resolution PNG raster format and a high-resolution PDF vector-mapped format images using the following links:

The poster images are large format images that have been rendered for an A3 page size, which is 11.69″ x 16.53″ (29.7cm x 42.0cm) in dimension.

External Resources

Zenmap is described in the chapter as a tool for scanning your network to find a network-attached Raspberry Pi. You are searching for an entry that has one open ports (e.g., 22 for SSH). It may also identify itself with The Raspberry Pi Foundation. You can see the Zenmap application in action in the image to the left where 192.168.1.116 is the location of the Raspberry Pi on my network.

Important Documents

Important Web Sites

  • The Raspberry Pi Foundation website: This provides the main support for the RPi platform, with blogs, software guides, community links, and downloads to support your development. See raspberrypi.org.

Recommended Books on the Content in this Chapter

       

Errata

None for the moment