This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
netatalk
Netatalk is a free, open-source implementation of the Apple Filing Protocol. It allows Unix-like operating systems to serve as file, print and time servers for Macintosh computers.
Installation
Emerge
Install net-fs/netatalk:
root #
emerge --ask net-fs/netatalk
Configuration
In this example, the icon model that appears on clients is a Mac Pro and all private IPv4 hosts are allowed access to a Time Machine volume.
Create the /mnt/storage/TimeMachine folder:
root #
mkdir /mnt/storage/TimeMachine
Allow all users read+write access. In practice a more secure configuration should be used with uam list = "uams_dhx.so uams_dhx2.so"
root #
chmod 777 /mnt/storage/TimeMachine
Edit /etc/afp.conf:
/etc/afp.conf
[Global] mimic model = MacPro hosts allow = 10.0.0.0/8 172.16.0.0/20 192.168.0.0/16 uam list = uams_guest.so [TimeMachine] path = /mnt/storage/TimeMachine time machine = yes
Usage
Services
To start netatalk:
root #
/etc/init.d/netatalk start
To start netatalk at boot:
root #
rc-update add netatalk default