Book Image

Raspberry Pi Networking Cookbook - Second Edition

By : Rick Golden
Book Image

Raspberry Pi Networking Cookbook - Second Edition

By: Rick Golden

Overview of this book

<p>With increasing interest in Maker Projects and the Internet of Things (IoT), students, scientists, and hobbyists are using the Raspberry Pi as a reliable, inexpensive platform to connect local devices to Internet services.</p> <p>This book begins with recipes that are essential to installing the Raspberry Pi and configuring it for network access. Then it continues with recipes on installing common networking services such as firewalls and file sharing.</p> <p>The final chapters include recipes for network monitoring, streaming data from the Raspberry Pi to IoT services, and using clusters of Raspberry Pis to store and analyze large volumes of data.</p>
Table of Contents (14 chapters)
Raspberry Pi Networking Cookbook Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


The recipes in this chapter are for the basic administration of the Raspberry Pi. This chapter starts with a recipe that shows how you can use the sudo command to execute other commands that require superuser privileges. The next three recipes use the raspi-config command-line tool to complete the following three initial configuration tasks:

  • Expanding the filesystem to use all the space on an SD card

  • Changing the memory allocation for better performance

  • Enabling remote access to the Raspberry Pi

The following two recipes show how the Raspberry Pi can be accessed remotely:

  • Using the SSH command-line client from Linux or Mac OS X computers

  • Using the PuTTY client from Windows computers

The final three recipes in this chapter, which are as follows, are for user administration:

  • How to change the password of the default user whose username is pi

  • How to create a new user login

  • How to add a user to the privileged sudo user group

Once you've completed this chapter, you will be able to administer...