home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / wpfaq001.zip / T_FAQC.TXT < prev    next >
Text File  |  1995-04-29  |  22KB  |  655 lines

  1. This is my attempt at listing some Frequently Asked Questions for the
  2. newsgroup comp.os.os2.networking.tcp-ip, which is where IBM tells us
  3. all to look for support and exchange information about OS/2 Warp when
  4. running the Internet Access Kit.
  5.  
  6. DISCLAIMER:  The information contained within this document was mostly
  7. extracted from posts made to comp.os.os2.networking.tcp-ip and thus
  8. has only the credibility of the original poster, which can range
  9. anywhere from "propagator of ill-founded rumors," right on up to the
  10. "official words of IBM," or even higher. ;-)
  11.  
  12.      THIS DOCUMENT IS PROVIDED "AS-IS" AND ANY USE HEREOF IS AT THE
  13.      RISK OF THE USER.  ABSOLUTELY NO REPRESENTATION IS MADE AS TO
  14.      THE COMPLETENESS, ACCURACY, TRUTHFULNESS, USABILITY, OR OTHER
  15.      CHARACTERISTIC OF THE INFORMATION CONTAINED HEREIN.  FURTHER,
  16.      ABSOLUTELY NO REPRESENTATION IS MADE AS TO THE OWNERSHIP OF
  17.      ANY RIGHTS TO ANY OF THE INFORMATION CONTAINED HEREIN.  IF YOU
  18.      NEED SOMEONE TO EXPLAIN TO YOU THAT YOU USE THE INFORMATION
  19.      CONTAINED HEREIN AT YOUR OWN RISK, THEN YOU ARE EXPLICITLY
  20.      PROHIBITED FROM USING ANY INFORMATION CONTAINED HEREIN.
  21.  
  22. All information contained herein is copyright by the various authors
  23. thereof, and on their behalf, I am demanding a royalty of $1,000 per
  24. use for any use by Microsoft Network.  Any such usage is deemed to be
  25. consent to this royalty agreement, and payment shall be immediately
  26. remitted to:
  27.  
  28.      William A. Schultz          guru@deltanet.com (Bill Schultz)
  29.      P. O. Box 18732
  30.      Irvine, CA  92713-8732
  31.  
  32. I am actively soliciting comments, clarifications, and requests for
  33. changes to this FAQ.  Either questions, answers, or both may be
  34. submitted.  Of course, the bulk of the information contained herein
  35. has been, and will continue to be, extracted from the newsgroup
  36. discussion threads in comp.os.os2.networking.tcp-ip as time goes by.
  37.  
  38. This is file number 11 of 12.  It contains the third part of some
  39. long information which would not easily fit within parts 1 through 8.
  40.  
  41. TABLE OF CONTENTS:
  42.  
  43.      FAQ PART ONE:
  44.  
  45.           1.0  GENERAL QUESTIONS
  46.           2.0  GENERAL IBM QUESTIONS
  47.           3.0  GENERAL OS/2 QUESTIONS
  48.           4.0  OS/2 INTERNET ACCESS KIT (IAK) QUESTIONS
  49.           4.1  GENERAL IAK QUESTIONS
  50.           4.2  GENERAL PROXY SERVER QUESTIONS
  51.           4.3  DIAL OTHER PROVIDER QUESTIONS
  52.           4.3.1  GENERAL DIAL OTHER PROVIDER QUESTIONS
  53.  
  54.      FAQ PART TWO:
  55.  
  56.           4.3.2  SLIP SPECIFIC QUESTIONS
  57.  
  58.      FAQ PART THREE:
  59.  
  60.           4.3.3  PPP SPECIFIC QUESTIONS
  61.  
  62.      FAQ PART FOUR:
  63.  
  64.           4.3.4  TIA SPECIFIC QUESTIONS
  65.           4.4  ULTIMAIL/LITE QUESTIONS
  66.           4.5  NEWS READER/2 QUESTIONS
  67.           4.6  SENDMAIL QUESTIONS
  68.  
  69.      FAQ PART FIVE:
  70.  
  71.           4.7  WEB EXPLORER QUESTIONS
  72.           4.8  FTP QUESTIONS
  73.           4.9  GOPHER QUESTIONS
  74.           4.10  RETRIEVE SOFTWARE UPDATES QUESTIONS
  75.           4.11  OTHER IAK SOFTWARE QUESTIONS
  76.           4.12  WINDOWS TCP/IP WITH IAK SOFTWARE QUESTIONS
  77.  
  78.      FAQ PART SIX:
  79.  
  80.           5.0  OS/2 TCP/IP QUESTIONS
  81.  
  82.      FAQ PART SEVEN:
  83.  
  84.           5.0  OS/2 TCP/IP QUESTIONS (Continued)
  85.           6.0  OTHER BONUS PACK SOFTWARE QUESTIONS
  86.           7.0  IBM RESOURCES
  87.           8.0  THIRD PARTY SOFTWARE QUESTIONS
  88.           9.0  OTHER RESOURCES
  89.  
  90.      FAQ PART EIGHT:
  91.  
  92.           9.0  OTHER RESOURCES (Continued)
  93.  
  94.      FAQ PART NINE:
  95.  
  96.           APPENDIX A - INSTRUCTIONS FOR INSTALLING FIXPACK 5
  97.  
  98.      FAQ PART TEN:
  99.  
  100.           APPENDIX B - SLIP CONFIGURATION EXAMPLE
  101.  
  102.      FAQ PART ELEVEN:
  103.  
  104.           APPENDIX C - PPP CONFIGURATION EXAMPLE
  105.  
  106.      FAQ PART TWELVE:
  107.  
  108.           APPENDIX D - ABBREVIATED SENDMAIL DOCUMENTATION
  109.  
  110. EDITOR'S NOTE:  This document is very much a work in process.  In fact,
  111. I have not yet completed editing it.  However, because there is so
  112. much useful information available herein, I have decided to go ahead
  113. and post it anyway.  This should result in some comments from all of
  114. you which might save me the trouble of editing this further. (i.e., if
  115. nobody thinks this is a good idea, or that it is way too long. ;-)
  116.  
  117. APPENDIX C - PPP CONFIGURATION EXAMPLE
  118.  
  119. From: craigham@gate.net (Craig Hamilton)
  120. Newsgroups: comp.os.os2.networking.tcp-ip
  121. Subject: Re: REXX Script for PPP
  122. Date: Wed, 05 Apr 1995 14:05:46 -0400
  123. Message-ID: <6vtgvMRGPnKH082yn@gate.net>
  124. References: <3lbrba$3a9@news-rocq.inria.fr> 
  125. <3livi7$l4e@fox.almaden.ibm.com>
  126.  
  127. akrstic@novatel.ca (Alex Krstic) wrote:
  128. > Ya know Tony, I don't know how many people have asked for examples of 
  129. > "working" scripts for PPP. Yet why doesn't IBM post examples and 
  130. answers to 
  131. > the most frequently asked questions. It almost seems as if those who 
  132. have 
  133. > found the "holy grail" don't wish to share it.
  134.  
  135.  
  136.      Here's the version of the "holy grail" that I use.
  137.  
  138.  
  139. /*---------------------------------------------------------------------
  140. ----*/
  141. /*                                                                         
  142. */
  143. /*      OS/2 2.1 & WARP REX Driver for IBM TCP/IP version 2.0 / IAK        
  144. */
  145. /*                                                                         
  146. */
  147. /*           PPP RE-DIALING SCRIPT FOR CALLING CYBERGATE                   
  148. */
  149. /*                                                                         
  150. */
  151. /*                                                                         
  152. */
  153. /*                           GATE-PPP.CMD                                  
  154. */
  155. /*                                                                         
  156. */
  157. /*                                                                         
  158. */
  159. /* Attachment script for dialing, AND RE-DIALING!,  into CyberGate's       
  160. */
  161. /* Annex terminal server in order to establish a PPP connection.  This     
  162. */
  163. /* script should be specified on page 1 in the Login Script field for      
  164. */
  165. /* connections via slipPM or using the -connect option if executing ppp    
  166. */
  167. /* directly.                                                               
  168. */
  169. /*                                                                         
  170. */
  171. /*                    IMPORTANT NOTICE, PLEASE READ:                       
  172. */
  173. /*                                                                         
  174. */
  175. /*  THIS SCRIPT MUST BE LOCATED IN THE ROOT DIRECTORY OF THE DRIVE ON      
  176. */
  177. /*  WHICH PPP.EXE RESIDES, OR IT MAY NOT BE FOUND BY THE DIALER !!!        
  178. */
  179. /*                                                                         
  180. */
  181. /*.....................................................................
  182. ....*/
  183. /*                                                                         
  184. */
  185. /*   INSTRUCTIONS:                                                         
  186. */
  187. /*                                                                         
  188. */
  189. /*   1) Copy this script to the root directory on the drive where the      
  190. */
  191. /*      IAK is installed                                                   
  192. */
  193. /*                                                                         
  194. */
  195. /*   2) Edit the following lines in the script to replace the generic      
  196. */
  197. /*      info with your particular user information:                        
  198. */
  199. /*                                                                         
  200. */
  201. /*       dialcmd.1="ATDTxxx-xxx"                                           
  202. */
  203. /*       username="my_user_name"                                           
  204. */
  205. /*       password="my_password"                                            
  206. */
  207. /*                                                                         
  208. */
  209. /*     For example:  If your username is johndoe, your password is         
  210. */
  211. /*     123abc and you call into the West Palm Beach POP with touch-tone    
  212. */
  213. /*     service , the info would look *exactly* like this:                  
  214. */
  215. /*                                dialcmd.1="ATDT737-5867"                 
  216. */
  217. /*                                username="johndoe"                       
  218. */
  219. /*                                password="123abc"                        
  220. */
  221. /*                                                                         
  222. */
  223. /*    3) You may need to customize the setting to reset your modem         
  224. */
  225. /*       by changing the line:                                             
  226. */
  227. /*                  modemreset1="ATZ"                                      
  228. */
  229. /*                                                                         
  230. */
  231. /*                                                                         
  232. */
  233. /*   4) In the "Login Sequence" window of the Dialer's Provider info,      
  234. */
  235. /*       type in the name of the script, i.e.:  gate-ppp.cmd               
  236. */
  237. /*                                                                         
  238. */
  239. /*---------------------------------------------------------------------
  240. ----*/
  241.  
  242.  
  243.  
  244.  
  245. /*---------------------------------------------------------------------
  246. -*/
  247. /*                This line is for parsing info sent by the dialer      
  248. */
  249. /*---------------------------------------------------------------------
  250. -*/
  251. parse arg interface , port , . , dialcmd , username , password
  252.  
  253.  
  254. /*---------------------------------------------------------------------
  255. -*/
  256. /*           These are some necessary REXX functions                    
  257. */
  258. /*---------------------------------------------------------------------
  259. -*/
  260. call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysloadFuncs'
  261. call SysLoadFuncs
  262.  
  263.  
  264.  
  265. /*--------------------------------------------------------------------
  266. */
  267. /* Enter the PHONE NUMBER(S) in this section                          
  268. */
  269. /*....................................................................*
  270. /
  271. /*  If you will use more than one phone number, enter the total       
  272. */
  273. /*  number of phone  numbers in dialcmd.0=x                           
  274. */ 
  275. /*....................................................................*
  276. /
  277. /* waittime= is how many seconds to wait for a connection, and is     
  278. */
  279. /* user-configurable.                                                 
  280. */
  281. /*--------------------------------------------------------------------
  282. */
  283.  
  284. dialcmd.0=1
  285. dialcmd.1="ATDTxxx-xxxx"
  286. waittime=50
  287.  
  288.  
  289.  
  290. /*--------------------------------------------------------------------
  291. */
  292. /* Enter your USERNAME and PASSWORD here and be sure to keep them in  
  293. */
  294. /* quotation marks.                                                   
  295. */
  296. /*--------------------------------------------------------------------
  297. */
  298. username="my_user_name"
  299. password="my_password"
  300.  
  301.  
  302.  
  303.  
  304. /* ---------------------------------------------------------------- */
  305. /* Customize this for for your modem make and model, if necessary.  */
  306. /* ---------------------------------------------------------------- */
  307. /* USRobotics Courier or Sportster modem */
  308. modemreset1="ATZ"
  309.  
  310.  
  311.  
  312. /*--------------------------------------------------------------*/
  313. /*                   Initialization and Main Script Code        */
  314. /*--------------------------------------------------------------*/
  315. /* Set some definitions for easier COM strings */
  316. cr='0d'x
  317. crlf='0d0a'x
  318.  
  319. say ''
  320. say 'PPP - ANNEX - Xyplex Connection Script ',
  321.     '(interface' interface')'
  322.  
  323. dialcount=0
  324. redialit:
  325. /* Flush any stuff left over from previous COM activity */
  326. call flush_receive
  327. call flush_receive
  328.  
  329. /*---------------------------------------------------------------------
  330. -*/
  331. /*                       Reset the modem here                           
  332. */
  333. /*      You may need to customize this for your modem make and model    
  334. */
  335. /*---------------------------------------------------------------------
  336. -*/
  337. call lineout , 'Reset modem...'
  338. call send modemreset1 || cr
  339. call waitfor 'OK', 5 ; call flush_receive 'echo'
  340.  if RC = 1 then do
  341.     call lineout , 'Modem not resetting... Trying again'
  342.     call send '+++'
  343.     call waitfor 'OK', 3
  344.     call send 'ATHZ' || cr
  345.     call waitfor 'OK', 3
  346.     call send modemreset1 || cr
  347.     call waitfor 'OK', 5 ; call flush_receive 'echo'
  348.   end
  349.  
  350. dialcount=1
  351.  
  352. /*--------------------------------------------------------------------
  353. */
  354. /*                  Determine which phone number to dial              
  355. */
  356. /*--------------------------------------------------------------------
  357. */
  358. dialcount=dialcount+1
  359. if dialcount > dialcmd.0 then
  360. do
  361.    dialcount=1
  362. end
  363. dialwhat=dialcmd.dialcount
  364. call charout , 'Now Dialing...'
  365.  
  366.  
  367. /*---------------------------------------------------------------------
  368. */
  369. /*         The actual Dialing and Waiting for the Connection           
  370. */
  371. /*  If we get a BUSY signal, we will wait 5 seconds before redialing.  
  372. */
  373. /*  You may specify a different amount of wait time by changing the    
  374. */
  375.  
  376. /*---------------------------------------------------------------------
  377. */
  378. call send dialwhat || cr
  379. call waitfor2 'CONNECT','BUSY',waittime
  380.  if RC = 1 then do
  381.     call lineout , 'No answer... Trying again'
  382.     call SysSleep 5
  383.     signal redialit
  384.  end
  385. /*   call waitfor crlf , 4   */
  386.  
  387.  
  388. /*---------------------------------------------------------------------
  389. -*/
  390. /* Handle login.  We wait for standard strings, and then flush anything 
  391. */
  392. /* else to take care of trailing spaces, etc..                          
  393. */
  394. /*  If you need to wake up the terminal with a CR, then add the line:   
  395. */
  396. /*                                                                      
  397. */
  398. /*  call send cr                                                        
  399. */
  400. /*                                                                      
  401. */
  402. /*  on top of waitfor 'CyberGate>' .........                            
  403. */
  404. /*---------------------------------------------------------------------
  405. -*/
  406.  
  407. call SysSleep 5               /* wait for five seconds after connect  
  408. */
  409. call send cr                  /* send opening CR to begin login  */
  410.  
  411. call waitfor 'username>' ; call flush_receive 'echo'
  412. call send username || cr
  413. call waitfor 'password>' ; call flush_receive 'echo'
  414. call send password || cr
  415. call waitfor 'Xyplex>' ; call flush_receive 'echo'
  416. call send 'set port ppp ena' || cr
  417.  
  418. /*-----------------------------------------------------*/
  419. /*                   All Done!                         */
  420. /*-----------------------------------------------------*/
  421. exit 0
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429. /*--------------------------------------------------------*/
  430. /*                            send ( sendstring)          */
  431. /*........................................................*/
  432. /*                                                        */
  433. /* Routine to send a character string off to the modem.   */
  434. /*                                                        */
  435. /*--------------------------------------------------------*/
  436.  
  437. send:
  438.  
  439.    parse arg sendstring
  440.    call ppp_com_output interface , sendstring
  441.  
  442.    return
  443.  
  444.  
  445. /*---------------------------------------------------------------------
  446. ----*/
  447. /*                    waitfor ( waitstring , [timeout] )                   
  448. */
  449. /*.....................................................................
  450. ....*/
  451. /*                                                                         
  452. */
  453. /* Waits for the supplied string to show up in the COM input.  All 
  454. input   */
  455. /* from the time this function is called until the string shows up in 
  456. the  */
  457. /* input is accumulated in the "waitfor_buffer" variable.                  
  458. */
  459. /*                                                                         
  460. */
  461. /* If timeout is specified, it says how long to wait if data stops 
  462. showing */
  463. /* up on the COM port (in seconds).                                        
  464. */
  465. /*                                                                         
  466. */
  467. /*---------------------------------------------------------------------
  468. ----*/
  469.  
  470. waitfor:
  471.  
  472.    parse arg waitstring , timeout
  473.  
  474.    if timeout = '' then
  475.      timeout = 5000    /* L O N G   delay if not specified */
  476.    waitfor_buffer = '' ; done = -1; curpos = 1
  477.    ORI_TIME=TIME('E')
  478.  
  479.    if (remain_buffer = 'REMAIN_BUFFER') then do
  480.       remain_buffer = ''
  481.    end
  482.  
  483.    do while (done = -1)
  484.       if (remain_buffer \= '') then do
  485.          line = remain_buffer
  486.          remain_buffer = ''
  487.        end
  488.        else do
  489.          line = ppp_com_input(interface,,10)
  490.       end
  491.       waitfor_buffer = waitfor_buffer || line
  492.       index = pos(waitstring,waitfor_buffer)
  493.       if (index > 0) then do
  494.          remain_buffer = 
  495. substr(waitfor_buffer,index+length(waitstring))
  496.          waitfor_buffer = 
  497. delstr(waitfor_buffer,index+length(waitstring))
  498.          done = 0
  499.       end
  500.       call charout , substr(waitfor_buffer,curpos)
  501.       curpos = length(waitfor_buffer)+1
  502.       if ((done \= 0) & (TIME('E')>timeout)) then do
  503.         call lineout , ' WAITFOR: timed out '
  504.         done = 1
  505.        end
  506.    end
  507.    timeout=0
  508.    RC=done
  509.  return RC
  510.  
  511.  
  512. /*---------------------------------------------------------------------
  513. ----*/
  514. /*                waitfor2 ( waitstring , killstring, [timeout] )          
  515. */
  516. /*                modified copy of waitfor by Tim Charron 12/01/94         
  517. */
  518. /*.....................................................................
  519. ....*/
  520. /*                                                                         
  521. */
  522. /* Waits for the supplied string to show up in the COM input.  All 
  523. input   */
  524. /* from the time this function is called until the string shows up in 
  525. the  */
  526. /* input is accumulated in the "waitfor_buffer" variable.                  
  527. */
  528. /*                                                                         
  529. */
  530. /* If timeout is specified, it says how long to wait if data stops 
  531. showing */
  532. /* up on the COM port (in seconds).                                        
  533. */
  534. /*                                                                         
  535. */
  536. /* If killstring shows up, exits with error                                
  537. */
  538. /*---------------------------------------------------------------------
  539. ----*/
  540.  
  541. waitfor2:
  542.  
  543.    parse arg waitstring , killstring, timeout
  544.  
  545.    if timeout = '' then
  546.      timeout = 5000    /* L O N G   delay if not specified */
  547.    waitfor_buffer = '' ; done = -1; curpos = 1
  548.    ORI_TIME=TIME('E')
  549.  
  550.    if (remain_buffer = 'REMAIN_BUFFER') then do
  551.       remain_buffer = ''
  552.    end
  553.  
  554.    do while (done = -1)
  555.       if (remain_buffer \= '') then do
  556.          line = remain_buffer
  557.          remain_buffer = ''
  558.        end
  559.        else do
  560.          line = ppp_com_input(interface,,10)
  561.       end
  562.       waitfor_buffer = waitfor_buffer || line
  563.       index = pos(waitstring,waitfor_buffer)
  564.       if (index > 0) then do
  565.          remain_buffer = 
  566. substr(waitfor_buffer,index+length(waitstring))
  567.          waitfor_buffer = 
  568. delstr(waitfor_buffer,index+length(waitstring))
  569.          done = 0
  570.       end
  571.       index = pos(killstring,waitfor_buffer)
  572.       call charout , substr(waitfor_buffer,curpos)
  573.       curpos = length(waitfor_buffer)+1
  574.        if ((done \= 0) & (TIME('E')>timeout)) then do
  575.         call lineout , ' WAITFOR2: timed out ' 
  576.         done = 1
  577.        end
  578.        if ((done \= 0) & (index > 0)) then do
  579. /*        call lineout , ' WAITFOR2: kill string detected' */
  580.         done = 1
  581.        end
  582.    end
  583.    timeout=0
  584.    RC=done
  585.  return RC
  586.  
  587.  
  588.  
  589.  
  590. /*-------------------------------------------------------------------*/
  591. /*                               readpass ()                         */
  592. /*...................................................................*/
  593. /* Routine used to read a password from the user without echoing the */
  594. /* password to the screen.                                           */
  595. /*-------------------------------------------------------------------*/
  596.  
  597. readpass:
  598.  
  599.   answer = ''
  600.   do until key = cr
  601.     key = ppp_getch()
  602.     if key \= cr then do
  603.       answer = answer || key
  604.     end
  605.   end
  606.   say ''
  607.   return answer
  608.  
  609.  
  610. /*---------------------------------------------------------------------
  611. ----*/
  612. /*                             flush_receive ()                            
  613. */
  614. /*.....................................................................
  615. ....*/
  616. /*                                                                         
  617. */
  618. /* Routine to flush any pending characters to be read from the COM 
  619. port.   */
  620. /* Reads everything it can until nothing new shows up for 100ms, at 
  621. which  */
  622. /* point it returns.                                                       
  623. */
  624. /*                                                                         
  625. */
  626. /* The optional echo argument, if 1, says to echo flushed information.     
  627. */
  628. /*                                                                         
  629. */
  630. /*---------------------------------------------------------------------
  631. ----*/
  632.  
  633. flush_receive:
  634.  
  635.    parse arg echo
  636.  
  637.    /* If echoing the flush - take care of waitfor remaining buffer */
  638.    if (echo \= '') & (length(remain_buffer) > 0) then do
  639.       call charout , remain_buffer
  640.       remain_buffer = ''
  641.    end
  642.  
  643.    /* Eat anything left in the modem or COM buffers */
  644.    /* Stop when nothing new appears for 100ms.      */
  645.  
  646.    do until line = ''
  647.      line = ppp_com_input(interface,,100)
  648.      if echo \= '' then
  649.         call charout , line
  650.    end
  651.  
  652.    return
  653.  
  654. ***********  END OF PART ELEVEN OF TWELVE PART WARP/IAK FAQ  **********
  655.