home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / oct93 / comm / 4d-bbsdemo.lha / 4D-BBSDemo / Docs / 12.Modem < prev    next >
Text File  |  1993-07-02  |  5KB  |  145 lines

  1. Chapter 12:
  2.  
  3.  
  4.                  Modem Setup
  5.  
  6.  
  7. 12.1.0  Overview
  8.  
  9.      4D-BBS can operate with a wied variety of modems, and has two
  10. different interaction modes.   The first is an "auto" mode where
  11. 4D-BBS will try and figure out what the modem is saying.  The other
  12. mode is where the sysop sets up a datafile to define the different
  13. return codes of the modem.  Since "auto" mode is easier to setup,
  14. it is the preferred way to setup 4D-BBS.
  15.  
  16. 12.2.0  Auto mode
  17.  
  18.      To enable auto mode, you need to set it in the cfg_ed program.
  19. select option "M8" is the easiest way to do this.  Once this is
  20. selected, there is a couple of other paramaters that need to be
  21. looked at in the cfg_ed program.
  22.  
  23.      When your modem returns a "connect" string, 4D-BBS needs to know
  24. what the actual first part of that string is.  For most modems this
  25. will be "CONNECT".  If your modem does not return "CONNECT" when a
  26. connection is made, you need to select M9 and enter what your modem
  27. does return.
  28.  
  29.      If you have a error correcting modem, you can set MR to define
  30. a search string to look for to figure out if the connect is using
  31. error correction or or.  The default is "ARQ".
  32.  
  33.      Lastly, if you have a modem which can recieve both fax and data
  34. calls, you can set MF to this response string.  When a fax is
  35. detected, the script "BBS:FaxCmd" will be executing, allowing you to
  36. use another program to take over the serial port.  4D-BBS will not
  37. monitor the serial port while the other program is running.
  38.  
  39.  
  40. 12.2.1  Modem Configurations
  41.  
  42.      To set your modem up for Auto mode, you need to set the follow
  43. characteristics:
  44.  
  45. Modem Does NOT echo commands            (ATE0)
  46. Modem returns VERBOSE result commands   (ATV1)
  47. Modem returns CARRIER rate on CONNECT   Varies with modem
  48. Modem reports Carrier detect properly   AT&C1
  49.  
  50. 12.2.2  Popular High Speed Modem Configurations
  51.  
  52.      For a ZyXEL line of modems, you should use the following string
  53. to setup the modem, and store the settings in non-volatile memory.
  54. The init string in cfg_ed should be set to something similar to
  55. "|~ATZ|~".
  56.  
  57. AT&FE0X7&W<RETURN>
  58.  
  59.  
  60.      For Supra 14.4k and 9600 baud modems, use the following string to
  61. setup the modem, and store the settings in non-volatile memory.
  62. The init string in cfg_ed should be set to something similar to
  63. "|~ATZ|~".
  64.  
  65. AT&F@E0S95=47&W<RETURN>
  66.  
  67.  
  68. 12.2.3  Locking the Serial Port
  69.  
  70.   For any high speed modem which has data compression you will need to
  71. use a faster serial-to-modem rate that modem-to-modem rate, in order
  72. to allow for compression.  For 4D-BBS the /b CLP handles this.
  73. However this presents another problem.  What is a 200 baud user calls
  74. a system which has a locked serial baud rate of 38400?  Unless hand
  75. shaking is used to control the flow of data (flow control) the high
  76. speed modem will overrun the the buffer, caused the 2400 baud user to
  77. loose information.
  78.  
  79.      The most common way aroun this is to use "handshaking".
  80. Handshaking is a way for two devices to tell each when its OK to send
  81. information, and when its not.  The most common form of Handshaking
  82. used in High speed modems is RTS/CTS.  4D-BBS will default this on
  83. whenever a /b paramater is given.  User's who call your BBS need to
  84. also be aware that they need to have their RTS/CTS enabled for their
  85. side, also.
  86.  
  87. 12.2.4  Non-High speed modem
  88.  
  89.      With a non-high speed modem, the BBS will change baud rates with
  90. the modem as a call comes in.  The most common type of this modem is
  91. the Supra 2400 baud modem.  To setup a modem of this type (inlcluding
  92. Hayes Compaibles) use the following string:
  93.  
  94. AT&FE0X4&C1&D2&W
  95.  
  96. to save the settings in non-voltile memory.  If your modem does not
  97. have non-volatile memory, you will need to put a string smilar to the
  98. one below in the modem init parameter for 4D-BBS:
  99.  
  100. "|~ATE0X4&C1&D2|~"
  101.  
  102. The basic setup requirements are for no echo, extended return codes,
  103. and carrier is reported properly.
  104.  
  105. 12.4.0  Misc Modem Settings
  106.  
  107.      There is many modem settings thats are independant of the type of
  108. answer system you use.  Below is a description of each of them.
  109.  
  110.  
  111. 12.4.1  Hangin up 
  112.  
  113.      4D-BBS offers two different methods of hanging up the modem.  The
  114. first is to use the Hayes sequence of "+++,,,ATH".  This works well on
  115. most modems that do not support DTR.  However this is also considered
  116. less reliable than DTR.
  117.      
  118.      You modem monitors the DTR pin which comes from the computer.
  119. You can configure your modem to react in many different ways when the
  120. DTR pin goes from high to low.  Normally the AT&D controls these
  121. settings.  I setting of &D1 or &D2 should work fine with 4D-BBS.
  122.  
  123. If you would like 4D-BBS to use the first method to hang up the phone,
  124. then for the M5 option, say no.  If you would like the BBS to drop dtr
  125. to hangup, then say yes.
  126.  
  127.  
  128. 12.4.2  Initialization String
  129.  
  130.      When configuring your modem init string you can put in several
  131. different characters to help you.  They are as follows:
  132.  
  133.      ~ - 2 sec pause
  134.      | - Return character
  135.      ^ - Drop DTR for two secs
  136.  
  137.      The following is an example of using these:
  138.  
  139. "|~ATZ|~ATE0|~"
  140.  
  141. This would enter a return, wait 2 seconds, send ATZ and a return, wait
  142. for two seconds, then send ATE0 and return, and finally wait 2
  143. seconds.
  144.  
  145.