Go Back

Samba file shares on Raspberry Pi

Posted: 

Most of the time I use SSH to interface with my Raspberry pis, including CyberDuck for moving files. However, there are certain operations that require an old fashion file share.

Login to Raspberry Pi

From your favorite terminal app, login with ssh

Make sure you have Samba installed


Configure Samba

We’re going to add a share called *Music*.

Edit the file /etc/samba/smb.conf

At the bottom of the file, add something like this:


Create a samba user


Restart Samba


Connect to Samba share from macOS

From the Finder

  • Go to *Go > Connect to Server*
  • Enter the address with the smb prefix (eg. smb://192.168.1.x)
  • Click the + button to add it as a favorite (have to do this for it to ask for username and password for some reason...)
  • Enter samba username and password you created earlier

Access from Terminal in macOS

You should now be able to access the share at