home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / cisppp.txt < prev    next >
Text File  |  1998-03-12  |  19KB  |  436 lines

  1. Instructions for  the IBM Internet Connection with CIS.
  2. Revised 97/12/16
  3. Based on instructions downloaded from the INTERNET forum on 
  4. CIS on July 7, 1995.  Revisions added to the basic CIS document by Howard
  5. Acheson (hacheson@compuserve.com) with a special thank you to OS/2 Advisor 
  6. Ron Higgin and to TEAMIBM member Tony Rall for their comments and advice.
  7.  
  8.  
  9. PURPOSE - Use to configure the "Dial Other Internet Provider" dialer
  10.           for accessing the Compuserve Internet Service.
  11.  
  12. The responsibility for accessing an Internet Service Provider lies
  13. with the provider.  To support their internet service, CIS has a forum
  14. that can be reached at GO OS2CIM.  While there are many helpful and
  15. knowledgeable folks available on the OS2USER you may also access the
  16. CIS support forum for assistance.
  17.  
  18. The signon script that follows is not usable if you respond to the
  19. first system generated login prompt with something other than "CIS".
  20. If you access CIS through a provider such as TYMNET or, respond to the
  21. system prompt with some other sign-on, contact your provider for
  22. modifications to the sign-on script.
  23.  
  24. To establish a PPP connection through CompuServe, you must have
  25. one of the following installed on your system:
  26.  
  27.    o OS/2 Warp V4 with the TCP/IP v4.0 feature installed. If you do 
  28.       not have the TCP/IP feature installed you may do so using the
  29.      "Selective Install for Networking" utility in the
  30.      "Install/Remove" sub-folder of the "System Setup" folder. If
  31.      you do this and do NOT have a LAN connection then use the
  32.      "Easy" TCP/IP install procedure (NOTE: You CAN NOT install 
  33.      TCP/IP v4.0 over the IBM Internet Connection for OS/2 from the 
  34.      WARP 3.0 Bonus Pack. All remnants of the IIC must be removed 
  35.      first.) or,
  36.  
  37.    o OS/2 WARP Connect V3 with the TCP/IP v3.0 feature installed.
  38.       DO NOT install the IBM Internet Connection for OS/2 feature of 
  39.       the WARP Connect Bonus Pack when the TCP/IP feature is 
  40.       installed.  Installing the IIC over the WARP Connect TCP/IP 
  41.       feature will render TCP/IP inoperative.  TCP/IP v3.0 uses the
  42.       same dialer as IIC.  Therefore, you should download and install
  43.       PPP.ZIP to ensure you are using the latest dialer (see above) 
  44.       or,
  45.  
  46.    o OS/2 WARP V3 with the Bonus Pack's IBM Internet Connection for 
  47.       OS/2(IIC) with the latest PPP update applied.  The PPP update 
  48.       may be downloaded from library 9 ("Internet and OS/2") of
  49.       the OS2USER forum as file name "PPP.ZIP", or FTP'd from 
  50.       "ftp.ibm.net",  directory "/pub/PPP", as file name "PPP.ZIP". 
  51.       In addition, download and install the TCP/IP Base Update 
  52.       (PN71501) from Retrieve Software Updates.
  53.   
  54.      To install the PPP update:
  55.  
  56.         - place the "PPP.ZIP" file in your "\TCPIP" directory
  57.         - Open an OS/2 command prompt session
  58.         - Make the "\TCPIP" directory "current"
  59.         - UNZIP (using InfoZip's unzipper) the "PPP.ZIP" file
  60.  
  61.      If you do not have the InfoZip unzipper, PKZIP (V2.04) or
  62.      later may be used BUT you MUST run it from a DOS command
  63.      prompt session and you MUST specify the PKUNZIP "-d" option.
  64.  
  65.  
  66.      IF you have the "Warp for Windows Users" (RED spine box)
  67.      product you MUST also install OS/2 Fix Pack 5 or later.
  68.  
  69.  
  70. Once you have the PPP update installed, you need to open the Dial
  71. Other Internet Providers object. Warp V3 users will find this object
  72. in the "Internet Utilities" subfolder of the "IBM Internet Connection
  73. for OS/2" folder.  Warp V4 users will find the object in the
  74. "Internet (Modem)" subfolder of the "Programs" folder.
  75.  
  76. Once you've fired up the "Dial Other Internet Providers" utility,
  77. choose the Add Entry object, or select Add Entry from the Configure
  78. pull-down menu, then configure dialer as follows:
  79.  
  80.  Login Info page of the settings notebook:
  81.  
  82.   - In the Name: field, type CIS or PPP or some other "name" for
  83.     this connection.  This name serves only to identify the target
  84.     provider dialer entry.  The dialer itself does NOT reference this
  85.    "Name", and hence, it may contain any name YOU find meaningful
  86.  
  87.   - In the Description: field, enter a description for this
  88.     connection.  This is for descriptive purposes only.  The dialer
  89.     does NOT use the contents of this field.
  90.  
  91.    -For the Login ID: field enter your CompuServe User ID number.
  92.      Be sure to use your assigned User ID NUMBER, NOT YOUR
  93.      ALPHA CHARACTER MAIL ID.  Substitute a "." for the comma
  94.      separating the two number series.
  95.  
  96.   - Enter your password in the Password: field.  If your password
  97.      contains one or more blank characters (spaces) substitute the
  98.      TWO character string "\s" for EACH blank character
  99.  
  100.   - In the Phone Number: field, you need to enter the dial up
  101.     number that you use to connect to CompuServe.
  102.  
  103.   - Then enter the following information into the Login Sequence:
  104.     field.  Be sure there are no spaces and that each line is ended
  105.     with a <CR>.
  106.                                                << NOTES >>
  107.   \r
  108.   ame:                          <==  use lower case
  109.   CIS
  110.   ID:
  111.   [LOGINID]/GO:PPPCONNECT       <==  type exactly including brackets.
  112.   ord:                          <==  use lower case
  113.   [PASSWORD]                    <==  type exactly including brackets.
  114.  
  115. NOTE:  o Be sure there are no spaces anywhere in the above script.
  116.           o Do NOT use a "cut and paste" operation to enter the script.
  117.             Type it in directly.
  118.  
  119.           o Do NOT put your real Login ID or Password in the
  120.                  script. Use the words "LOGINID" and "PASSWORD"
  121.                  preceded and followed by brackets.
  122.  
  123.  
  124.   - Set the Connection Type to PPP.
  125.   - Set the Inactivity Time Out to the desired minutes for the
  126.     dialer to wait before automatic hang-up.
  127.  
  128.  Connect Info page of the settings notebook
  129.  
  130.   - Set the MRU (Maximum Receive Unit) to 1500.
  131.   - Place a check in the VJ Compression checkbox.
  132.   - Enter 149.174.211.5 in the Domain Nameserver: field.
  133.   - Enter compuserve.com in the Your Domain Name: field.
  134.  
  135.  Server Info page of the settings notebook
  136.  
  137.   - If you would like to use a news reader through your PPP connection,
  138.     you may enter news.compuserve.com in the News Server: field.
  139.   - Leave the other fields blank.
  140.  
  141.  Modem Info page of the settings notebook
  142.  
  143.   - Modem Type - I don't mess with this, but if you don't understand
  144.     the commands for your modem and you can find it in the list, go
  145.     ahead and select it. (See below)
  146.  
  147.   - Com Port - Get this right.  Note that if you use anything above
  148.     com2 you need to define it in CONFIG.SYS with a COM.SYS statement.
  149.  
  150.   - Speed (Baud) - This misnamed field is referring to what is
  151.     actually called the DTE speed - the data transfer rate between
  152.     the com port and the modem.  For CIS, set this to 38400.   If you seem to
  153.     be having problems communicating with the modem, drop this to 9600 to
  154.     ensure that this is not the cause.
  155.  
  156.   - Data Bits - Leave at 8.
  157.  
  158.   - Parity - Leave at NONE.
  159.  
  160.   - Prefix - Leave at ATDT (unless you don't have tone dialing; then
  161.     use ATDP).
  162.  
  163.   - Mode - Leave at Dial
  164.  
  165.   - Initialization Strings - If your modem type was not in the list
  166.     at the top of the page, see below.
  167.  
  168.  
  169. General comments about "Special" characters.
  170.  
  171. Several characters are invalid without being preceded by the escape
  172. character "\", plus other special characters (these same comments
  173. apply to the Login ID, password, and modem initialization strings):
  174.  
  175.   space - replace by "\s"
  176.   carriage return - replace by "\r" back slash
  177.   "\" - replace by "\\"
  178.   double quote " - cannot be used at all (near as I can tell)
  179.   2 second delay - use "\d"
  180.  
  181. Modem Init Strings
  182.  
  183. There is also a file titled MODEMIAK.ZIP in OS2USER library 9 that
  184. contains an updated and expanded list of modems and init strings that
  185. can be used with the dialer.
  186.  
  187. Another option is to use the initiation strings suggested for use in
  188. the IBM Dialer.  You can view these by using your editor and loading
  189. the file MODEM.LST that resides in "x:\TCPIP\ETC".
  190.  
  191. =====================================================================
  192. NOTE: If you are using OS/2 Warp Connect V3 or OS/2 Warp V4 the
  193.       "MODEM.LST" (and other files normally found in the
  194.       "x:\TCPIP\ETC" directory) will be located (by default) in the
  195.       "x:\MPTN\ETC" directory.
  196. =====================================================================
  197.  
  198. The reason there are 2 init.  strings is that some modems require a
  199. delay between a reset and any other commands.  Typically the first
  200. command is to reset to factory defaults; then the other string is used
  201. to make any changes needed from those defaults.  In practice, most
  202. modems work fine with just one string (which can be quite long), and
  203. this avoids the 2 second delay that is inserted between the 2 strings.
  204.  
  205. If you cannot find a string(s) that work, I recommend you try this (in
  206. Init. string 1; leave Init. string 2 blank):
  207.  
  208.    AT&FM1E1S0=0&C1&D2
  209.  
  210. Not all of these commands are available on every modem; if you
  211. get ERROR when you dial (as a response from the modem), start removing
  212. stuff until you don't.
  213.  
  214.  &F    reset to factory defaults (check your modem manual to see if
  215.        there is a different command for this; if there are several,
  216.        use the one for asynchronous communication with RTS/CTS
  217.        (hardware) flow control)
  218.  
  219.  M1     speaker on (usually a default)
  220.  
  221.  E1    echo on (so you can see the commands being sent to the modem,
  222.        including the dial string)
  223.  
  224.  S0=0  no auto-answer
  225.  
  226.  &C1   signal true carrier-detect
  227.  
  228.  &D2   hang-up when DTR drops (this is how slip/ppp makes the modem
  229.        break the connection)
  230.  
  231. After adding the above information you need to close the settings notebook and
  232. choose SAVE.
  233.  
  234. Using an editor, open your CONFIG.SYS file and enter the following
  235. after the other "SET" lines near the top of CONFIG.SYS (first 20
  236. lines or so).
  237.  
  238.         SET HOSTNAME=mypc  (or anything else you like)
  239.  
  240. Save the file and reboot the system.
  241.  
  242.  
  243. ESTABLISHING THE INTERNET CONNECTION
  244.  
  245. Then to establish your PPP connection, select the NAME of the
  246. connection and choose DIAL.  You will then see the initialization of
  247. the modem, the dialing, the logging in, and you should see messages in
  248. the Status Window reporting the remote IP address, VJ compression
  249. enabled, and that the default route address has been assigned.  Do
  250. not be concerned if you see a couple of "fcs" error notices.  The
  251. final line will be
  252.  
  253.        "[PPP] Enter Ctrl-C or Ctrl-Break to End Session"
  254.  
  255. When you see the above messages, then the connection is complete.
  256. You must leave the dialer running while you have the PPP connection
  257. active.  You may want to minimize the dialer after the connection is
  258. established.
  259.  
  260.  
  261.   NOTE:  SENDING/RECEIVING INTERNET MAIL (E-MAIL)
  262.  
  263. You can NOT use UltiMail Lite/2 (or any other mail handler) to
  264. send/receive mail when connected to the Internet via CIS.  This is
  265. because CIS does NOT provide a POP (Post Office Protocol) server.  You
  266. can continue to use a non-internet CIS navigator (CIM, Golden
  267. CommPass,etc) to send mail to, or receive mail from the Internet by
  268. way of the CIS supplied Internet gateway (simply address your mail to
  269. "INTERNET:xxxxxx@yyyyy.zzzzz").
  270.  
  271.  
  272.   PROBLEM SOLVING
  273.  
  274. The number one reason for an unsuccessful connection is having illegal
  275. characters (usually spaces) in the script, modem strings, password
  276. and/or user ID.  Be sure and check by placing your cursor at the
  277. beginning of a space, pressing and LMB while dragging the cursor to
  278. the end of the space or to the end of the line of the script.  There
  279. should be not empty spaces in any of the "fill in" spaces and only one
  280. space at the end of each line in the script.
  281.  
  282. IMPORTANT
  283. If you are using WARP v4 be sure you have not installed TCP/IP v4.0 
  284. over the WARP 3.0 Bonus Pak IBM Internet Connection for OS/2.  You 
  285. must remove the IIC by deleting all TCPIP references in your 
  286. CONFIG.SYS, rebooting and deleting all the TCPIP directories, 
  287. subdirectories and files.
  288.  
  289.  * After clicking on the Dial icon, it switches to Hang-up
  290.     and then immediately switches back to Dial - quitting immediately.
  291.  
  292.   - Make sure there are no spaces in your userid or password; you
  293.     can substitute "\s" for any spaces.
  294.  
  295.   - Your com port is not defined to OS/2.  On ISA bus machines,
  296.     COM1 and COM2 are the only ones defined by default.  If you use
  297.     COM3 or 4, you need to add a COM.SYS statement to config.sys (and
  298.     reboot).
  299.  
  300.   - Your com port is still held by some other program (another com
  301.     or fax program).  You must exit that program before dialing.
  302.  
  303.   - Anyone using the original red spine Warp (for Windows) and
  304.     communications apps should have at least fix pack 5 installed.
  305.  
  306. * The dialer does not appear to talk to the modem and, after one
  307.   minute, terminates with a failure.  On some hardware combinations
  308.   there appears to be a flow control problem on the com port.
  309.   Issuing the following command before dialing may help:
  310.   MODE.COM COMn:1200
  311.  
  312.   On other modems, forcing the modem to reset after the previous
  313.   connection helps.  Change &D2 in your modem init. string to &D3
  314.   (not all modems support this command).
  315.  
  316.   Other users have solved this problem by replacing com.sys with
  317.   the shareware (by Ray Gwinn) SIO.SYS, generally available at your
  318.   favorite download sites.
  319.  
  320. * can not find hostname-See instructions for SET HOSTNAME above.
  321.  
  322. * [io_event] Unsupported protocol (xxxx) received.
  323.   The remote server is trying to setup additional communications
  324.   protocols (such as IPX) that ppp.exe does not support.  This is just
  325.   an informational message.  Ppp.exe will reject that protocol; this
  326.   will not cause a problem unless the server insists on that protocol
  327.   being supported.
  328.  
  329. * [io_event] Unsupported protocol (2080) received.
  330.   This is a special case of the previous item.  The 2080 is definitely
  331.   not a ppp protocol - it happens to be a couple of ASCII characters
  332.   typically used to format text (non-ppp) messages.  In other words,
  333.   the server is not yet in ppp mode (but OS/2 is).
  334.  
  335.   This usually means that either:
  336.  
  337.   - you didn't get correctly logged in (from the server's viewpoint),
  338.     and it is sending you error messages, but ppp.exe is expecting
  339.     formatted ppp messages at this point
  340.  
  341.   - you did get logged in, but the server is sending a few more
  342.     text messages, such as:
  343.      Ok, you're on
  344.      Let me get my ppp code fired up
  345.      Hold on a sec
  346.      Ok, it's up
  347.      Have a good day
  348.  
  349.   If you want to eliminate this error, you have to find out what the
  350.   messages are.  In the first case (bad login), correcting the login
  351.   should suffice.  In the second, you'll need a fancier Login Sequence
  352.   (not a blank or NONE LS).  One way to determine what is being sent
  353.   is to put an intentional error in your LS: after the last line to be
  354.   sent to the server add a line with "xxxyyy".  This won't match, so
  355.   the Status window will display all messages received.  If it wasn't
  356.   indicating a login error, replace the xxxyyy with the last part of
  357.   the last such message.  In the example above, the last line in your
  358.   Login Sequence should contain:
  359.  
  360.      good\sday
  361.  
  362. * Invalid FCS - Bad phone line or modem, or, more likely, ppp.exe has
  363.   entered ppp mode while the remote system is still sending text
  364.   messages.  The latter can often be corrected by improvising a better
  365.   Login Sequence.  But don't do anything at all if you just get a few
  366.   of these messages at the start of the connection.  If they continue
  367.   throughout your session, you should try to correct the problem -
  368.   usually a phone or modem problem.
  369.  
  370.   - getting a better serial card (with a buffered uart)
  371.  
  372.   - running the com port at a lower speed ("baud" on page 4)
  373.  
  374.   - replacing the serial cable
  375.  
  376.   - getting a better phone connection
  377.  
  378.   - using a better initialization string for the modem
  379.  
  380.   - suppressing modem compression (such as V.42bis)
  381.  
  382.   - replacing the modem
  383.  
  384.   - replacing com.sys with the shareware sio.sys (or vice versa). SIO
  385.     is available from CIS in OS2BVEN library 4 as SIOxxx.ZIP or from
  386.     most OS2 BBS's.
  387.  
  388. *   Some USR Sportster modems seem to have trouble accessing the
  389.      internet through CIS.  Be sure to use the modem strings in the
  390.      updated list MODEMIAK.ZIP as described above.  The strings in the
  391.      original modem.iak are incorrect.
  392.  
  393. *   In some cases, adding "PPP" as the final line in your script will
  394.      facilitate securing a connection.  Be sure to use it only if necessary
  395.      and use all upper case.
  396.  
  397. * After the message "Enter Ctrl-C or Ctrl-Break to End Session", you get:
  398.  
  399.    notice : DCD lost, exiting
  400.    info : Exit called
  401.    info: Terminating link
  402.  
  403.   - This could be caused by an attempt by your system to send mail to
  404.      a mail gateway if you do not have a correctly configured mail setup.
  405.      Messages may end up queued in etc\mqueue\.  When you make your
  406.      connection an attempt is made to send these messages immediately.  If
  407.      you still have a bad mail configuration, you can get the error
  408.      described above, and ppp (erroneously) hangs up.  Erase the files in
  409.      the etc\mqueue directory and try redialing.
  410.  
  411.   - The problem may be in your modem cable.  Older modem cables frequently
  412.      did not have all pins (25) and/or wires.  If you have an older cable, try
  413.      a new one.
  414.  
  415. * You tell the system to hangup, but the modem stays off-hook (it does
  416.   not hangup).  This can run up your phone bill (if a toll call) and
  417.   can foul up your next connection attempt.  There are 2 ways that
  418.   software can tell the modem to hangup:
  419.  
  420.   The "+++ ATH0" escape sequence and command will make most modems
  421.   hangup, but I know of no way to make the dialer issue this.
  422.  
  423.   The method used by the dialer is to drop DTR.  Unfortunately this
  424.   requires that the modem pay attention to the DTR signal, and modems
  425.   can be configured to ignore it.  On many modems the default setting
  426.   is to obey DTR (and hangup when it drops); on other modems &D2 should
  427.   be included in the init. string.
  428.  
  429.   Some modems may not recognize the change in the DTR signal.  This
  430.   can be controlled by the setting of S25, on at least most modems.
  431.   If &D2 by itself is insufficient to provoke hangup, add S25=5 to
  432.   your modem initialization string.
  433.  
  434.  
  435.  
  436.