Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

netatalk

Status
Not open for further replies.

mikeboz

MIS
May 18, 2000
41
US
I am installing netatalk on my redhat 7.1 server.

I want to share files from the RH server to a mac and would like to know what a successfull install looks like. I would like to know what processes I should see running and what file would be added do to the install. Do I start these processes in init.d?

I have installed to /usr/local/atalk, I dont see a afpd running only atalkd and papd.

If I understand correctly the afpd is what makes file sharing possible>?<

Also, during the install I see many 'extra token errors', is this a show stopper?

Any help would be appreciated.



 
Hi,

Never had to use it myself - there was a rpm in the redhat 7.1 powertools collection that you might like to try and that has a sysv init script -->
Looking at the cvs version its a bit different -->
However, they both do start afpd as you suspected ...

Hope this helps
 
I'm running netatalk on my Red Hat 7.1 system at home, but I'm not there right now. I'll check it out this evening for you though...

In the meantime, I don't think I had much trouble with setting up the file sharing (can't say the same for setting up pap to print to my LaserWriter as the lp default printer...!). I think there's a directory in /etc called atalk that will have config files. All I had to do was add the directories I wanted shared in AppleVolumes.default (?) after installing. Think I do see afpd running though...

I think I referred to the document below a good bit when I was getting it going. It might help you out.

 
Here's what I have running:



root 17507 0.0 0.0 3160 48 ? S Feb10 0:00 atalkd

root 17518 0.0 0.0 3172 4 ? S Feb10 0:00 papd

root 17523 0.0 0.0 3440 4 ? S Feb10 0:00 afpd -c 5 -n linux

matt 17600 0.0 0.0 4872 52 ? S Feb10 0:09 afpd -c 5 -n linux





I added these lines to AppleVolumes.default:



/ linuxroot rwlist:matt

/mnt driveshare rwlist:matt



This is what /etc/atalk/config looks like:



# Appletalk configuration

# Change this to increase the maximum number of clients that can connect:

AFPD_MAX_CLIENTS=5

# Change this to set the machine's atalk name:

ATALK_NAME=`echo ${HOSTNAME}|cut -d. -f1`

# Set which daemons to run:

PAPD_RUN=yes

AFPD_RUN=yes

# Control whether the daemons are started in the background

ATALK_BGROUND=yes



I didn't make any changes to afpd.conf; in fact, the whole file is commented out. The simplest setup, it says within, is to have no afpd.conf.



Hope that helps. It may not necessarily be 100% &quot;right,&quot; but it's been working fine for several months with a beige G3 and a PowerMac 7100/66. :)
 
My biggest problem was finding the correct source to use for install. Anyway, being new to linux, I finally realized that the rpm was the easiest way. Got the rpm off of the RH site

prompt> rmp -ivh netatalk.*.rpm and I was off and running.

added my export to the A*.default file and the share was working.

Compiling the source was what added all the confusion.

afpd and atalk run now and I show on the network as a AFP server.

Thanks for the replies. Im all set now.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top