da_'s Netatalk Setup Guide
Created on December 1st, 2001.

Allowing macs to connect to a linux box with netatalk - aka atalk.
Netalk 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.

Step 1. Download the the rpm here.
Or it should be on the powertools cd if you have one, to /usr/src.
OR wherever you download your rpms to.

Step 2. Install the rpm


rpm -ivh netatalk-version.rpm

version - is which ever version you downloaded.

Step 3. 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.

Step 4. Now all you have to do is start the service.
/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.

If you have any question just email me c_weisiger@yahoo.com


Having trouble? Got questions? Require further assistance? If so please feel free to visit our Help Forums and ask the experts!