home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 36 Tips
/
36-Tips.zip
/
wpfaq001.zip
/
T_FAQC.TXT
< prev
next >
Wrap
Text File
|
1995-04-29
|
22KB
|
655 lines
This is my attempt at listing some Frequently Asked Questions for the
newsgroup comp.os.os2.networking.tcp-ip, which is where IBM tells us
all to look for support and exchange information about OS/2 Warp when
running the Internet Access Kit.
DISCLAIMER: The information contained within this document was mostly
extracted from posts made to comp.os.os2.networking.tcp-ip and thus
has only the credibility of the original poster, which can range
anywhere from "propagator of ill-founded rumors," right on up to the
"official words of IBM," or even higher. ;-)
THIS DOCUMENT IS PROVIDED "AS-IS" AND ANY USE HEREOF IS AT THE
RISK OF THE USER. ABSOLUTELY NO REPRESENTATION IS MADE AS TO
THE COMPLETENESS, ACCURACY, TRUTHFULNESS, USABILITY, OR OTHER
CHARACTERISTIC OF THE INFORMATION CONTAINED HEREIN. FURTHER,
ABSOLUTELY NO REPRESENTATION IS MADE AS TO THE OWNERSHIP OF
ANY RIGHTS TO ANY OF THE INFORMATION CONTAINED HEREIN. IF YOU
NEED SOMEONE TO EXPLAIN TO YOU THAT YOU USE THE INFORMATION
CONTAINED HEREIN AT YOUR OWN RISK, THEN YOU ARE EXPLICITLY
PROHIBITED FROM USING ANY INFORMATION CONTAINED HEREIN.
All information contained herein is copyright by the various authors
thereof, and on their behalf, I am demanding a royalty of $1,000 per
use for any use by Microsoft Network. Any such usage is deemed to be
consent to this royalty agreement, and payment shall be immediately
remitted to:
William A. Schultz guru@deltanet.com (Bill Schultz)
P. O. Box 18732
Irvine, CA 92713-8732
I am actively soliciting comments, clarifications, and requests for
changes to this FAQ. Either questions, answers, or both may be
submitted. Of course, the bulk of the information contained herein
has been, and will continue to be, extracted from the newsgroup
discussion threads in comp.os.os2.networking.tcp-ip as time goes by.
This is file number 11 of 12. It contains the third part of some
long information which would not easily fit within parts 1 through 8.
TABLE OF CONTENTS:
FAQ PART ONE:
1.0 GENERAL QUESTIONS
2.0 GENERAL IBM QUESTIONS
3.0 GENERAL OS/2 QUESTIONS
4.0 OS/2 INTERNET ACCESS KIT (IAK) QUESTIONS
4.1 GENERAL IAK QUESTIONS
4.2 GENERAL PROXY SERVER QUESTIONS
4.3 DIAL OTHER PROVIDER QUESTIONS
4.3.1 GENERAL DIAL OTHER PROVIDER QUESTIONS
FAQ PART TWO:
4.3.2 SLIP SPECIFIC QUESTIONS
FAQ PART THREE:
4.3.3 PPP SPECIFIC QUESTIONS
FAQ PART FOUR:
4.3.4 TIA SPECIFIC QUESTIONS
4.4 ULTIMAIL/LITE QUESTIONS
4.5 NEWS READER/2 QUESTIONS
4.6 SENDMAIL QUESTIONS
FAQ PART FIVE:
4.7 WEB EXPLORER QUESTIONS
4.8 FTP QUESTIONS
4.9 GOPHER QUESTIONS
4.10 RETRIEVE SOFTWARE UPDATES QUESTIONS
4.11 OTHER IAK SOFTWARE QUESTIONS
4.12 WINDOWS TCP/IP WITH IAK SOFTWARE QUESTIONS
FAQ PART SIX:
5.0 OS/2 TCP/IP QUESTIONS
FAQ PART SEVEN:
5.0 OS/2 TCP/IP QUESTIONS (Continued)
6.0 OTHER BONUS PACK SOFTWARE QUESTIONS
7.0 IBM RESOURCES
8.0 THIRD PARTY SOFTWARE QUESTIONS
9.0 OTHER RESOURCES
FAQ PART EIGHT:
9.0 OTHER RESOURCES (Continued)
FAQ PART NINE:
APPENDIX A - INSTRUCTIONS FOR INSTALLING FIXPACK 5
FAQ PART TEN:
APPENDIX B - SLIP CONFIGURATION EXAMPLE
FAQ PART ELEVEN:
APPENDIX C - PPP CONFIGURATION EXAMPLE
FAQ PART TWELVE:
APPENDIX D - ABBREVIATED SENDMAIL DOCUMENTATION
EDITOR'S NOTE: This document is very much a work in process. In fact,
I have not yet completed editing it. However, because there is so
much useful information available herein, I have decided to go ahead
and post it anyway. This should result in some comments from all of
you which might save me the trouble of editing this further. (i.e., if
nobody thinks this is a good idea, or that it is way too long. ;-)
APPENDIX C - PPP CONFIGURATION EXAMPLE
From: craigham@gate.net (Craig Hamilton)
Newsgroups: comp.os.os2.networking.tcp-ip
Subject: Re: REXX Script for PPP
Date: Wed, 05 Apr 1995 14:05:46 -0400
Message-ID: <6vtgvMRGPnKH082yn@gate.net>
References: <3lbrba$3a9@news-rocq.inria.fr>
<3livi7$l4e@fox.almaden.ibm.com>
akrstic@novatel.ca (Alex Krstic) wrote:
> Ya know Tony, I don't know how many people have asked for examples of
> "working" scripts for PPP. Yet why doesn't IBM post examples and
answers to
> the most frequently asked questions. It almost seems as if those who
have
> found the "holy grail" don't wish to share it.
Here's the version of the "holy grail" that I use.
/*---------------------------------------------------------------------
----*/
/*
*/
/* OS/2 2.1 & WARP REX Driver for IBM TCP/IP version 2.0 / IAK
*/
/*
*/
/* PPP RE-DIALING SCRIPT FOR CALLING CYBERGATE
*/
/*
*/
/*
*/
/* GATE-PPP.CMD
*/
/*
*/
/*
*/
/* Attachment script for dialing, AND RE-DIALING!, into CyberGate's
*/
/* Annex terminal server in order to establish a PPP connection. This
*/
/* script should be specified on page 1 in the Login Script field for
*/
/* connections via slipPM or using the -connect option if executing ppp
*/
/* directly.
*/
/*
*/
/* IMPORTANT NOTICE, PLEASE READ:
*/
/*
*/
/* THIS SCRIPT MUST BE LOCATED IN THE ROOT DIRECTORY OF THE DRIVE ON
*/
/* WHICH PPP.EXE RESIDES, OR IT MAY NOT BE FOUND BY THE DIALER !!!
*/
/*
*/
/*.....................................................................
....*/
/*
*/
/* INSTRUCTIONS:
*/
/*
*/
/* 1) Copy this script to the root directory on the drive where the
*/
/* IAK is installed
*/
/*
*/
/* 2) Edit the following lines in the script to replace the generic
*/
/* info with your particular user information:
*/
/*
*/
/* dialcmd.1="ATDTxxx-xxx"
*/
/* username="my_user_name"
*/
/* password="my_password"
*/
/*
*/
/* For example: If your username is johndoe, your password is
*/
/* 123abc and you call into the West Palm Beach POP with touch-tone
*/
/* service , the info would look *exactly* like this:
*/
/* dialcmd.1="ATDT737-5867"
*/
/* username="johndoe"
*/
/* password="123abc"
*/
/*
*/
/* 3) You may need to customize the setting to reset your modem
*/
/* by changing the line:
*/
/* modemreset1="ATZ"
*/
/*
*/
/*
*/
/* 4) In the "Login Sequence" window of the Dialer's Provider info,
*/
/* type in the name of the script, i.e.: gate-ppp.cmd
*/
/*
*/
/*---------------------------------------------------------------------
----*/
/*---------------------------------------------------------------------
-*/
/* This line is for parsing info sent by the dialer
*/
/*---------------------------------------------------------------------
-*/
parse arg interface , port , . , dialcmd , username , password
/*---------------------------------------------------------------------
-*/
/* These are some necessary REXX functions
*/
/*---------------------------------------------------------------------
-*/
call RxFuncAdd 'SysLoadFuncs', 'RexxUtil', 'SysloadFuncs'
call SysLoadFuncs
/*--------------------------------------------------------------------
*/
/* Enter the PHONE NUMBER(S) in this section
*/
/*....................................................................*
/
/* If you will use more than one phone number, enter the total
*/
/* number of phone numbers in dialcmd.0=x
*/
/*....................................................................*
/
/* waittime= is how many seconds to wait for a connection, and is
*/
/* user-configurable.
*/
/*--------------------------------------------------------------------
*/
dialcmd.0=1
dialcmd.1="ATDTxxx-xxxx"
waittime=50
/*--------------------------------------------------------------------
*/
/* Enter your USERNAME and PASSWORD here and be sure to keep them in
*/
/* quotation marks.
*/
/*--------------------------------------------------------------------
*/
username="my_user_name"
password="my_password"
/* ---------------------------------------------------------------- */
/* Customize this for for your modem make and model, if necessary. */
/* ---------------------------------------------------------------- */
/* USRobotics Courier or Sportster modem */
modemreset1="ATZ"
/*--------------------------------------------------------------*/
/* Initialization and Main Script Code */
/*--------------------------------------------------------------*/
/* Set some definitions for easier COM strings */
cr='0d'x
crlf='0d0a'x
say ''
say 'PPP - ANNEX - Xyplex Connection Script ',
'(interface' interface')'
dialcount=0
redialit:
/* Flush any stuff left over from previous COM activity */
call flush_receive
call flush_receive
/*---------------------------------------------------------------------
-*/
/* Reset the modem here
*/
/* You may need to customize this for your modem make and model
*/
/*---------------------------------------------------------------------
-*/
call lineout , 'Reset modem...'
call send modemreset1 || cr
call waitfor 'OK', 5 ; call flush_receive 'echo'
if RC = 1 then do
call lineout , 'Modem not resetting... Trying again'
call send '+++'
call waitfor 'OK', 3
call send 'ATHZ' || cr
call waitfor 'OK', 3
call send modemreset1 || cr
call waitfor 'OK', 5 ; call flush_receive 'echo'
end
dialcount=1
/*--------------------------------------------------------------------
*/
/* Determine which phone number to dial
*/
/*--------------------------------------------------------------------
*/
dialcount=dialcount+1
if dialcount > dialcmd.0 then
do
dialcount=1
end
dialwhat=dialcmd.dialcount
call charout , 'Now Dialing...'
/*---------------------------------------------------------------------
*/
/* The actual Dialing and Waiting for the Connection
*/
/* If we get a BUSY signal, we will wait 5 seconds before redialing.
*/
/* You may specify a different amount of wait time by changing the
*/
/*---------------------------------------------------------------------
*/
call send dialwhat || cr
call waitfor2 'CONNECT','BUSY',waittime
if RC = 1 then do
call lineout , 'No answer... Trying again'
call SysSleep 5
signal redialit
end
/* call waitfor crlf , 4 */
/*---------------------------------------------------------------------
-*/
/* Handle login. We wait for standard strings, and then flush anything
*/
/* else to take care of trailing spaces, etc..
*/
/* If you need to wake up the terminal with a CR, then add the line:
*/
/*
*/
/* call send cr
*/
/*
*/
/* on top of waitfor 'CyberGate>' .........
*/
/*---------------------------------------------------------------------
-*/
call SysSleep 5 /* wait for five seconds after connect
*/
call send cr /* send opening CR to begin login */
call waitfor 'username>' ; call flush_receive 'echo'
call send username || cr
call waitfor 'password>' ; call flush_receive 'echo'
call send password || cr
call waitfor 'Xyplex>' ; call flush_receive 'echo'
call send 'set port ppp ena' || cr
/*-----------------------------------------------------*/
/* All Done! */
/*-----------------------------------------------------*/
exit 0
/*--------------------------------------------------------*/
/* send ( sendstring) */
/*........................................................*/
/* */
/* Routine to send a character string off to the modem. */
/* */
/*--------------------------------------------------------*/
send:
parse arg sendstring
call ppp_com_output interface , sendstring
return
/*---------------------------------------------------------------------
----*/
/* waitfor ( waitstring , [timeout] )
*/
/*.....................................................................
....*/
/*
*/
/* Waits for the supplied string to show up in the COM input. All
input */
/* from the time this function is called until the string shows up in
the */
/* input is accumulated in the "waitfor_buffer" variable.
*/
/*
*/
/* If timeout is specified, it says how long to wait if data stops
showing */
/* up on the COM port (in seconds).
*/
/*
*/
/*---------------------------------------------------------------------
----*/
waitfor:
parse arg waitstring , timeout
if timeout = '' then
timeout = 5000 /* L O N G delay if not specified */
waitfor_buffer = '' ; done = -1; curpos = 1
ORI_TIME=TIME('E')
if (remain_buffer = 'REMAIN_BUFFER') then do
remain_buffer = ''
end
do while (done = -1)
if (remain_buffer \= '') then do
line = remain_buffer
remain_buffer = ''
end
else do
line = ppp_com_input(interface,,10)
end
waitfor_buffer = waitfor_buffer || line
index = pos(waitstring,waitfor_buffer)
if (index > 0) then do
remain_buffer =
substr(waitfor_buffer,index+length(waitstring))
waitfor_buffer =
delstr(waitfor_buffer,index+length(waitstring))
done = 0
end
call charout , substr(waitfor_buffer,curpos)
curpos = length(waitfor_buffer)+1
if ((done \= 0) & (TIME('E')>timeout)) then do
call lineout , ' WAITFOR: timed out '
done = 1
end
end
timeout=0
RC=done
return RC
/*---------------------------------------------------------------------
----*/
/* waitfor2 ( waitstring , killstring, [timeout] )
*/
/* modified copy of waitfor by Tim Charron 12/01/94
*/
/*.....................................................................
....*/
/*
*/
/* Waits for the supplied string to show up in the COM input. All
input */
/* from the time this function is called until the string shows up in
the */
/* input is accumulated in the "waitfor_buffer" variable.
*/
/*
*/
/* If timeout is specified, it says how long to wait if data stops
showing */
/* up on the COM port (in seconds).
*/
/*
*/
/* If killstring shows up, exits with error
*/
/*---------------------------------------------------------------------
----*/
waitfor2:
parse arg waitstring , killstring, timeout
if timeout = '' then
timeout = 5000 /* L O N G delay if not specified */
waitfor_buffer = '' ; done = -1; curpos = 1
ORI_TIME=TIME('E')
if (remain_buffer = 'REMAIN_BUFFER') then do
remain_buffer = ''
end
do while (done = -1)
if (remain_buffer \= '') then do
line = remain_buffer
remain_buffer = ''
end
else do
line = ppp_com_input(interface,,10)
end
waitfor_buffer = waitfor_buffer || line
index = pos(waitstring,waitfor_buffer)
if (index > 0) then do
remain_buffer =
substr(waitfor_buffer,index+length(waitstring))
waitfor_buffer =
delstr(waitfor_buffer,index+length(waitstring))
done = 0
end
index = pos(killstring,waitfor_buffer)
call charout , substr(waitfor_buffer,curpos)
curpos = length(waitfor_buffer)+1
if ((done \= 0) & (TIME('E')>timeout)) then do
call lineout , ' WAITFOR2: timed out '
done = 1
end
if ((done \= 0) & (index > 0)) then do
/* call lineout , ' WAITFOR2: kill string detected' */
done = 1
end
end
timeout=0
RC=done
return RC
/*-------------------------------------------------------------------*/
/* readpass () */
/*...................................................................*/
/* Routine used to read a password from the user without echoing the */
/* password to the screen. */
/*-------------------------------------------------------------------*/
readpass:
answer = ''
do until key = cr
key = ppp_getch()
if key \= cr then do
answer = answer || key
end
end
say ''
return answer
/*---------------------------------------------------------------------
----*/
/* flush_receive ()
*/
/*.....................................................................
....*/
/*
*/
/* Routine to flush any pending characters to be read from the COM
port. */
/* Reads everything it can until nothing new shows up for 100ms, at
which */
/* point it returns.
*/
/*
*/
/* The optional echo argument, if 1, says to echo flushed information.
*/
/*
*/
/*---------------------------------------------------------------------
----*/
flush_receive:
parse arg echo
/* If echoing the flush - take care of waitfor remaining buffer */
if (echo \= '') & (length(remain_buffer) > 0) then do
call charout , remain_buffer
remain_buffer = ''
end
/* Eat anything left in the modem or COM buffers */
/* Stop when nothing new appears for 100ms. */
do until line = ''
line = ppp_com_input(interface,,100)
if echo \= '' then
call charout , line
end
return
*********** END OF PART ELEVEN OF TWELVE PART WARP/IAK FAQ **********