Creating a file server (Samba)

This recipe shows how the Raspberry Pi can be configured to become a file server on the local network.

The Raspberry Pi, with attached file storage, functions well as a file server. Such a file server could be used as a central location for sharing files and documents, for storing backups of other computers, and for storing large media files, such as photo, music, and video files.

This recipe installs and configures samba and samba-common-bin. The Samba software distribution package, samba, contains a server for the SMB (CIFS) protocol used by modern computers for setting up shared drives or shared folders. The samba-common-bin package contains a small collection of utilities for managing access to shared files.

The ...

Get Raspberry Pi Networking Cookbook - Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.