Use this procedure to configure a RealPort 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.
The PortServer and RealPort should be properly installed, configured and functioning before proceeding.
set port dev=prn ra=12
This example sets dev=prn for port 12 of a PortServer.
set port altpin=on ra=12
This example sets altpin=on for port 12 of a PortServer.
tip -38400 /dev/dty/a001s
The speed (38400) and device (/dev/dty/a001s) are used as examples in the previous tip command.
|
Command |
Comment |
|
|
Typically works for a US Robotics modem |
|
|
Typically works for a Hayes or other modem |
~.
admintool
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.
As an 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).
ditty rtspace ctspace /dev/dty/a001m
The device a001m is used as an example in the previous ditty command.