This procedure is used to initialize a U.S. Robotics Courier Modem, including the 28.8Kb series. The first procedure is for enabling the modem for dialin, and the second is to set the modem up for dial out. There are not many differences, but they are important. If using the modem for both dial-in and dial-out, program the modem for dial-in. At the end is a mention on switches used with the newer 28.8Kb modems.

Enabling a modem for dialin
The following commands(less their comments) need to be sent to the modem. The easiest way to do this is to set the port as an AUX port and use ADUMB to initialize the modem. Set handshaking to none for this exercise. Don't forget to use the AUX command to use the correct AUX port the modem is connected to. COM1 is AUX0, COM2 is AUX1, and the first Addon Port is AUX2. OK should be displayed after hitting return for each command as an indicator that the modem accepted the command.
AT&F1 (Reset the modem to its factory defaults)
ATS0=1 (Answer on first ring)
AT&A3 (More verbose statuses available)
AT&B1 (Use fixed serial port rate)
AT&C1 (DCD tracks carrier)
AT&D2 (When DTR drops, drop carrier)
AT&H1 (Use CTS handshaking)
AT&R2 (Use RTS handshaking)
AT&S1 (Use DSR when ready for a call)
ATS19=10 (10 minute inactivity timeout - optional)
ATS13=1 (Used to reset modem when DTR drops)
ATQ2 (Result codes on dialout only)
ATE0 (Turn off command echoing. At this time, you will no longer see the characters being echoed back)
AT&W0 (Store current settings in NVRAM)

Once you have configured the modem don't forget to enable RTS and CTS handshaking for the port, as that is what we set the modem up for.

Configuring a modem for dialout using CCITERM:

The following commands(less their comments) need to be sent to the modem. The easiest way to do this is to set the port as an AUX port and use ADUMB to initialize the modem. Set handshaking to none for this exercise. Don't forget to use the AUX command to use the correct AUX port the modem is connected to. COM1 is AUX0, COM2 is AUX1, and the first Addon Port is AUX2. OK should be displayed after hitting return for each command as an indicator that the modem accepted the command.AT&F1 (Reset the modem to it's factory defaults)

ATS0=1 (Answer on first ring)
AT&A3 (More verbose statuses available)
AT&B1 (Use fixed serial port rate)
AT&C1 (DCD tracks carrier)
AT&D2 (When DTR drops, drop carrier)
 
..continued...