home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1997 January / PCO0197.ISO / filesbbs / os2 / isdnpm27.arj / README.TXT < prev    next >
Encoding:
Text File  |  1996-11-17  |  36.1 KB  |  1,215 lines

  1. Description of ISDN pm
  2. ======================
  3.  
  4.  
  5. License
  6. -------
  7.  
  8. This is a shareware program. Each program user recognizes the
  9. following license agreement:
  10.  
  11. 1. This program may be passed on to third parties only within this
  12. package.
  13.  
  14. 2. All rights for the commercial application of the program remain
  15. with the author.
  16.  
  17. 3. It may be utilized for a probationary period of 20 hours
  18. connection time. Any utilization exceeding this time limit
  19. requires the user's registration, by which he or she acquires a
  20. license for further use. Without this registration access to the
  21. program is no longer possible. Any subsequent use will be defined
  22. as a violation of the author's copyrights.
  23. NOTE: Make sure you never change system time during an ISDN
  24. connection (e.g. time server via Internet). If you do so the test
  25. period immediately terminates and you are no longer able to test
  26. the program.
  27.  
  28. 4. If you want to be registered send an EC check totalling DM 50.-
  29. (private users) or DM 100.-- (companies) to the following address:
  30.  
  31.                         Irene Meyer
  32.                         Am See 2
  33.                         D-79194 Gundelfingen
  34.                         Germany
  35.  
  36.                     Telephone: +49-761-5932003
  37.                     Fax      : +49-761-5932004
  38.  
  39. PLEASE NOTE that we will change our address an phone/fax numbers
  40. in February!!! We'll inform you of the new ones in advance.
  41.  
  42.  
  43. For payment please use either of the following methods:
  44.  
  45. - EC-cheque, in DM
  46. - bank cheque, in your country's home currency!! (otherwise our
  47.                    bank will charge us too many fees)
  48. - postal money orders
  49. - bank transfer (maybe via SWIFT)
  50. - cash
  51.  
  52.  
  53. 5. After receipt of the payment the licensee receives a unique
  54. registration key enabling him for further use of the program on
  55. exactly one computer.
  56.  
  57. Therefore, for the communication between two computers with this
  58. program two licenses are required.
  59.  
  60. 6. The use of this program is at the user's own risk. Due to the
  61. complexity of ISDN and to the possibility of CAPI errors, the
  62. author refuses to accept liability for any damage (e.g. your
  63. telephone bill) resulting from operating errors or malfunctioning
  64. of the program.
  65.  
  66. ------------------------------------------------------------------
  67. NEW NEW NEW Version 2.7 NEW NEW NEW
  68.  
  69. - WARP-4 (Merlin) is now supported
  70.  
  71. - complete implementation of MS-CHAP for Windows-RAS
  72.   window domains may be specified
  73.  
  74. - the default value of 'PAKETSIZE' is now 2048
  75.  
  76. - a call list may be defined
  77.  
  78. - automatic switch to another provider specified by the user
  79.  
  80. - timeouts may be adapted to the charging unit
  81.  
  82. - adaptation to ELSA-CAPI (but in ELSA-CAPI)
  83.  
  84. - implementation of 'named pipe' control
  85.  
  86. - implementation of IP-masquerading
  87.  
  88.  
  89. Version 2.6a
  90.  
  91. - AVM-B1 works again.
  92. - Compuserve works now
  93.  
  94. Version 2.6
  95.  
  96.         - This version supports T-ONLINE and asynchone PPP.
  97.         - PPP has been enhanced for Windows-NT RAS.
  98.  
  99. NOTE: The following modifications have been implemented:
  100.  
  101. - Function "ISDNREAD" has been changed. The first character of
  102.   the return string now returns the connection status. Please adapt
  103.   your login scripts accordingly.
  104.  
  105. - The password has no longer to be entered in the login scripts. It
  106.   may be queried via the 'READPASSWORD' function
  107.  
  108. - For PPP with dynamic address assignment the interface is no longer
  109.   configured via the line
  110.         'Script  :  ppp.fnc'
  111.   but with the line
  112.         'IfConfigFile  :  ppp.fnc'
  113.  
  114.  
  115. ------------------------------------------------------------------
  116.  
  117. General Features
  118. ----------------
  119.  
  120. ISDN pm has been designed as a supplement or an alternative to
  121. SLIPPM (IAK) or SLIP (TCP/IP, Version 2.0). It offers the
  122. possibility of an internet connection via the telephone which is
  123. not only faster than a modem connection but which takes
  124. advantageof the digital data transfer of ISDN (64000 bits/s).
  125.  
  126. For the user this means that ISDN requires an ISDN card with CAPI
  127. 1.1-DLL instead of a modem. Data transfer is considerably faster
  128. (up to 7.6 kBytes/s). For the communication between two stations,
  129. however, both counterparts must have an ISDN access with the
  130. suitable TCP/IP protocol.
  131.  
  132.  
  133. ------------------------------------------------------------------
  134.  
  135.  
  136. Installation
  137. ------------
  138.  
  139. The ZIP file will be unpacked in a user-defined subdirectory,
  140. resulting in the following files:
  141.  
  142.  
  143.   README.TXT           -  the file you are reading
  144.   ISDNPM.EXE           -  the program
  145.   ISDNSET.CMD          -  optional initialization script for
  146.                           TCP/IP
  147.   ISDNRSET.CMD         -  optional reset script
  148.   PIPE.CMD             -  REXX example for pipe-supported monitoring
  149.   LOGINx.FNC           -  sample script for SLIP/PPP login
  150.   TONLINE.FNC          -  sample script for T-ONLINE login
  151.   PPP.FNC              -  script for PPP interface configuration
  152.   ISDN.CFG             -  program configuration file
  153.   ISDNUSER.CFG         -  user configuration file
  154.   RESOLV               -  name server configuration for TCP/IP
  155.   RESOLV2              -  name server configuration for TCP/IP 3.0
  156.   ISDNWAIT.EXE         -  waits until ISDNPM.EXE has been started
  157.  
  158. 1. Unpack the ZIP file 'ISDNPMxx.ZIP' in a user-defined directory.
  159.  
  160. 2. Copy the programs 'ISDNPM.EXE', the scripts 'ISDNRSET.CMD', 'ISDNRSET.CMD'
  161.    'PIPE.CMD' and the script functions 'PPP.FNC', 'LOGINx.FNC'
  162.    and 'TONLINE.FNC' to a user-defined directory of the PATH search path
  163.    e.g. to 'X:\TCPIP\BIN'.
  164.  
  165. 3. Copy the configuration files 'ISDN.CFG', 'ISDNUSER.CFG', 'RESOLV'
  166.    and/or 'RESOLV2' to the 'ETC' directory of TCPIP (important!),
  167.    e.g. to 'X:\TCPIP\ETC'.
  168.    If you want to use TCP/IP under WINOS2 or DOS don't forget to
  169.    copy the 'RESOLV' file to the corresponding ETC directory.
  170.  
  171.    If you cannot find your ETC directory, use the command 'SET ETC'
  172.    in an OS/2 command line.
  173.  
  174.    NOTE: For WARP CONNECT the directory is 'X:\MPTN\ETC' !!!!!!!
  175.          When using WARP CONNECT the name server may be
  176.          configured via 'TCPCFG.EXE'.
  177.  
  178. 4. The 'CAPI.DLL' must be accessible via 'LIBPATH'. When you are using
  179.    the AVM-B1 card you should rename 'CAPI16.DLL' to 'CAPI.DLL'.
  180.    Alternatively, you may specify the complete path of the CAPI.DLL
  181.    in the 'ISDN.CFG' file, line 'CAPIDLL'.
  182.  
  183.  
  184. -------------------------------------------------------------------
  185.  
  186. Configuration
  187. -------------
  188.  
  189. The global configuration, together with its ISDN and IP
  190. characteristics, is defined in the file 'ISDN.CFG'.
  191.  
  192. The file 'ISDNUSER.CFG' is available for defining various internet
  193. users (providers).
  194. Currently the configuration is still made by editing the mentioned
  195. files with any text editor.
  196.  
  197. The enclosed 'ISDNUSER.CFG' file contains a number of sample
  198. configurations.
  199.  
  200. The configuration files are structured into paragraphs headed by
  201. key words in square brackets.
  202. Each paragraph contains a number of variable names and their
  203. values, separated by ':'.
  204.  
  205. Comment lines are introduced by '#'.
  206.  
  207. ----------------------------------------------------------------------
  208.  
  209.                           CONFIGURATION
  210.  
  211. Use the following check list when making your configuration:
  212.  
  213. 1. Which kind of information have you got from your provider?
  214.  
  215.    1.1. Which ISDN number has the host?
  216.  
  217.    1.2. Which protocol does your provider use?
  218.    1.3. What is the IP address of the gateway?
  219.    1.4. What is your own IP Address?
  220.    1.5. What is the name of the subnet mask?
  221.    1.6. What size is the MTU?
  222.  
  223.    1.7. What is the IP address of the name server (DNS)?
  224.    1.8. What is the domain name?
  225.  
  226.    1.9. Which kind of authentification does your provider use?
  227.    1.10.Does your provider use a login procedure?
  228.  
  229.  
  230. 2. Choose one of the entries in 'isdnuser.cfg' which is most suitable
  231.    for your provider.
  232.    The protocol he uses will be the best criterion to base your choice on.
  233.  
  234.    Delete all remaining entries from the 'isdnuser.cfg' file.
  235.    (Don't forget to make a backup of the original before you do so!)
  236.  
  237.    2.1. PROVIDER
  238.  
  239.         Define a mnemo for your provider and enter it in the field
  240.         'Name'. The name must not contain any spaces.
  241.  
  242.    2.2. ISDN Number
  243.  
  244.         Enter the phone number of your provider (1.1.) in the field
  245.         'OutgoingISDN'. '-' is a valid entry. If you are calling from a
  246.         subscriber's apparatus of an extension line, remember to enter the
  247.         area code first.
  248.  
  249.    2.3. PROTOCOL
  250.  
  251.         Enter the protocol information from your provider (1.2.)
  252.         in the field 'Protocol'. This field sometimes causes problems.
  253.         If you cannot solve them on your own, you may send me a FAX
  254.         containing your provider data (my FAX number is given above)
  255.         so that I can help you.
  256.  
  257.         Note the following for the different protocols:
  258.  
  259.         2.3.1. Protocol 'X75'
  260.                Protocol 'M_LAPB'
  261.                Protocol 'HDLC_UI'
  262.                Protocol 'HDLC'
  263.                Protocol 'CISCO'
  264.  
  265.                All these protocol types convert the IP packet directly into
  266.                an ISDN packet.
  267.                'M_LAPB' is an 'X75' protocol with a preceding multi-
  268.                protocol-header. As the 'CISCO' protocol, 'M_LAPB' is
  269.                used only in connection with CISCO routers.
  270.  
  271.                Some providers claim to use the 'X.75' protocol but use
  272.                only HDLC frames with an X.75 header. In such cases you
  273.                should use the protocol 'HDLC_UI'. If you cannot get any
  274.                protocol information from your provider, it is best to
  275.                test both alternatives.
  276.  
  277.         2.3.2. Protocol 'SLIP'
  278.  
  279.                This protocol type converts the IP packet into a SLIP
  280.                packet and transmits it via X.75.
  281.  
  282.         2.3.3. Protocol 'T-ONLINE'
  283.  
  284.                This protocol type is used only for the internet access
  285.                via telecom. You can use the sample configuration given
  286.                in 'isdnuser.cfg' without any modifications.
  287.  
  288.         2.3.4. Protocol 'PPP'
  289.  
  290.                The 'PPP' protocol is available for "synchronous PPP",
  291.                i.e. PPP via HDLC. This corresponds to the general
  292.                internet drafts.
  293.  
  294.         2.3.5. Protocol 'PPP_ASYNC'
  295.  
  296.                This protocol provides asynchronous PPP, i.e. PPP
  297.                via X.75. This protocol type is required if your provider
  298.                has "enhanced" his asynchronous PPP access with an
  299.                ISDN modem.
  300.  
  301.  
  302.    2.4. OPTIONS
  303.  
  304.         The field 'Flags' may be used to set options for the selected
  305.         protocol. The most important flags are the following:
  306.  
  307.         2.4.1. 'IPCONFIG'
  308.  
  309.                Set the 'IPCONFIG' flag when you want to configure the
  310.                IP interface with the correct IP adresses each time
  311.                ISDNPM is started. Of course this flag is useful only
  312.                if you are working with STATIC IP addresses (1.4.).
  313.  
  314.         2.4.2. 'AUTODIAL'
  315.  
  316.                Set the 'AUTODIAL' flag when the connection is to be
  317.                established automatically.  !!! ATTENTION !!! If your
  318.                IP address is assigned dynamically, the 'AUTODIAL' flag
  319.                may cause problems.
  320.                If you use this flag with more than one 'user' be care.
  321.                Every user must be configured for an other net/subnet.
  322.                (see HOSTLIST,EXLCUDELIST )
  323.  
  324.         2.4.3. 'LOGINDIALOG'
  325.  
  326.                The 'LOGINDIALOG' flag is recommended only for the
  327.                protocol types 'SLIP' and 'ASYNC-PPP'. It is implicit
  328.                for the 'T-ONLINE' protocol.
  329.                When this flag has been set, a dialog with the router
  330.                of the provider is established immediately after the
  331.                connection has been set up but before any IP data
  332.                transmission takes place. This login procedure may be
  333.                controlled via a REXX script defined in the field 'Script'.
  334.                If required, the mentioned dialog may also be used
  335.                to exchange IP addresses or other types of information
  336.                (1.3. - 1.10).
  337.                For more details please refer to the given samples
  338.                ('loginx.fnc').
  339.  
  340.         2.4.4. 'PPPIPSEND', 'IPSEND', 'PPP_IPSEND'
  341.  
  342.                You are advised to use these flags for the protocol types
  343.                'PPP' and 'PPP_ASYNC'. It transmits your IP adress to
  344.                the router or causes the router to assign an IP address.
  345.  
  346.         2.4.5. 'PPPPAP', 'PPP_PAP', 'PAP'
  347.  
  348.                The 'PPPPAP' flag defines whether the authentification
  349.                (1.9.) is to be made via PAP for the protocol types
  350.                'PPP' or 'PPP_ASYNC'. If you provider is using a
  351.                Windows-NT RAS access the 'PPPPAP' flag is mandatory.
  352.                MS is using an own CHAP mode which does not comply with
  353.                the current internet standard. With the 'PPPPAP' flag
  354.                the authentification will be made via CHAP.
  355.  
  356.         2.4.6. 'PPPCHAP', 'PPP_CHAP', 'CHAP'
  357.  
  358.                When this flag is set, the authentification
  359.                (1.9.) is made via Microsoft CHAP for 'PPP' or 'PPP_ASYNC'.
  360.  
  361.         2.4.7. 'PPPCHAPMS', 'PPP_CHAP_MS', 'CHAP_MS'
  362.  
  363.                 The flag 'PPPCHAP' defines that the authentification
  364.                 (1.9) is made via Microsoft-CHAP for 'PPP' and 'PPP_ASYNC'.
  365.  
  366.         2.4.8.  'PPPSTANDARD', 'PPP_STANDARD', 'STANDARD'
  367.  
  368.                 The flag 'PPPSTANDARD' sets the most common flags 'PPPIPSEND',
  369.                 'PPPPAP', 'PPPCHAP' and 'PPP_CHAPMS'. Usually the
  370.                 setting of this flag is sufficient for most protocol types.
  371.  
  372.  
  373.         2.4.9.  'PPP_NACKTOPAP'
  374.  
  375.                 When the flag 'PPP_NACHTOPAP' is set, authentification is
  376.                 made via PAP.
  377.  
  378.         2.4.10. 'USEV110'
  379.  
  380.                With this flag you specify that V110 is to be used
  381.                instead of X.75 for the PPP_ASYNC protocol.
  382.                The flag ist required for the Compuserve access.
  383.  
  384.  
  385.  
  386.    2.5. AUTHENTIFICATION
  387.  
  388.         See also 2.4.5. and 2.4.6.
  389.         When your provider has assigned you an ID and PASSWORD for
  390.         the protocols 'PPP' and/or 'PPP_ASYNC', enter these in the
  391.         fields 'PapId' and 'PapPasswd'.
  392.         When the authentification is achieved online during login for
  393.         the 'SLIP' and/or 'PPP_ASYNC' protocols, you must enter
  394.         the ID and PASSWORD or ask for them in the login script.
  395.         Another way of getting your ID and password is to use the
  396.         REXX_function 'READPASSWORD'.
  397.  
  398.    2.6. IP ADDRESSES
  399.  
  400.         Finally, a number of Ip addresses must be entered in
  401.         'isdnuser.cfg':
  402.  
  403.         2.6.1. GATEWAY address (1.3.)
  404.  
  405.                When you know your provider's gateway address enter
  406.                it in the fields 'HostIp' and 'DefaultIp'. The gateway
  407.                address is not identical with the DNS address!
  408.                When the gateway address is assigned dynamically (which
  409.                happens very rarely), you may skip this entry.
  410.  
  411.         2.6.2. IP address (1.4)
  412.  
  413.                If your provider has assigned you a fixed (static)
  414.                Ip address enter it in the field 'LocalIp'. When the
  415.                assignment is made dynamically by the provider skip
  416.                this line.
  417.                Dynamic IP address assignment is made either on-line
  418.                during login or by 'PPP' and/or 'PPP_ASYNC'.
  419.                If it is assigned on-line in a login procedure, it
  420.                is necessary to configure the Ip interface there, too.
  421.                See also 'TONLINE.FNC'.
  422.                If the Ip address is assigned via the PPP protocol you
  423.                have to specify the configuration  script 'PPP.FNC'
  424.                in the field 'IfConfigFile'.
  425.  
  426.         2.6.3  SUBNET MASK (1.5)
  427.  
  428.                The subnet mask is generally uncritical. However, the
  429.                value 255.255.255.255 is NOT valid. In most cases
  430.                the value 255.255.255.0 works well. Enter this value
  431.                in the field 'Netmask'.
  432.  
  433.  
  434. 3. Some minor modifications are required when the name server is to
  435.    operate properly:
  436.  
  437.    Enter the values 'DNS address' and 'Domain Name' in the files
  438.    'RESOLV' and/or 'RESOLV2'.
  439.    NOTE: Make sure you are not using any capital letters (UNIX)!!
  440.  
  441. 4. If your provider is using CLI (Calling Line Identification), i.e.
  442.    if your MSN (phone number) is checked, make sure you are using
  443.    the correct MSN. This is done in two steps:
  444.  
  445.    4.1 Assignment of MSN to an EAZ.
  446.  
  447.         Please refer to your ISDN software documentation to find out
  448.         how this is achieved with your CAPI. Teles provies an object
  449.         for this purpose in the Capi folder.
  450.  
  451.    4.2  The file 'isdn.cfg' contains the field 'OAD', in which you
  452.         specify (1st digit) the EAZ you want to use for the call.
  453.  
  454.  
  455. 5. MTU Size (Message Transfer Unit Size)
  456.  
  457.    The default value of 1500 Bytes is correct in the majority of cases.
  458.    If your provider is using a different value, modify the field
  459.    'if-mtu' in the file 'isdn.cfg' accordingly.
  460.  
  461.  
  462. 6. Some other configuration variants are possible. Please refer to
  463.    the following parameter list.
  464.  
  465.  
  466. 7. If a login is required for the establishment of a connection to your
  467.    provider, use any of the existing 'login.fnc' and adapt the REXX
  468.    scripts to your requirements.
  469.    Geting familiar with the REXX script programming language
  470.    requires some study and effort!
  471.  
  472. 8. IP masquerading requires an entry in the following line of the
  473.    'isdn.cfg' file:
  474.    The line
  475.  
  476.            if_masquerade  :  1
  477.  
  478.    must be inserted in the section 'ip'.
  479.  
  480.    When the IP address is assigned dynamically (as PPP)
  481.    you have to set the IP address in the REXX procedure. This may be
  482.    done directly from the REXX procedure with the call
  483.  
  484.            rc = SETLOCALIP (Channel,LocalIp)
  485.  
  486.    provided the 'IP-Forewarding' flag is set (IPGATE ON).
  487.  
  488.    If your provider assignes the IP-Adress dynamically and you want
  489.    to use AUTODIAL, plaese set
  490.  
  491.         if_masquerade = 2
  492.  
  493.     !!!!! With the current Version of IsdnPm , IP masquerading !!!!!
  494.     !!!!! does not work with fragmented IP Datagramms (T-ONLINE) !!!
  495.  
  496. -----------------------------------------------------------------------
  497.  
  498. Sample configuration of 'ISDN.CFG' :
  499. ------------------------------------
  500.  
  501. #
  502. # Global configuration
  503. #
  504.  
  505. [global]
  506.  
  507. #
  508. # 'LogFile'
  509. #
  510. # Path definition of the log file
  511. #
  512.  
  513. LogFile         : C:\TMP\ISDN.LOG
  514.  
  515. #
  516. # 'TraceFile'
  517. #
  518. # Path definition of the trace file
  519. #
  520. # NOTE! This entry reduces the data flow rate. It should not be
  521. # used unless you have run into problems which can be solved only
  522. # by sending detail information to the author of 'IsdnPm'.
  523. # ( FAX +49-761-5932004 )
  524. # Normally this line is omitted.
  525. #
  526.  
  527. TraceFile       : C:\TMP\ISDN.TRC
  528.  
  529. #
  530. # 'Buffers'
  531. # 'BufferSize'
  532. #
  533. # Number and size of buffers
  534. # The number of buffers should be >= 10
  535. # The buffer size should be the MTU size plus 32.
  536. # Typical values are 50 or 1600
  537. #
  538.  
  539. Buffers         : 50
  540. BufferSize      : 3600
  541.  
  542. #
  543. # 'IpPriority'
  544. # 'IsdnPriority'
  545. #
  546. # Priorities of the IP thread and of the ISDN thread.
  547. # Default priority values range from 0 to 63.
  548. # Server priority values range from 64 to 127.
  549. # 100 and/or 120 have resulted to be appropriate values.
  550. # (If possible, do not change these values!)
  551. #
  552.  
  553. IpPriority      : 100
  554. IsdnPriority    : 120
  555.  
  556. ## 'CallBackWait'
  557. #
  558. # Slow computers may cause problems with the 'CAPI.DLL' of
  559. # 'Teles'.
  560. # When an infinite number of calls of the signalling routine
  561. # is made from the 'CAPI.DLL' this takes up too much processing
  562. # time causing very slow processing!
  563. #
  564. # If you come across this problem it is useful to set this
  565. # parameter. Any value between 30 and 200 is valid.
  566. #
  567. # Otherwise skip this parameter or set it to the value '0'.
  568. #
  569.  
  570. CallBackWait    : 0
  571.  
  572. #
  573. # 'FilterList'
  574. #
  575. # A filter list may be used to define global acces restrictions
  576. # for all users that have been defined in 'ISDNUSER.CFG'.
  577. #
  578. # A list entry contains an IP address and a net mask, separated
  579. # by slash ('/'). When making more than one entry, separate them
  580. # by commas.
  581. #
  582. # When, for example, you want to restrict the access to the
  583. # network '133.133.0.0.' make the following entry:
  584. #
  585. #   FilterList  : 133.133.0.0/255.255.0.0
  586. #
  587. # Usually, filters are interesting for providers. When no access
  588. # restrictions are required, i.e. when all networks are to be
  589. # accessible for all users, the appropriate entry is:
  590. #
  591.  
  592. FilterList      : 0.0.0.0/0.0.0.0
  593.  
  594. #
  595. # 'Register'
  596. # 'Key'
  597. #
  598. # These entries are necessary for the program registration.
  599. #
  600. # The field 'Register' contains the user name. 'Key' defines
  601. # the registration key.
  602. #
  603.  
  604. Register        :   Anyone
  605. Key             :   1234.5678.90
  606.  
  607. #
  608. # The 'CapiDll' parameter specifies the Capi.dll to be loaded.
  609. # When no entry is made here, the CAPI is searched via LIBPATH.
  610. #
  611. #
  612.  
  613. CapiDll         :   .\capi.dll
  614.  
  615. #
  616. # Isdn configuration
  617. #
  618.  
  619. [isdn]
  620.  
  621. #
  622. # 'Channels'
  623. #
  624. # This entry defines the number of ISDN channels.
  625. # The default is 2.
  626. #
  627.  
  628. Channels        : 2
  629.  
  630. #
  631. #
  632. # 'Oad'
  633. #
  634. # This field is required for the 'EAZ' definition. The first digit
  635. # specifies the EAZ to be used for outgoing calls. The subsequent
  636. # digits define incoming EAZs.
  637. #
  638. #
  639.  
  640. Oad             : 0123456789
  641.  
  642. #
  643. # IP configuration
  644. #
  645.  
  646. [ip]
  647.  
  648. #
  649. # Field for the IP interface configuration. We recommend the use of the
  650. # following values:
  651. #
  652. #
  653.  
  654. if_name     : sl0
  655. if_unit     : 0
  656. if_mtu      : 1500
  657. if_speed    : 64000
  658. if_rtt      : 0
  659. if_rttvar   : 0
  660. if_rttmin   : 0
  661. if_sendpipe : 8192
  662. if_recvpipe : 8192
  663. if_ssthresh : 0
  664. if_maxqueue : 24
  665. if_maxfastq : 12
  666.  
  667.  
  668. #
  669. # for ip-masquerading the following entry is required
  670. #
  671.  
  672. if_masquerade  :  1
  673.  
  674.  
  675.  
  676. Example of an'ISDNUSER.CFG' configuration:
  677. ------------------------------------------
  678.  
  679. #
  680. # Configuration of a user.
  681. # It is possible to define sequences of user names.
  682. #
  683.  
  684. [user]
  685. #
  686. # 'Name'
  687. # Mnemo for 'provider'
  688. #
  689.  
  690.   Name          : internet
  691.  
  692. #
  693. # 'IncomingISDN'
  694. # List of ISDN numbers for incoming calls (up to 4).
  695. # Usually, this entry is relevant only for providers.
  696. # Wildcards are valid entries.
  697. #
  698.  
  699.  
  700.   IncomingISDN  : *130-777777,*130-777778,*130-777779
  701.  
  702. #
  703. # 'OutgoingISDN'
  704. #
  705. # ISDN number(s) of the provider and/or user.
  706. #
  707.  
  708.   OutgoingISDN  : 0130-1, 0130-2, 0130-3, 0130-4
  709.  
  710. #
  711. # 'Alternate'
  712. #
  713. # refers to another user entry which will be dialled when the
  714. # connection establishment to the different ISDN numbers fails
  715. # (OutgoingISDN  -  OutgoingISDN4)
  716. #
  717.  
  718.    Alternate     : Provider2
  719.  
  720.  
  721. #
  722. # 'MailAddress'
  723. # 'Address'
  724. #
  725. # Only for information purposes.
  726. #
  727.  
  728.   MailAddress   : user@anypop.de
  729.   Address       : AnyPop PLZ DE-Stadt
  730.  
  731. #
  732. # 'Flags'
  733. #
  734. # The flags 'IPCONFIG','AUTODIAL' and 'DIALBACK' are used to
  735. # configure the following features:
  736. #
  737. #   'IPCONFIG'    When this flag is set, the parameters
  738. #                 defined for the automatic configuration of
  739. #                 the Ip interface will be used.#
  740. #   'AUTODIAL'    defines whether a connection is to be set up
  741. #                 automatically (only valid in connection with
  742. #                 the TimeOut parameter).
  743. #
  744. #                 WARNING ! 'AUTODIAL' may cause unintentional
  745. #                 connection setup, when IP packets are
  746. #                 sent off by background processes!
  747. #
  748. #   'DIALBACK'    rejects an incoming call and activates an
  749. #                 automatic dialback after the time defined
  750. #                 in 'DialBackWait' has elapsed.
  751. #
  752. #   'TRIGGERIN'   activates the 'TimeOut' parameter for
  753. #                 incoming IP packages.
  754. #
  755. #   'PACKETFILTERIN' applies the 'PACKETFILTER' parameter for
  756. #                 incoming IP packages.
  757. #
  758. #   'LOGINDIALOG' must be set when a login procedure is
  759. #                 required for SLIP. The login procedure will be
  760. #                 executed with the REXX script defined via
  761. #                 the 'Script' parameter.
  762. #
  763. #   The following flags are PPP-protocol-specific:
  764. #
  765. #   'PPP_PAP'
  766. #   'PAP'
  767. #   'PPPPAP'      activate the authentication via PAP.
  768. #
  769. #   'PPP_CHAP_MS'
  770. #   'CHAP_MS'
  771. #   'PPPCHAPMS'   activate the authentication via Microsoft-CHAP.
  772. #
  773. #   'PPP_CHAP'
  774. #   'CHAP'
  775. #   'PPPCHAP'     activate the authentication via CHAP.
  776. #
  777. #   'NACKTOPAP'
  778. #   'PPP_NACKTOPAP'
  779. #   'PPPNACKTOPAP' activate the authentication via PAP.
  780. #
  781. #   'PPP_IP_SEND'
  782. #   'IPSEND'
  783. #   'PPPIPSEND'     activates the exchange of IP addresses.
  784. #                 When a REXX script was defined with the
  785. #                 'Script' parameter ('PPP.FNC') the IP
  786. #                 interface can be re-configured with the
  787. #                 negotiated IP addresses.
  788. #
  789. #   'STANDARD'
  790. #   'PPP_STANDARD'
  791. #   'PPPSTANDARD'   are used to set PPPPAP, PPPCHAP, PPPCHAPMS and PPPIPSEND
  792. #
  793. #   'MODEM'       This flag is possible only when the ELSA card
  794. #                 ISDN/PCFpro is used. It enables you to
  795. #                 set up a slip connection via the built-in
  796. #                 V.34 modem.
  797. #
  798.  
  799.   Flags         : IPCONFIG,AUTODIAL
  800.  
  801. #
  802. # 'Protocol'
  803. #
  804. # This parameter defines the type of IP encapsulation.
  805. #
  806. #   'X75'          direct encapsulation of Ip packets in X75-
  807. #                  data packets
  808. #   'SLIP'         Ip packets with SLIP framing in X75 data packets
  809. #   'T70'          direct encapsulation of Ip packets in X75/T70NL
  810. #                  data packets
  811. #   'PPP'          IP-PPP protocol, compatible with SUN and CISCO
  812. #                  (answers to PAP and CHAP requests !)
  813. #   'HDLC'         direct encapsulation of Ip packets in HDLC frames
  814. #   'HDLC_UI'      direct encapsulation of Ip packets in HDLC_UI frames
  815. #   'CISCO'        CISCO-HDLC encapsulation with 'KEEP-ALIVE'
  816. #   'M_LAPB'       CISCO Multi-Lapb protocol
  817. #   'T_ONLINE      internet access via T-Online
  818. #   'T_ONLINE_PPP' internet access via T-Online to COMPUSERVE
  819. #   'Async_PPP'    as for 'PPP' but via X.75
  820. #
  821.  
  822.   Protocol      : X75
  823.  
  824. #
  825. # 'PapId' and 'PapPasswd'
  826. #
  827. #  User-ID and password for PPP-PAP and/or PPP-CHAP
  828. #
  829.  
  830. PapId           : MyWi
  831. PapPasswd       : Secret
  832.  
  833. #
  834. #  'MSNDomain'
  835. #
  836. #  Specification of the login domain for MS networks.
  837. #
  838.  
  839. MSNDomain       : DOMAIN1
  840.  
  841. #
  842. # 'Script'
  843. #
  844. #  REXX Script.
  845. #  This REXX script is started as soon as the connection has been
  846. #  established. The user may define the actions to be executed.
  847. #  For the 'SLIP' protocol and the flag 'LOGINDIALOG' this script
  848. #  is used for the login dialog. The file 'LOGIN.FNC' contains a
  849. #  procedure which may be adapted any time to the user's needs.
  850.  
  851. Script          : Login.fnc
  852.  
  853. #
  854. #  'IfConfigFile'
  855. #
  856. #  For the 'PPP' protocol with the Flag 'PPPIPSEND' this script
  857. #  may be used for the configuration of the Ip interface, with
  858. #  the agreed Ip addresses. This is required only when the Ip
  859. #  address is not 'static'. The file 'PPP.FNC' gives you a sample
  860. #  configuration.
  861. #
  862.  
  863. IfConfigFile    :  PPP.fnc
  864.  
  865. #
  866. # 'FragmentSize'
  867. #
  868. # Paket size of the ISDN packets. The value can be adapted only
  869. # for 'SLIP', 'T70' and 'PPP_ASYNC'. It defines the packeting type.
  870. # The default is 256.
  871. #
  872.  
  873. Fragmentsize    : 1024
  874.  
  875. #
  876. # 'PacketSize'
  877. #
  878. # This value defines the maximum FRAME size of Isdn packets.
  879. # The default is 2048.
  880. #
  881.  
  882. PaketSize       : 2048
  883.  
  884. #
  885. # 'TimeOut' n
  886. #
  887. # This value defines the time of inactivity (in seconds) after
  888. # which the connection is to be disconnected automatically.
  889. # It is recommended to adapt the value to the charge indicator.
  890. # '0' deactivates the function and disables the  'AUTODIAL' function.
  891. # Of course, this value has no influence on the timeout of the
  892. # counterpart (the shorter timeout wins).
  893. #
  894.  
  895. TimeOut        : 400
  896.  
  897. #
  898. # 'TimeOut' <a>,<b>,<c>
  899. #
  900. # This variation of the timeout function allows you to align with
  901. # the charging unit. Since the duration of a chargeing unit is
  902. # unknown until the first unit is received, you may define the
  903. # duration of the initial unit with the option
  904. # <a>.
  905. # <b> defines periods of inactivity
  906. # <c> defines the point when a disconnect is required prior to the next
  907. # charge indicator.
  908. #
  909. # e.g. TimeOut :  400,20,3
  910. # estimates the duration of the first indicator at 400 seconds.
  911. # If no packet is transmitted during the last 23 seconds of a charging
  912. # unit, IsdnPm cuts the connection 3 seconds before the next charging
  913. # unit is received.
  914. #
  915.  
  916. TimeOut        :  400,20,3
  917.  
  918. #
  919. # 'Connections'
  920. #
  921. # defines the number of connections that can be set up
  922. # simultaneously to a provider and/or user.
  923. #
  924.  
  925.   Connections   : 1
  926.  
  927. #
  928. # 'HostIp'
  929. #
  930. # Ip address of the counterpart.
  931. #
  932.  
  933.  
  934.  
  935.   HostIp        : 192.192.3.254
  936.  
  937. #
  938. # 'LocalIp'
  939. #
  940. # Your own Ip address.
  941. #
  942.  
  943.   LocalIp       : 192.192.3.6
  944.  
  945. #
  946. # 'Netmask'
  947. #
  948. # Your own subnet mask.
  949. #
  950.  
  951.   Netmask       : 255.255.255.0
  952.  
  953. #
  954. # 'DefaultIp'
  955. #
  956. # Ip address to be used for the 'Default Route' functionality.
  957. #
  958.  
  959.   DefaultIp     : 192.192.3.254
  960.  
  961. #
  962. # 'Metric'
  963. #
  964. # Only relevant for providers. (Do not modify!).
  965. #
  966.  
  967.   Metric        : 15
  968.  
  969. #
  970. # 'HostList', 'ExcludeList' and 'AccessList' have the same
  971. # structure as 'FilterList' in 'ISDN.CFG'.
  972. #
  973. # 'HostList'
  974. #
  975. # The host list defines which networks are accessible via the
  976. # specified connection.
  977. # When the default '0.0.0.0/0.0.0.0' is entered, the user in
  978. # question is authorized to access the entire INTERNET.
  979. # Providers wanting to forward only specific addresses to a
  980. # user are requested to adapt the entry accordingly.
  981. #
  982. # When this configuration line is skipped altogether, the
  983. # default entry will be applied.
  984. #
  985. # Default entry :
  986. #
  987.  
  988.   HostList      : 0.0.0.0/0.0.0.0
  989.  
  990. #
  991. # 'ExcludeList'
  992. #
  993. # This list is used to restrict the host list.
  994. # Default: no entry.
  995. #
  996.  
  997.   ExcludeList   :
  998.  
  999. #
  1000. # 'AccessList'
  1001. #
  1002. # The access list is required only for providers. It offers the
  1003. # possibility to restrict the access to certain networks.
  1004. # Default: no entry.
  1005. #
  1006.  
  1007.   AccessList    :
  1008.  
  1009. #
  1010. # 'DialFilter'
  1011. #
  1012. # This filter is applied to the contents of specific Ip packets.
  1013. # Ip packets matching this filter trigger neither an 'Autodial'
  1014. # nor a 'TimeOut'.
  1015. # The packets are transmitted as usual for existing connections.
  1016. #
  1017. # The maximum length of a filter is 64 Bytes.
  1018. # The filter definition contains a mask string and a value string,
  1019. # separated by '/'. Several filters (up to 16) may be defined for
  1020. # one user.
  1021. #
  1022. # (This feature is active only in the registered version!).
  1023. #
  1024. # A filter entry may be used, for example, when you want to
  1025. # prevent ICMP packets from keeping alive connections that are
  1026. # no longer required. When using the filter make sure you
  1027. # know the exact structure of an IP or ICP packet.
  1028. #
  1029. # Example of an ICMP filter and an IGMP filter:
  1030. #
  1031.  
  1032. DialFilter  : 45000000-00000000-0001/F0000000-00000000-00FF
  1033. DialFilter  : 45000000-00000000-0002/F0000000-00000000-00FF
  1034.  
  1035. #
  1036. # 'PacketFilter'
  1037. #
  1038. # This filter is applied to the contents of specific Ip packets.
  1039. # Ip packets matching this filter are ignored. The filter usually
  1040. # 'filters' outgoing Ip packets. When the flag 'PACKETFILTERIN'
  1041. # has been set, the filter also reacts to incoming Ip packets.
  1042. # (This feature is active only in the registered version!).
  1043.  
  1044. #
  1045.  
  1046. PaketFilter  : 45000000-00000000-0001/F0000000-00000000-00FF
  1047.  
  1048. #
  1049. # We are working on a simplified form of filter configuration.
  1050. #
  1051.  
  1052. ------------------------------------------------------------------
  1053.  
  1054.  
  1055. Application
  1056. -----------
  1057.  
  1058. The program may be started when booting the system. For this
  1059. purpose please
  1060.  
  1061.  - generate a program object in the system start file and execute
  1062.    the IP configuration script ISDNSET.CMD for the first (and
  1063.    usually the only) user with the IPCONFIG flag.
  1064.    The corresponding IP numbers for automatic configuration must
  1065.    have been entered for the user.
  1066.  
  1067.  - start the system via TCPSTART.CMD / SETUP.CMD, as for SLIP,
  1068.    and make the necessary configuration entries.
  1069.  
  1070.  
  1071. The PM interface of the program allows you to manually set up a
  1072. connection to any user you have selected in the provider list box
  1073. (Menu Connection->Dial). Also, it is possible to call the IP
  1074. configuration of the selected user (Menu File->Ip Setup).
  1075. All the remaining fields of the provider are passive, i.e. the
  1076. major user data are displayed.
  1077.  
  1078. You may disconnect the selected ISDN channel with 'Hangup' (Menu
  1079. Connection -> Hangup).
  1080. In the 'trace window' the ISDN interface allows you to analyse the
  1081. CAPI output messages etc. and to monitor the flow of data.
  1082. Note: When large quantities of data are transferred this may cause
  1083. a decrease of the performance with some computers (a problem that
  1084. will no longer exist with version 2.03 onwards).
  1085. Therefore it is recommended to request only those outputs apart
  1086. from 'Connections' that are helpful for your problem solution.
  1087.  
  1088. Starting with version 2.5 the content of the Trace Window may be
  1089. stored in a file (Trace File). Also, it is possible to set up a
  1090. default trace level upon activation of 'IsdnPm' using the
  1091. '-v -d255' option.
  1092.  
  1093. ------------------------------------------------------------------
  1094.  
  1095.  
  1096. Tecnical Data
  1097. -------------
  1098.  
  1099. ISDN pm runs with TCPIP 2.0 as well as with the IAK of Warp.
  1100.  
  1101. Basically, ISDN pm runs with all ISDN cards released with a
  1102. CAPI.DLL, version 1.1, für OS/2.
  1103.  
  1104. It has been successfully tested with the following hardware:
  1105.  
  1106.   Diehl  : Diehl SCOM, SX, Diva, S2m,
  1107.   NCP    : NCP-P16, NCP-A
  1108.  
  1109.   Teles  : Teles 8/16 Bit with CAPI version 2.97
  1110.  
  1111.   Bintec : positive test by one user
  1112.   IBM    : PCMCIA Active 2000
  1113.            (works only in SLOT-1)
  1114.  
  1115.   AVM    : AVM-B1
  1116.            here the CAPOI16.DLL must be copied to CAPI.DLL
  1117.  
  1118.   ELSA   : ISDN/PCFpro
  1119.  
  1120. The CAPIs of some producers have their idiosyncrasies, which may
  1121. cause problems with some cards.
  1122. ------------------------------------------------------------------
  1123.  
  1124. History
  1125. -------
  1126.  
  1127. Version 2.0 (isdnpm.zip)
  1128.  
  1129.     - This is the first version coming with a PM interface.
  1130.       A new feature is also the support of various providers
  1131.       with different subnets (key HOSTLIST in the section
  1132.       USER in ISDNUSER.CFG) as well as program-controlled
  1133.       dialling and hangup via 'Timeout'.
  1134.  
  1135.     - Version 2.0 is the first version available as shareware
  1136.       to a large number of users.
  1137.  
  1138. Version 2.03 (isdnpm203.zip)
  1139.  
  1140.     - The 'Trace Window' functionality has been improved.
  1141.  
  1142.     - A 'Semaphore' prevents multiple starting of the program.
  1143.  
  1144. Version 2.4 (isdnpm24.zip)
  1145.  
  1146.     - Implementation of the protocols 'HDLC','CISCO','M_LAPB',
  1147.       PPP-PAP and PPP-CHAP
  1148.  
  1149.     - 'CallBackWait' ,'PacketFilter' and 'DialFilter' have been
  1150.       implemented.
  1151.     - The entry 'HostList' may be omitted.
  1152.  
  1153.     - New keywords are  : 'IncomingISDN' 'OutgoingISDN'
  1154.  
  1155. Version 2.5 (isdnpm25.zip)
  1156.  
  1157.     - Implementation of the 'HDLCUI' protocols
  1158.  
  1159.     - REXX script for SLIP via X.75
  1160.       for the login procedure and definition of the Ip addresses
  1161.  
  1162.     - Improvement of PPP
  1163.       dynamic assignment of the Local-Ip address
  1164.  
  1165.     - Improvements for AVM-B1 and ELSA ISDN/PCFpro
  1166.  
  1167.  
  1168. Version 2.6 (isdnpm26.zip)
  1169.  
  1170.     !!!!!  ATTENTION  !!!!!!
  1171.  
  1172.     - Different procedures for login and configuration of the
  1173.       'Script' and 'IfConfigFile' interfaces!
  1174.       Please change older configurations with dynamic IP address
  1175.       assignment accordingly.
  1176.  
  1177.     - PPP has been enhanced
  1178.       The remote Ip address can be assigned dynamically, too.
  1179.  
  1180.     - Implementation of 'T-ONLINE'
  1181.     - Implementation of 'PPP_ASYNC'
  1182.  
  1183.     - Minor modifications of the user interface:
  1184.       - the program can be started with the '-min' option
  1185.  
  1186.     With former versions we have received many suggestions for
  1187.     improvement by program users. We welcome any of these suggestions.
  1188.     Many of them referred to the user interface. With version 2.6, however,
  1189.     we have concentrated on enhancements on the protocol level.
  1190.  
  1191.  
  1192. Version 2.7 (isdnpm27.zip)
  1193.  
  1194.     Implementation of
  1195.     - communication via '\PIPE\ISDNPM' with 'isdnpm'
  1196.     - MS-Chap
  1197.     - alternative calling numbers and providers
  1198.     - IP masquerading
  1199.  
  1200.     Tested with
  1201.     - WARP-4 (Merlin)
  1202.  
  1203. ------------------------------------------------------------------
  1204.  
  1205.  
  1206. Where is the latest version available?
  1207. ======================================
  1208.  
  1209.     The latest version is available on :
  1210.  
  1211.         'ftp.uni-freiburg.de'
  1212.     in
  1213.         '/pub/pc/os2/isdn'.
  1214.  
  1215.