Linux & Apple Talk

Issue:

Had just built a server for a customer to backup from a NAS on their network to this server which will be off site.

Problem:

The NAS runs in AFP (Appletalk File Protocol)!
To get the Linux box to see the AFP shares on the NAS:

  1. Need to compile and install afpfs-ng, version 0.8.1 from http://sourceforge.net/projects/afpfs-ng/
  2. yum install libgcrypt libgmp readline readline-devel fuse fuse-devel ncurses-devel

 

So to make this work!

I had to add a Centos Plus repository to my /etc/yum.repos.d/CentOS-Base.repo.

[centosplus]
name=Inhouse Access Updatesrepository
baseurl=http://office.wizbiz.net.nz/mrepo/centos5.3-i386/RPMS.centosplus

Then we needed to install the CentOS Plus Kernel

yum install kernel-2.6.18-128.7.1.el5.centos.plus

The kernel you may need to install may be newer than this.

Now reboot and load the server with this kernel.

  1. Download the netatalk-2.0.4.tar.gz file from sourceforge http://netatalk.sourceforge.net/ or what ever is the current stable.
  2. Unpack this archive tar -zxf netatalk-2.0.4.tar.gz -C .
  3. Change Directors to this cd netatalk-2.0.4
  4. Run ./configure -enable-redhat
  5. Run make
  6. Run make install
  7. You will now have a new file called /etc/init.d/atalk
  8. help documentation online http://netatalk.sourceforge.net/2.0/htmldocs/
  9. /usr/local/etc/netatalk/atalkd.conf can remain blank.