home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / iakhelp.txt < prev    next >
Text File  |  1995-02-28  |  12KB  |  299 lines

  1. @BEGIN
  2.  
  3. Getting the Most out of your Internet Access Kit (IAK)   Version 1.0
  4. --------------------------------------------------------------------
  5.                        by Matthew S. Staben
  6.                           mstaben@us.net
  7.                              2-26-95
  8.  
  9. With the OS/2 Warp (3.0) package, one has the option of installing the
  10. Internet Access Kit which comes on the bonus-pack CD.  This package is
  11. a hacked subset of the original TCP/IP 2.0 package.  It includes
  12. utilities allowing a user to read and post to newsgroups, do electronic
  13. mail, and much more.  It also offers a service through IBM.NET at an
  14. outrageous price.  I have purchased time through an alternate provider
  15. which is much cheaper and allows more flexibility, including the
  16. use of the PPP (Point-to-Point) protocol.  ** IF YOU ARE NOT USING
  17. THE PPP UPGRADE, EVEN IF YOU USE SLIP, YOU CANNOT DO STEP 5 IN THIS
  18. DOCUMENT.
  19.  
  20. Unfortunately, the programs which are provided by IBM are slow and
  21. kludgy unless the user has 16 megabytes of RAM.  I demand total
  22. performance and do not care much for the fancy graphics if it means
  23. I'll be sacrificing performance.  The Ultimail package is, I admit,
  24. an extremely good product however.  It offers drag-and-drop, bit-map
  25. editing, among other features.  The newsreader however, leaves much
  26. to be desired.
  27.  
  28. Some of you will notice that when posting with the newsreader, IBM has
  29. put in a stupid notice which pops up asking if you have read the guide
  30. to network ettiquete.  "Are you sure you want to post?"  I'd have to
  31. say that when I press "Post", I mean it!
  32.  
  33. This article is designed to help you get up and running on TCP/IP,
  34. trim out the unnecessary junk, set up the TIN and ELM newsreader
  35. and mailer, set up the POP client, and create a command file which
  36. will dial your service.  This article also assumes you have already
  37. completed an installation of the IAK (TCP/IP).  You will need to
  38. first obtain, from any service, the following files:  (I suggest
  39. either ftp'ing hobbes.nmsu.edu, or ftp-os2.cdrom.com)
  40.  
  41.    TIN122.ZIP      Un*x port of the TIN newsreader.
  42.    ELM23-2.ZIP     Un*x port of the ELM mail program.
  43.    POPCL221.ZIP    Allows one to set up a POP client for ELM.
  44.    PPPFK101.ZIP    PPP fake, pretends to be the dialer.
  45.    EMXRT.ZIP       The EMX runtime files.  You may already
  46.                    have them.
  47. ------------------------------------------------------------------
  48.    PPP.ZIP         The PPP/SLIP update from IBM.  INSTALL
  49.                    THIS FIRST IF YOU HAVEN'T DONE SO.  IF
  50.                    YOU ALREADY HAVE, FORGET IT.  RETRIEVE
  51.                    SOFTWARE UPDATES DOES THIS FOR YOU
  52.                    AUTOMATICALLY.
  53. ------------------------------------------------------------------
  54.  
  55. NOTE:  When UNZIPPING files, always unzip with directories.
  56. InfoZIP's UNZIP utility does not require any parameters, but
  57. PKUNZIP requires that the -d parameter be supplied.  You MUST
  58. use HPFS partitions for both TIN and ELM as long filenames are
  59. used, as well as the temporary directory to where you unzip
  60. these files.  THESE ARE UNIX PORTS, not some DOS KLUDGE!
  61.  
  62.  
  63. Step 1:  Clean up your CONFIG.SYS
  64.  
  65. Place REM statements in front of several of the DOS drivers.  You're
  66. not going to need them unless you're running TCP/IP from DOS.  It's
  67. a waste of memory.  Even if you plan to later, you can always remove
  68. the REM statements and reboot.  You will NOT need to
  69. reboot unless you want to have that memory *now*.  Mine look like this:
  70.  
  71. rem DEVICE=h:\tcpip\bin\vdostcp.vdd  -- DOS TCP/IP Virtual Device Driver
  72. rem DEVICE=h:\tcpip\bin\vdostcp.sys  -- DOS TCP/IP Stack
  73. rem RUN=h:\tcpip\bin\vdosctl.exe     -- DOS TCP/IP OS/2 <-> DOS (Coordinator)
  74.  
  75. Step 2:  Install TIN
  76.  
  77. Unzip the TIN122.ZIP file into a temporary directory.  This will break
  78. out several files.  You will need to delete the junk files.  These are
  79. README.OS2 and TCPIPDLL.ZIP.  ** If you want to read README.OS2 for your
  80. education, go ahead.  I will be providing the relevant information below:
  81.  
  82. Rename TIN.EXE to RTIN.EXE.  This will cause TIN.EXE (through some inner
  83. PSP magic) to revert to NNTP newsserver mode instead of UUCP.  Then,
  84. create a TIN.CMD file which looks like mine:
  85.  
  86. ----------------BEGIN----------------
  87. @echo off
  88. set USER=mstaben
  89. set REALNAME=Matthew S. Staben
  90. set HOME=H:/tcpip/home
  91. set TMP=H:/tcpip/tmp
  92. set NNTPSERVER=news.us.net
  93. set HOSTNAME=usnet.us.net
  94. set TIN_SPOOLDIR=H:/TCPIP/TIN
  95. set TIN_LIBDIR=H:/TCPIP/TIN
  96. set TIN_NOVROOTDIR=H:/TCPIP/TIN
  97. set LINES=25                    // WANT 50 lines, set it to 50
  98. set COLS=80
  99. rem MODE CO80,25                // YOU CAN SET YOUR VIDEO
  100. set EDITOR=T32.EXE              // TO YOUR PREFERENCE
  101. set VISUAL=T32.EXE
  102. RTIN
  103. -----------------END-----------------
  104.  
  105. You'll notice I use the Technical Editor.  If this is left blank, the
  106. default is the EPM editor.  README.OS2 explains each of these fields.
  107. Next, copy all three of the files, RTIN.EXE, TIN.CMD, and TIN.MAN to
  108. the \TCPIP\BIN directory.  TIN.MAN can be anywhere you wish, but I
  109. keep mine in the BIN directory for easy lookup.  Delete the source
  110. files after the copy.  You will be using this empty directory for
  111. the ELM executable.
  112.  
  113. Step 3:  Install ELM
  114.  
  115. Next, in the same directory, unzip ELM23-2.ZIP file.  Installation of
  116. this is much more complex, and the program includes the SOURCE files
  117. which are not needed.  When ELM is unzipped it will place files in a
  118. directory tree.  You will not need the files in any of the directories
  119. except the BIN and DOC directories.
  120.  
  121. First, copy all the files in the temp\BIN directory to the \TCPIP\BIN
  122. directory, or alternatively, create a path that points to the
  123. ELM files so you can tell them apart.  You will need to add to the
  124. PATH statement in the CONFIG.SYS if you do so.  For my installation,
  125. I just copied the files into my \TCPIP\BIN directory, and the
  126. documentation files from the temp\DOC directory to the \TCPIP\ETC\ELM
  127. directory (you need to create it first!)
  128.  
  129. You will have also copied a file, ELM-TCP.RC file with the other
  130. files in temp\BIN.  Edit this file and make the appropriate changes
  131. as I did mine:          (( YOU DO NOT NEED TO REMOVE THE COMMENTS ))
  132.  
  133. ----------------BEGIN----------------
  134. Rmail=sendmail
  135. Options=background
  136. NodeName=mstaben
  137. Domain=us.net
  138. FromDomain=us.net
  139. ReplyTo=mstaben@us.net
  140. ConfDir=H:/tcpip/etc
  141. MailDir=H:/tcpip/mail
  142. TempDir=H:/tcpip/tmp
  143. Mailbox=mstaben
  144. Name=Matthew S. Staben
  145. Home=H:/tcpip/home
  146. Editor=T32.EXE %s
  147. Pager=T32.EXE %s
  148. -----------------END-----------------
  149.  
  150. And then, edit your CONFIG.SYS so that the following lines are added
  151. to it, as I did mine:
  152.  
  153. (( My EMX runtime DLLs are in H:\EMX, SEE (!!!) BELOW FOR MORE INFO. ))
  154.    [You can search for !!! and find the reference]
  155.  
  156. ----------------BEGIN----------------
  157. SET HOSTNAME=usnet.us.net
  158. SET TERM=mono
  159. SET TERMCAP=H:\EMX\ETC\TERMCAP.DAT
  160. SET UUPCSYSRC=H:\TCPIP\BIN\ELM-TCP.RC
  161. SET UUPCUSRRC=H:\TCPIP\BIN\ELM-TCP.RC
  162. -----------------END-----------------
  163.  
  164. ** VERY IMPORTANT **
  165.  
  166. ELM requires a file called \TCPIP\ETC\SENDMAIL.CF.  This file is
  167. supplied with the IAK as SENDMAIL.UML (for Ultimail).  You should
  168. COPY this file to SENDMAIL.CF and with the "E.EXE" editor, and NONE
  169. OTHER, edit this file and change the lines as I did:
  170.  
  171. (( The E.EXE editor does not expand tabs or do anything with them,
  172.    as other editors do.  This caused me much unnecessary grief!   ))
  173.  
  174. ----------------BEGIN----------------
  175. # The unqualified (domain-less) name of the mail relay
  176. DVmail
  177. # The fully-qualified domain name of the mail hub
  178. DHus.net
  179. # Version # of this file
  180. DZ1.0um
  181. -----------------END-----------------
  182.  
  183. Step 4:  Install the POP Client
  184.  
  185. The next step is to remove all other traces of the ELM23-2.ZIP file,
  186. and unzip the POPCL221.ZIP file.  When this is done, you should edit
  187. the POPCLID.CMD file on the relevant lines as I've done:
  188.  
  189. ----------------BEGIN----------------
  190. host = 'us.net'                      /* POP host name                */
  191. loginname = 'mstaben'                /* Login name on the host       */
  192. password = 'dontwork'                /* Password on the host         */
  193. delay = 120                          /* Seconds between mail checks  */
  194.  
  195. mda_path = 'filter.exe'
  196. mda_args = '-v -u mstaben'
  197. -----------------END-----------------
  198.  
  199. And then, you should copy POPCLIENT.EXE, POPCLID.CMD, LAMAILER.CMD to
  200. the \TCPIP\BIN directory.  This program requires that the EMX runtime
  201. files be set up.  These are avaialable from the EMXRT.ZIP files.  I
  202. recommend that the EMX files be set up in a separate directory and
  203. the path pointed to in CONFIG.SYS.  These files are updated every few
  204. months. (!!!)
  205.  
  206.  
  207. Step 5:  Set up your alternate provider.
  208.  
  209. If you are using an alternate provider, and have set up (as per the
  210. instructions) the dialer (presentation manager), you are ready to go
  211. on.  If you have not successfully connected to a provider, STOP HERE
  212. and WORK ON CONNECTION.  There are many FAQ's on how to connect using
  213. this option.
  214.  
  215. Assuming you've already managed to get a working connection, you should
  216. unzip the pppfk101.ZIP file and follow the instructions.  They are
  217. straightforward -- except they do not mention where the files it creates
  218. will be placed.  I found mine in the root directory of the C:\ directory!
  219.  
  220. These files are simply command files which call SLIP.EXE or PPP.EXE just
  221. as if you had called them with the presentation manager dialer.  I've
  222. included my PPPCMD.CMD file in case PPPFK101.ZIP is unavailable or
  223. for whatever other reason you may have:
  224.  
  225. ** NOTE:  The only change I made was to change my password to "dontknow,"
  226.           and the phone number.  This command file will also redial if
  227.           there is no answer or busy, a very handy ability.  I also
  228.           placed this file in H:\TCPIP\BIN as I did everything else.
  229.  
  230. ----------------BEGIN----------------
  231. :begin
  232. ppp.exe com2 57600 mru 1500 rtscts modem defaultroute       (( SAME LINE ))
  233. netmask 255.255.0.0 priority 1 notify exit user mstaben     (( SAME LINE ))
  234. name mstaben secret dontknow -vj idle 120 connect "slattach (( SAME LINE ))
  235. ATZ OK AT&C1&D2&K3&Q5S11=55S95=47 OK ATDT301-555-1212 NNECT (( SAME LINE ))
  236. \r login: mstaben ssword: dontknow usnet ppp\r"             (( SAME LINE ))
  237. if errorlevel 4 goto 4
  238. if errorlevel 3 goto 3
  239. if errorlevel 2 goto 2
  240. if errorlevel 1 goto 1
  241. if errorlevel 0 goto 0
  242. echo NONE
  243. goto exit
  244. :1
  245. echo BUSY/FAILED DIAL
  246. goto begin
  247. :2
  248. echo TWO
  249. goto exit
  250. :3
  251. echo THREE
  252. goto exit
  253. :4
  254. echo NORMAL EXIT BY KEY
  255. goto exit
  256. :exit
  257. -----------------END-----------------
  258.  
  259. Step 6:  Make your directories.
  260.  
  261. For the last, and most simple step, you need to make the directories
  262. that ELM and TIN will need.  These are the:
  263.  
  264.         H:\TCPIP\TMP
  265.         H:\TCPIP\HOME
  266.         H:\TCPIP\MAIL
  267.         H:\TCPIP\HOME\.TIN              (yes, that's a DOT)
  268.         H:\TCPIP\HOME\ELM
  269.  
  270. The signature file can be placed here, as .signature and signature, one
  271. for each of the packages (I've not found exactly which one it is).
  272.  
  273.  
  274.  
  275. There, you have it.  I have detailed my entire installation for the
  276. alternative utilities.  To start it off, I attached an ICON to my
  277. file STARTPPP.CMD, which is as follows:
  278.  
  279. ----------------BEGIN----------------
  280. start /c /b /fs pppcmd.cmd
  281. start /c /b /fs popclid
  282. start /c /b /fs elm
  283. exit
  284. -----------------END-----------------
  285.  
  286. Sure, your computer will hog up at first ... but once its going,
  287. and a couple of minutes have passed for POPCLID to reset once (since
  288. it first tries before PPPCMD.CMD connects), you should get your
  289. mail.  To get into the newsgroups, simply type "TIN" and you're on
  290. your way.
  291.  
  292. GOOD LUCK, and HAPPY SURFING!  If you have any questions, please feel
  293. free to contact me at mstaben@us.net.  I check my mail every time I
  294. walk up to the computer (by starting STARTPPP.CMD).  I can also be
  295. reached at 11MSTABEN@GALLUA.GALLAUDET.EDU.  This mailbox is checked
  296. more frequently.
  297.  
  298. @END
  299.