home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / util / comm / macnet.sit / read-me.mac < prev   
Text File  |  1989-06-02  |  13KB  |  275 lines

  1.  KA9Q: TCP/IP Connectivity for the Macintosh
  2. (this file is a modified version of the READ-ME.NET file from the
  3. MS-DOS version of the KA9Q package)
  4.     
  5. The term ``TCP/IP''---``transmission control protocol/Internet
  6. Protocol'' describes a set of protocols to allow different kinds of
  7. computers to talk to each other. The TCP/IP protocols dominate the
  8. UNIX world. The KA9Q Internet Software package is ``freeware'' that
  9. was written by Phil Karn to permit IBM PC-compatibles to use the
  10. TCP/IP protocols and gain access to the machines that support them.
  11. With KA9Q, you will be able to log on to many of the machines at the
  12. University of Michigan that run the UNIX operating system, as well as
  13. other machines that use TCP/IP. Of course, it is already possible to
  14. access the UNIX machines on campus by typing ``UM-Annex'' at the
  15. ``Which Host?'' prompt provided by Merit, but unlike UM-Annex, KA9Q
  16. provides multiple sessions and supports the ``File Transfer Protocol''
  17. (FTP) that is a standard in the UNIX world.
  18.     
  19. The KA9Q package was first prepared for use by ham radio
  20. enthusiasts---hence its name: ``KA9Q'' are Phil's call letters. The
  21. version of MS-DOS KA9Q distributed at U-M was ported to Microsoft C by
  22. Bill Doster of the Computing Center staff; Bill also added two device
  23. drivers that are especially useful in the U-M environment. These
  24. device drivers were then added to the Macintosh version of KA9Q by
  25. Dave Koziol and Gordon Good.
  26.  
  27.  
  28. Note that KA9Q is NOT supported by the University of Michigan
  29. Computing Center and you cannot expect any help in using the program
  30. from Computing Center consulting staff. Like all shareware, freeware,
  31. and public domain software available through the PC1, PC2, etc. IDs on
  32. MTS, the Computing Center only affirms that staff members have tried
  33. the program, it appears to do what it is supposed to do (on our
  34. machines), and that the copy stored on MTS appears to be free of
  35. ``viruses.''
  36.     
  37. What follows is a brief introduction to installing and using the
  38. telnet, FTP, multi-session features of the KA9Q package.
  39.  
  40. Installation: Up and Running with KA9Q
  41.     
  42. UNIX systems that you can access are usually protected by a log- on
  43. and password feature. On the other hand, you do not have to be logged
  44. on to a machine in order to FTP to it. A substantial number of UNIX
  45. systems permit ``anonymous FTP,'' described later, for which users
  46. establishing connections through FTP do not need a previously supplied
  47. password at all. Needless to say, the number of subdirectories
  48. accessible through anonymous FTP are likely to be limited. Often,
  49. however, they will contain shareware, freeware, and public domain
  50. software, as well as announcements to the general public from the
  51. system operator.
  52.     
  53. With the exception of the ``anonymous FTP'' procedure, you won't be
  54. able to sign on to any machines unless the system administrator has
  55. given you a password. Therefore, a first step to take in using KA9Q is
  56. to get a password for the machine or network of machines that you want
  57. to use. (MS-DOS machines aren't usually password-protected, but
  58. etiquette requires you to contact the machines' user before you try to
  59. contact the machine---to make sure that it is turned on and ready for
  60. you.)
  61.   
  62.  
  63. The KA9Q package for Macintosh, as obtained from MTS, should contain
  64. the following files and folders:
  65. MacNET SLFP - the program itself 
  66. AUTOEXEC.DI - (see below)
  67. AUTOEXEC.SLF - (see below)
  68. HOSTS.NET    - directory of host names and internet addresses (optional)
  69. FTPUSERS     - list of users who may connect to your computer via ftp 
  70.                (normally not required)
  71. READ-ME.NET - this file
  72. SPOOL - a folder containing the following folders:
  73.   MQUEUE
  74.   RQUEUE
  75.   MAIL
  76. FINGER - a folder containing the following text file:
  77.   YOURNAME.TXT
  78. PUB - an empty folder 
  79.  
  80. The documentation for the PC version of KA9Q may also be of use.
  81. Although the MS-DOS documentation isn't included with the Macintosh
  82. version, these files may be found on the UB and UM MTS systems in a
  83. form ready for printing on one of the page printers connected to MTS.
  84. They are located in PC1:NET_DOC1.XER and PC1:NET_DOC2.XER. These
  85. documents give more detailed information on KA9Q than this file does.
  86.  
  87.  
  88. Because of MacNET SLFP's MS-DOS heritage, it make some assumptions
  89. about where its support files and folders will be located. The chart
  90. below illustrates the necessary folder structure. However, if you
  91. simply download MacNET and unstuff it using the latest version of
  92. StuffIt, all necessary files and folders will be created for you. The
  93. only requirement is that you rename AUTOEXEC.SLF or AUTOEXEC.DI
  94. (whichever is appropriate) to AUTOEXEC.NET. You may also need to make
  95. some changes to the AUTOEXEC file if your setup is not exactly the
  96. same as the default (see below).
  97.  
  98. To activate either AUTOEXEC file, rename it AUTOEXEC.NET. If you don't
  99. have AUTOEXEC.NET in the same folder as MacNET SLFP, then the program
  100. will inform you that it can't find the file "hosts.net," even though
  101. it really is missing "autoexec.net."
  102.  
  103. AUTOEXEC.SLF is for use with the voice/data telephone connections
  104. found throughout U-M buildings, the ones used to connect to UMnet.
  105. AUTOEXEC.DI is for dialing in to UMnet with a modem. You can try
  106. simply renaming the appropriate file with the NET extension and see
  107. whether that works.
  108.     
  109. If it doesn't, you may have to make some changes to your AUTOEXEC.NET
  110. file with an editor. AUTOEXEC.SLF is the best choice to examine, since
  111. it contains explanations that were stripped out of the other files.
  112. Examples of situations where you would need to edit your AUTOEXEC.NET
  113. file: 1) The line driver that runs your voice/data line is set for
  114. something other than 9600 bps (bits per second), or 2) your want to
  115. use the package from off- campus through a modem running at 300 or
  116. 2400 bps, rather than 1200. Note that the documentation provides
  117. information on installing KA9Q that is much more detailed than the
  118. notes in AUTOEXEC.SLF.
  119.     
  120. Running Telnet
  121.     
  122. Double-clicking the MacNET SLFP icon starts the program and gives you
  123. the ``net>'' prompt. If you are dialing in to the Merit network, there
  124. will be a delay as the modem dials and the MacNET program establishes
  125. a connection. To connect to a host, simply type ``telnet
  126. [44.96.0.2]'', where the number you have enclosed in brackets is the
  127. Internet Protocol (IP) address of the system you are trying to reach.
  128. Note the HOSTS.NET file that comes with the KA9Q package. You might
  129. try looking at it with your favorite word processor or text editor.
  130. HOSTS.NET gives aliases for a number of local machines. If the machine
  131. you are trying to reach is listed, then you can telnet to it by its
  132. name, e.g.: ``telnet pepe''. If the host you want is not listed, you
  133. might add its IP address and hostname to your copy of HOSTS.NET so
  134. that you won't have to remember the IP address.
  135.     
  136. Once you telnet to another machine, the program will respond ``SYN
  137. sent''. If your connection is successful, you will then be told
  138. ``Established'', and if the machine you have reached is protected by a
  139. logon routine, you'll be prompted for your ID and password. That's all
  140. there is to it.
  141.     
  142. Once you have signed off from the other machine, you can exit back to
  143. the ``net>'' prompt by pressing the escape key (the "clear" key on the
  144. numeric keypad by default), and then leave the program altogether by
  145. selecting "Quit" from the "File" menu. Although the "exit" command is
  146. a legal command (and does in fact cause the MS-DOS version to return
  147. to the DOS prompt), it does not work on the Macintosh version (typing
  148. "exit" at the net> prompt will result in a system bomb in the current
  149. version). Typing ``help'' or ``?'' at the ``net>'' prompt will give
  150. you the list of possible commands---not all of which are actually
  151. implemented. You can also get help in the Macintosh version by pulling
  152. down the Apple menu and choosing "Help."
  153.     
  154. FTP and Anonymous FTP
  155.     
  156. To establish an FTP connection, go to the ``net>'' prompt and type
  157. ``ftp [44.96.0.2]'', or whatever the IP address of the machine you are
  158. trying to reach may be. HOSTS.NET allows you to use aliases with FTP,
  159. just as you do with telnet. You will receive the customary ``SYN
  160. sent'' and ``Established'' messages. The you should see a message that
  161. begins with ``220'' and ends ``FTP ready.''---this is the host's
  162. acknowledgment of the connection. There will be no prompts during your
  163. FTP session--- you simply enter your responses on the line below the
  164. numbered FTP messages that your host will send you.
  165.     
  166. If you are FTPing anonymously, the first thing to type is ``user
  167. anonymous''. If anonymous FTP is permitted, the host will respond with
  168. something like ``guest access ok; give ident as password''. On the
  169. blank line that you are then given, type ``pass yourname''. In fact,
  170. you can type anything instead of ``yourname'', but it is polite to say
  171. who you are. Anonymous FTP will put restrictions on your access; if
  172. you are FTPing to a system where you have an established ID and
  173. password, use them instead of ``anonymous'' and ``yourname''. You will
  174. then be sent to your home directory, rather than the one set aside for
  175. anonymous visitors.
  176.  
  177. The current Macintosh version does not blank your password.
  178.  
  179. File Transfer with FTP
  180.     
  181. You can list the files in a directory with either a DOS-like ``dir''
  182. or the UNIX-like ``ls''. Both accept wildcards: ``ls *.*'' will list
  183. all the files in the directory available to the ``ls'' command. If you
  184. have the proper permissions, you can use the ``cd'' command common to
  185. UNIX and DOS to change directories.
  186.     
  187. To transfer a file, you will first want to specify whether it is a
  188. binary or text file. Enter ``type i'' to select a binary (image) file,
  189. or ``type a'' for a text or ASCII file. The default is ASCII. Almost
  190. all Macintosh public domain software is archived in ASCII format. The
  191. command to transfer a file from your machine to the remote one is
  192. ``put filename'', or if you want to change the name as you transfer
  193. it, ``put oldname newname''. To transfer files to your local system,
  194. enter ``get filename''. When you are done FTPing, type ``quit'' to end
  195. the session.
  196.  
  197. By default, the ``put'' command sends files from the same directory
  198. MacNET SLFP occupies. If you need to send a file contained in a
  199. different directory, you must refer to it using the convention
  200.  
  201. DiskName:Folder1:Folder2:filename
  202.  
  203. For example, if your disk is named "MyHardDisk" and you wish to send
  204. the file "APoem" which is in the folder "Poetry" which itself remote
  205. host, the command would be:
  206.  
  207. put MyHardDisk:Artsy:Poetry:APoem   apoem
  208.  
  209. Multiple Connections With KA9Q
  210.     
  211. The KA9Q package allows you to establish up to ten different
  212. connections at the same time---with different machines, or with the
  213. same machine if it has a multi-tasking operating system like UNIX.
  214. Without signing off from your host, press the Escape (Clear) key and
  215. return to the ``net>'' prompt. You can then use the ``telnet'' command
  216. to establish a second session, say by telneting to a different
  217. machine.
  218.     
  219. The ``ftp'' command, given at the ``net>'' prompt, establishes a
  220. connection to the remote machine separate from the one made by the
  221. ``telnet'' command. Since KA9Q supports multiple sessions, you can FTP
  222. to a UNIX system at the same time that you are telneting to it.
  223.     
  224. Typing ``session'' or just ``se'' at the ``net>'' prompt will list
  225. your sessions, starting with session 0. The active session will marked
  226. with an asterisk. You can get to any session by typing ``session 0''
  227. (or the number for any other existing session) at the ``net>'' prompt,
  228. and get to the ``net>'' prompt by pressing the Escape (Clear) key when
  229. in any session.
  230.  
  231.  
  232.  So much for the basics-- enjoy!
  233.  
  234.  Appendix: List of Key KA9Q Commands  
  235.     
  236.               Commands Issued at the ``net>'' Prompt 
  237.     
  238.  ``telnet [IP address or name listed in HOSTS.NET]'': establishes 
  239.      a telnet connection.  
  240.  ``ftp [IP address or name listed in HOSTS.NET]'': establishes an 
  241.      FTP connection.  
  242.  ``session #'' or ``se #'': switches you to session number #. If 
  243.      issued without a session number, lists the sessions. 
  244.  ``exit'': stops the NET.EXE program and returns you to DOS. 
  245.     
  246.                  To Return to the ``net>'' Prompt 
  247.     
  248.  ``Clear'': the Clear key in the numeric padreturns you to the ``net>'' prompt 
  249.      without ending your telnet or FTP session. 
  250.     
  251.               FTP Commands (FTP Provides No Prompt) 
  252.     
  253.  ``user anonymous'': to sign on to an anonymous FTP session 
  254.  ``user ID'': to sign on with the ID issued by your system 
  255.      administrator.  
  256.  ``pass yourname'': you may use any password for anonymous FTP-- 
  257.      be polite and use your name.  
  258.  ``pass password'': to finish signing on to an authorized 
  259.      account. 
  260.  ``dir'' or ``ls'': lists all files in the directory you are in. 
  261.  ``cd /newdirectory'': changes directories if you are authorized 
  262.      to do so.  
  263.  ``type a'': sets the file type to be transferred to ASCII or 
  264.      text.  
  265.  ``type i'': sets the file type to be transferred to image or 
  266.      binary.  
  267.  ``get oldname newname'': transfers a file from the remote 
  268.      machine to your machine, changing the file's name in 
  269.      the process. 
  270.  ``put oldname newname'': transfers a file from your machine to 
  271.      the remote machine. If you do not give a new name, the file 
  272.      name will not be changed.  
  273.  ``quit'': ends an FTP session. 
  274.  
  275.