According to Cordell

Setting up AFP for OSX 10.8.2 <---> Ubuntu 11.10


Set up Netatalk to use afp between my Mountain Lion desktop and my Ubuntu file server.

Relevant Details

Hackintosh OSX desktop running 10.8.2 Ubuntu Server running Ubuntu 11.10 Oneric


All of this is on the Ubuntu File server. Setting up the afp Mountain Lion client is trivial. Simply connect to server in Finder with the address afp://{ip of your file server}.

Before installing netatalk it is necessary to add the repository to get the most up to date version. At that point you can install netatalk as normal.

    sudo add-apt-repository ppa:jstrunk-math/ppa
    sudo apt-get install netatalk
The following configuration changes need to be made in the following files:

In /etc/netatalk/afpd.conf:

- -tcp -noddp -uamlist, -nosavepassword

In /etc/netatalk/AppleVolumes.default you need to set up whatever you would like to share. The config file itself is very detailed on the various options. I went with the defaults, and a minimal config line:

{real path in system} {Name that it will be exported as} allow:{username}

Save that configuration file, restart the netatalk deamon and it should be working.


Initially I was pleased, file permissions were better handled with afp over nfs. Additionally, it performs faster than samba, and probably about equivalent to nfs. However, a short “stress” test with multiple running neural analyses seems to have caused my fileserver to crash. Since rebooting, it has worked well for streaming video.