[comp.protocols.appletalk] uab for au/x?

crowston@athena.mit.edu (Kevin Crowston) (02/16/90)

I'm using CAP (thank you Columbia) on a Mac running AU/X.  The Mac
is connected directly to the ethernet, as are the other Macs it
serves.  I'd like to use uab to have cap send EtherTalk directly,
but unfortunately, neither version of the ethernet code compiles
on AU/X (the two are for Suns and Ultrix).  Reading the AU/X manuals
revealed surprisingly little about how to add new ethernet prototocols;
similarly, none of the expected include files were included.
(I'm running the second most recent release of AU/X; we didn't get
the upgrade for Mac IIcis, since we don't have any.)

Questions:

1.  Has anyone made uab work on AU/X?
2.  Anyone have an suggestions about getting the necessary include files?
3.  Would getting the AU/X AppleTalk stuff help?

Kevin Crowston

liam@cs.qmw.ac.uk (William Roberts) (02/20/90)

In article <1990Feb15.173611.22279@athena.mit.edu> crowston@athena.mit.edu (Kevin Crowston) writes:
>1.  Has anyone made uab work on AU/X?
>2.  Anyone have an suggestions about getting the necessary include files?
>3.  Would getting the AU/X AppleTalk stuff help?

You may have noticed a complete absence of all the usual tiny
.c files that get complied up and linked together when you
build a Sun kernel. Instead, A/UX has a number of big lumps
with names like nfs, bnet and so on. The lump called bnet
includes the protocol switch tables, but they don't give you
access to it (though there may be some spare spaces in there).
In any case, the device drivers kit version of an Ethernet
Driver makes it clear that the driver does a switch on the
Ethernet packet type (Sorry, 802.3 packet length field) and
throws away any packets that are not the right length;
including 0x809b EtherTalk packets!

The best suggestion is to get the A/UX AppleTalk stuff - this
will include a replacement Ethernet driver (I'd imagine) and
then you can junk a lot of the lower layers of the CAP
libraries and have genuine Apple streams drivers do it instead.
-- 

William Roberts                 ARPA: liam@cs.qmw.ac.uk
Queen Mary & Westfield College  UUCP: liam@qmw-cs.UUCP
Mile End Road                   AppleLink: UK0087
LONDON, E1 4NS, UK              Tel:  01-975 5250 (Fax: 01-980 6533)