Subject: Re: atalkd
To: Matt Herzog <msh@blisses.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 01/03/2006 23:55:47
On Tue, Jan 03, 2006 at 04:56:40PM -0500, Matt Herzog wrote:
> Hell Again.
> 
> I'm attempting to set up netatalk (just atalkd and afpd, really)
> on NetBSD 3.0 sparc64. I just want the file sharing and don't need
> printing.
> 
> The services should be running on hme1, the internal (NAT) interface
> which is bound to 192.168.0.1. Ipfilter and ipnat are working fine
> in as much as all the internal Macs can do whatever they need to on
> the Interweb. 
> 
> Here's the only uncommented line in atalkd.conf:
> 
> hme1 -phase 2 -net 1-65534 -addr 65280.116
> 
> Everything to the right of "hme1" was filled in by the daemon. I started
> with "hme1" ONLY on that line.
> 
> So you see why I migh be confused when I see the below printed in syslog:
> 
> Jan  3 16:35:01 spork afpd[8873]: [dsi_tcp.c:300]: I:Default: dsi_tcp: Can't resolve hostname (spork). 24.61.189.160 on interface hme0 will be used instead.
> 
> Any ideas why netatalk hates me?

I think it's because atalkd doens't deal only with appletalk addresses, it
also uses TCP/IP. Here the problem is that your hostname doesn't resolve.
Try to add an entry in /etc/hosts for spork with the IP from hme1.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--