Using Hayes and Hayes-compatible modems

Use this procedure for Hayes and Hayes-compatible modems.

  1. Change the tty settings, if necessary, using the SMIT fast path, smit chtty.
    For example, you might want to change the Enable LOGIN field to Share or Enable.
  2. Add the following line to /usr/lib/uucp/Systems file:
    hayes Nvr HAYESPROG 2400
  3. Add this to /usr/lib/uucp/Devices file:
    # For programming the  hayes modem only:
    HAYESPROG tty0 - 2400 HayesProgrm2400
    #regular ACU entry:
    ACU tty0 - Any hayes
     
  4. Add this to /usr/lib/uucp/Dialers file:
    # This Entry is used to PROGRAM the modem ONLY:
    # the next 3 lines should be made into one:
    HayesProgrm2400     =,-,     "" \d\dAT\r\c OK AT&F\r\c OK ATM1\r\c OK
    AT&D3\r\c OK AT&K3&C1\r\c OK ATL0E0Q2\r\c OK ATS0=1\r\c OK AT&W\r\c
    OK
    hayes     =,-,     "" \dAT\r\c OK ATDT\T\d\r\c CONNECT
  5. To program the modem, enter the command cu -d hayes.
    This command uses the cu command to program the modem. Because no connection is made to another system, the command will fail. The modem is programmed if sendthem AT&W and then OK got it are displayed in the output.

    If you are not doing binary file transfers or using BNU, leave out the &K3 command, and set XON as the flow control to be used. However, it is more efficient to use hardware flow control (as opposed to XON-XOFF handshaking). To do that, use the settings and the Dialers entries from the next step.

  6. After the modem is programmed, you can configure the system device driver to use hardware flow control. Using SMIT (smit chtty fast path), change the flow control to RTS. Check your modem manuals to find out whether your modem supports hardware flow control.