home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / sliphw.zip / homecli.cfg < prev    next >
Text File  |  1995-09-30  |  5KB  |  117 lines

  1. # HOMECLI.CFG
  2. # SLIP configuration file
  3. # Put file in \TCPIP\ETC on the home machine. 
  4. # This file is used by HOMECLID.CMD. It calls HOMECLI.CMD
  5. #
  6. # Configuration: at the end of this file change the line below to COM1 or COM2
  7. # device=COM2
  8. #**********************************************************************/
  9. #
  10. #               OS/2 2.0 SLIP Driver for IBM TCP/IP version 2.0
  11. #
  12. #                  SLIP Configuration File
  13. #             ..................................................
  14. #
  15. #                             Copyright (c) 1993
  16. #               David Bolen and Advanced Network & Services, Inc.
  17. #                            All Rights Reserved
  18. #
  19. # This file controls the interfaces that the SLIP driver creates and manages.
  20. # It is used to set up interface values (such as MTU, RTT estimates, and
  21. # device information), as well as specifying other per-interface data, such
  22. # as what scripts should be run to make a SLIP attachment over an interface.
  23. #
  24. #
  25. # The general format of the file is a series of interface "clauses", of the
  26. # form:
  27. #
  28. #               interface ??? {         # Comments
  29. #                    parameter = value  [,] [ parameter = value [,] ... ]
  30. #               }
  31. #
  32. # Spaces, commas and newlines are ignored (except within quoted strings).
  33. # In general, the layout of the file is free-form, within the general bounds
  34. # of the interface blocks.
  35. #
  36. # Comments may begin at any point on the line, and are signified by a hash
  37. # (#) character - everything past the comment character is ignored.
  38. #
  39. # Parameter names and values are delimited by whitespace.  Special characters
  40. # (whitespace, ',', '{', '}', '#', '=') may be included in a value by
  41. # surrounding that value in double quotes ("), or by prefixing the special
  42. # character with a backslash (\).  Use \\ to get a backslash itself, and use
  43. # \" within a quoted string to get a double quote within the value.
  44. #
  45. # In the above, ??? specifies an interface to be defined.  Currently only
  46. # two values are allowed:
  47. #
  48. #       default         Default settings.  Specifies parameters that will
  49. #                       be assumed for any interfaces later in the file
  50. #                       where their interface clauses do not contain new
  51. #                       values for the parameters.
  52. #       sl0             Serial Interface 0.
  53. #
  54. # The "interface default" clause may be specified multiple times, and is
  55. # additive.  Where a parameter appears in more than one such clause, its
  56. # most recent value will be used for any later interface clauses.
  57. #
  58. # The following parameters and values are allowed for each interface:
  59. #
  60. #   Basic Parameters
  61. #       device          Interface serial device (ie: "com1")
  62. #       mtu             Maximum transmission unit (bytes)
  63. #       compression     Adjusts VJ compression.  Can be "ON" (always compress),
  64. #                         "OFF" (never), or "AUTO" (accept compression and
  65. #                         start compressing if compressed packets are received)
  66. #       attachcmd       Name of rexx command script to run to attach interface
  67. #       attachparms       Parameters to pass to command script
  68. #
  69. #   Queuing Parameters
  70. #       fastqueue       Enables priority queueing for interactive traffic.
  71. #       nofastqueue       Disables priority queueing
  72. #       queuesize       Normal and priority queue sizes (IP kernel<->SLIP) in
  73. #       fastqueuesize     packets.  These should be multiples of 4.
  74. #
  75. #   Protocol Parameters
  76. #       rtt             Initial TCP RTT estimates.  Like BSD-Reno's per-route
  77. #       rttvar            defaults, but per-interface.  The values assigned
  78. #       rttmin            to these parameters are in milliseconds
  79. #       sendpipe        Size of TCP send and receive windows (bytes)
  80. #       recvpipe
  81. #       ssthresh        "Slow start" congestion window threshold (bytes)
  82. #
  83. #
  84. # When this file is initially processed, the system default interface clause
  85. # is as follows:
  86. #
  87. #       interface default {
  88. #          mtu=296, compression=on,
  89. #          fastqueue, queuesize=12, fastqueuesize=24,
  90. #          recvpipe=4096
  91. #       }
  92. #
  93. # And the default device for the "sl0" interface is "com1"
  94. #
  95. #
  96. # It is not recommended that anything other than "Basic Parameter" values
  97. # be adjusted unless truly necessary.  In particular, adjusting queue sizes
  98. # and rtt* values without a complete understanding of the affect such
  99. # adjustments will have on protocol (such as TCP) behavior can seriously
  100. # affect both interactive response and throughput.
  101. #
  102. #
  103. # $Id: slip.cfg,v 1.2 1993/04/09 04:42:20 db3l Exp $
  104. #
  105. #------------------------------------------------------------------------------
  106. # Set up a simple default sl0 (default parameter values commented above)
  107. interface sl0 {
  108.  device=COM2,
  109.  mtu=1500,
  110.  compression=on,
  111.  fastqueue,
  112.  queuesize=24,
  113.  fastqueuesize=48,
  114.  attachcmd  = homecli.cmd
  115.  }
  116.  
  117.