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

Sharing folders from other computers (mount.cifs)

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

Recent Linux kernels, including the kernel used by the 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 and home file sharing devices. It is also used on OS X when sharing files.

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

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 ...

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