Book Image

Raspberry Pi Networking Cookbook

By : Rick Golden
Book Image

Raspberry Pi Networking Cookbook

By: Rick Golden

Overview of this book

<p>The Raspberry Pi is more than just a platform for teaching students how to program computers! The recipes in this book show you how this inexpensive computer can be used out of the box for a number of practical solutions that utilize existing networks and connectivity.<br /><br />The Raspberry Pi Networking Cookbook is an essential reference full of practical solutions for use both at home and in the office. Beginning with step-by-step instructions for installation and configuration, this book can either be read from cover to cover or treated as an essential reference companion to your Raspberry Pi.<br /><br />Full of practical and engaging content designed to expand and build upon your existing skills as you work through individual recipes, any computer novice can quickly learn how to become a Raspberry Pi expert without any programming knowledge required. The Raspberry Pi Networking Cookbook will allow you to revolutionize how you use technology on a daily basis, ranging from sharing your media across multiple devices to deploying your very own web portal, or even accessing your desktop remotely.</p>
Table of Contents (12 chapters)
Raspberry Pi Networking Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Automounting a shared folder at boot


The goal of this recipe is to mount a shared folder from another computer at boot time.

The previous recipe showed how to configure /etc/fstab for mounting USB disks. This recipe shows how a similar configuration can be used to automount a Windows share at boot time (or any other set of files shared using the SMB (CIFS) protocol).

At home or at the office, it is common for a local network to have some form of Networked Attached Storage (NAS) available to network users as shared folders using the SMB (CIFS) protocol. This recipe shows how the Raspberry Pi can be configured to automatically mount a shared folder at boot time.

After completing this recipe, a shared folder from another computer will be attached to the root filesystem every time the Raspberry Pi boots.

Getting ready

The following are the ingredients:

  • A Raspberry Pi with a 5V power supply

  • An installed and configured "official" Raspbian Linux SD card

  • A network connection

  • A client PC connected to the...