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

Picture of 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

WilliamC341 (author)2017-11-05

It would be nice to have more than just access to the logged in user's home directory. Sure you can setup other directories but it is no small challenge opening up the compete storage system of the PI over NetATalk... which would allow full modification of the PI from a modern OS and modern tools...

TrumanP (author)2017-08-29

For some reason, I'm unable to write to the external hard drive that's attached to the Pi, from my macbook if I open the networked external drive. It's not write enabled anymore, and I'm not sure why, as nothing has changed (aside from standard updates every so often, running sudo apt-get update and upgrade.)

mrworth (author)2017-05-23

worked! Thank You!

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!

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

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 :-)

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.

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?

laurel2k (author)laurel2k2016-11-10

Fixed it! Damn firewall :)

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.

PaulH303 (author)2016-08-14

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

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

So useful! Thanks!

Hoodahmahn1 made it! (author)2016-06-01

Thanks for sharing! Very useful.

ivandima made it! (author)2016-03-27

Step by step instructions and it's working great!

ivandima made it! (author)2016-03-27

Step by step instructions and it's working great!

About This Instructable

46,145views

34favorites

License:

More by paulopine:How to share files between Mac OSX and Raspberry PiLego Dashboard Mount for Raspberry Pi
Add instructable to: