Use this procedure to configure a Digi serial 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.
Connect a proper cable between the port and modem. Refer to the AccelePort Cable Guide.
Power the modem on.
Connect to the modem with tip:
tip -38400 /dev/dty/a001s
The speed (38400) and device (/dev/dty/a001s) are used as examples in the previous tip command.
Enter one of the following commands depending on your modem:
|
Command |
Comment |
|
|
Typically works for US Robotics modems |
|
|
Typically works for a Hayes or "other" modem |
Terminate the connection to the modem with:
~. (a tilde followed by a period)
Access admintool through a window interface, or by entering this command at a root prompt:
admintool
Choose Browse > Serial Ports.
Choose a device.
Choose Edit > Modify.
Configure the device parameters. Typically a terminal device is set to Terminal-Hardwired and Service Enabled.
Set the baud rate.
Note that the default admintool baud rates cycle, meaning the speed at the end of the corresponding /etc/ttytype entry is different than the speed at the beginning of the entry. It is often preferable to set them to a fixed rate.
For example, this line can be added to /etc/ttytype to configure the device for a 38400 fixed rate:
38400N:38400 hupcl:38400 hupcl::38400N
If a custom /etc/ttytype entry is used, set Baud Rate to Other and enter the /etc/ttytype identifier (e.g. 38400N).
Edit the file /etc/rc2.d/S99digi (create it if necessary) and add the following command to it:
ditty rtspace ctspace /dev/dty/a001m
The device a001m is used as an example in the previous ditty command.