O'Reilly logo

Raspberry Pi Networking Cookbook 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

Sharing folders from other computers (mount.cifs)

This recipe shows how to mount folders that have been shared on another computer.

Recent Linux kernels, including the "official" Raspbian Linux distribution for the Raspberry Pi, have built-in support for mounting shared folders using the SMB (CIFS) protocol. This is the file-sharing protocol used commonly by Windows computers.

This is the simplest recipe for mounting a shared folder from the command line.

Once you've completed this recipe, you will be able to share files with other computers on the same network using the SMB (CIFS) protocol.

Note

SMB and CIFS are synonyms for the same file-sharing protocol.

Getting ready

The following are the ingredients:

  • A Raspberry Pi with a 5V power supply
  • An installed ...

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