https://wiki.archlinux.org/api.php?action=feedcontributions&user=SJ+UnderWater&feedformat=atomArchWiki - User contributions [en]2024-03-28T12:38:57ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Netatalk&diff=239270Netatalk2012-12-07T01:43:56Z<p>SJ UnderWater: /* Netatalk */ rebuild for 3.0</p>
<hr />
<div>[[Category:Networking]]<br />
[https://aur.archlinux.org/packages.php?ID=10032 Netatalk] v3.0 is a free, open-source implementation of the Apple Filing Protocol (AFP). It allows Unix-like operating systems to serve as file servers for Macintosh computers.<br />
<br />
The older version of netatalk, v2.2.3, is distributed as [https://aur.archlinux.org/packages.php?ID=59006 netatalk-ddp] and supports the Apple Macintosh network protocols, including AppleTalk (ATalk), Apple Filing Protocol (AFP), and Printer Access Protocol (PAP).<br />
<br />
==Compiling==<br />
Use either the netatalk or netatalk-ddp packages available in AUR, which have initscripts tailored for ArchLinux.<br />
<br />
===Choosing Features===<br />
With the deprecation of DDP (ATalk, PAP, timelord, and a2boot were removed in v3.0), netatalk has been divided into netatalk and netatalk-ddp. DDP is only necessary to support Mac OS <= 9, but OS X <= 10.3 will also benefit from the integration of SLP since it does not fully support Bonjour/Zeroconf. DDP would network older Macs which ran on AppleTalk instead of TCP/IP, and timelord and a2boot were for time-synchronization and Apple II booting. PAP may still be necessary for users with LaserWriter printers without TCP/IP support.<br />
<br />
A build of the netatalk AUR package will only build the "modern" features cnid_metad and afpd, with Bonjour/Zeroconf support only.<br />
<br />
To build the full complement of features with SLP support, build netatalk-ddp instead.<br />
<br />
==Installation==<br />
Install your finished package with pacman as usual, and remember to {{Ic|systemctl enable netatalk.service}}.<br />
<br />
Besides the configuration files that are installed (and checked during upgrade), netatalk may generate two files {{Ic|/etc/netatalk/afp_signature.conf}} or {{Ic|/var/state/netatalk/afp_signature.conf}} which holds the system UUID, and {{Ic|/etc/netatalk/afp_voluuid.conf}} or {{Ic|/var/state/netatalk/afp_voluuid.conf}} which holds volume UUIDs for TimeMachine. These files may remain after package removal and should be kept in most cases to disambiguate the services broadcast over the local network.<br />
===Netatalk-ddp Initscripts===<br />
{{Warning|This section is now outdated}}<br />
To emulate the init functionality of the systems fully-supported by netatalk, one initscript "netatalk" is responsible for starting and stopping the individual daemons. The script checks for the binaries available on the system, and starts them in a specific order, skipping those that are already running. The stop process occurs in reverse. To prevent ambiguity, only "netatalk" registers as a daemon with the system, but is silent, it doesn't echo any messages. The individual initscripts echo to the terminal, but don't register as daemons to prevent confusion.<br />
<br />
The individual scripts are provided for users who may want to manage the daemons at runtime or add specific arguments, but don't worry, they will obey the necessary dependencies for proper operation. If a daemon is required by others, it won't stop until its children aren't running; if a daemon has dependencies it won't start until these are met.<br />
<br />
==Configuration==<br />
===Netatalk===<br />
Netatalk 3.x uses a single configuration file, {{ic|/etc/afp.conf}}, and a single service, '''netatalk'''. Users moving from 2.x to 3.x should be aware that CNID data is no longer stored in {{ic|.AppleDB}} directories alongside the hosted data, but in {{ic|/var/state/netatalk/CNID}}. To upgrade a share, remove any {{ic|.AppleDB}} directories and rebuild with {{ic|dbd -r <path>}}.<br />
<br />
See {{ic|man afp.conf}} and the following example (ensuring processes have write access to afpd.log):<br />
{{hc|/etc/afp.conf|<br />
[Global]<br />
mimic model &#61; TimeCapsule6,106<br />
log level &#61; default:warn<br />
log file &#61; /var/log/afpd.log<br />
hosts allow &#61; 192.168.1.0/16<br />
<br />
[TimeMachine]<br />
path &#61; /mnt/timemachine<br />
valid users &#61; tmuser<br />
time machine &#61; yes<br />
<br />
[media]<br />
path &#61; /srv/share/media<br />
valid users &#61; joe sam}}<br />
{{Warning|Avoid using symbolic links in afp.conf}}<br />
<br />
===Netatalk-ddp===<br />
====System====<br />
Edit the afpd configuration file ({{Ic|/etc/netatalk/afpd.conf}}), and add a line similar to<br />
{{hc|/etc/netatalk/afpd.conf|...<br>- -mimicmodel TimeCapsule6,106 -setuplog "default log_warn /var/log/afpd.log"}}<br />
This tells netatalk to use the system's hostname, mimic a TimeCapsule, and log warnings and errors to file.<br />
====Volumes====<br />
Edit the volumes configuration file {{Ic|/etc/netatalk/AppleVolumes.default}}, and append the following to add a TimeMachine-like share<br />
{{hc|/etc/netatalk/AppleVolumes.default|...<br><path_to_share> <sharename> allow:<username> options:usedots,upriv,tm}}<br />
* The {{Ic|volsizelimit:<limit_in_whole_mebibytes>}} argument can be useful here to limit the total space reported to TimeMachine.<br />
* If you wish to turn off "home" shares, change the {{Ic|~}} line to {{Ic|#~}}. <br />
{{Warning|Avoid nesting volumes, and do not share directories by any other protocol. All file changes must be made via afpd only}}<br />
==IP Tables==<br />
If you use the iptables package for firewall services, consider adding the following: (replace {{Ic|-I}} with {{Ic|-A}} as necessary)<br />
{{hc|Bonjour/Zeroconf|iptables -I INPUT -p udp --dport mdns -d 224.0.0.251 -j ACCEPT<br />
iptables -I OUTPUT -p udp --dport mdns -d 224.0.0.251 -j ACCEPT}}<br />
{{hc|AFP|iptables -I INPUT -p tcp --dport afpovertcp -j ACCEPT}}<br />
{{hc|SLP|iptables -I INPUT -p tcp --dport slp -j ACCEPT<br />
iptables -I OUTPUT -p tcp --dport slp -j ACCEPT<br />
iptables -I INPUT -p udp --dport slp -j ACCEPT<br />
iptables -I OUTPUT -p udp --dport slp -j ACCEPT}}<br />
{{hc|AppleTalk|iptables -I INPUT -p tcp -m multiport --dport at-rtmp,at-nbp,at-echo,at-zis -j ACCEPT<br />
iptables -I OUTPUT -p tcp -m multiport --dport at-rtmp,at-nbp,at-echo,at-zis -j ACCEPT}}<br />
<br />
==Enable Bonjour/Zeroconf==<br />
Bonjour/Zeroconf is now a requirement of netatalk and is compiled by default. No configuration is necessary, netatalk will register its own services using the dbus link. Make sure you set {{Ic|-mimicmodel}} to the desired string (see {{Ic|/System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist}} on a Mac for a full list).</div>SJ UnderWaterhttps://wiki.archlinux.org/index.php?title=Netatalk&diff=239269Netatalk2012-12-07T01:20:21Z<p>SJ UnderWater: /* Installation */ updates for 3.0</p>
<hr />
<div>[[Category:Networking]]<br />
[https://aur.archlinux.org/packages.php?ID=10032 Netatalk] v3.0 is a free, open-source implementation of the Apple Filing Protocol (AFP). It allows Unix-like operating systems to serve as file servers for Macintosh computers.<br />
<br />
The older version of netatalk, v2.2.3, is distributed as [https://aur.archlinux.org/packages.php?ID=59006 netatalk-ddp] and supports the Apple Macintosh network protocols, including AppleTalk (ATalk), Apple Filing Protocol (AFP), and Printer Access Protocol (PAP).<br />
<br />
==Compiling==<br />
Use either the netatalk or netatalk-ddp packages available in AUR, which have initscripts tailored for ArchLinux.<br />
<br />
===Choosing Features===<br />
With the deprecation of DDP (ATalk, PAP, timelord, and a2boot were removed in v3.0), netatalk has been divided into netatalk and netatalk-ddp. DDP is only necessary to support Mac OS <= 9, but OS X <= 10.3 will also benefit from the integration of SLP since it does not fully support Bonjour/Zeroconf. DDP would network older Macs which ran on AppleTalk instead of TCP/IP, and timelord and a2boot were for time-synchronization and Apple II booting. PAP may still be necessary for users with LaserWriter printers without TCP/IP support.<br />
<br />
A build of the netatalk AUR package will only build the "modern" features cnid_metad and afpd, with Bonjour/Zeroconf support only.<br />
<br />
To build the full complement of features with SLP support, build netatalk-ddp instead.<br />
<br />
==Installation==<br />
Install your finished package with pacman as usual, and remember to {{Ic|systemctl enable netatalk.service}}.<br />
<br />
Besides the configuration files that are installed (and checked during upgrade), netatalk may generate two files {{Ic|/etc/netatalk/afp_signature.conf}} or {{Ic|/var/state/netatalk/afp_signature.conf}} which holds the system UUID, and {{Ic|/etc/netatalk/afp_voluuid.conf}} or {{Ic|/var/state/netatalk/afp_voluuid.conf}} which holds volume UUIDs for TimeMachine. These files may remain after package removal and should be kept in most cases to disambiguate the services broadcast over the local network.<br />
===Netatalk-ddp Initscripts===<br />
{{Warning|This section is now outdated}}<br />
To emulate the init functionality of the systems fully-supported by netatalk, one initscript "netatalk" is responsible for starting and stopping the individual daemons. The script checks for the binaries available on the system, and starts them in a specific order, skipping those that are already running. The stop process occurs in reverse. To prevent ambiguity, only "netatalk" registers as a daemon with the system, but is silent, it doesn't echo any messages. The individual initscripts echo to the terminal, but don't register as daemons to prevent confusion.<br />
<br />
The individual scripts are provided for users who may want to manage the daemons at runtime or add specific arguments, but don't worry, they will obey the necessary dependencies for proper operation. If a daemon is required by others, it won't stop until its children aren't running; if a daemon has dependencies it won't start until these are met.<br />
<br />
==Configuration==<br />
===Netatalk===<br />
Netatalk v3.0 now uses a single configuration file, {{Ic|/etc/afp.conf}}. Installing v3 will move any old config files ({{Ic|/etc/netatalk/afpd.config}}, {{Ic|/etc/netatalk/AppleVolumes.default}}) out of the way. Global options and volume definitions will need to be added to {{ic|/etc/afp.conf}}. See {{ic|man afp.conf}} for help, but here is an example:<br />
<br />
{{hc|/etc/afp.conf|<br />
[Global]<br />
hosts allow &#61; 192.168.1.0/16<br />
<br />
[TimeMachine]<br />
path &#61; /srv/share/timemachine<br />
valid users &#61; joe<br />
time machine &#61; yes<br />
<br />
[media]<br />
path &#61; /srv/share/media<br />
valid users &#61; joe sam}}<br />
<br />
In addition, the daemons init scripts have been consolidated with this version. If you have {{ic|afp}}, {{ic|cnid}}, etc in you {{ic|rc.conf}} {{ic|DAEMONS}} list, remove then. Just {{ic|netatalk}} should appear.<br />
<br />
If you have issues with {{ic|CNID}}, try rebuilding the databases. I had to remove the {{ic|.AppleDB}} files and run {{ic|dbd}}. This has the benefit of moving the {{ic|.AppleDB}} files into {{ic|/etc/netatalk/CNID}} rather than the root of the volume.<br />
<br />
{{bc|<br />
# Save the old .AppleDB files<br />
tar -cvzf /path/to/your/volume/.AppleDB<br />
rm -rf /path/to/your/volume/.AppleDB<br />
# Rebuild<br />
dbd -r /path/to/your/volume<br />
# Wait... on a large share it can take hours<br />
}}<br />
<br />
One note: '''avoid symbolic links the volume paths.''' This caused me significant headaches. Also, I was able to eliminate the {{ic|uams}} and {{ic|cnidscheme}} configuration options that were previously in my v2 configuration files. The (new) defaults worked well.<br />
<br />
===Netatalk-ddp===<br />
====System====<br />
Edit the afpd configuration file ({{Ic|/etc/netatalk/afpd.conf}}), and add a line similar to<br />
{{hc|/etc/netatalk/afpd.conf|...<br>- -mimicmodel TimeCapsule6,106 -setuplog "default log_warn /var/log/afpd.log"}}<br />
This tells netatalk to use the system's hostname, mimic a TimeCapsule, and log warnings and errors to file.<br />
====Volumes====<br />
Edit the volumes configuration file {{Ic|/etc/netatalk/AppleVolumes.default}}, and append the following to add a TimeMachine-like share<br />
{{hc|/etc/netatalk/AppleVolumes.default|...<br><path_to_share> <sharename> allow:<username> options:usedots,upriv,tm}}<br />
* The {{Ic|volsizelimit:<limit_in_whole_mebibytes>}} argument can be useful here to limit the total space reported to TimeMachine.<br />
* If you wish to turn off "home" shares, change the {{Ic|~}} line to {{Ic|#~}}. <br />
{{Warning|Avoid nesting volumes, and do not share directories by any other protocol. All file changes must be made via afpd only}}<br />
==IP Tables==<br />
If you use the iptables package for firewall services, consider adding the following: (replace {{Ic|-I}} with {{Ic|-A}} as necessary)<br />
{{hc|Bonjour/Zeroconf|iptables -I INPUT -p udp --dport mdns -d 224.0.0.251 -j ACCEPT<br />
iptables -I OUTPUT -p udp --dport mdns -d 224.0.0.251 -j ACCEPT}}<br />
{{hc|AFP|iptables -I INPUT -p tcp --dport afpovertcp -j ACCEPT}}<br />
{{hc|SLP|iptables -I INPUT -p tcp --dport slp -j ACCEPT<br />
iptables -I OUTPUT -p tcp --dport slp -j ACCEPT<br />
iptables -I INPUT -p udp --dport slp -j ACCEPT<br />
iptables -I OUTPUT -p udp --dport slp -j ACCEPT}}<br />
{{hc|AppleTalk|iptables -I INPUT -p tcp -m multiport --dport at-rtmp,at-nbp,at-echo,at-zis -j ACCEPT<br />
iptables -I OUTPUT -p tcp -m multiport --dport at-rtmp,at-nbp,at-echo,at-zis -j ACCEPT}}<br />
<br />
==Enable Bonjour/Zeroconf==<br />
Bonjour/Zeroconf is now a requirement of netatalk and is compiled by default. No configuration is necessary, netatalk will register its own services using the dbus link. Make sure you set {{Ic|-mimicmodel}} to the desired string (see {{Ic|/System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist}} on a Mac for a full list).</div>SJ UnderWaterhttps://wiki.archlinux.org/index.php?title=Netatalk&diff=212658Netatalk2012-07-11T23:20:11Z<p>SJ UnderWater: Rebuild for package split</p>
<hr />
<div>[[Category:Networking]]<br />
[https://aur.archlinux.org/packages.php?ID=10032 Netatalk] v3.0 is a free, open-source implementation of the Apple Filing Protocol (AFP). It allows Unix-like operating systems to serve as file servers for Macintosh computers.<br />
<br />
The older version of netatalk, v2.2.3, is distributed as [https://aur.archlinux.org/packages.php?ID=59006 netatalk-ddp] and supports the Apple Macintosh network protocols, including AppleTalk (ATalk), Apple Filing Protocol (AFP), and Printer Access Protocol (PAP).<br />
<br />
==Compiling==<br />
Use either the netatalk or netatalk-ddp packages available in AUR, which have initscripts tailored for ArchLinux.<br />
<br />
===Choosing Features===<br />
With the deprecation of DDP (ATalk, PAP, timelord, and a2boot were removed in v3.0), netatalk has been divided into netatalk and netatalk-ddp. DDP is only necessary to support Mac OS <= 9, but OS X <= 10.3 will also benefit from the integration of SLP since it does not fully support Bonjour/Zeroconf. DDP would network older Macs which ran on AppleTalk instead of TCP/IP, and timelord and a2boot were for time-synchronization and Apple II booting. PAP may still be necessary for users with LaserWriter printers without TCP/IP support.<br />
<br />
A build of the netatalk AUR package will only build the "modern" features cnid_metad and afpd, with Bonjour/Zeroconf support only.<br />
<br />
To build the full complement of features with SLP support, build netatalk-ddp instead.<br />
<br />
==Installation==<br />
Install your finished package with pacman as usual, and remember to add "netatalk" to the daemons list in {{Ic|/etc/rc.conf}}.<br />
<br />
Besides the configuration files that are installed (and checked during upgrade), netatalk may generate two files {{Ic|/etc/netatalk/afp_signature.conf}} or {{Ic|/opt/netatalk/afp_signature.conf}} which holds the system UUID, and {{Ic|/etc/netatalk/afp_voluuid.conf}} or {{Ic|/opt/netatalk/afp_voluuid.conf}} which holds volume UUIDs for TimeMachine. These files may remain after package removal and should be kept in most cases to disambiguate the services broadcast over the local network.<br />
===Netatalk-ddp Initscripts===<br />
To emulate the init functionality of the systems fully-supported by netatalk, one initscript "netatalk" is responsible for starting and stopping the individual daemons. The script checks for the binaries available on the system, and starts them in a specific order, skipping those that are already running. The stop process occurs in reverse. To prevent ambiguity, only "netatalk" registers as a daemon with the system, but is silent, it doesn't echo any messages. The individual initscripts echo to the terminal, but don't register as daemons to prevent confusion.<br />
<br />
The individual scripts are provided for users who may want to manage the daemons at runtime or add specific arguments, but don't worry, they will obey the necessary dependencies for proper operation. If a daemon is required by others, it won't stop until its children aren't running; if a daemon has dependencies it won't start until these are met.<br />
<br />
==Configuration==<br />
===Netatalk===<br />
Netatalk v3.0 now uses a single configuration file, {{Ic|/etc/afp.conf}}.<br />
===Netatalk-ddp===<br />
====System====<br />
Edit the afpd configuration file ({{Ic|/etc/netatalk/afpd.conf}}), and add a line similar to<br />
{{hc|/etc/netatalk/afpd.conf|...<br>- -mimicmodel TimeCapsule6,106 -setuplog "default log_warn /var/log/afpd.log"}}<br />
This tells netatalk to use the system's hostname, mimic a TimeCapsule, and log warnings and errors to file.<br />
====Volumes====<br />
Edit the volumes configuration file {{Ic|/etc/netatalk/AppleVolumes.default}}, and append the following to add a TimeMachine-like share<br />
{{hc|/etc/netatalk/AppleVolumes.default|...<br><path_to_share> <sharename> allow:<username> options:usedots,upriv,tm}}<br />
* The {{Ic|volsizelimit:<limit_in_whole_mebibytes>}} argument can be useful here to limit the total space reported to TimeMachine.<br />
* If you wish to turn off "home" shares, change the {{Ic|~}} line to {{Ic|#~}}. <br />
{{Warning|Avoid nesting volumes, and do not share directories by any other protocol. All file changes must be made via afpd only}}<br />
==IP Tables==<br />
If you use the iptables package for firewall services, consider adding the following: (replace {{Ic|-I}} with {{Ic|-A}} as necessary)<br />
{{hc|Bonjour/Zeroconf|iptables -I INPUT -p udp --dport mdns -d 224.0.0.251 -j ACCEPT<br />
iptables -I OUTPUT -p udp --dport mdns -d 224.0.0.251 -j ACCEPT}}<br />
{{hc|AFP|iptables -I INPUT -p tcp --dport afpovertcp -j ACCEPT}}<br />
{{hc|SLP|iptables -I INPUT -p tcp --dport slp -j ACCEPT<br />
iptables -I OUTPUT -p tcp --dport slp -j ACCEPT<br />
iptables -I INPUT -p udp --dport slp -j ACCEPT<br />
iptables -I OUTPUT -p udp --dport slp -j ACCEPT}}<br />
{{hc|AppleTalk|iptables -I INPUT -p tcp -m multiport --dport at-rtmp,at-nbp,at-echo,at-zis -j ACCEPT<br />
iptables -I OUTPUT -p tcp -m multiport --dport at-rtmp,at-nbp,at-echo,at-zis -j ACCEPT}}<br />
<br />
==Enable Bonjour/Zeroconf==<br />
Bonjour/Zeroconf is now a requirement of netatalk and is compiled by default. No configuration is necessary, netatalk will register its own services using the dbus link. Make sure you set {{Ic|-mimicmodel}} to the desired string (see {{Ic|/System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist}} on a Mac for a full list).</div>SJ UnderWaterhttps://wiki.archlinux.org/index.php?title=Netatalk&diff=199759Netatalk2012-04-30T02:31:52Z<p>SJ UnderWater: /* IP Tables */ added slp, appletalk</p>
<hr />
<div>[[Category:Networking]]<br />
{{i18n|Netatalk}}<br />
<br />
'''Netatalk''' v2.2.2 is a free, open-source implementation of the Apple Macintosh network protocols, including AppleTalk (ATalk), Apple Filing Protocol (AFP), and Printer Access Protocol (PAP). It allows Unix-like operating systems to serve as file, print, and time servers for Macintosh computers.<br />
<br />
==Compiling==<br />
Use the [https://aur.archlinux.org/packages.php?ID=10032 netatalk package available in AUR], which has initscripts tailored for ArchLinux.<br />
<br />
===Choosing Features===<br />
With the deprecation of DDP (ATalk, PAP, timelord, and a2boot to be removed in v3.0), netatalk has been divided into netatalk and netatalk-ddp, albeit in one (split) package. DDP is only necessary to support Mac OS <= 9, but OS X <= 10.3 will also benefit from the integration of SLP since it does not fully support Bonjour/Zeroconf. DDP would network older Macs which ran on AppleTalk instead of TCP/IP, and timelord and a2boot were for time-synchronization and Apple II booting. PAP may still be necessary for users with LaserWriter printers without TCP/IP support.<br />
<br />
A normal build of the AUR package will only build the "modern" features cnid_metad and afpd, with Bonjour/Zeroconf support only.<br />
<br />
To build the full complement of features with SLP support, run {{Ic|makepkg --pkg netatalk-ddp}} instead. The necessary dependencies will be added and resolved. When v3.0 is released, netatalk-ddp will branch to a separate maintenance package.<br />
<br />
==Installation==<br />
Install your finished package with pacman as usual, and remember to add "netatalk" to the daemons list in {{Ic|/etc/rc.conf}}.<br />
<br />
Besides the configuration files that are installed (and checked during upgrade), netatalk may generate two files {{Ic|/etc/netatalk/afp_signature.conf}} which holds the system UUID, and {{Ic|/etc/netatalk/afp_voluuid.conf}} which holds volume UUIDs for TimeMachine. These files may remain after package removal and should be kept in most cases to disambiguate the services broadcast over the local network.<br />
===Initscripts===<br />
To emulate the init functionality of the systems fully-supported by netatalk, one initscript "netatalk" is responsible for starting and stopping the individual daemons. The script checks for the binaries available on the system, and starts them in a specific order, skipping those that are already running. The stop process occurs in reverse. To prevent ambiguity, only "netatalk" registers as a daemon with the system, but is silent, it doesn't echo any messages. The individual initscripts echo to the terminal, but don't register as daemons to prevent confusion.<br />
<br />
The individual scripts are provided for users who may want to manage the daemons at runtime or add specific arguments, but don't worry, they will obey the necessary dependencies for proper operation. If a daemon is required by others, it won't stop until its children aren't running; if a daemon has dependencies it won't start until these are met.<br />
<br />
==Configuration==<br />
===System===<br />
Edit the afpd configuration file ({{Ic|/etc/netatalk/afpd.conf}}), and add a line similar to<br />
{{hc|/etc/netatalk/afpd.conf|...<br>- -mimicmodel TimeCapsule6,106 -setuplog "default log_warn /var/log/afpd.log"}}<br />
This tells netatalk to use the system's hostname, mimic a TimeCapsule, and log warnings and errors to file.<br />
===Volumes===<br />
Edit the volumes configuration file {{Ic|/etc/netatalk/AppleVolumes.default}}, and append the following to add a TimeMachine-like share<br />
{{hc|/etc/netatalk/AppleVolumes.default|...<br><path_to_share> <sharename> allow:<username> options:usedots,upriv,tm}}<br />
* The {{Ic|volsizelimit:<limit_in_whole_mebibytes>}} argument can be useful here to limit the total space reported to TimeMachine.<br />
* If you wish to turn off "home" shares, change the {{Ic|~}} line to {{Ic|#~}}. <br />
{{Warning|Avoid nesting volumes, and do not share directories by any other protocol. All file changes must be made via afpd only}}<br />
===IP Tables===<br />
If you use the iptables package for firewall services, consider adding the following: (replace {{Ic|-I}} with {{Ic|-A}} as necessary)<br />
{{hc|Bonjour/Zeroconf|iptables -I INPUT -p udp --dport mdns -d 224.0.0.251 -j ACCEPT<br />
iptables -I OUTPUT -p udp --dport mdns -d 224.0.0.251 -j ACCEPT}}<br />
{{hc|AFP|iptables -I INPUT -p tcp --dport afpovertcp -j ACCEPT}}<br />
{{hc|SLP|iptables -I INPUT -p tcp --dport slp -j ACCEPT<br />
iptables -I OUTPUT -p tcp --dport slp -j ACCEPT<br />
iptables -I INPUT -p udp --dport slp -j ACCEPT<br />
iptables -I OUTPUT -p udp --dport slp -j ACCEPT}}<br />
{{hc|AppleTalk|iptables -I INPUT -p tcp -m multiport --dport at-rtmp,at-nbp,at-echo,at-zis -j ACCEPT<br />
iptables -I OUTPUT -p tcp -m multiport --dport at-rtmp,at-nbp,at-echo,at-zis -j ACCEPT}}<br />
<br />
==Enable Bonjour/Zeroconf==<br />
Bonjour/Zeroconf is now a requirement of netatalk and is compiled by default. No configuration is necessary, netatalk will register its own services using the dbus link. Make sure you set {{Ic|-mimicmodel}} to the desired string (see {{Ic|/System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist}} on a Mac for a full list).</div>SJ UnderWaterhttps://wiki.archlinux.org/index.php?title=Netatalk&diff=199758Netatalk2012-04-30T01:59:07Z<p>SJ UnderWater: /* Configuration */ added iptables</p>
<hr />
<div>[[Category:Networking]]<br />
{{i18n|Netatalk}}<br />
<br />
'''Netatalk''' v2.2.2 is a free, open-source implementation of the Apple Macintosh network protocols, including AppleTalk (ATalk), Apple Filing Protocol (AFP), and Printer Access Protocol (PAP). It allows Unix-like operating systems to serve as file, print, and time servers for Macintosh computers.<br />
<br />
==Compiling==<br />
Use the [https://aur.archlinux.org/packages.php?ID=10032 netatalk package available in AUR], which has initscripts tailored for ArchLinux.<br />
<br />
===Choosing Features===<br />
With the deprecation of DDP (ATalk, PAP, timelord, and a2boot to be removed in v3.0), netatalk has been divided into netatalk and netatalk-ddp, albeit in one (split) package. DDP is only necessary to support Mac OS <= 9, but OS X <= 10.3 will also benefit from the integration of SLP since it does not fully support Bonjour/Zeroconf. DDP would network older Macs which ran on AppleTalk instead of TCP/IP, and timelord and a2boot were for time-synchronization and Apple II booting. PAP may still be necessary for users with LaserWriter printers without TCP/IP support.<br />
<br />
A normal build of the AUR package will only build the "modern" features cnid_metad and afpd, with Bonjour/Zeroconf support only.<br />
<br />
To build the full complement of features with SLP support, run {{Ic|makepkg --pkg netatalk-ddp}} instead. The necessary dependencies will be added and resolved. When v3.0 is released, netatalk-ddp will branch to a separate maintenance package.<br />
<br />
==Installation==<br />
Install your finished package with pacman as usual, and remember to add "netatalk" to the daemons list in {{Ic|/etc/rc.conf}}.<br />
<br />
Besides the configuration files that are installed (and checked during upgrade), netatalk may generate two files {{Ic|/etc/netatalk/afp_signature.conf}} which holds the system UUID, and {{Ic|/etc/netatalk/afp_voluuid.conf}} which holds volume UUIDs for TimeMachine. These files may remain after package removal and should be kept in most cases to disambiguate the services broadcast over the local network.<br />
===Initscripts===<br />
To emulate the init functionality of the systems fully-supported by netatalk, one initscript "netatalk" is responsible for starting and stopping the individual daemons. The script checks for the binaries available on the system, and starts them in a specific order, skipping those that are already running. The stop process occurs in reverse. To prevent ambiguity, only "netatalk" registers as a daemon with the system, but is silent, it doesn't echo any messages. The individual initscripts echo to the terminal, but don't register as daemons to prevent confusion.<br />
<br />
The individual scripts are provided for users who may want to manage the daemons at runtime or add specific arguments, but don't worry, they will obey the necessary dependencies for proper operation. If a daemon is required by others, it won't stop until its children aren't running; if a daemon has dependencies it won't start until these are met.<br />
<br />
==Configuration==<br />
===System===<br />
Edit the afpd configuration file ({{Ic|/etc/netatalk/afpd.conf}}), and add a line similar to<br />
{{hc|/etc/netatalk/afpd.conf|...<br>- -mimicmodel TimeCapsule6,106 -setuplog "default log_warn /var/log/afpd.log"}}<br />
This tells netatalk to use the system's hostname, mimic a TimeCapsule, and log warnings and errors to file.<br />
===Volumes===<br />
Edit the volumes configuration file {{Ic|/etc/netatalk/AppleVolumes.default}}, and append the following to add a TimeMachine-like share<br />
{{hc|/etc/netatalk/AppleVolumes.default|...<br><path_to_share> <sharename> allow:<username> options:usedots,upriv,tm}}<br />
* The {{Ic|volsizelimit:<limit_in_whole_mebibytes>}} argument can be useful here to limit the total space reported to TimeMachine.<br />
* If you wish to turn off "home" shares, change the {{Ic|~}} line to {{Ic|#~}}. <br />
{{Warning|Avoid nesting volumes, and do not share directories by any other protocol. All file changes must be made via afpd only}}<br />
===IP Tables===<br />
If you use the iptables package for firewall services, consider adding the following: (replace {{Ic|-I}} with {{Ic|-A}} as necessary)<br />
{{hc|Bonjour/Zeroconf|iptables -I INPUT -p udp --dport mdns -d 224.0.0.251 -j ACCEPT<br />
iptables -I OUTPUT -p udp --dport mdns -d 224.0.0.251 -j ACCEPT}}<br />
{{hc|AFP|iptables -I INPUT -p tcp --dport afpovertcp -j ACCEPT}}<br />
<br />
==Enable Bonjour/Zeroconf==<br />
Bonjour/Zeroconf is now a requirement of netatalk and is compiled by default. No configuration is necessary, netatalk will register its own services using the dbus link. Make sure you set {{Ic|-mimicmodel}} to the desired string (see {{Ic|/System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist}} on a Mac for a full list).</div>SJ UnderWaterhttps://wiki.archlinux.org/index.php?title=User:SJ_UnderWater&diff=193744User:SJ UnderWater2012-04-11T00:21:44Z<p>SJ UnderWater: Created page with "SJ_UnderWater is a freelance web developer and Mac user"</p>
<hr />
<div>SJ_UnderWater is a freelance web developer and Mac user</div>SJ UnderWaterhttps://wiki.archlinux.org/index.php?title=Netatalk&diff=193733Netatalk2012-04-10T21:24:57Z<p>SJ UnderWater: /* Initscripts */</p>
<hr />
<div>[[Category:Networking (English)]]<br />
{{i18n|Netatalk}}<br />
<br />
'''Netatalk''' v2.2.2 is a free, open-source implementation of the Apple Macintosh network protocols, including AppleTalk (ATalk), Apple Filing Protocol (AFP), and Printer Access Protocol (PAP). It allows Unix-like operating systems to serve as file, print, and time servers for Macintosh computers.<br />
<br />
==Compiling==<br />
Use the [https://aur.archlinux.org/packages.php?ID=10032 netatalk package available in AUR], which has initscripts tailored for ArchLinux.<br />
<br />
===Choosing Features===<br />
With the deprecation of DDP (ATalk, PAP, timelord, and a2boot to be removed in v3.0), netatalk has been divided into netatalk and netatalk-ddp, albeit in one (split) package. DDP is only necessary to support Mac OS <= 9, but OS X <= 10.3 will also benefit from the integration of SLP since it does not fully support Bonjour/Zeroconf. DDP would network older Macs which ran on AppleTalk instead of TCP/IP, and timelord and a2boot were for time-synchronization and Apple II booting. PAP may still be necessary for users with LaserWriter printers without TCP/IP support.<br />
<br />
A normal build of the AUR package will only build the "modern" features cnid_metad and afpd, with Bonjour/Zeroconf support only.<br />
<br />
To build the full complement of features with SLP support, run {{Ic|makepkg --pkg netatalk-ddp}} instead. The necessary dependencies will be added and resolved. When v3.0 is released, netatalk-ddp will branch to a separate maintenance package.<br />
<br />
==Installation==<br />
Install your finished package with pacman as usual, and remember to add "netatalk" to the daemons list in {{Ic|/etc/rc.conf}}.<br />
<br />
Besides the configuration files that are installed (and checked during upgrade), netatalk may generate two files {{Ic|/etc/netatalk/afp_signature.conf}} which holds the system UUID, and {{Ic|/etc/netatalk/afp_voluuid.conf}} which holds volume UUIDs for TimeMachine. These files may remain after package removal and should be kept in most cases to disambiguate the services broadcast over the local network.<br />
===Initscripts===<br />
To emulate the init functionality of the systems fully-supported by netatalk, one initscript "netatalk" is responsible for starting and stopping the individual daemons. The script checks for the binaries available on the system, and starts them in a specific order, skipping those that are already running. The stop process occurs in reverse. To prevent ambiguity, only "netatalk" registers as a daemon with the system, but is silent, it doesn't echo any messages. The individual initscripts echo to the terminal, but don't register as daemons to prevent confusion.<br />
<br />
The individual scripts are provided for users who may want to manage the daemons at runtime or add specific arguments, but don't worry, they will obey the necessary dependencies for proper operation. If a daemon is required by others, it won't stop until its children aren't running; if a daemon has dependencies it won't start until these are met.<br />
<br />
==Configuration==<br />
===System===<br />
Edit the afpd configuration file ({{Ic|/etc/netatalk/afpd.conf}}), and add a line similar to<br />
{{hc|/etc/netatalk/afpd.conf|...<br>- -mimicmodel TimeCapsule6,106 -setuplog "default log_warn /var/log/afpd.log"}}<br />
This tells netatalk to use the system's hostname, mimic a TimeCapsule, and log warnings and errors to file.<br />
===Volumes===<br />
Edit the volumes configuration file {{Ic|/etc/netatalk/AppleVolumes.default}}, and append the following to add a TimeMachine-like share<br />
{{hc|/etc/netatalk/AppleVolumes.default|...<br><path_to_share> <sharename> allow:<username> options:usedots,upriv,tm}}<br />
* The {{Ic|volsizelimit:<limit_in_whole_mebibytes>}} argument can be useful here to limit the total space reported to TimeMachine.<br />
* If you wish to turn off "home" shares, change the {{Ic|~}} line to {{Ic|#~}}. <br />
{{Warning|Avoid nesting volumes, and do not share directories by any other protocol. All file changes must be made via afpd only}}<br />
<br />
==Enable Bonjour/Zeroconf==<br />
Bonjour/Zeroconf is now a requirement of netatalk and is compiled by default. No configuration is necessary, netatalk will register its own services using the dbus link. Make sure you set {{Ic|-mimicmodel}} to the desired string (see {{Ic|/System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist}} on a Mac for a full list).</div>SJ UnderWaterhttps://wiki.archlinux.org/index.php?title=Netatalk&diff=193732Netatalk2012-04-10T21:24:47Z<p>SJ UnderWater: /* Installation */ added initscripts</p>
<hr />
<div>[[Category:Networking (English)]]<br />
{{i18n|Netatalk}}<br />
<br />
'''Netatalk''' v2.2.2 is a free, open-source implementation of the Apple Macintosh network protocols, including AppleTalk (ATalk), Apple Filing Protocol (AFP), and Printer Access Protocol (PAP). It allows Unix-like operating systems to serve as file, print, and time servers for Macintosh computers.<br />
<br />
==Compiling==<br />
Use the [https://aur.archlinux.org/packages.php?ID=10032 netatalk package available in AUR], which has initscripts tailored for ArchLinux.<br />
<br />
===Choosing Features===<br />
With the deprecation of DDP (ATalk, PAP, timelord, and a2boot to be removed in v3.0), netatalk has been divided into netatalk and netatalk-ddp, albeit in one (split) package. DDP is only necessary to support Mac OS <= 9, but OS X <= 10.3 will also benefit from the integration of SLP since it does not fully support Bonjour/Zeroconf. DDP would network older Macs which ran on AppleTalk instead of TCP/IP, and timelord and a2boot were for time-synchronization and Apple II booting. PAP may still be necessary for users with LaserWriter printers without TCP/IP support.<br />
<br />
A normal build of the AUR package will only build the "modern" features cnid_metad and afpd, with Bonjour/Zeroconf support only.<br />
<br />
To build the full complement of features with SLP support, run {{Ic|makepkg --pkg netatalk-ddp}} instead. The necessary dependencies will be added and resolved. When v3.0 is released, netatalk-ddp will branch to a separate maintenance package.<br />
<br />
==Installation==<br />
Install your finished package with pacman as usual, and remember to add "netatalk" to the daemons list in {{Ic|/etc/rc.conf}}.<br />
<br />
Besides the configuration files that are installed (and checked during upgrade), netatalk may generate two files {{Ic|/etc/netatalk/afp_signature.conf}} which holds the system UUID, and {{Ic|/etc/netatalk/afp_voluuid.conf}} which holds volume UUIDs for TimeMachine. These files may remain after package removal and should be kept in most cases to disambiguate the services broadcast over the local network.<br />
===Initscripts===<br />
To emulate the init functionality of the systems fully-supported by netatalk, one initscript "netatalk" is responsible for starting and stopping the individual daemons. The script checks for the binaries available on the system, and starts them in a specific order, skipping those that are already running. The stop process occurs in reverse. To prevent ambiguity, only "netatalk" registers as a daemon with the system, but is silent, it doesn't echo any messages. The individual initscripts echo to the terminal, but don't register as daemons to prevent confusion.<br />
The individual scripts are provided for users who may want to manage the daemons at runtime or add specific arguments, but don't worry, they will obey the necessary dependencies for proper operation. If a daemon is required by others, it won't stop until its children aren't running; if a daemon has dependencies it won't start until these are met.<br />
<br />
==Configuration==<br />
===System===<br />
Edit the afpd configuration file ({{Ic|/etc/netatalk/afpd.conf}}), and add a line similar to<br />
{{hc|/etc/netatalk/afpd.conf|...<br>- -mimicmodel TimeCapsule6,106 -setuplog "default log_warn /var/log/afpd.log"}}<br />
This tells netatalk to use the system's hostname, mimic a TimeCapsule, and log warnings and errors to file.<br />
===Volumes===<br />
Edit the volumes configuration file {{Ic|/etc/netatalk/AppleVolumes.default}}, and append the following to add a TimeMachine-like share<br />
{{hc|/etc/netatalk/AppleVolumes.default|...<br><path_to_share> <sharename> allow:<username> options:usedots,upriv,tm}}<br />
* The {{Ic|volsizelimit:<limit_in_whole_mebibytes>}} argument can be useful here to limit the total space reported to TimeMachine.<br />
* If you wish to turn off "home" shares, change the {{Ic|~}} line to {{Ic|#~}}. <br />
{{Warning|Avoid nesting volumes, and do not share directories by any other protocol. All file changes must be made via afpd only}}<br />
<br />
==Enable Bonjour/Zeroconf==<br />
Bonjour/Zeroconf is now a requirement of netatalk and is compiled by default. No configuration is necessary, netatalk will register its own services using the dbus link. Make sure you set {{Ic|-mimicmodel}} to the desired string (see {{Ic|/System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist}} on a Mac for a full list).</div>SJ UnderWaterhttps://wiki.archlinux.org/index.php?title=Netatalk&diff=193393Netatalk2012-04-09T05:28:34Z<p>SJ UnderWater: /* Installation */ clarification</p>
<hr />
<div>[[Category:Networking (English)]]<br />
'''Netatalk''' v2.2.2 is a free, open-source implementation of the Apple Macintosh network protocols, including AppleTalk (ATalk), Apple Filing Protocol (AFP), and Printer Access Protocol (PAP). It allows Unix-like operating systems to serve as file, print, and time servers for Macintosh computers.<br />
<br />
==Compiling==<br />
Use the [https://aur.archlinux.org/packages.php?ID=10032 netatalk package available in AUR], which has initscripts tailored for ArchLinux.<br />
<br />
===Choosing Features===<br />
With the deprecation of DDP (ATalk, PAP, timelord, and a2boot to be removed in v3.0), netatalk has been divided into netatalk and netatalk-ddp, albeit in one (split) package. DDP is only necessary to support Mac OS <= 9, but OS X <= 10.3 will also benefit from the integration of SLP since it does not fully support Bonjour/Zeroconf. DDP would network older Macs which ran on AppleTalk instead of TCP/IP, and timelord and a2boot were for time-synchronization and Apple II booting. PAP may still be necessary for users with LaserWriter printers without TCP/IP support.<br />
<br />
A normal build of the AUR package will only build the "modern" features cnid_metad and afpd, with Bonjour/Zeroconf support only.<br />
<br />
To build the full complement of features with SLP support, run {{Ic|makepkg --pkg netatalk-ddp}} instead. The necessary dependencies will be added and resolved. When v3.0 is released, netatalk-ddp will branch to a separate maintenance package.<br />
<br />
==Installation==<br />
Install your finished package with pacman as usual, and remember to add "netatalk" to the daemons list in {{Ic|/etc/rc.conf}}.<br />
<br />
Besides the configuration files that are installed (and checked during upgrade), netatalk may generate two files {{Ic|/etc/netatalk/afp_signature.conf}} which holds the system UUID, and {{Ic|/etc/netatalk/afp_voluuid.conf}} which holds volume UUIDs for TimeMachine. These files may remain after package removal and should be kept in most cases to disambiguate the services broadcast over the local network.<br />
<br />
==Configuration==<br />
===System===<br />
Edit the afpd configuration file ({{Ic|/etc/netatalk/afpd.conf}}), and add a line similar to<br />
{{hc|/etc/netatalk/afpd.conf|...<br>- -mimicmodel TimeCapsule6,106 -setuplog "default log_warn /var/log/afpd.log"}}<br />
This tells netatalk to use the system's hostname, mimic a TimeCapsule, and log warnings and errors to file.<br />
===Volumes===<br />
Edit the volumes configuration file {{Ic|/etc/netatalk/AppleVolumes.default}}, and append the following to add a TimeMachine-like share<br />
{{hc|/etc/netatalk/AppleVolumes.default|...<br><path_to_share> <sharename> allow:<username> options:usedots,upriv,tm}}<br />
* The {{Ic|volsizelimit:<limit_in_whole_mebibytes>}} argument can be useful here to limit the total space reported to TimeMachine.<br />
* If you wish to turn off "home" shares, change the {{Ic|~}} line to {{Ic|#~}}. <br />
{{Warning|Avoid nesting volumes, and do not share directories by any other protocol. All file changes must be made via afpd only}}<br />
<br />
==Enable Bonjour/Zeroconf==<br />
Bonjour/Zeroconf is now a requirement of netatalk and is compiled by default. No configuration is necessary, netatalk will register its own services using the dbus link. Make sure you set {{Ic|-mimicmodel}} to the desired string (see {{Ic|/System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist}} on a Mac for a full list).</div>SJ UnderWaterhttps://wiki.archlinux.org/index.php?title=Netatalk&diff=193391Netatalk2012-04-09T05:23:33Z<p>SJ UnderWater: /* Enable Bonjour/Zeroconf */</p>
<hr />
<div>[[Category:Networking (English)]]<br />
'''Netatalk''' v2.2.2 is a free, open-source implementation of the Apple Macintosh network protocols, including AppleTalk (ATalk), Apple Filing Protocol (AFP), and Printer Access Protocol (PAP). It allows Unix-like operating systems to serve as file, print, and time servers for Macintosh computers.<br />
<br />
==Compiling==<br />
Use the [https://aur.archlinux.org/packages.php?ID=10032 netatalk package available in AUR], which has initscripts tailored for ArchLinux.<br />
<br />
===Choosing Features===<br />
With the deprecation of DDP (ATalk, PAP, timelord, and a2boot to be removed in v3.0), netatalk has been divided into netatalk and netatalk-ddp, albeit in one (split) package. DDP is only necessary to support Mac OS <= 9, but OS X <= 10.3 will also benefit from the integration of SLP since it does not fully support Bonjour/Zeroconf. DDP would network older Macs which ran on AppleTalk instead of TCP/IP, and timelord and a2boot were for time-synchronization and Apple II booting. PAP may still be necessary for users with LaserWriter printers without TCP/IP support.<br />
<br />
A normal build of the AUR package will only build the "modern" features cnid_metad and afpd, with Bonjour/Zeroconf support only.<br />
<br />
To build the full complement of features with SLP support, run {{Ic|makepkg --pkg netatalk-ddp}} instead. The necessary dependencies will be added and resolved. When v3.0 is released, netatalk-ddp will branch to a separate maintenance package.<br />
<br />
==Installation==<br />
Install your finished package with pacman as usual, and remember to add "netatalk" to the daemons list in {{Ic|/etc/rc.conf}}.<br />
<br />
==Configuration==<br />
===System===<br />
Edit the afpd configuration file ({{Ic|/etc/netatalk/afpd.conf}}), and add a line similar to<br />
{{hc|/etc/netatalk/afpd.conf|...<br>- -mimicmodel TimeCapsule6,106 -setuplog "default log_warn /var/log/afpd.log"}}<br />
This tells netatalk to use the system's hostname, mimic a TimeCapsule, and log warnings and errors to file.<br />
===Volumes===<br />
Edit the volumes configuration file {{Ic|/etc/netatalk/AppleVolumes.default}}, and append the following to add a TimeMachine-like share<br />
{{hc|/etc/netatalk/AppleVolumes.default|...<br><path_to_share> <sharename> allow:<username> options:usedots,upriv,tm}}<br />
* The {{Ic|volsizelimit:<limit_in_whole_mebibytes>}} argument can be useful here to limit the total space reported to TimeMachine.<br />
* If you wish to turn off "home" shares, change the {{Ic|~}} line to {{Ic|#~}}. <br />
{{Warning|Avoid nesting volumes, and do not share directories by any other protocol. All file changes must be made via afpd only}}<br />
<br />
==Enable Bonjour/Zeroconf==<br />
Bonjour/Zeroconf is now a requirement of netatalk and is compiled by default. No configuration is necessary, netatalk will register its own services using the dbus link. Make sure you set {{Ic|-mimicmodel}} to the desired string (see {{Ic|/System/Library/CoreServices/CoreTypes.bundle/Contents/Info.plist}} on a Mac for a full list).</div>SJ UnderWaterhttps://wiki.archlinux.org/index.php?title=Netatalk&diff=193372Netatalk2012-04-08T23:14:10Z<p>SJ UnderWater: /* Choosing Features */ clarification</p>
<hr />
<div>[[Category:Networking (English)]]<br />
'''Netatalk''' v2.2.2 is a free, open-source implementation of the Apple Macintosh network protocols, including AppleTalk (ATalk), Apple Filing Protocol (AFP), and Printer Access Protocol (PAP). It allows Unix-like operating systems to serve as file, print, and time servers for Macintosh computers.<br />
<br />
==Compiling==<br />
Use the [https://aur.archlinux.org/packages.php?ID=10032 netatalk package available in AUR], which has initscripts tailored for ArchLinux.<br />
<br />
===Choosing Features===<br />
With the deprecation of DDP (ATalk, PAP, timelord, and a2boot to be removed in v3.0), netatalk has been divided into netatalk and netatalk-ddp, albeit in one (split) package. DDP is only necessary to support Mac OS <= 9, but OS X <= 10.3 will also benefit from the integration of SLP since it does not fully support Bonjour/Zeroconf. DDP would network older Macs which ran on AppleTalk instead of TCP/IP, and timelord and a2boot were for time-synchronization and Apple II booting. PAP may still be necessary for users with LaserWriter printers without TCP/IP support.<br />
<br />
A normal build of the AUR package will only build the "modern" features cnid_metad and afpd, with Bonjour/Zeroconf support only.<br />
<br />
To build the full complement of features with SLP support, run {{Ic|makepkg --pkg netatalk-ddp}} instead. The necessary dependencies will be added and resolved. When v3.0 is released, netatalk-ddp will branch to a separate maintenance package.<br />
<br />
==Installation==<br />
Install your finished package with pacman as usual, and remember to add "netatalk" to the daemons list in {{Ic|/etc/rc.conf}}.<br />
<br />
==Configuration==<br />
===System===<br />
Edit the afpd configuration file ({{Ic|/etc/netatalk/afpd.conf}}), and add a line similar to<br />
{{hc|/etc/netatalk/afpd.conf|...<br>- -mimicmodel TimeCapsule6,106 -setuplog "default log_warn /var/log/afpd.log"}}<br />
This tells netatalk to use the system's hostname, mimic a TimeCapsule, and log warnings and errors to file.<br />
===Volumes===<br />
Edit the volumes configuration file {{Ic|/etc/netatalk/AppleVolumes.default}}, and append the following to add a TimeMachine-like share<br />
{{hc|/etc/netatalk/AppleVolumes.default|...<br><path_to_share> <sharename> allow:<username> options:usedots,upriv,tm}}<br />
* The {{Ic|volsizelimit:<limit_in_whole_mebibytes>}} argument can be useful here to limit the total space reported to TimeMachine.<br />
* If you wish to turn off "home" shares, change the {{Ic|~}} line to {{Ic|#~}}. <br />
{{Warning|Avoid nesting volumes, and do not share directories by any other protocol. All file changes must be made via afpd only}}<br />
<br />
==Enable Bonjour/Zeroconf==<br />
Bonjour/Zeroconf is now a requirement of netatalk and is compiled by default. No configuration is necessary, netatalk will register its own services using the dbus link. Make sure you set {{Ic|-mimicmodel}} to the desired string (see {{Ic|/System/Library/CoreSerivces/CoreTypes.bundle/Contents/Info.plist}} on a Mac for a full list).</div>SJ UnderWaterhttps://wiki.archlinux.org/index.php?title=Netatalk&diff=193371Netatalk2012-04-08T23:05:54Z<p>SJ UnderWater: rebuild for 2.2.2</p>
<hr />
<div>[[Category:Networking (English)]]<br />
'''Netatalk''' v2.2.2 is a free, open-source implementation of the Apple Macintosh network protocols, including AppleTalk (ATalk), Apple Filing Protocol (AFP), and Printer Access Protocol (PAP). It allows Unix-like operating systems to serve as file, print, and time servers for Macintosh computers.<br />
<br />
==Compiling==<br />
Use the [https://aur.archlinux.org/packages.php?ID=10032 netatalk package available in AUR], which has initscripts tailored for ArchLinux.<br />
<br />
===Choosing Features===<br />
With the deprecation of DDP (ATalk, PAP, timelord, and a2boot), which will be completely removed in v3.0, netatalk has been divided into netatalk and netatalk-ddp, albeit in one (split) package. A normal build of the AUR package will only build the "modern" features cnid_metad and afpd, with Bonjour/Zeroconf support only.<br />
<br />
To build the full complement of features with SLP support, run {{Ic|makepkg --pkg netatalk-ddp}} instead. The necessary dependencies will be added and resolved. When v3.0 is released, netatalk-ddp will branch to a separate maintenance package.<br />
<br />
==Installation==<br />
Install your finished package with pacman as usual, and remember to add "netatalk" to the daemons list in {{Ic|/etc/rc.conf}}.<br />
<br />
==Configuration==<br />
===System===<br />
Edit the afpd configuration file ({{Ic|/etc/netatalk/afpd.conf}}), and add a line similar to<br />
{{hc|/etc/netatalk/afpd.conf|...<br>- -mimicmodel TimeCapsule6,106 -setuplog "default log_warn /var/log/afpd.log"}}<br />
This tells netatalk to use the system's hostname, mimic a TimeCapsule, and log warnings and errors to file.<br />
===Volumes===<br />
Edit the volumes configuration file {{Ic|/etc/netatalk/AppleVolumes.default}}, and append the following to add a TimeMachine-like share<br />
{{hc|/etc/netatalk/AppleVolumes.default|...<br><path_to_share> <sharename> allow:<username> options:usedots,upriv,tm}}<br />
* The {{Ic|volsizelimit:<limit_in_whole_mebibytes>}} argument can be useful here to limit the total space reported to TimeMachine.<br />
* If you wish to turn off "home" shares, change the {{Ic|~}} line to {{Ic|#~}}. <br />
{{Warning|Avoid nesting volumes, and do not share directories by any other protocol. All file changes must be made via afpd only}}<br />
<br />
==Enable Bonjour/Zeroconf==<br />
Bonjour/Zeroconf is now a requirement of netatalk and is compiled by default. No configuration is necessary, netatalk will register its own services using the dbus link. Make sure you set {{Ic|-mimicmodel}} to the desired string (see {{Ic|/System/Library/CoreSerivces/CoreTypes.bundle/Contents/Info.plist}} on a Mac for a full list).</div>SJ UnderWater