Re: AppleTalk only seems to be semi-functional. Everything works over TCP/IP


Subject: Re: AppleTalk only seems to be semi-functional. Everything works over TCP/IP
From: andrew morgan (morgan@orst.edu)
Date: Thu Jan 11 2001 - 10:40:14 EST


On Thu, 11 Jan 2001, Alexi Margo wrote:

> Hi,
>
> I have seen similar posts in the archives, but no solution. If anyone can
> help it would be greatly appreciated - I'm sure I've overlooked something
> really simple, but I'm not sure where to go from here.
>
> I've installed the netatalk-1.4b2+asun2.1.4-0.i386 RPM on a RedHat 6.2 box.
> The machine is appearing in Chooser and if I choose to connect by entering
> the server's IP address there are no problems. However, if I just "OK" the
> server name directly from Chooser, I immediately get the response:
>
> > No response from server. Please try again.
>
> Outputs of the following files:
>
> /var/log/messages:
>
> Jan 11 10:51:46 miserver1 kernel: NET4: AppleTalk 0.18 for Linux NET4.0
> Jan 11 10:51:46 miserver1 atalkd[2203]: restart (1.4b2+asun2.1.4)
> Jan 11 10:51:47 miserver1 atalkd[2203]: zip_getnetinfo for eth0
> Jan 11 10:52:06 miserver1 last message repeated 2 times
> Jan 11 10:52:16 miserver1 atalkd[2203]: config for no router
> Jan 11 10:52:17 miserver1 atalkd[2203]: ready 0/0/0
> Jan 11 10:52:17 miserver1 atalk: atalkd startup succeeded
> Jan 11 10:52:29 miserver1 papd[2221]: restart (1.4b2+asun2.1.4)
> Jan 11 10:52:29 miserver1 atalk: papd startup succeeded
> Jan 11 10:52:29 miserver1 atalk: afpd startup succeeded
> Jan 11 10:52:35 miserver1 afpd[2230]: miserver1:AFPServer@* started on
> 65280.44:128 (1.4b2+asun2.1.4)
> Jan 11 10:52:35 miserver1 afpd[2230]: ASIP started on 127.0.0.1:548(1)
> (1.4b2+asun2.1.4)

Look at the line directly above. Afpd is binding to 127.0.01, the
loopback address, instead of your real IP address. So when the mac
contacts the server over appletalk, your server says, "Contact me on
127.0.0.1", which fails.

Have a look at your /etc/hosts file. It should look something like:

127.0.0.1 localhost localhost.localdomain
24.7.138.204 c9544580-a.potlnd1.or.home.com c9544580-a

I think you'll find that it only has the 127.0.0.1 address in it, not your
real IP address.

        Andy



This archive was generated by hypermail 2b28 : Sun Oct 14 2001 - 03:04:30 EDT