home *** CD-ROM | disk | FTP | other *** search
/ HAM Radio 1 / HamRadio.cdr / packet / gtemisc / servnet.doc < prev    next >
Text File  |  1991-03-21  |  4KB  |  122 lines

  1. SERVNET Commands and GTESLIP.NET References
  2.  
  3.   SLIPNET Command Reference
  4.  
  5. 1.  Startup GTESLIP.NET
  6.  
  7. When a MODEM user types FTP, MODEM.EXE shells out to call SERVNET.EXE.
  8. This program uses a file called \GTESLIP.NET similar to NET/NOS's use
  9. of AUTOEXEC.NET.
  10.  
  11. GTESLIP.NET must be in the root directory of BBS drive.
  12. It is read and executed as though its contents were typed on the
  13. console  as   commands.  This is needed for setting the local IP
  14. address and host name, initializing the IP parameters, and  starting
  15. the  FTP server.  Only FTP service are available, TELNET and SMTP are
  16. not supported.
  17.  
  18. 2.  Other files needed are \HOSTS.NET and \FTPUSERS.
  19. These can be same files (shared) as those you use for NET.EXE.
  20.  
  21. 3. This section describes each of the commands recognized while in  command
  22. mode or read in from GTESLIP.NET.
  23.  
  24. 3.1. #
  25.  
  26. Commands starting with the hash mark (#) are ignored. This   is   mainly
  27. useful for comments in the \GTESLIP.NET file.
  28.  
  29. 3.2. hostname [<name>]
  30.  
  31. Displays or sets the local host's name (an ASCII string such  as  "ka9q-
  32. pc",  NOT an  IP address).  Currently this is used only in the greeting
  33. messages from the SMTP (mail) and FTP (file transfer) servers.
  34.  
  35.  
  36. 3.3.  ip
  37.  
  38. 3.3.1. ip address [<hostid>]
  39.  
  40. Displays or sets the local IP address.
  41.  
  42. 3.3.2. ip ttl [<val>]
  43.  
  44. Displays or sets the default time-to-live value placed  in  each  outgo-
  45. ing   IP  datagram.  This limits the number of switch hops the datagram
  46. will be allowed to take. The idea is  to  bound  the  lifetime  of   the
  47. packet   should  it  become caught  in a routing loop, so make the value
  48. somewhat larger than the diameter of the network.
  49.  
  50. 3.4.  start ftp
  51.  
  52. Starts  the  FTP  Internet  server, allowing  remote   connection
  53. requests.
  54.  
  55. 3.5.  tcp
  56.  
  57. 3.5.1. tcp irtt [<val>]
  58.  
  59. Display or set the intial round trip time estimate, in  seconds,  to  be
  60. used  for new  TCP  connections until they can measure and adapt to the
  61. actual value.  The default is 5 seconds.  Increasing this when operating
  62. over  slow channels  will avoid the flurry of retransmissions that would
  63. otherwise occur as the smoothed estimate settles  down  at  the  correct
  64. value.  Note  that  this command  should  be given  before  servers  are
  65. started in order for it to have effect on incoming connections.
  66.  
  67. 3.5.2. tcp mss [<size>]
  68.  
  69. Display or set the TCP Maximum Segment Size in bytes that will  be  sent
  70. on   all outgoing TCP  connect  request (SYN segments).  This tells the
  71. remote end the size of the largest segment (packet) it may send.  Chang-
  72. ing   MSS  affects   only  future connections; existing connections are
  73. unaffected.
  74.  
  75. 3.5.3. tcp window [<val>]
  76.  
  77. Displays or sets the default receive window size in bytes to  be  used
  78. by   TCP  when  creating new connections. Existing connections are unaf-
  79. fected.
  80.  
  81. 4.  Changes from Phil Karns NET 890421.1 code.
  82.  
  83. As you have probably noticed, many normal IP commands are missing.  This
  84. is because of the "slip-only" configuration, those commands are no longer
  85. applicable (example: route is no longer needed since EVERYTHING is routed
  86. out the slip port).
  87.  
  88. 4.1   Commands no longer applicable.
  89.  
  90.     arp
  91.     attach (still there, but syntax and meaning has changed)
  92.     ax25
  93.     escape (not need for this IBM-PC only version)
  94.     log  (all logging is sent to the screen)
  95.     mode
  96.     mulport
  97.     param
  98.     route
  99.     trace (removed to reduce code size and not really needed in slip)
  100.     udp
  101.  
  102. 4.2   New commands.
  103.  
  104. 4.2.1       baud <speed>
  105. The baud command is used to change the commport speed.  It is available
  106. only from the command mode.  Remember after changing the baud to go into
  107. modem mode and issue the "AT" command to the modem.  Most modems use this
  108. command to figure out the new commport baud.
  109.  
  110. 4.2.2    attach port <comm> <mtu>
  111. Configure and attach the commport interface to the system.
  112.  
  113. <comm> is the number of the commport,  ei COM1:  would be 1.
  114.  
  115. <mtu> is the Maximum  Transmission  Unit  size,  in  bytes.    Datagrams
  116. larger  than   this   limit   will  be  fragmented  at the IP layer into
  117. smaller pieces.
  118.  
  119. Examples:
  120.  
  121.  # Attach the commport normally known as "com1" (the first
  122.