home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / protocol / appletal / 3898 < prev    next >
Encoding:
Text File  |  1992-11-12  |  8.8 KB  |  242 lines

  1. Newsgroups: comp.protocols.appletalk
  2. Path: sparky!uunet!munnari.oz.au!cs.mu.OZ.AU!djh
  3. From: djh@cs.mu.OZ.AU (David Hornsby)
  4. Subject: Re: CAP FAQ?
  5. Message-ID: <9231816.19421@mulga.cs.mu.OZ.AU>
  6. Organization: Computer Science, University of Melbourne, Australia
  7. References: <9211091626.AA06041@central.bldrdoc.gov>
  8. Date: Fri, 13 Nov 1992 05:41:09 GMT
  9. Lines: 231
  10.  
  11. CAP FAQ
  12. -------
  13. Last update:
  14. Fri Nov 13 16:32:00 EST 1992
  15.  
  16.  
  17. > What is CAP ?
  18.  
  19. The Columbia AppleTalk Package (CAP) implements the AppleTalk protocol
  20. stack on a variety of UNIX machines.  The main applications provide an
  21. AppleShare 2.0 compatible server (aufs), a LaserWriter Spooler (lwsrv)
  22. and a program to print to LaserWriters (papif).  The latter can be used
  23. to talk to EtherTalk LaserWriters, LocalTalk LaserWriters used on Dayna
  24. EtherPrint cards or on a LocalTalk/EtherTalk gateway.  There are also a
  25. number of contributed packages bundled with CAP (see cap60/contrib).
  26.  
  27.  
  28. > What extra hardware is required for CAP ?
  29.  
  30. On a SUN or ULTRIX machine, CAP can speak Phase 1 or Phase 2 EtherTalk
  31. packets using packet filters based on the Stanford ENET model.  Where
  32. available, CAP can also use Kernel based AppleTalk or run the UNIX
  33. AppleTalk Bridge (UAB) to act as a gateway.  On other UNIX boxes you
  34. need to have a gateway that can translate IPTalk packets.  Suitable
  35. candidates are Shiva FastPath, Cayman GatorBox or Webster MultiPort Gateway.
  36.  
  37.  
  38. > What machines will CAP run on ?
  39.  
  40. The CAP Configure script has specific support for the following
  41. Operating Systems:
  42.  
  43.     sunos - SUN SunOS
  44.     ultrixnn - DEC Ultrix 1.2, 2.0, 4.N
  45.     irix - Silicon Graphics IRIS/IRIX
  46.     aix - IBM AIX System V
  47.     hpux - HP HP-UX 8.0
  48.     uts - Amdahl UTS
  49.     aux - Apple A/UX 2.0
  50.     encore - Encore MultiMax BSD
  51.     pyr - Pyramid (BSD Universe)
  52.     next - NeXT/MACH
  53.     dynix - Sequent Balance
  54.     newsos - Sony NEWS
  55.     bsd - BSD 4.2, 4.3
  56.  
  57.  
  58. > What is the current CAP version ?
  59.  
  60. CAP is at version 6.0 with (currently) 126 patches to be applied, most of
  61. which add extra functionality to the original.  To determine the current
  62. patch level of your sources, check the cap60/README file for a line of
  63. the form
  64.  
  65.     o CAP Distribution 6.0, Patch Level 126, July 1992
  66.  
  67.  
  68. > Where can I get CAP ?
  69.  
  70. CAP can be obtained by anonymous FTP from
  71.  
  72. rutgers.EDU        src/{cap60.tar.Z,cap60.patches/*}
  73. munnari.OZ.AU        mac/{cap60.tar.Z,cap.patches/*}
  74. gatekeeper.DEC.COM    pub/net/appletalk/cap/{cap60.tar.Z,cap.patches/*}
  75. ftp.kuis.kyoto-u.AC.JP    net/cap/{cap60.tar.Z,cap60.patches/*.Z}
  76. src.doc.ic.AC.UK    mac/multigate/{cap60.tar.Z,cap.patches/*}
  77.  
  78. Please choose an appropriate site and an off-peak time for the transfer.
  79.  
  80. The patches are available individually or as the files "patches.1-75.tar.Z",
  81. "patches.76-100.tar.Z" and "patches.101-126.tar.Z". Additionally, for new
  82. users, a partially patched source file is available as "cap60.pl100.tar.Z"
  83. (beware: the file cap60.tar.Z is totally unpatched).
  84.  
  85.  
  86. > How do I apply the patches ?
  87.  
  88. To make the process of patching easier, you should get the 'patch' utility
  89. written by Larry Wall, it is normally archived at sites that archive
  90. comp.sources.unix in volume7/patch2.
  91.  
  92. For each of the patches, run 'patch -p < cap60.patch0NN' from the top level
  93. cap60 directory, for example, in csh
  94.  
  95.         foreach i (cap60.patches/cap60.patch*)
  96.         patch -p < $i >>& /tmp/patches
  97.         end
  98.  
  99. and check the /tmp/patches file for patching errors (should be none).
  100. To remove the *.orig files that patch leaves behind (containing the original
  101. version of the file), run 'make spotless' from the top level directory (note
  102. that spotless also removes all makefiles so gen.makes needs to be run to
  103. regenerate them).
  104.  
  105.  
  106. > I picked up CAP 6.0 from rutgers.edu, but our Unix system administrator
  107. > refuses to install it because there are 74 patches (can't say I blame him)!
  108.  
  109. Sigh. Using the patch program to apply patches requires a minimal amount of
  110. time and energy.  Taking time to install the patch program will pay off for
  111. CAP and other program updates.
  112.  
  113. % date
  114. Sat Mar  7 23:51:05 EST 1992
  115. % touch /tmp/patches
  116. % foreach i (cap60.patches/cap60.patch*)
  117. ? patch -p < $i >>& /tmp/patches
  118. ? end
  119. % grep rej /tmp/patches
  120. % date
  121. Sat Mar  7 23:54:26 EST 1992
  122.  
  123. It took just 3:11 to apply 75 patches to the raw CAP tar source.  The extra
  124. overhead is the time to FTP 3 files, cap60.tar.Z, patches.1-74.tar.Z and
  125. cap60.patch075 and uncompress them.  The total time spent on this ... 8:02.
  126.  
  127.  
  128. > Is CAP Public Domain ?
  129.  
  130. No, CAP is distributed with the following condition on its use:
  131.  
  132.   Copyright (c) 1986, 1987, 1988, The Trustees of Columbia University in
  133.   the City of New York.  Charlie C. Kim, User Services Group, Academic
  134.   Information Services Division, Libraries and Center for Computing
  135.   Activities and Bill Schilit, formerly of Computer Research Facilities,
  136.   Computer Science Department.
  137.  
  138.   Permission is granted to any individual or institution to use, copy,
  139.   or redistribute this software so long as it is not sold for profit,
  140.   provided that this notice and the original copyright notices are
  141.   retained.  Columbia University makes no representations about the
  142.   suitability of this software for any purpose.  It is provided "as is"
  143.   without express or implied warranty.
  144.  
  145. Some portions of CAP have other copyrights and are suitably marked.
  146.  
  147.  
  148. > Is there a version of CAP available that supports Ethertalk Phase 2 ?
  149.  
  150. Phase 2 support was added in CAP 6.0 patches 25, 28 & 35 for SUN NIT, ULTRIX
  151. 4.n and SUN enet driver respectively.
  152.  
  153.  
  154. > Can a workstation with 2 ethernet cards running Cap s/w act as a phaseII
  155. > to (phaseI or phaseII) "Gateway"? If so, what patch level of Cap do I need
  156. > to do this?
  157.  
  158. The UNIX AppleTalk Bridge (UAB) is an EtherTalk gateway.  It can handle
  159. multiple ethernet interfaces and gateway between them.  This is its primary
  160. function but it can also be set up to provide CAP services.  But ...
  161.  
  162.  
  163. > Does anyone have a patch that will support the phase 2 appletalk protocol
  164. > on UAB (CAP6.0).
  165.  
  166. UAB supports Phase 1 only. 
  167.  
  168.  
  169. > Is there any standard way yet of implementing a execute only, copy
  170. > protected CAP AUFS server?
  171.  
  172. The original method of achieving this was to removing read permission from
  173. the data fork of the Application (make it non-zero length if the file is
  174. empty).  The current method involves using the Application Manager added in
  175. patch number 61.  Either of these methods can be circumvented by users who
  176. are either knowledgeable or determined.
  177.  
  178.  
  179. > Recently I introduced a new color postscript printer, Tektronix Phaser III
  180. > 4698PXi, under one of the LocalTalks.  It works fine from Macintosh's so I
  181. > tried to use it from papif but failed.
  182.  
  183. CAP uses DDP checksums by default, the checksum code in the Phaser III PXi
  184. and the Apple Personal LaserWriter NTR incorrectly calculate the checksum
  185. value and the packet is dropped. The programs aufs, lwsrv, papif, atis,
  186. atlooklws and tlw now support the -k option to disable CAP checksums on a
  187. per-program basis. To disable CAP checksums completely, add the following
  188. lines to the m4.features file, rerun gen.makes and remake CAP.
  189.  
  190. # + DONT_DOCHKSUM no DDP checksums (Tektronix Phaser III PXi & Apple LW NTR)
  191. define(`specialcflags',concat(specialcflags,` -DDONT_DOCHKSUM'))
  192. #
  193.  
  194. No other code changes are necessary.
  195.  
  196.  
  197. > We've just upgraded our DECstations to version 4.2 of ULTRIX, and our CAP
  198. > distribution very neatly broke.
  199.  
  200. You need to obtain the net_common.o and pfilt.o patches from DEC.  Do not
  201. turn on the ifconfig copyall (stop-gap measure previously suggested on the
  202. net).  Do not define ULT42PFBUG in m4.features.
  203.  
  204.  
  205. > When we run aarpd with a command like:
  206. >      aarpd pf0 our_zone
  207. > the daemon doesn't start & we get the message 'failed to start ZIS listener'.
  208.  
  209. This means that something has been allocated the UPD port 774 (768+6)
  210. by 'portmap'. You can check this with the command 'rpcinfo -p'.
  211.  
  212. There are two solutions, break 'start-cap-servers' into two so that aarpd
  213. and atis is started before portmap. Alternatively, and preferably, install
  214. the NIC assigned port numbers into /etc/services. See the doc in the file
  215. cap60/doc/install.ms for more details.
  216.  
  217.  
  218. > I have installed the enet driver. But aarpd won't start successfully.
  219. > Instead the following error message is being printed.
  220. > unix!: # aarpd le0 EtherTalk
  221. > open: /dev/enetXX: No such file or directory
  222.  
  223. The ENET drivers use devices of the form enet0, enet1 etc. Replace the
  224. string "le0" with "enet0".
  225.  
  226.  
  227. > We're running CAP with Native EtherTalk on a network without a router.
  228. > atlook doesn't show our LaserWriter IIg and getzones fails with
  229. > error -1096 getting zone list
  230.  
  231. Zone names are the responsibility of AppleTalk routers. Without a router,
  232. there are no zones defined for the network and the zone name field in NBP
  233. lookup packets must be * (or nothing at all). To use CAP with Native
  234. EtherTalk in this situation, start 'aarpd' with "*" as the zone name,
  235. any other zone name string may cause the lookup packet to be dropped.
  236.  
  237.  
  238.  
  239. For more information, see the CAP60.README file in the CAP distribution.
  240.  
  241. Send CAP FAQ contributions to cap@munnari.OZ.AU
  242.