Difference between revisions of "Netatalk"

From ArchWiki
Jump to: navigation, search
m (Bot: Removing from Category:HOWTOs (English))
(Configuration: Changed to uams_dhx2.so since uams_dhx.so is not compatible with Lion. uams_dhx2.so is compatible with Mac OS X 10.2 and newer.)
Line 12: Line 12:
 
Edit the afpd configuration File ({{codeline|/etc/netatalk/afpd.conf}}) and the follwing line to the very end of the file replacing the existing one:
 
Edit the afpd configuration File ({{codeline|/etc/netatalk/afpd.conf}}) and the follwing line to the very end of the file replacing the existing one:
  
{{file|name=/etc/netatalk/afpd.conf|content=...<br> - -transall -uamlist uams_randnum.so,uams_dhx.so -nosavepassword -advertise_ssh<br>...}}
+
{{file|name=/etc/netatalk/afpd.conf|content=...<br> - -transall -uamlist uams_randnum.so,uams_dhx2.so -nosavepassword -advertise_ssh<br>...}}
  
 
==Configure shared volumes==
 
==Configure shared volumes==

Revision as of 08:38, 22 July 2011

Netatalk is a free, open-source implementation of the AppleTalk (AFP) suite of protocols. It allows Unix-like operating systems to serve as file, print and time servers for Macintosh computers.

Installation

There is a netatalk package available in AUR. But the PKGBUILD should be modified to allow the faster CDB backend to be used.

Add Template:Codeline to the Template:Codeline line.

Now run makepkg and install the package.

Configuration

Edit the afpd configuration File (Template:Codeline) and the follwing line to the very end of the file replacing the existing one:

Template:File

Configure shared volumes

To add a shared volume, we have to edit the Template:Codeline-Configuration file, add a line like this:

Template:File

Warning: Avoid nesting volumes, do not share directories, which are filed under already shared directories
Note: If you you use Template:Codeline be sure to start Template:Codeline with afpd.

Enable Time-Machine Support

To enable Time-Machine-Support just add Template:Codeline to the options for the volume in Template:Codeline.

Enable Autodiscover

To enable Autodiscover (your osx systems see your netatalk-server in the finder), we have to install avahi and nss-mdns

  1. pacman -S avahi nss-mdns

Now configure the nss service (Template:Codeline) and add Template:Codeline to the Template:Codeline-line so it looks like this:

Template:File

Create a new service configuration file (Template:Codeline):

Template:File