Netatalk Setup
From Linuxhelp Wiki
nodomtap
| Author: | Chris W. |
| Created On: | December 1st, 2001 |
| Updated On: | January 24th, 2005 |
Contents |
Introduction
Allowing Macs to connect to a Linux box with Netatalk - aka atalk. Netatalk is the software used by Macs to connect to a Linux box for file sharing purposes, just like a Windows box uses Samba.
This is a rather short and easy guide to getting this to work. So it should not be to hard to follow. Here we go.
Obtaining the Software
You can obtain the Netatalk RPM from a number of sources including the Redhat CDROM. If you are using a different distribution, then check on your CD for a copy. This guide presumes you have the RPM package.
Install the rpm
rpm -ivh netatalk-version.rpm
version - is which ever version you downloaded.
Editing the Configuration
Edit /etc/atalk/AppleVolumes.default with your favorite editor. At the very bottom of the file there should be a "~". This is how the users (mac users) home directory is specified.
If there is no "~", add a "~" at the bottom of the file. Do not put the quotes around the "~" if you put it in the file Next to the "~" put for example:
"Home Directory" options:noadouble
The part that says "options:noadouble" is there to NOT allow the .appledouble directory unless needed. I enable this option because it saves a lot of space, because it duplicates files that are copied to the server by mac users and store them again in the .appledouble directories. Which I hate for some reason, you will figure it out if you do not put the option.
Next, to share other directories just go to the next line and add the location of the directory you want to share and place a description after it, for example:
/tmp "Temp Directory" options:noadouble /this/directory/is/shared "Shared Directory" options:noadouble
so on and so forth until you have shared all the directories needed.
now save and exit the file.
Just for infomation sake. The "config" file in /etc/atalk is where you can set the max number of users allowed to connect at the same time to the server.
Starting the Service
To start the service, execute the following command as root:
/etc/rc.d/init.d/atalk start
Each user(mac user) has to have a login to the box.
Thats it... Now go see if you can see the server from the chooser on a mac.

