![Digi Connectware RealPort Скачать руководство пользователя страница 16](http://html1.mh-extra.com/html/digi/connectware-realport/connectware-realport_setup-manual_2496328016.webp)
3-6
Configuring a Device for a Modem
4.
If you are using 8-pin RJ-45 cabling from the PortServer to the terminal, set the port to altpin=on
by entering this command at a PortServer root prompt:
set port altpin=on ra=16
This example sets altpin=on for port 16 of a PortServer.
5.
You must be logged in as root to perform the following steps.
6.
Run sysadm and choose Networking, UUCP, Devices, and then Add.
When prompted, enter the TTY number; for /dev/tty17 this would be 17.
When prompted for Local modem type?, enter
direct
. When prompted, enter a modem speed,
for example 9600.
7.
Edit the file /etc/uucp/Devices.
At the end of the file you should find the Direct line for the device you just added. Modify this
line by adding an
M
at the end of the second field, which will be the device name.
In this example, the line should look like this after editing:
Direct tty17,M - 9600 direct
8.
Change the ownership of the device to uucp with the chown command:
chown uucp /dev/tty17
9.
You should now be able to connect to the modem and enter modem commands. The following
procedure is an example.
a.
Enable forcedcd on the device.
stty-ncxa forcedcd /dev/tty17
b.
Connect to the modem with the cu command.
cu -l tty17
If you do not get the "Connected" message, check the UUCP device configuration above.
c.
Test the connectivity with the at command.
at
If you do not see “at” or "OK", check the modem: power it down and back up, try modem
commands ate1, atq0, and atq2, or see your modem manual for other suggestions.
d.
Set the modem to answer after the first ring with this command:
ats0=1
e.
Train the modem to the port speed with this command:
at&w
f.
Enter any other desired at commands.
g.
Disconnect from the modem by entering a tilde-period:
~.
10.IMPORTANT:
Restore the -forcedcd setting with the stty-ncxa command:
stty-ncxa -forcedcd /dev/tty17
11.
Edit the file /etc/ttydefs.
On each line that begins with an M add
clocal
just before the second ":" in the line. Add
-
clocal
just before the third ":".
These should be separated by spaces like the other options. For example, here is the "M9600"
line after editing.
M9600: 9600 echo echoe echok kill ^u erase ^? intr ^c hupcl cs8 opost onlcr icrnl cread clocal :
9600 echo echoe echok iexten kill ^u erase ^? intr ^c hupcl icanon cs8 opost icrnl onlcr cread
ixon ixoff isig tab3 -clocal ::M9600
Содержание Connectware RealPort
Страница 1: ...92000314A RealPort on DG UX Setup Guide...
Страница 4: ...2...
Страница 10: ...2 4 Related Documentation...
Страница 22: ...3 12 Setting TTY Options...