Digi Connectware RealPort Скачать руководство пользователя страница 16

 

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...

Страница 2: ...rovides this document as is without warranty of any kind either expressed or implied including but not limited to the implied warranties of fitness or merchantability for a particular purpose Digi may...

Страница 3: ...ing a PortServer or PortServer II for RealPort 2 2 Related Documentation 2 3 Chapter 3 RealPort Setup Master Setup Process 3 2 Uninstalling RealPort 3 2 RealPort Devices 3 3 Setting Device Options wit...

Страница 4: ...2...

Страница 5: ...About This Guide 1 1 chapter 1 About This Guide In This Chapter Purpose 1 2 Audience 1 2 Conventions 1 2...

Страница 6: ...nventions used in this document Special Fonts A special font is used for any input you need to enter For example set config Square Brackets Optional parameters are displayed within square brackets For...

Страница 7: ...1 chapter 2 Planning and Requirements In This Chapter Requirements and Considerations 2 2 Information to Gather 2 2 Configuring a PortServer or PortServer II for RealPort 2 2 Related Documentation 2...

Страница 8: ...Determine the link speed between the host machine and the Digi device if a slow WAN link for example a 56K leased line connects them Configuring a PortServer or PortServer II for RealPort Use this pr...

Страница 9: ...tion and Reference Guide Digi One PortServer Cable Guide PortServer II Documentation PortServer II Hardware Installation Guide PortServer II Command Reference PortServer II Configuration and Administr...

Страница 10: ...2 4 Related Documentation...

Страница 11: ...aster Setup Process 3 2 Uninstalling RealPort 3 2 Setting Device Options with stty ncxa 3 4 Configuring a Device for a Terminal 3 4 Configuring a Device for a Printer 3 5 Configuring a Device for a Mo...

Страница 12: ...llowing procedure Uninstalling RealPort Use this procedure to remove the Digi device driver software from the kernel by using the program usr sbin realport_uninstall Procedure 1 Log onto the console a...

Страница 13: ...ev tty02 or dev tty 0 0 and the corresponding transparent print device would be dev tty 0 0p If you had two PortServers the first with one expansion module for a total of 32 ports the first port on th...

Страница 14: ...ompt set dev port prn ra 12 This example sets dev prn for port 12 of a PortServer 3 If you are using 8 pin RJ 45 cabling from the PortServer to the terminal set the port to altpin on by entering this...

Страница 15: ...completed the Add process the printer should be ready for use To print a file use the command lp d printer_name file_to_print 6 If neither your cable nor printer set carrier you will need to configure...

Страница 16: ...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...

Страница 17: ...minal device enter the full path of the device dev tty17 For TTY Definition Label enter a modem definition label such as M9600 For Bidirectional enter yes if you want to use the modem for dial out or...

Страница 18: ...se maxchar n Limits the number of characters queued to the printer ahead of terminal output Lower numbers increase system overhead higher numbers result in keystroke echo delays A value of 50 is gener...

Страница 19: ...s closed and that the device will use the default values the next time it is opened a Display all of the unique Digi option settings as well as all of the standard TTY settings reported by stty a n tt...

Страница 20: ...number see startc above for format of octal and hexadecimal numbers astartc c Sets auxiliary XON flow control character The character may be given as a decimal octal or hexadecimal number see startc a...

Страница 21: ...s that command the terminal to enter transparent printing mode An arbitrary octal character xxx may be given as xxx For example the sequence Esc 5i would be entered as 033 5i term t Sets the transpare...

Страница 22: ...3 12 Setting TTY Options...

Отзывы: