Introduction: How to Share Files Between Mac OSX and Raspberry Pi

What we are going to use is the Netatalk

http://netatalk.sourceforge.net

Step 1: Installation

Installation:

sudo apt-get update

sudo apt-get install netatalk

Step 2: Configuration

-Stop the service:

sudo /etc/init.d/netatalk stop

-Open the configuration file:

sudo nano /etc/netatalk/AppleVolumes.default

-You can edit the mount folder if you wish or leave the default value:

~/ "Home Directory"

-Start the service again

sudo /etc/init.d/netatalk start

Step 3: Open the Finder

Open the Finder on your mac and you will be able to see the raspberry pi with a few seconds in the Navigation Pane.

Use the button "Connect As..." at the right top of the Finder.

Comments

author
mrworth (author)2017-05-23

worked! Thank You!

author
TrumanP (author)2017-04-22

UPDATE- I got it working. Just needed to use "afp://[Pi IP address]". Updated my applevolumes.default to include the volume for the external hard drive and voila! I'm in business!

author
TrumanP (author)2017-04-22

I've followed the steps but the Pi isn't showing up from my macbook. I can get the logon prompt if I use "Connect to Server" and type in the IP of the Pi, but it won't let me connect using the "pi" username and the password I've set.

Though I've commented out my external hard drive temporarily, while I'm just working to get it sharing properly to my mac, the contents of my applevolumes.default is:

# The line below sets some DEFAULT, starting with Netatalk 2.1.
:DEFAULT: options:upriv,usedots,rw

# By default all users have access to their home directories.

~/ "Home Directory"

/mnt "Mount"

# /mnt/library "Pi External Hard Drive"

# End of File

Contents of my /etc/fstab is seen in the attached image.

Any ideas??

00000142.png
author
g6nhu made it! (author)2017-01-11

All done, dead easy. It may be obvious but it's worth mentioning that the commands above should be run on the Pi, not the Mac :-)

netatalk.png
author
JonC123 (author)2016-11-27

Thanks for the guide. I gave this a shot and after signing in with `pi:raspberry`. I can see the shares but when I try and access one I get:

> The operation can't be completed because the original item for "home" can't be found.

author
laurel2k (author)2016-11-10

Followed instructions, netatalk installed fine and is running. Opened up Finder and see my pi3 but cannot connect. Any ideas how to fix?

error.jpeg
author
laurel2k (author)laurel2k2016-11-10

Fixed it! Damn firewall :)

author
slanwar (author)2016-11-07

Worked fine but how I share the external drive? I use my RPi3 as a media server and when I add another movie I need to shutdown unplug the hard drive and pug in on my mac to move the files.

author
PaulH303 (author)2016-08-14

Perfect !! Installed painlessly and works like a charm. :-)

author
jshaw made it! (author)2016-06-13

So useful! Thanks!

Screen Shot 2016-06-13 at 1.37.04 PM.png
author
Hoodahmahn1 made it! (author)2016-06-01

Thanks for sharing! Very useful.

Screenshot 2016-06-01 21.24.40.png
author
ivandima made it! (author)2016-03-27

Step by step instructions and it's working great!

Screen Shot 2016-03-27 at 1.15.57 PM.png
author
ivandima made it! (author)2016-03-27

Step by step instructions and it's working great!

Screen Shot 2016-03-27 at 1.15.57 PM.png