Subject: Re: netatalk problems
To: Erik Huizing <huizing@cpsc.ucalgary.ca>
From: Frederick Bruckman <fb@enteract.com>
List: port-mac68k
Date: 10/08/1999 01:13:12
On Thu, 7 Oct 1999, Erik Huizing wrote:

> Here ya go: (looks like its in the kernel)
> 
> bigmac# nm /netbsd | grep _atalk
> 0015d1e8 D _atalkdomain
> 0015d1b4 D _atalksw

OK

> bigmac# uname -a
> NetBSD bigmac 1.4D NetBSD 1.4D (MRG) #6: Tue Jun 29 02:08:00 PDT 1999
> root2@ c610:/usr/src/sys/arch/mac68k/compile/MRG mac68k

Netatalk works flawlessly in 1.4.1. It could have been broken for
awhile in current... don't know.

> > > On the server side, I get the following in /var/log/messages
> > > Oct  6 21:14:35 bigmac afpd[271]: login erik (uid 1000, gid 1000)
> > > Oct  6 21:14:35 bigmac afpd[271]: afp_null handle 37
> > > Oct  6 21:14:39 bigmac afpd[272]: session from 65280.35:242 on
> > > 65280.230:132
> > > Oct  6 21:14:39 bigmac afpd[272]: login noauth
> > > Oct  6 21:14:39 bigmac afpd[272]: afp_null handle 37
> > > Oct  6 21:14:44 bigmac afpd[273]: session from 65280.35:241 on
> > > 65280.230:133

Are you running three afpd's??? You need to
1) kill afpd, papd, atalkd, 
2) Copy the examples from /usr/pkg/share/examples/netatalk to
   /usr/pkg/etc, (review, and edit if necessary).
3) start atalk by running "sh /usr/pkg/etc/rc.atalkd"
4) Review the messages as the daemons start up.
5) Check the output of "nbprgstr" to see that afpd registered with
   atalkd. IIRC you should see at least "Bigmac" and
   "Bigmac:Workstation".