home *** CD-ROM | disk | FTP | other *** search
/ A Beginner's Guide to the Internet / INTERNET.ISO / text / guides / modemslp / modem.txt < prev   
Encoding:
Text File  |  1996-05-06  |  36.3 KB  |  826 lines

  1. DEMON INTERNET LTD.
  2. ===================
  3. 42 Hendon Lane
  4. Finchley
  5. London
  6. N3 1TT
  7. 0181-349 0063  (London)
  8. 0131-552 0344  (Edinburgh)
  9. 0181-343 3881  (HelpLine)
  10. email internet@demon.net
  11.  
  12. MODEM.TXT - INFORMATION ON CONFIGURING A MODEM FOR CONNECTING TO THE
  13. INTERNET
  14. Last updated 5th September 1994
  15.  
  16. The latest version of this document is available from
  17. ftp.demon.co.uk:/pub/doc/Modem.txt
  18.  
  19.  
  20. Contents
  21. ========
  22.  
  23. 1.   General
  24. 2.   Essentials
  25. 3.   Telephone Exchange
  26. 4.   Internal Modems
  27. 5.   Which Phone Number
  28. 6.   Modem and Telephone Leads
  29. 7.   Serial Chips
  30. 8.   Speed
  31. 9.   Trouble Shooting
  32. 10.  Software and Other Factors
  33. 11.  Help for Specific Computers
  34.   11.1    IBM PC Compatibles running DOS
  35.   11.2    OS/2
  36. 12.  Individual Modem Settings
  37.   12.1   US Robotics/Miracom
  38.   12.2   BT NS 2232 M
  39.   12.3   Dowty
  40.   12.4   Dynalink
  41.   12.5   Gateway
  42.   12.6   Mistral
  43.   12.7   Multitech
  44.   12.8   Supra
  45.   12.9   Yoriko
  46.   12.10  Zoltrix
  47.   12.11  Zoom
  48.   12.12  Zyxel
  49. 13.  Testing
  50. 14.  Finally
  51.  
  52.  
  53. 1. General
  54. ==========
  55.  
  56. This document will point out some general essentials and advice on
  57. setting up your modem.  A section at the end discusses specifics
  58. regarding a DOS setup running the KA9Q NET.EXE program.  Due to the vast
  59. combinations of computer and modem setups it is impossible to give
  60. specific help for all types.
  61.  
  62. Making an Internet (IP - Internet Protocol) connection via a modem is
  63. very different from a standard dial-up connection.  Do not assume that
  64. just because you can download from a BBS (and maybe upload) or use other
  65. services that you have your communication (comms) set-up 100% sorted out.
  66. Due to the nature of IP, if you get errors, throughput can be hit very
  67. badly.  Under IP information is sent in packets and for maximum speed
  68. these should generally be as large as possible up to a maximum of about
  69. 1500 characters.  If a packet gets messed up (garbled) its entire
  70. contents will have to be resent - hence a large speed degradation may
  71. occur.
  72.  
  73. One exception to this is when an interactive sessions are sharing a
  74. TCP/IP link with more voluminous transfers such as NNTP or SMTP.  In this
  75. case it can be preferable to have smaller transmission units (Maximum
  76. Transmission Units setting or MTU) so that keystrokes/screen updates will
  77. fit into the data stream with less delay.  If a large MTU is used this
  78. can lead to what feels like a jerky or intermittent session.
  79.  
  80. Enough of the technical parts, there follows some sound advice that
  81. everybody should take note of.
  82.  
  83.  
  84. 2. Essentials
  85. =============
  86.           Correct modem settings:
  87.                    
  88.                Full hardware handshaking (CTS/RTS),
  89.                Flow control
  90.                XON/XOFF (software handshaking) set to off
  91.                Settings must be bi-directional where appropriate.
  92.                    
  93.          A full specification modem cable (open yours up - if it has
  94.          only 3 wires it is no good).
  95.                    
  96.          A serial chip that can cope with the high speeds (if using a
  97.          high speed modem).  Extended memory drivers and Terminate Stay
  98.          Residents (TSRs) etc. can interfere with the handling of
  99.          interrupts from serial chips.
  100.                    
  101.           
  102. 3. Telephone Exchange
  103. =====================
  104.           
  105.           The Demon Internet Service (DIS) is on modern digital exchanges
  106.           so you should have little trouble with ringing tones etc when
  107.           connecting to us.  If you are on an older exchange, your modem
  108.           may not recognise the dialling tone.  If this happens, look in
  109.           your manual and change the setting that overrides the dial tone
  110.           recognition.
  111.           
  112.           Note that when you make changes to a modem's settings you
  113.           should always reset the modem first, make the change and then
  114.           save the settings.  You will need a comms or "terminal
  115.           emulation" package such as Telix, Procomm, Window's Terminal, Z-
  116.           Term, Microphone etc.  Look in your modem manual for
  117.           instructions.  Mostly you will be able to type ATZ <return> to
  118.           reset your modem.  On a US Robotics/Miracom modem you could
  119.           type:
  120.           
  121.           ATZ            Reset the modem
  122.           ATX3           Alter a setting
  123.           AT&W           Write the settings to Non-Volatile RAM (NVRAM)
  124.           
  125.           The last bit (AT&W) is useful as it means that when the modem
  126.           is reset, it will remember the settings you have stored.
  127.           
  128.           If going through a private telephone network (or PABX) first,
  129.           you will probably need to dial a number such as 9 to get an
  130.           outside line.  Make sure your dial string has this in.  You may
  131.           need to separate this from the number to dial by a separator
  132.           such as a comma so that there is a pause to give your telephone
  133.           system time to give you an outside line:
  134.           
  135.           9,01813434848
  136.  
  137.  
  138. 4. Internal Modems
  139. ==================
  140.  
  141.           Internal modems have the advantage of not having a serial lead
  142.           to worry about but the disadvantage of using an extra interrupt
  143.           and generally don't have any lights to let you know what is
  144.           going on.  Ensure that the interrupt on which the modem sits
  145.           does not interfere with any others - refer to the setup program
  146.           for your computer and your modem manual.  This may require
  147.           altering a jumper (a small connector) on the main computer
  148.           board (mother board) on your computer or on a separate board.
  149.           This should be well documented and is well within the scope of
  150.           the average user.  Ensure that the modem is seated correctly in
  151.           the expansion slot.
  152.           
  153.           
  154. 5. Which Phone Number
  155. =====================
  156.           
  157.           We have multiple Points of Presence (PoPs) - please see
  158.           /pub/doc/Demon.txt for details.  Thus you will have a choice of
  159.           numbers to ring.  You may use any of our PoPs at any time.
  160.           
  161.           
  162. 6. Modem and Telephone Leads
  163. ============================
  164.  
  165.           Your modem lead should be in good condition and preferably not
  166.           wrapped in a tight circle or running parallel to high power
  167.           cables etc.  This will normally only affect longer runs and, as
  168.           your cable should be earthed, will not often be a problem.  The
  169.           cable should be connected securely at both ends as should the
  170.           telephone cable.  If you suspect your telephone socket may be
  171.           causing a problem then test it with a standard plug in
  172.           telephone.  Use the correct type of modem lead - they vary from
  173.           country to country.
  174.           
  175.           
  176. 7. Serial Chips
  177. ===============
  178.           
  179.           The type of serial chip (Universal Asynchronous
  180.           Receiver/Transmitter - UART) in use can make a big difference
  181.           to comms performance/reliability.  At higher speed the computer
  182.           can sometimes not service the serial chip fast enough to catch
  183.           all of the characters arriving down the line.  This problem
  184.           increases if running under a multi-tasker such as Windows,
  185.           certain memory managers and other TSRs.
  186.  
  187.  
  188. 8. Speed
  189. ========
  190.  
  191.           Close to every modem user's heart is the speed at which they
  192.           can operate.  There are two different speeds: the first is the
  193.           speed at which a modem can talk to another modem; the second is
  194.           the speed at which the modem can talk to its controlling
  195.           computer (the DTE rate).
  196.           
  197.           Firstly, we will discuss the connect rate.  A V.22bis modem can
  198.           connect at a speed of 2,400 bits per second.  There are 8 bits
  199.           in a byte (a byte is usually one character) so that is a
  200.           maximum of 300 characters per second (cps).  Due to start and
  201.           stop bits, each byte will take 10 bits reducing the speed to
  202.           240 characters per second.  When running over IP there is a
  203.           slight overhead and so you will never see this maximum.
  204.           However, as you can (and will) have several things happening at
  205.           once, you will be able to make very good use of your available
  206.           bandwidth.
  207.           
  208.           Many modems have compression protocols built in to them.  MNP/4
  209.           and V42 use synchronous connections to provide an error free
  210.           connection between modems, saving the start and stop bits.
  211.           This gives at least a 20% increase in throughput.  V42bis adds
  212.           compression, provided that the DTE rate is higher than the
  213.           connection rate.  This means that when downloading a plain text
  214.           (or ASCII) file, it is possible to get faster speeds by
  215.           compressing the data.  The data is compressed so that the same
  216.           information can be encoded in to a smaller space.  The
  217.           receiving modem will of course unscramble the data for you.  If
  218.           news normally flows in at say 200 cps, then, on a 2400 cps
  219.           link, you have up to 44 cps left at the same time for mail,
  220.           telnet'ing, ftp'ing etc.  Compression techniques do not work as
  221.           effectively on binary files and make very little difference to
  222.           pre compressed files (such as .zip, .zoo, .lha etc.).
  223.           
  224.           Note that MNP5 will usually degrade throughput on an IP link
  225.           due to the packet based nature of it's compression method.
  226.           V42bis does not suffer this problem as it is capable of
  227.           optimising itself dependent on the type of data being
  228.           transferred.
  229.           
  230.           Now we will discuss the second speed - the speed at which the
  231.           modem and computer communicate with each other.  This is called
  232.           the Data Terminal Equipment (DTE) rate.  If you have a slow
  233.           modem, e.g. a 2400 baud one without MNP or V42, then it will
  234.           probably only work correctly when talked to by the computer at
  235.           the same speed.  For the facts on your particular modem and
  236.           computer you should refer to your manuals.  On faster modems
  237.           you will only be able to take advantage of some of the
  238.           compression features by making the computer talk to the modem
  239.           at a faster speed than modem is talking to the remote modem
  240.           down the telephone line.  Thus you should talk to a 9600 modem
  241.           at 19200 or even 38400.  You should check the maximum speed at
  242.           which the serial port on your modem can talk and then set your
  243.           communication package to work at the highest mutually available
  244.           speed.  Don't forget that without a buffered UART you are
  245.           unlikely to sustain reliable high speed comms above 9600 baud.
  246.           
  247.           Please note that we only support modems capable of V22bis
  248.           (2400) and upwards.  If you have a US Robotics/Miracom HST
  249.           modem, you may not get very good throughput in HST mode.  In
  250.           practice HST mode is fine if FTP'ing from a site without
  251.           anything else happening (sending mail etc.) as it works fine in
  252.           one direction at a time only.
  253.           
  254.  
  255. 9.  Trouble Shooting
  256. ====================
  257.  
  258.           If you are getting garbled characters on the screen then
  259.           something is wrong!  Garbled characters are often a sign of
  260.           mismatched speeds, lack of handshaking or a non-locked DTE
  261.           rate.  If you get as far as the login prompt but no further
  262.           then make sure that your dialler script is working on 8 bit
  263.           standard comms: 8 bits, no parity, 1 stop bit. See
  264.           /pub/doc/Demon.txt for the full logon script details.
  265.           
  266.           Having checked your setup according to the information above,
  267.           try reducing the speed at which the computer talks to the modem
  268.           (if using a high speed modem) until the connection works.  If
  269.           you have to do this then either you are attempting to drive
  270.           your computer or your modem at too high a speed, or you have
  271.           other processes running which interfere with the correct
  272.           running of your serial communications (as per Serial Chips
  273.           above).
  274.           
  275.           If you have finished your live session and log off you may
  276.           sometimes find that your phone line is not dropped.  This can
  277.           result in an unwelcome phone bill!  There are a number of
  278.           computer/software specific solutions to this problem and some
  279.           answers are given in /pub/doc/Support.faq which may have been
  280.           included in your installation.  One thing to check on your
  281.           modem is that the setting that makes the phone line drop when
  282.           the computer tells the modem that it has finished, is on.  The
  283.           computer uses the serial port and drops DTR (Data Terminal
  284.           Ready) and the modem spots this and hangs up the line.  The
  285.           setting often &D2 and you should read the section below which
  286.           tells you how to set this.  It is definitely &D2 for US
  287.           Robotics, SupraFax and Dowty Quattro modems.
  288.           
  289.           If your modem sometimes seems to fail to recognise a ringing
  290.           tone, reporting it as BUSY.  This can be cured by adding a
  291.           comma after the dial number, e.g. "ATDT0813434848,".  This
  292.           makes the modem pause and ignore the first rings which it
  293.           sometimes things is a busy single.  Some US Robotics modems can
  294.           exhibit this problem.
  295.           
  296.           ATZ is the command that resets the modem.  Setting your
  297.           initialisation string to ATZA0 etc where A0 is the
  298.           initialisation string is very likely to fail.  This is because
  299.           the modem takes a while to reset and throws away the data being
  300.           sent to it in the meantime.  Some people beg to differ on this
  301.           point.  However it is certainly true on US Robotics modems.
  302.           
  303.           Just to confuse matters further there are often some switches
  304.           on the modem which you can use to make further settings or to
  305.           default to different options.  These are referred to as DIP
  306.           switches.  Mostly, the advice contained in this document,
  307.           refers to modems that have not had their switches tampered
  308.           with.  If you have the manual for your modem (and I hope you
  309.           have!) then that will probably tell you what the default
  310.           factory switch settings were.  Make a careful note of the
  311.           current settings and then change back to the factory defaults.
  312.           If you already use your modem with other packages, make sure
  313.           they still work.  These DIP switches must be set to ensure that
  314.           the reset command ATZ resets the modem to the stored values.
  315.           On some modems it is possible to make ATZ restore to factory
  316.           settings which rather defeats the object of configuring it!
  317.           Some modems have ATY commands instead of DIP switches and so it
  318.           is important that the correct ATY command has been used.
  319.           Fortunately, the default will ok if no ATY command has been
  320.           issued.
  321.           
  322.           There is a section below which specifically refers to problems
  323.           that may be encountered by PC users.
  324.           
  325.           
  326. 10. Software and Other Factors
  327. ==============================
  328.  
  329.           By configuring your software correctly you can make significant
  330.           improvements to an under performing communications connection.
  331.           Things to check for include badly fragmented disks (run a disk
  332.           de-fragmenter such as Norton's Speed Disk), no disk cache, no
  333.           or insufficient buffering inside the software and unnecessary
  334.           checking protocols or indexing taking place.  Refer to your
  335.           software's instructions for details on these.
  336.           
  337.  
  338. 11. Help for Specific Computers
  339. ===============================
  340.  
  341.     Some extra comments for some operating systems which may be of use
  342.     follows.
  343.  
  344.      11.1 IBM PC Compatibles running DOS
  345.      ===================================
  346.  
  347.           In addition to the above info there is some specific advice
  348.           below for those of you running DOS.
  349.           
  350.           Some modems send back "OK" when sent ATZ (the reset command)
  351.           even though they are not ready.  This means that the dialer
  352.           program will try to ring out even though the modem is not
  353.           ready.  The effect is that you will see ATZ on the screen
  354.           followed by OK and then the program will not dial.  Eventually
  355.           it will time out.  To avoid this, send AT instead of ATZ in the
  356.           modem initialisation string.
  357.           
  358.           Extended memory drivers can interfere with the correct
  359.           operation of your serial communications.  If you suspect this,
  360.           rename your CONFIG.SYS and AUTOEXEC.BAT files and then reboot
  361.           your computer to see if the connection improves.
  362.           
  363.           If you have a V.32bis 14,400 modem you will probably want to
  364.           talk to it at 38,400.  Unless you have a suitable serial chip
  365.           then you will get errors and, as explained at the start of this
  366.           document, this can seriously impact the throughput.  When
  367.           running NET.EXE you can type asystat at the net> prompt and
  368.           information about your serial comms will be printed to the
  369.           screen.  The interesting parameter is the third one on the
  370.           second line, 'hw over'.  This shows how many hardware overruns
  371.           (characters lost because they weren't fetched from the serial
  372.           chip in time) have occurred.  These overruns are usually due to
  373.           lack of either a buffered UART or hardware handshaking.
  374.           
  375.           As already stated, for maximum performance you will need to
  376.           have a buffered chip.  For this you will need a 16550A - this
  377.           is the number that is written on the chip.  The asystat command
  378.           will tell you if a 16550 is detected.  Unfortunately, even top
  379.           manufacturers overlook this area so it is quite likely that
  380.           your chip is below par.
  381.           
  382.           If in doubt, open up your computer and locate the serial chip.
  383.           If it is not a 16550 then it might need replacing.  If you are
  384.           handy with a soldering iron you could replace it, but this is
  385.           not advisable unless you are really confident.  If the chip is
  386.           socketed then it can be removed and a 16550 (costing about #16
  387.           - we sell them) be put in its place.  If not then you could buy
  388.           an extra serial card with a 16550 already on it costing from
  389.           around #30 to #70 depending on the specification.
  390.           
  391.           Some internal modems use a 16450 with a large buffer (1K) and
  392.           this may be enough to stop hardware overruns.
  393.           
  394.           If you are using a standard serial port then the settings
  395.           offered for COM1, 2, 3 or 4 in the configuration program in
  396.           DIS.EXE will probably be fine.  Otherwise you should refer to
  397.           your manuals and enter the appropriate IRQ number and I/O base
  398.           address.
  399.           
  400.           If you install an extra serial card then be aware that if you
  401.           have, for example, a mouse on COM1 then you should not use COM3
  402.           for your modem using the default IRQ setting as they share the
  403.           same interrupt.
  404.           
  405.           There is another factor that can impede throughput and that is
  406.           software overruns.  Using the NET.EXE software, at the net>
  407.           prompt having just received some news or ftp'd a file, type
  408.           asystat and look at the figure before sw over.  If this is not
  409.           0 then you are getting software overruns.  To fix this,
  410.           increase the buffer size in the attach line near the top of
  411.           autoexec.net:
  412.           
  413.           attach asy 0x3f8 4 ppp sl0 4096 1500 38400
  414.           
  415.           Alter the 4096 in the above to be 8192, 12288 or higher until
  416.           the software overruns are cured.
  417.           
  418.           More information on tuning is available in
  419.           /pub/doc/ka9q/Tuning.faq.
  420.           
  421.      11.2 OS/2
  422.      =========
  423.          If intending to run the DIS DOS software in an OS/2 2.x DOS
  424.          session you should get a copy of sio126c.exe and install the
  425.          communications driver in it before running DIS.  sio126c.zip is
  426.          available on our ftp server or via our guest download account.
  427.          This is because the standard communications drivers do not pass
  428.          to DOS the buffering of your 16550A buffered serial chip.
  429.  
  430.  
  431. 12. Individual Modem Settings
  432. =============================
  433.  
  434.      12.1 Setting Up a US Robotics/Miracom Modem
  435.      ===========================================
  436.           
  437.           To set up your modem, use a standard communications package.
  438.           Type ATZ <RETURN> and see the response OK.  Then continue to
  439.           make the settings.  You can type ati4 <RETURN> and ati5 to see
  440.           what your current settings are.  For connecting to Demon we
  441.           recommend the following:
  442.           
  443.           B0     V.32bis modulation rather than HST
  444.           C1     Transmitter enabled
  445.           E1     Local echo ON
  446.           F1     Duplex OFF receiving system sends duplicate data
  447.           Q0     Result codes displayed
  448.           V1     Display result codes in verbal (not numerical) mode
  449.           &A3    Enable additional error control indicator
  450.           &B1    Serial port remains at fixed setting
  451.           &C1    Modem send CD (Carrier Detect) on connection
  452.           &D2    Terminal sends DTR (Data Terminal Ready)
  453.           &H1    Hardware CTS (Clear to Send) transmit data flow control
  454.           &I0    Received Data software flow control disabled
  455.           &K3    MNP 5 data compression disabled
  456.           &N0    Variable link speed negotiation
  457.           &R2    Received Data h/ware (RTS) flow controlled by computer
  458.           &S1    Data Set Ready (DSR) controlled by the computer
  459.           
  460.           e.g. type AT&K3 <RETURN>.  When done type AT&W <RETURN> to save
  461.           the settings to Non Volatile Ram (NVRAM) so that they are
  462.           remembered when the modem is reset.
  463.  
  464.          Some US Robotics occasionally mistake a System X (and Y?)
  465.          ringing tone for a busy tone and hang up just as the Demon end
  466.          answers.  Sticking a pause on the end of the dialling sequence
  467.          stops the modem's response long enough for the Demon end to
  468.          start its negotiating sequence.  This means that the confusing
  469.          System X tone is ignored.  If the Demon end is busy you just to
  470.          wait a bit longer for the BUSY string, but not as long as the
  471.          setting in S7.  Add a pause by adding a comma to the end of the
  472.          string.
  473.          
  474.      12.2 BT NS 2232 M
  475.      =================
  476.          
  477.          (Note this doesn't work reliably with dial, but does work with
  478.          TIP or with an outboard Kermit script.)
  479.          
  480.          at &f0 s0=0 x7 m2 &u1 &k0 b0 s30=26 &e5 &r1 &d2 &c1 l3
  481.          &f0 - reset to factory default
  482.          s0=0 - suppress auto answer
  483.          x7 - maximum message generation (for diagnostic purposes)
  484.          m2 - speaker always on, so you can hear retrains
  485.          &u1 - RTS flow control
  486.          &k0 - CTS flow control
  487.          b0 - CCITT mode
  488.          s30=26 - CTS follows DCD **, plus defaults
  489.          &e5 - V.42bis (and LAPM)
  490.          &r1 - RTS locked on (??)
  491.          &d2 - DTR is Data Terminal Ready
  492.          &c1 - CD Normal
  493.          l3 - Speaker loud
  494.          
  495.          ** the theory is that it would otherwise try to track RTS when
  496.          that is used for flow control.
  497.          
  498.          
  499.      12.3 Dowty
  500.      ==========
  501.          Dowty Quantum 144
  502.          
  503.          To configure this modem for CTS/RTS only (hardware
  504.          handshaking):
  505.          
  506.          &k2      Use CTS on transmission
  507.          &u2      USE RTS on receive
  508.          
  509.  
  510.      12.4 Dynalink
  511.      =============
  512.          Dynalink 1414VE: AT&Q9W1S37=11S48=0M0
  513.          
  514.          &Q9      The modem will attempt V.42bis, fallback to V.42(LAP-
  515.                    M), then fallback to normal mode.
  516.          W1       Reports the error correction protocol and the carrier
  517.                    speed used.
  518.          S37=11   Sets DCE speed (modem to modem) to 14400bps.
  519.          S48=0    Disables protocol negotiation. Forces LAPM.
  520.          M0       Turns off the speaker. (This thing is loud!).
  521.          
  522.          ATZ or AT&F as the first command as both of these seem to annoy
  523.          the modem into false starts.
  524.          
  525.          ACTIVE PROFILE:
  526.          B1 E1 L0 M0 N1 Q0 T V1 W0 X4 Y0 &C1 &D1 &G0 &J0 &K3 &Q9 &R0 &S1
  527.          &T4 &X0 &Y0
  528.          S00:000 S01:000 S02:043 S03:013 S04:010 S05:008 S06:002 S07:050
  529.          S08:002
  530.          S09:006 S10:014 S11:095 S12:050 S18:000 S25:005 S26:001 S36:007
  531.          S37:011
  532.          S38:020 S44:003 S46:138 S48:000 S49:008 S50:255
  533.          
  534.  
  535.      12.5 Gateway
  536.      ============
  537.  
  538.          Gateway Telepath modem: AT&K3s48=0s46=138s36=1
  539.          
  540.          The modem works fine at 38400 and most of the time is OK with
  541.          14400 carrier. On occasion it works better by setting it down
  542.          to 9600 with n0s37=9 added to the init string.
  543.          
  544.  
  545.      12.6 Mistral
  546.      ============
  547.  
  548.          For an Amber Logic Mistral FX144 modem.
  549.          Use the factory defaults and the following:
  550.          &E4            Forces the modem to reject the connection with
  551.          the
  552.                         'NO CARRIER' message if it cannot establish a
  553.          V42 link
  554.          S31=2          Locks the DTE baud rate to 38400
  555.          
  556.  
  557.      12.7 Multitech
  558.      ==============
  559.  
  560.          AT&F
  561.          This just resets to factory settings.
  562.          
  563.          From one of our users with a Multitech MT1932ZDXK V32Ter and
  564.          fax modem:
  565.          
  566.          AT&F&E2&E7$MB14400X4M0S0=0
  567.          
  568.          The X4 just gives you full result codes - not essential unless
  569.          you want to
  570.          know exactly what kind of connection you've got.
  571.          
  572.          From a Multitech dealer:
  573.          
  574.          &E4            Hard CTS/RTS
  575.          &BA0           Baud rate altering off
  576.          &E2            V.42 with no fall back to MNP5
  577.          &E15           Compression on
  578.          &D2            Hang up the line when DTR is dropped
  579.          
  580.      12.8 Supra modems
  581.      =================
  582.           
  583.           Supra 14.4k fax modems need the ROM revision 1.70B or later but
  584.           their ROM revision number is odd.  Revision 1.8 or 1.4 are also
  585.           apparently OK.
  586.           
  587.           Information providing features
  588.               Enable all CONNECT, PROTOCOL & COMPRESSION mesgs:   s95=41
  589.               loudspeaker control (low volume, on until carrier): l1m1
  590.           
  591.           Modem/PC signals
  592.               modems disconnects when DTR drops:                  &d2
  593.               DCD follows line carrier:                           &c1
  594.               Enable hardware flow control:                       &k3
  595.           
  596.           Speed connection, reject bad lines
  597.               new models, only make LAPM Reliable connections:    \n4
  598.               old models, make AutoReliable connections:          \n3
  599.               Disable negotiation, make V42 (LAPM) connection:    s48=0
  600.               connect at highest shared data rate:                n1
  601.           
  602.           Compression
  603.               new models, V.42bis (BTLZ) Enabled, (but not MNP):  %C2
  604.               old models, enable data compression (BTLZ or MNP):  s41=1
  605.           
  606.           An initialisation string for this would be:
  607.           
  608.           ats95=41 l1m1&d2&c1&k3 \\n4 s48=0 n1 %C2
  609.                            ^note the double '\' is needed if typing this
  610.                            into some dialer programs
  611.           
  612.           To put this into the modem's memory (NVRAM) type at&w
  613.           
  614.           
  615.           
  616.      12.9 Yoriko modems
  617.      ==================
  618.  
  619.           Yorikos work OK with a simple AT&F&C1&D2 set-up.
  620.  
  621.  
  622.      12.10 Zoltrix
  623.      ============
  624.  
  625.          These are one of our user's settings for a Zoltrix v32bis
  626.          internal fax/modem.  He writes:
  627.          
  628.          With X4, W1 and V1, I've managed to configure it very nicely to
  629.          redial if the line's are busy after only 5 seconds, report
  630.          CONNECT, PROTOCOL CARRIER, and BUSY
  631.          
  632.          The only bit I'm vaguely unsure about is, whether disabling
  633.          compression (%c0 on mine), disables v42bis also, as I really
  634.          only want to knock out MNP 5. &Q9 I think attempts v42bis,
  635.          falls back to LAP-M+v42, then to normal.
  636.          
  637.          An annoying feature is that at&v only digs out probably a
  638.          quarter of the settings - the '\' and '%' commands don't
  639.          feature; some of them appear extremely useful: %Q for instance
  640.          purportedly reports line signal quality, and %L received signal
  641.          level, which I reckon might be relevant to one recent spate of
  642.          postings, and you can tune up v42bis with others.
  643.          
  644.          S86 stores a connection failure cause code.
  645.          
  646.          OK
  647.          at&v
  648.          ACTIVE PROFILE:
  649.          B0 E1 L0 M0 N1 Q0 T V1 W1 X4 Y0 &C1 &D2 &G0 &J0 &K3 &Q9 &R0 &S1
  650.          &T4 &X0 &Y0
  651.          S00:000 S01:000 S02:043 S03:013 S04:010 S05:008 S06:002 S07:060
  652.          S08:002 S09:006
  653.          S10:014 S11:095 S12:050 S18:000 S25:005 S26:001 S36:007 S37:000
  654.          S38:020 S44:003
  655.          S46:138 S48:007 S49:008 S50:255
  656.          
  657.          Another user writes:
  658.          
  659.          Rom revision (use ATI0 or similar to check) : See below
  660.          
  661.          AT&Q5S48=7S46=138S95=46
  662.          
  663.          Rom revision
  664.          ------------
  665.          
  666.          I have listed what comes out of ATI0 to ATI4 as ATI0
  667.          doesn't make sense!
  668.          
  669.          ATI0 = 14400
  670.          ATI1 = 007
  671.          ATI2 = OK
  672.          ATI3 = V1.410-AP39
  673.          ATI4 = a007880284C6002F
  674.                 bC60000000
  675.                 r1005111151012004
  676.                 r3000111170000000
  677.          
  678.          
  679.          Additional modem string info. (may be of some use)
  680.          
  681.          &Q5    = set error correction mode
  682.                   causes the modes to try v42bis, then MNP5, then normal
  683.                   connection
  684.          S48=7     = enable V42 negotiation
  685.          S46=138   = error correction with compression
  686.          S95=46      = display extended result codes
  687.                   so I can see that i've got error correction
  688.                   and compression :-)
  689.          
  690.          
  691.          I also have a line
  692.          
  693.          echo atz > com3:
  694.          
  695.          in my demon.bat file to reset my modem as my fax software
  696.          leaves it in a bit of a state :-(  Two 'init' lines don't seem
  697.          to work (not that I'm bothered!)
  698.          
  699.  
  700.      12.11 Zoom modems
  701.      ================
  702.           
  703.          From one user comes this:
  704.          
  705.                         Zoom 14.4X FaxModem Settings
  706.                         ============================
  707.          
  708.          These setting are in use to connect to demon both via KAQ9 and
  709.          trumpet winsock (SLIP). The settings enable 14400 bps with V42
  710.          error correction and V42bis data compression. In operation I
  711.          achieve 2600 cps when obtaining mainly text news. Whilst I am
  712.          sure the settings work I do not vouch for the accuracy of my
  713.          interpretation of what they mean!!
  714.          
  715.          To reset modem to stored profile:-
  716.          ATZ      - sets to profile 0
  717.          ATZ0     - sets to profile 0
  718.          ATZ1     - sets to profile 0
  719.          
  720.          To store current profile:-
  721.          
  722.          AT&W0    - store as profile 0
  723.          AT&W1    - store as profile 1
  724.          
  725.          For brevity I have left out setting that have no functional
  726.          relevence.
  727.          
  728.          
  729.          Profile     Command      comments
  730.          E1          ATE1         Command characters echoed
  731.          N0                       *ATN0 (zero)   Disable auto-mode
  732.                                    detection; connection speed specified
  733.                                    by register S37
  734.          Q0          ATQ0 (zero)  Enable response to computer (DTE)
  735.          X3                       *ATX3     Monitors busy tones; sends
  736.                                    X2 messages
  737.          Y0          ATY0 (zero)  Disable long space disconnect
  738.          &C0         AT&C0 (zero) Forces RLSD (DCD) on
  739.          &D0         AT&D0 (zero) Data terminal ready options
  740.          &G2         *AT&G2       Enable 1800Hz guard tone
  741.          &J0         *AT&J0 (zero)Disable adjusting DTE speed
  742.          &K3                      AT&K3     Enable RTS/CTS flow
  743.                                    control. VITAL for slip connections
  744.                                    such as Trumpet winsock
  745.          &R1                      AT&R1     CTS is always on in
  746.                                    synchronous or drops if required by
  747.                                    flow control in asynchronous
  748.          &S1*                     AT&S1     DSR active after answer
  749.                                    tone detected and inactive after
  750.                                    carrier loss.
  751.          &T4                      AT&T4     Responds to remote modem
  752.                                    request for digital loopback.
  753.          
  754.          Registers
  755.          Set using ATSn=v  Sets register n to value v
  756.          
  757.          S37 11 *
  758.          
  759.          All lines with an * are for items than are altered fron the
  760.          factory default settings.
  761.          
  762.          We would recommend &d2 otherwise your modem may not hang up the
  763.          line when you have finished your call.
  764.          
  765.          From yet another user: The best I've got so far for the Zoom
  766.          14.4X is AT&F0W1&C1&D2%C2
  767.          
  768.          &F0 (manufacturer's defaults, so we know where we are)
  769.          W1  (lots of messages from the modem)
  770.          &C1&D2 (for hardware flow control)
  771.          %C2 (enable V42 bis but not MNP5)
  772.          
  773.          
  774.      12.12 Zyxel
  775.      ===========
  776.          
  777.          From one of our users again:
  778.          
  779.          The following "dial_cmd" is for a Zyxel U-1496E+ modem
  780.          
  781.          "ATL2N1X7&G2*E1DT"
  782.          L2 --- sets a low (but not inaudible) speaker volume
  783.          N1 --- sets a low (but not inaudible) ringing volume
  784.          X7 --- sets result code options so that the "connect" message
  785.          is, for example, "CONNECT 14400/Arq/V42b"
  786.          &G2 -- enables 1800 Hz guard tone
  787.          *E1 -- terminate call if error control negotiation fails, ie.
  788.          insist on error-control or end call
  789.          DT --- dial using DTMF tones
  790.          
  791.  
  792. 13. Testing
  793. ===========
  794.           
  795.           To test out your setup you could try using ping.  ping
  796.           gate.demon.co.uk whilst logged on directly to gate should
  797.           return a speed of about 270ms on a fast link down to 1000ms on
  798.           a slow link.
  799.           
  800.           Try using ftp to ftp.demon.co.uk and downloading files from
  801.           /pub/test.  There are files of varying contents that have also
  802.           been compressed in various ways.  "empty" files are there so
  803.           that you can test the maximum throughput on blank data.  "full"
  804.           files contain a thorough mix of characters and so little
  805.           compression by your modem will be possible. "regular" files are
  806.           a mixture - just like this document or a Usenet news message.
  807.           Each of these three have been compressed using popular methods
  808.           and so you can try working on the compressed files as well if
  809.           you like.  Try uploading these files to
  810.           ftp.demon.co.uk:/incoming to test the link in that direction as
  811.           well.
  812.           
  813.           Using a V.32bis modem, the maximum throughput you are likely to
  814.           get on a binary file is 1,600 cps.  On an ASCII file the
  815.           maximum is about 2,800 cps.
  816.           
  817.           
  818. 14. Finally
  819. ===========
  820.           
  821.           Please try to sort out your setup by following the above
  822.           advice.  If you are still stuck then telephone the support line
  823.           on 081-343 3881 during support hours to see if further help can
  824.           be offered.  Full support line details are available in
  825.           /pub/doc/Welcome.txt.
  826.