O'Reilly logo

Raspberry Pi Networking Cookbook - Second Edition by Rick Golden

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 4. File Sharing

In this chapter, we will cover:

  • Mounting USB disks (pmount)
  • Accessing another computer's files (smbclient)
  • Sharing folders from other computers (mount.cifs)
  • Auto-mounting USB disks at boot (/etc/fstab)
  • Auto-mounting a shared folder at boot
  • Creating a file server (Samba)
  • Sharing an attached USB disk (Samba)

Introduction

The Raspberry Pi recipes in this chapter are for sharing files with other computers on the same local network.

The chapter begins with a recipe for mounting USB disks that are attached to the Raspberry Pi. The next recipes show how files are exchanged with other computers using the SMB (CIFS) protocol. Then, there are two recipes showing how disks can be automatically mounted during boot. The chapter ends with a couple ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required