Netatalk routing problems (long)


Subject: Netatalk routing problems (long)
From: Andrew Norman (andy@focus.demon.co.uk)
Date: Thu Mar 07 1996 - 19:25:02 EST


Help... (sorry it so long)

My company has about 140 of Macs, split into 6 separate networks (most
now Ethernet only two Localtalk ones left). At the moment we have no
routers (one of the nets has a LocalTalk bridge on it and a bridge to
a Novell net), no AppleShare servers; all filesharing is done with the
builtin peer-peer stuff.

I have been testing a Linux box running netatalk for the last couple
of weeks in the hope of rolling out three of them to provide
filesharing and routing. As an AppleShare server it is working well
(there are a couple of irritating problems with Word and Excel, but
we'll manage with them).

For the last week I have been trying to get routing running (it is
important that I get it working because there are some LaserJets
stranded on some Novell nets that we need to get at from the Macs). So
far I have had no success. I am running Linux 1.3.57 and netatalk
1.3.3, Pentium 75, 16Mb RAM, 16Mb swap, Adaptec 2940 SCSI card, 1Gb
SCSI hard disk, IDE CDROM, 2x SMC EzEther netcards (eth0 on 0x240,9
eth1 on 0x280,10).

The problem is that I have great trouble getting eth1 working (it
makes no difference which card is set as eth1). If my atalkd.conf is

eth0 -phase 2
eth1 -phase 2

then eth0 gets setup correctly and eth1 gets ignored completely (and
removed from atalkd.conf)

If I do something like:

eth0 -seed -phase 2 -net 1-1000 -addr 1.100 -zone Pharm
eth1 -phase 2

then eth0 ends up on a different net and node and the zone does not
appear (I thought -seed meant it would not override the info I gave
it) and eth1 gets ignored again.

If I do:

eth0 -seed -phase 2 -net 1-1000 -addr 1.100 -zone Pharm
eth1 -seed -phase 2 -net 1001-2000 -addr 1001.100 -zone Pharm

then everything seems to get set up as I expected, the zone Pharm is
returned by getzones the net and node of eth0 are correct there are
routes for both interfaces in /proc/net/atalk_route . The problem is
that the net and node for eth1 are both 0 (isn't this the loopback
device ?) and I get continuous "eth1: xmit on stopped card messages".

Like I said this happens whichever card is eth1, there are no other
routers and I have tried starting the Linux box up before there are
any Macs on either segment booted.
(all the setting listed above have been recalled from memory, I am at
home at the moment)

Any help and advise would be greatly appreciated, the man page is very
brief and haven't found any other docs on the issue of atalkd; I need
to get this working before next Monday.

-- 
Andy Norman  andy@focus.demon.co.uk
<http://www.users.dircon.co.uk/~focus>

Linux, everyone's favourite operating system, isn't it ?

From netatalk-admins-request Tue Mar 12 12:44:08 1996 Return-Path: <netatalk.administrators-errors@umich.edu> Received: by terminator.rs.itd.umich.edu (8.7.4/2.3) with X.500 id MAA13925; Tue, 12 Mar 1996 12:44:08 -0500 (EST) Received: by terminator.rs.itd.umich.edu (8.7.4/2.3) with X.500 id MAA13923; Tue, 12 Mar 1996 12:44:07 -0500 (EST) Received: from terminator.rs.itd.umich.edu by terminator.rs.itd.umich.edu (8.7.4/2.3) with SMTP id MAA13919; Tue, 12 Mar 1996 12:44:06 -0500 (EST) Resent-Message-Id: <199603121744.MAA13919@terminator.rs.itd.umich.edu> Replied: Tue, 12 Mar 1996 12:44:02 -0500 Replied: Steven Johnson <johnson@bayflash.stpt.usf.edu> Replied: netatalk-admins@umich.edu Received: from truelies.rs.itd.umich.edu by terminator.rs.itd.umich.edu (8.7.4/2.3) with ESMTP id MAA13420; Tue, 12 Mar 1996 12:19:30 -0500 (EST) Received: by truelies.rs.itd.umich.edu (8.7.4/2.2) with X.500 id MAA20528; Tue, 12 Mar 1996 12:19:30 -0500 (EST) Received: from bayflash.stpt.usf.edu by truelies.rs.itd.umich.edu (8.7.4/2.2) with SMTP id MAA20507; Tue, 12 Mar 1996 12:19:28 -0500 (EST) Received: (johnson@localhost) by bayflash.stpt.usf.edu (8.6.11/8.6.5) id MAA17896; Tue, 12 Mar 1996 12:16:22 -0500 Date: Tue, 12 Mar 1996 12:16:22 -0500 (EST) From: Steven Johnson <johnson@bayflash.stpt.usf.edu> X-Sender: johnson@bayflash To: netatalk-admins@umich.edu Subject: Problems compiling netatalk-1.3.3 under Linux 1.3.20 Message-ID: <Pine.SUN.3.91.960312121430.17818A-100000@bayflash> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-To: netatalk-admins@umich.edu Resent-From: wesley.craig@umich.edu Resent-Date: Tue, 12 Mar 1996 12:44:06 -0500 Resent-Sender: wes@terminator.rs.itd.umich.edu

I am receiving the following error messages when trying to compile netatalk-1.3.3 under linux 1.3.20:

<netatalk-directory># make Making all for linux...

[stuff deleted]

gcc -p -O2 -I../../include -c asp_getreq.c In file included from ../../include/netatalk/endian.h:32, from asp_getreq.c:27: /usr/include/bytesex.h:6: linux/version.h: No such file or directory make[3]: *** [asp_getreq.o] Error 1 make[3]: Leaving directory `/AppleShare/netatalk-1.3.3/libatalk/asp' make[2]: *** [asp] Error 2 make[2]: Leaving directory `/AppleShare/netatalk-1.3.3/libatalk' make[1]: *** [../../libatalk] Error 2 make[1]: Leaving directory `/AppleShare/netatalk-1.3.3/sys/linux' make: *** [all] Error 2

I have already recompiled the kernel to support Appletalk (upgrade from 1.2.13). However, I am unable to compile the atalkd and other binaries that I will need. Any advice/ideas on what is going wrong?

BTW, I am using the fine instructions at http://thehamptons.com/atalk.html for Linux installs.

From netatalk-admins-request Tue Mar 12 12:44:14 1996 Return-Path: <netatalk.administrators-errors@umich.edu> Received: by terminator.rs.itd.umich.edu (8.7.4/2.3) with X.500 id MAA13932; Tue, 12 Mar 1996 12:44:14 -0500 (EST) Received: by terminator.rs.itd.umich.edu (8.7.4/2.3) with X.500 id MAA13930; Tue, 12 Mar 1996 12:44:13 -0500 (EST) Received: from terminator.rs.itd.umich.edu by terminator.rs.itd.umich.edu (8.7.4/2.3) with SMTP id MAA13904; Tue, 12 Mar 1996 12:44:01 -0500 (EST) Message-Id: <199603121744.MAA13904@terminator.rs.itd.umich.edu> From: wesley.craig@umich.edu To: Steven Johnson <johnson@bayflash.stpt.usf.edu> cc: netatalk-admins@umich.edu Subject: Re: Problems compiling netatalk-1.3.3 under Linux 1.3.20 In-reply-to: Your message of "Tue, 12 Mar 1996 12:16:22 EST." <Pine.SUN.3.91.960312121430.17818A-100000@bayflash> Date: Tue, 12 Mar 1996 12:44:01 -0500 Sender: wes@terminator.rs.itd.umich.edu

> From: Steven Johnson <johnson@bayflash.stpt.usf.edu> > To: netatalk-admins@umich.edu

> I have already recompiled the kernel to support Appletalk (upgrade from > 1.2.13).

Check that /usr/include/linux is a symlink to your current kernel building area.

:wes

From netatalk-admins-request Tue Mar 12 23:59:12 1996 Return-Path: <netatalk.administrators-errors@umich.edu> Received: by terminator.rs.itd.umich.edu (8.7.4/2.3) with X.500 id XAA22991; Tue, 12 Mar 1996 23:59:12 -0500 (EST) Received: by terminator.rs.itd.umich.edu (8.7.4/2.3) with X.500 id XAA22989; Tue, 12 Mar 1996 23:59:11 -0500 (EST) Received: from terminator.rs.itd.umich.edu by terminator.rs.itd.umich.edu (8.7.4/2.3) with SMTP id XAA22984; Tue, 12 Mar 1996 23:59:10 -0500 (EST) Resent-Message-Id: <199603130459.XAA22984@terminator.rs.itd.umich.edu> Received: from judgmentday.rs.itd.umich.edu by terminator.rs.itd.umich.edu (8.7.4/2.3) with ESMTP id PAA15979; Tue, 12 Mar 1996 15:15:52 -0500 (EST) Received: by judgmentday.rs.itd.umich.edu (8.7.4/2.2) with X.500 id PAA18927; Tue, 12 Mar 1996 15:15:51 -0500 (EST) Received: from dragon.cnm.columbia.edu by judgmentday.rs.itd.umich.edu (8.7.4/2.2) with SMTP id PAA18921; Tue, 12 Mar 1996 15:15:50 -0500 (EST) Received: from localhost (lih@localhost) by dragon.cnm.columbia.edu (8.6.12/8.6.9/sed) with SMTP id PAA25694 for <netatalk-admins@umich.edu>; Tue, 12 Mar 1996 15:15:48 -0500 Message-Id: <199603122015.PAA25694@dragon.cnm.columbia.edu> X-Authentication-Warning: dragon.cnm.columbia.edu: Host localhost didn't use HELO protocol To: netatalk-admins@umich.edu Subject: Problems with Apple OT and netatalk Reply-to: lih@cnm.columbia.edu Date: Tue, 12 Mar 1996 15:15:48 -0500 From: Andrew Lih <lih@dragon.cnm.columbia.edu> Resent-To: netatalk-admins@umich.edu Resent-From: wesley.craig@umich.edu Resent-Date: Tue, 12 Mar 1996 23:59:10 -0500 Resent-Sender: wes@terminator.rs.itd.umich.edu

Has anyone had any problems with using Open Transport (1.1b16 and later) with netatalk on Linux? After upgrading a PowerMac to OT 1.1b16 it can no longer see the volumes advertised on the EtherTalk network.

Vital info:

Server: Slackware 3.0 Linux kernel 1.3.71 netatalk 1.3.3

Client: PowerMac 8100/80 System 7.5.1 Open Transport 1.1b16

Any other experiences would be appreciated.

-Andrew

From netatalk-admins-request Tue Mar 12 23:58:22 1996 Return-Path: <netatalk.administrators-errors@umich.edu> Received: by terminator.rs.itd.umich.edu (8.7.4/2.3) with X.500 id XAA22931; Tue, 12 Mar 1996 23:58:22 -0500 (EST) Received: by terminator.rs.itd.umich.edu (8.7.4/2.3) with X.500 id XAA22929; Tue, 12 Mar 1996 23:58:21 -0500 (EST) Received: from terminator.rs.itd.umich.edu by terminator.rs.itd.umich.edu (8.7.4/2.3) with SMTP id XAA22924; Tue, 12 Mar 1996 23:58:19 -0500 (EST) Resent-Message-Id: <199603130458.XAA22924@terminator.rs.itd.umich.edu> Received: from redheat.rs.itd.umich.edu by terminator.rs.itd.umich.edu (8.7.4/2.3) with ESMTP id QAA17138; Tue, 12 Mar 1996 16:43:53 -0500 (EST) Received: by redheat.rs.itd.umich.edu (8.7.4/2.2) with X.500 id QAA13974; Tue, 12 Mar 1996 16:43:20 -0500 (EST) Received: from po1.wam.umd.edu by redheat.rs.itd.umich.edu (8.7.4/2.2) with SMTP id QAA13964; Tue, 12 Mar 1996 16:43:17 -0500 (EST) Received: from exp3.wam.umd.edu (exp3.wam.umd.edu [128.8.70.130]) by po1.wam.umd.edu (8.6.10/8.6.12) with ESMTP id QAA28085 for <netatalk-admins@umich.edu>; Tue, 12 Mar 1996 16:42:53 -0500 Received: (from slush@localhost) by exp3.wam.umd.edu (8.7/8.7.3) id QAA04586; Tue, 12 Mar 1996 16:42:51 -0500 (EST) Date: Tue, 12 Mar 1996 16:42:50 -0500 (EST) From: A WiZaRD WiTH PLiaRS <slush@wam.umd.edu> To: netatalk-admins@umich.edu Subject: Re: Problems compiling netatalk-1.3.3 under Linux 1.3.20 In-Reply-To: <199603121744.MAA13904@terminator.rs.itd.umich.edu> Message-ID: <Pine.SOL.3.91.960312163850.4192A-100000@exp3.wam.umd.edu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-To: netatalk-admins@umich.edu Resent-From: wesley.craig@umich.edu Resent-Date: Tue, 12 Mar 1996 23:58:19 -0500 Resent-Sender: wes@terminator.rs.itd.umich.edu

On Tue, 12 Mar 1996 wesley.craig@umich.edu wrote:

> > From: Steven Johnson <johnson@bayflash.stpt.usf.edu> > > To: netatalk-admins@umich.edu > > > I have already recompiled the kernel to support Appletalk (upgrade from > > 1.2.13). > > Check that /usr/include/linux is a symlink to your current kernel > building area. >

Check out the README in the /usr/src/linux-1.3.20 directory. My Slackware distribution came with the source tree for 1.3.20 already included. I had to change three symlinks. One is the link from /usr/src/linux (had to point it from the 1.2.x directory to the 1.3.20). I also had to change two others as outlined in the README. You can also try a "make mrproper" in the /usr/src/linux-1.3.20 directory. Then do a make dep and make clean. You'll also need to swap around uio.h. There are two copies of this which are different. Both must be the same. Can't remember off the top of my head which needs to be copied to where.

Hope that helps,

[Jason Schlauch] | [slush@glue.umd.edu] | [slush@wam.umd.edu] [http://www.wam.umd.edu/~slush] | [Random thought:] [What do women want? (Sigmund Freud)]

From netatalk-admins-request Wed Mar 13 10:02:52 1996 Return-Path: <netatalk.administrators-errors@umich.edu> Received: by terminator.rs.itd.umich.edu (8.7.4/2.3) with X.500 id KAA22904; Wed, 13 Mar 1996 10:02:52 -0500 (EST) Received: by terminator.rs.itd.umich.edu (8.7.4/2.3) with X.500 id KAA22899; Wed, 13 Mar 1996 10:02:50 -0500 (EST) Received: from terminator.rs.itd.umich.edu by terminator.rs.itd.umich.edu (8.7.4/2.3) with SMTP id KAA22895; Wed, 13 Mar 1996 10:02:49 -0500 (EST) Resent-Message-Id: <199603131502.KAA22895@terminator.rs.itd.umich.edu> Received: from redheat.rs.itd.umich.edu by terminator.rs.itd.umich.edu (8.7.4/2.3) with ESMTP id CAA03583; Wed, 13 Mar 1996 02:17:46 -0500 (EST) Received: by redheat.rs.itd.umich.edu (8.7.4/2.2) with X.500 id CAA25097; Wed, 13 Mar 1996 02:17:45 -0500 (EST) Received: from spike.hax.com by redheat.rs.itd.umich.edu (8.7.4/2.2) with SMTP id CAA25092; Wed, 13 Mar 1996 02:17:41 -0500 (EST) Received: from chester.hax.com by spike.hax.com with smtp (Linux Smail3.1.29.1 Quasar Knowledge Systems, Inc.) id m0twkz3-0007ErC; Tue, 12 Mar 96 23:28 PST Message-Id: <2.2.32.19960313072208.006c1630@spike.hax.com> X-Sender: djf@spike.hax.com X-Mailer: Windows Eudora Pro Version 2.2 (32) Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Tue, 12 Mar 1996 23:22:08 -0800 To: netatalk-admins@umich.edu From: Dave Fenwick <dfenwick@qks.com> Subject: Netatalk 1.3.3 Not Consistent Resent-To: netatalk-admins@umich.edu Resent-From: wesley.craig@umich.edu Resent-Date: Wed, 13 Mar 1996 10:02:49 -0500 Resent-Sender: wes@terminator.rs.itd.umich.edu

All:

I've got a Linux box with Netatalk 1.3.3 on it, running the 1.3.35 kernel, which I know to be very stable since I've been running it on another box for weeks. I installed the Netatalk stuff on the first box, with inconsistent results. Sometimes it shows up on the net, sometimes it doesn't. Very strange behavior.

If I do an nbplkup, it shows up in the lookup list. It sees some of the other Macs on the net, but not all of them. Occassionally the Macs can see the box, at which point things work great. However, the box appears to randomly drop from the lookup table for no apparent reason.

We have a Gatorbox running as an appletalk router on the LAN. It provides the zone information for the net, and is the stable end of the network (maintaining the appletalk network #, etc.).

I read somewhere there were some possible problems running netatalk with the DEC 21040 chipset and the tulip from (bless his heart) Don Becker. Anyone seen any of these anomalies?

_______________________________________________________________________ David J. Fenwick dfenwick@qks.com STA Product Development Group (415) 728-5333 Quasar Knowledge Systems, Inc.

From netatalk-admins-request Thu Mar 21 14:51:54 1996 Return-Path: <netatalk.administrators-errors@umich.edu> Received: by terminator.rs.itd.umich.edu (8.7.5/2.3) with X.500 id OAA24232; Thu, 21 Mar 1996 14:51:54 -0500 (EST) Received: by terminator.rs.itd.umich.edu (8.7.5/2.3) with X.500 id OAA24228; Thu, 21 Mar 1996 14:51:50 -0500 (EST) Received: from terminator.rs.itd.umich.edu by terminator.rs.itd.umich.edu (8.7.5/2.3) with SMTP id OAA24218; Thu, 21 Mar 1996 14:51:42 -0500 (EST) Message-Id: <199603211951.OAA24218@terminator.rs.itd.umich.edu> From: Mark Smith <mcs@umich.edu> To: eb04@rz.uni-karlsruhe.de cc: netatalk-admins@umich.edu Subject: Re: atp hanging In-reply-to: Your message of "Tue, 19 Mar 1996 15:26:53 +0100." <"nz11.rz.un.774:19.03.96.15.08.16"@rz.uni-karlsruhe.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 21 Mar 1996 14:51:42 -0500 Sender: mcs@terminator.rs.itd.umich.edu

>From: eb04@rz.uni-karlsruhe.de > To: netatalk-admins@umich.edu > > ... > Once in a while an atp response will consist e.g. of packets 0,1,2,3,4,5,7 > in this order, then "EOM -- seq num 7 current bitmap 64", then the unix > macdump process will request packet 6 again and never gets an answer. > > This has happened on a Sun, a router and a mac on localtalk with netatalk > 1.3.1, and on a linux 1.2.1 with netatalk 1.3.3b2 and a mac on the same > ethernet segment as the linux box. > > In your opinion, who is misbehaving here?

Sounds to me like the netatalk machine is behaving correctly -- ATP response 6 seems to have been lost and the Mac was asked to re-send it. Does the Mac send anything at all in response to netatalk's request for packet 6? Does a response 6 ever get sent in the first place?

-Mark



This archive was generated by hypermail 2b28 : Sat Dec 18 1999 - 16:24:00 EST