home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 200-299 / ff294.lzh / DNet / unix / README < prev    next >
Text File  |  1989-12-11  |  5KB  |  155 lines

  1.  
  2.  
  3.                DNET V2.10 UNIX SIDE
  4.  
  5.                BSD4.2/4.3 compatible
  6.  
  7.     Special note this release: default is to run in 7 bit mode (which
  8.     uses a special 6 bit encoding to encode binary data).  The -m0
  9.     option has been added for those who can run over full 8 bit nets.
  10.  
  11.     DNET (c)Copyright 1987-1989 Matthew Dillon, All Rights Reserved
  12.  
  13.     Matthew Dillon
  14.     891 Regal Rd
  15.     Berkeley, Ca. 94708
  16.     USA
  17.  
  18.     ...!ihnp4!ucbvax!dillon     USENET
  19.     dillon@ucbvax.Berkeley.edu    ARPANET
  20.     ucbvax.berkeley.edu pub/amiga    ARPANET-FTP
  21.  
  22.                 UNIX SETUP
  23.  
  24.     The directory structure must remain intact.  simply say MAKE
  25.     in the main directory and it ought to compile.    There might be
  26.     minor problems depending on how compatible your UNIX is with
  27.     BSD4.3 UNIX ..    I have successfully compiled DNet on the following
  28.     machines:
  29.  
  30.             Dec Vax 7xx
  31.             Sun 3
  32.             Sequent
  33.  
  34.     (1) Create a directory.  For example, ~/.DNET   WARNING!  This
  35.         directory must be on a local partition.  DNET uses a unix
  36.         domain socket and these do not work over network fileservers.
  37.  
  38.     (2) Modify your .cshrc to add the following line:
  39.  
  40.         setenv DNETDIR  ~/.DNET/
  41.  
  42.         (or wherever you put it.  NOTE! You MUST HAVE THE TRAILING
  43.          SLASH!)
  44.  
  45.     (3) All binaries are usually kept in dnet.unix/bin, add this
  46.         directory to your path (in your .cshrc) so DNet can find
  47.         the clients.
  48.  
  49.     (4) Place the file 'dnet.servers' in $DNETDIR.  Modify the file
  50.         according to your home directory and where you have put the
  51.         servers (usually in dnet.unix/bin).  USE ABSOLUTE PATHS,
  52.         DNET.SERVERS DOES NOT UNDERSTAND ~.
  53.  
  54.     NOTE: You may want to chmod $DNETDIR 700 to disallow any
  55.     unauthorized access to the network.
  56.  
  57.  
  58.                  DIALING UP FROM AN AMIGA
  59.  
  60.     Follow the installation instructions for the Amiga side.  When
  61.     you dial up the UNIX system you will eventually get a prompt.
  62.     NOTE!  DNET normally uses 7 bit - even parity for dialing up,
  63.     then switches to 8 bit no parity for the protocol.  Sometimes
  64.     the modem or port selector will switch into 7 bit + parity mode
  65.     and NOT SWITCH OUT.  For this reason, you might want to use the
  66.     -8 option for the Amiga side of DNET (read the docs in the Amiga
  67.     section).
  68.  
  69.     You may have to force parity before running DNet.  To force parity
  70.     to even use (and do this only if running the -Z2 option from the
  71.     Amiga side dnet):          THIS IS NOT NORMALLY DONE.
  72.  
  73.     % stty -odd
  74.  
  75.     From the DNET window's CSH prompt, start the protocol with:
  76.  
  77.     % dnet
  78.  
  79.     That was easy.    The DNet window should go away and an FTERM window
  80.     should open.  This does not mean success!  If the FTERM window
  81.     closes again with the message "unable to connect", it was unable
  82.     to connect.  There are several possibilities:
  83.  
  84.     (a) You do not have an 8 bit connection from your amiga to the
  85.         UNIX host (DNet must be able to send and receive all 256
  86.         character codes).
  87.  
  88.     (b) You did not setup the DNETDIR enviroment variable properly
  89.  
  90.     (c) You did not copy dnet.servers into $DNETIDR
  91.  
  92.     (d) The absolute file path in dnet.servers for server #8192 (that
  93.         FTerm tires to connect to) is not correct.
  94.  
  95.                     KILLING DNET
  96.  
  97.     In most cases simply turning off the modem will suffice.  You can
  98.     kill dnet more cleanly with the following sequence:
  99.  
  100.     (1) From an Amiga CLI, run the QuitDnet command.  This will kill
  101.         the packet protocol and cause the remote DNet to exit.  It
  102.         will then break the local DNet.
  103.  
  104.         You should get the original (small) DNet window and the
  105.         original login shell. If you get the DNet window but not the
  106.         shell (you can't type), the protocol may still be running on
  107.         the other end, in which case it didn't work for some unknown
  108.         reason.  Restart the protocol w/ the appropriate menu option
  109.         and try 'quitdnet' again.
  110.  
  111.     (3) logout normally and close the DNet window.  Turn off your
  112.         modem.
  113.  
  114.         If the kill sequence in (2) does not work, you can simply
  115.         hangup the line.
  116.  
  117.                  HANGING SERVER PROCESSES
  118.  
  119.     The UNIX side servers are normally left running when the protocol
  120.     dies.  These are very very very small and take 0 CPU (they are
  121.     simply waiting for connections).  These servers will still be
  122.     there when you log in again and DNet will use them.
  123.  
  124.     You can kill UNIX side servers at any time.
  125.  
  126.     Many of the same clients and servers exist on the UNIX end as
  127.     on the Amiga end.  The UNIX end is missing several.  The UNIX
  128.     end implements two commands called dsoc and draw which can be
  129.     used to connect to (in cooked or raw tty mode) specific servers
  130.     (by port #) on the Amiga side.  For example, to connect to the
  131.     printer server on the amiga side:
  132.  
  133.     % dsoc 8198
  134.     This is a test
  135.     ^D
  136.     %
  137.  
  138.     Dumps to PRT: on the Amiga "This is a test"  Gee Wiz!
  139.  
  140.                 SECURITY W/ UNIX
  141.  
  142.     DNet will be as secure as your account, assuming you chmod DNETDIR
  143.     700 (so nobody else has access to the unix domain sockets).  From
  144.     Home (on the Amiga), I usually RUN DNET -X , login, start the
  145.     protocol, and leave it running all day.
  146.  
  147.     The -X option turns of security (sets all security levels to 9),
  148.     thus allowing me to drive to the university and at any time from
  149.     my UNIX account do a getfiles or putfiles from and to my Amiga.
  150.  
  151.     Refer to the amiga side documentation for more information.
  152.  
  153.  
  154.  
  155.