Digi TS 2/4, TS 4 manual About Computer Connections, Configuring Typical PC Connections

Page 35

bps is the line speed

characters is the character size

parity is the parity scheme to use on this line

num-bitsis the number of stop bits to use

3.If your terminal uses hardware flow control, supply a set flow command that specifies the fol- lowing (software flow control is the default, so a set flow command is not required in that case):

set flow range=range ixoff=off ixon=off cts=on rts=on where range is a port or range of ports

Note: You may need to use additional set flow command fields, depending on the flow con-

trol scheme required by your terminal. See the set flow command in the Digi One/PortServer TS Command Reference for more information.

Example

In this example, port 1 and 2 are configured for connection to terminals using hardware flow control. The connection uses default for character size (8 bits), parity (no parity), and stop bits (1).

set ports range=1-2 sess=3 dev=term termtype=wy60

set line range=1-2 baud=19200

set flow range=1-2 ixon=off ixoff=off rts=on cts=on

About Computer Connections

Configuring computer connections is very similar to configuring terminal connections, which is discussed on page 6-2. Consequently, this section simply discusses the differences between these connection types.

Starting Point

This section assumes that

You are logged in as root

You know the attributes, such as baud rate and parity, of the PC that will be connected to this port

Configuring Typical PC Connections

To configure a port for a directly-connected PC, where the PC always initiates the connection, configure the connection as you would a terminal connection, except on the set ports command do the following:

Specify dev=min if you have a 10-pin null modem cable to support this type of connection.

Specify dev=term if you do not have a 10-pin null modem cable

Consider defining the serial connection as a PPP link. See "Configuring PPP" on page 8-1for more information.

Command Line Example

In this example, ports 1-2 are set up for a BBS host.

set ports range=1-2 dev=prn group=70 set line range=1-2 baud=19200

set flow range=1-2 ixon=off ixoff=off rts=on cts=on set altip group=70 ip=199.179.23.10

Configuring Ports for Terminals and Computers

6-3

Image 35
Contents 92000307B Page Contents Configuring DNS Configuration Examples Page This Chapter IntroductionSetup Overview Supported Devices About Entering Commands on the Command LineAbout This Guide Other Documents in the Library Access Resource CD CardDownloading a Configuration File About Configuration MethodsAccessing the Configuration from the Web Interface Configuration PrerequisitesLogging On As Root from the Command Line Accessing the Command Line from a Telnet SessionConfiguring the IP Address Options Options for Configuring the IP Address and MaskStarting Point Configuring the Ethernet Interface with DPA-RemoteProcedure Configuring the IP Address Using Ping-ARP Manual Configuration Example Configuring the Ethernet Interface from the Command LineConfiguring an IP Address using Dhcp and Rarp Manual Configuration ProcedureConfiguring an IP Address using Dhcp and Rarp Configuring Ports for RealPort About RealPort What is RealPort?Configuring the RealPort Software Configuration OptionsConfiguring Ports Web Interface Example Configuring Ports for RealPort Command LineConfiguring Ports for Printers Configuration Considerations Related Information Configuring Ports for Printers Web InterfaceConfiguring Printer Connections Command Line Tips for telnet and rsh PrintingConfiguring Printer Connections Command Line Configuring a Port for Direct-Access Printing Configuring a Port for Direct-Access Printing Configuring Ports for Modems Tips on Configuring a Modem Configuring Ports for Modems Web Interface Before You Begin Configuring Ports for Terminals Port Defaults Configuring Ports for Terminals Web InterfaceConfiguring Ports for Terminals Command Line About Computer Connections Configuring Typical PC ConnectionsAbout Computer Connections Configuring Autoconnection About Autoconnection Configuring a Port for Autoconnection Web InterfaceConfiguring Autoconnection By Port Command Line Configuring a User for Autoconnection Command Line Configuring a User for Autoconnection Web InterfaceConfiguring a User for Autoconnection Command Line Configuring PPP Configuring PPP Connections Web Interface Configuring Inbound PPP Connections Command Line Configuring Inbound PPP Connections Example Configuring Outbound PPP Connections Command Line Set user name=name n1=telephone-number Configuring IP Routing Types of Routing What is RoutingIntroduction to Routing About RIP Routing Updates Digi One/PortServer TS 2/4 Participation in RIP Updates Example Route Using a PPP Link Configuring Static RoutesExample Route Using the Ethernet Interface Example Dynamic Routes Configuring Dynamic Routes Using RIPConfiguring Proxy ARP Configuring Proxy ARP Configuring Console Management About Console Management Configuring Console Management Web InterfaceConfiguring Console Management Command Line Example Alternate IP Addresses Example SSH2 and Menu Access10-4 Configuring About Modbus Configuring Modbus Using the Web Interface Configuring Modbus from the Command Line 11-5 Examples Configuring Network-Connected MastersConfiguring a Port-Connected Master Configuring Security Features Procedure for Changing a Port’s Access Requirements Controlling Access to Inbound PortsDefault Access Restrictions Options for Removing Access RestrictionMethod 1 Autoconnection Controlling Access to Outbound PortsDefault Access Restricting Access to Outbound PortsIssuing User Passwords Using a Public Key Configuring SSH Version 2 for Secure CommunicationPassword Protection 12-6 Configuring DNS About the Domain Name System Procedure for Using a Host File Configuration ProceduresProcedure for Using a Name Server 13-4 Configuring Snmp About Snmp and the Digi One/PortServer TS 2/4 Agent Configuration Example Configuration Procedure Web InterfaceConfiguration Procedure Command Line 14-4 Configuring Users Common User Features About Configuring UsersConfiguring a User Web Interface Configuring a User Command Line Examples Managing the OS and Configuration Upgrading the OS Firmware Web Interface Prerequisite Task Upgrading the OS Firmware Command LineCopying the Configuration File to a Host Configuring Digi One/PortServer TS 2/4 from a Remote HostWhen To Use Remote Configuration Rules for Editing a Configuration fileCpconf fromhost=199.250.121.12cnfg-fle Resetting the Configuration to Defaults Configuration Examples Illustration Terminal Server Configuration Without RealPortConfiguration Configuration NotesTerminal Server Configuration Using Autoconnection Terminal Server Configuration Using RealPort Digi One/PortServer TS 2/4 Troubleshooting Procedures Symptom Digi One/PortServer TS 2/4 Does Not BootAssumptions Symptom Cannot Telnet to the Digi One/PortServer TS 2/4Running Digi One/PortServer TS 2/4 Customer Diagnostics Symptom Trouble Accessing a PortVerifying Tftp on a Unix System Troubleshooting Tftp ProblemsKey to Interpreting Digi One/PortServer TS 2/4 LEDs Kill -1inetdPID Pinging an IP Address Verifying the Digi One/PortServer TS 2/4 IP AddressChecking for Duplicate IP Addresses Verifying the Network Cabling Linux Verifying the RealPort Process Verifying the RealPort ProcessAIX Verifying the RealPort Process HP-UX Verifying the RealPort ProcessSolaris Verifying the RealPort Process Windows NT Verifying the RealPort ServiceWindows 2000 Verifying the RealPort Service Digi International Bren Road East Minnetonka, MN Digi Contact Information18-12