Use this procedure to configure a Digi device for a Dial-in/Dial-out modem connection. Configuring a device for a modem requires familiarity with both the operating system and the modem being used. While the following procedure is sufficient for most cases, it may be necessary to take additional steps to properly configure your modem or to set up the operating system for a specific application.
set port dev=rp ra=12
This example sets PortServer port 12 to be a RealPort device.
Note: If your Digi One RealPort or PortServer firmware does not support the dev=rp option, use dev=prn instead.
set port altpin=on ra=12
This example sets altpin=on for port 12 of a PortServer.
cu -l /dev/device -s 38400
where device is the name of the non modem
control device for the port.
ats0=1
at&w
~.
ditty-rp rtspace ctspace /device
where /device is the name of the Digi
device. Insert the command in a startup file so it remains in
effect after a reboot.
Alternately, use a gettydef entry that uses hardware flow control (see the next step)
Example:
An example of an mgetty modem script which is available both in RedHat and Debian is:
T3:23:respawn: /sbin/mgetty -x0 -s 115200
ttyaa00
Use your device name instead of ttyaa00.
init q