Skip to content

Instantly share code, notes, and snippets.

@Ttech
Created June 28, 2012 04:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Ttech/3009049 to your computer and use it in GitHub Desktop.
Save Ttech/3009049 to your computer and use it in GitHub Desktop.
Netatalk AFPd Configuration file for 3.0x
; Netatalk 3.x configuration file
;
; This creates two shares for you to use
; the first share is a "Dropbox" to use
; the second share is a Time Machine
[Global]
; Global server settings
hostname = "$h"
;login message = "Welcome"
; something about this does not work or help at all
mimic model = MacPro
; this is the only way to get Mac OS X Lion to register it? Seems the only thing that worked
zeroconf = yes
; I enabled guest for the dropbox, however if you are just using a time machine, you can (and probably should disable it)
uam list = uams_guest.so uams_dhx.so uams_dhx2.so
guest account = nobody
[Time Machine]
path = /var/timemachine
valid users = (user,here)
time machine = yes
[Dropbox]
path=/media/dropbox/
Netatalk is a great piece of software, and it implements AFP quite well. Previous versions
of Netatalk contained many legacy programs and daemons that provided support for old
computers (such as the Apple II). However with version 3.0x these have been removed and
a much lighter set of daemons can now be found. The configuration is much simpler however in
my tests this not only makes it easier to use, but it works a lot better then the previous
versions. If you are a user of Netatalk on ArchLinux, this version seems to be working while
the 2.2.x versions seem not to be.
I am now using Time Machine though the network with this small configuration file.
Hopefully it helps someone.
@elliot-wood
Copy link

mimic model doesn't work in your configuration because it expects a full Apple model identifier. You can use something like MacPro5,1 (Mac Pro mid-2012) or Xserve3,1 (Xserve early-2009) or even something ridiculous like iPhone2,1 (iPhone 3GS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment