Seamless Transfer of a Modem Session
There are about as many modem command variations as there are modems. The
sample modem configuration files have been written to capture the largest number of
workable modem settings.
The modem command &Dn (where n is a number) generally sets the modem response
to the Data Terminal Ready (DTR) signal from the server’s serial port. The desired
response is that the modem will hold a connection while DTR is enabled, and drop the
connection when DTR is released. This is the mechanism by which the server ″hangs
up″ on a connection under normal conditions.
The command &D2 is usually successful, but not always. The sample modem
configuration files take this high percentage position, (see the note on page 623).
Consult your modem’s manual for its specific response scheme for the &Dn command.
Two strategies are available for dealing with the modem’s response to DTR:
v Recovery
v Prevention
Before proceeding with one of these strategies, determine if your server’s modem is set
up properly to respond to DTR.
With the remote terminal connected to serial port 1 and defined as the primary console
device, there are two tests you can perform:
1. Will the modem drop the connection after the System initialization complete
message appears at the remote terminal?
If yes, the modem is set up correctly.
If no, try another &Dn setting for your server’s modem. See your modem manual for
this information. The &Dn command appears in three places each in the following
sample modem configuration files.
v modem_f.cfg
v modem_f0.cfg
v modem_f1.cfg
2. Will the server’s modem disconnect when the power drops? You can make this
observation at the remote terminal by commanding your server to shutdown and
power off. (The AIX command shutdown -F will do this.) Watch for the message NO
CARRIER on your remote terminal.
If yes, the modem is set up correctly.
If no, try another &Dn setting for your server’s modem. See your modem
documentation for this information. The &Dn command appears in three places
each in the following sample modem configuration files.
v modem_f.cfg
v modem_f0.cfg
v modem_f1.cfg
Note: Only the following sample modem configuration files contain the &Dn command
(in three places each):
Appendix G. Modem Configurations 623