Stallion Technologiessupport
Product documentation
online documentation
 
Documetation image, 8K

Port Configuration using easyadm 

EasyConnection

EasyIO

EasyServer II

Go to Previous PageGo to easyadm ContentsGo to Next Page

Contents


Overview 

Port Configuration involves setting various communications parameters for the port, configuring serial devices and confirming the port wiring. 

Communications parameters define the way I/O ports communicate with any connected devices. The communications parameters for each port are: 

  • Baud Rate 
  • Number of Bits per Character 
  • Number of Stop Bits 
  • Parity 
  • Flow Control Mechanism 

The port configuration must match that of the device connected to the port. 

Login as root and run easyadm

Port Configuration options are accessed from the Panel Configuration Menu. 


To display the Panel Configuration Menu:  

Step 1. Highlight Select on the Main Menu. 

Step 2. Highlight the EasyIO Adapter Cable to be configured and press <Enter>. 

Note: Select the EasyIO Adapter Cable by moving cursor with arrow keys, or enter the EasyIO Adapter Cable label (depending on the information displayed in the box). 

Step 3. The Panel Configuration Menu and the panel diagram is displayed. Five options are available at this level: Select, View, Utilities, Analyse, and Panel. 

 

Configuring a Device 

Following Board Configuration and Hardware Installation, the devices can be configured to the ports on the EasyIO Adapter Cable. 

The types of devices you can attach to a port are: 

  • Terminals 
  • Printers 
  • Modems 
  • UUCP Communications Links 
  • Sessions (multiple login sessions on one port) 
  • Attached Printers (printer attached to terminal auxiliary port) 
  • Other 

Standard installations use the default settings for each device attachment. If you require different settings, enter these instead of the defaults. Use the <F3> window to view and select different options or type them into the fields. 

Note: Only one Terminal, Printer, UUCP Link or Modem can be attached to a port at any time. Extra Sessions can be attached to a Modem or Terminal port. The Attached Printer option provides the facility for a terminal to support a local printer connected to the auxilliary port of that terminal. Additional information about the options for each type of device are outlined in Device Types in this section. 
 

Attaching Devices to Ports.  
The following steps outline how to attach a device to a port on the EasyIO Adapter Cable: 

Step 1. From the Panel Configuration Menu, highlight `Select', highlight the Port and press  <Enter>. 

Step 2. Highlight `Configure' and press <Enter>. 

Step 3. Highlight the device to be attached and press <Enter>. 

Step 4. Complete the device setup parameters as required: 

  • Either press <Enter> after a field to accept the default setting, or 
  • Enter a different setting and press <Enter>, or 
  • Select a different option from the <F3> window and press <Enter>. 
  • Enable the Device. 
  • Use <F1> Help on each field for help specific to that field. 

Step 5. Press <Enter> after last field to complete the device attachment. 

Step 6. You can copy a Port Configuration from one port to single or multiple port destinations if the setup is to be identical. See Copy Port Configuration in this section. 
 

Wiring 

You can display wiring diagrams to verify the wiring for a particular port configuration: 

Step 1. Highlight the port for wiring verification. 

Step 2. Highlight Wiring on the Port Configuration Menu and press <Enter>. 

Step 3. Highlight the wiring applicable to the port and press <Enter>. 

Step 4. The wiring diagram is displayed. 

Step 5. Check that your cabling matches this diagram. 

Step 6. Press <Enter> or <ESC> to exit from the display. 
 

Device Types 

Topics included in this section: 

When you are attaching a device to a port, some entry fields are common to all devices, except raw printers and other devices. 
hey are shown here with their SCO Unix default settings: 

  • Port Status Enabled
  • Baud Rate 9600 
  • Data Bits 8 
  • Stop Bits 1 
  • Parity None 
  • Handshaking Software 

Other fields are unique to each device type and in some cases questions have to be answered. 

The information in this section will help you enter the correct settings for each device in your installation. 
 

Terminal  

  • Follow the steps for Configuring a Device in this Section. 
  • What Terminal Type is it? 
  • Choose the terminal type best suited to the terminal connected to this port.
    The terminal type EasyTerm allows Unix sessions to be run through a DOS PC. Alternately, use `customise' from the main menu to create a terminal type specific to your requirements. 
  • Optionally, enter a label for the terminal. Labels are not mandatory, but do provide an efficient reference of devices attached to a port. 
  • Do you need Stable or Cycling Baud Rates? 
    Setting the Baud Rate to 'Cycling' lets you change the Baud Rate for the terminal device using the <Break> key on the terminal device. Each time you press <Break> the next Baud Rate in the cycle is set. Continuously pressing <Break> causes the Baud Rate to 'cycle' around the range of settings. 
  • Choose Login Management Method (SVR4 only). 
    This additional field is only offered on selected devices. 

Printer 

  • Follow the steps for Configuring a Device in this Section. 
  • Is the printer a Unix system printer? 
    Unix system printers can be used by all users on the system and are accessed using the 'lp' command. 
  • Optionally, enter a label for the printer. If it is a Raw-device, no further configuration is required. 
  • What is the printer name? 
    Activate the <F3> window to view the names given to existing printers. You cannot select from this window, you must type a unique name for this new printer into the field. 
  • Which type of printer interface will it use? 
    The printer interface is used by the system to control a particular type of printer. Activate the <F3> window to view a list of available printer interfaces. Some printer interfaces set up their own communications parameters. If you select this type of interface for a printer port, the port communication parameters will be automatically reconfigured to suit the interface. 
    A warning is displayed if this happens. 

    Note: If you use an interface script other than standard, you may need to edit the script manually to include stty settings to match the port configuration parameters. Most scripts indicate where port parameters can be modified by a stty command. 

  • Will it be the default system printer? 
    The default system printer receives all print jobs queued with no specific destination. The 'lp' command directs printing to the default printer. For example, to print a file named 'costfile': 

    lp costfile 
    To print the same file to a printer named 'accounts', the '-d' option is included to signify the destination printer: 
    lp -d accounts costfile 

  • Enable the Printer. 

Modem 

  • Follow the steps for Configuring a Device in this Section. 
  • Select the Link Type - Dialin, Dialout or Dialin/out. 
  • Optionally, enter a label for the modem. If it is a Dialout, no further configuration is required. 
  • Enter the Terminal type for the terminal using the modem. 
  • Select either Enabled or Disabled. 
  • Do you need Stable or Cycling (<Break> key selectable) Baud Rates? 
  • Choose Login Management Method (SVR4 only). 

UUCP Communications Links 

A UUCP Link is method of networking Unix systems to communicate with each other by either a direct serial connection, modems over a dedicated line or modems using a dial-up network. 

Functions provided by a UUCP network include file transfer, mail and remote command execution. 

  • Follow the steps for Configuring a Device in this Section. 
  • Select the Link Type - Dialin, Dialout or Dialin/out. 
  • Optionally, enter a Label for the UUCP Link. 
  • Select the Connection Type - Modem or Direct. If it is a Dialout, no further configuration is required. If it is a Dialout, no further configuration is required. Select either Enabled or Disabled. 
  • Do you need Cycling Baud Rates? 

    Select either Enabled or Disabled. 
    Note: Refer to your system manuals for information about setting up UUCP files, System, Devices etc.

Sessions 

Sessions allow you to switch screens with a special 'Hotkey' sequence. Each screen has a separate login. 

Sessions operate as independent devices and can be used transparently by standard applications software without modification. 

You must set up a terminal on the port before any multiple sessions can be attached to the port. 

  • Follow the steps for Configuring a Device in this Section. 
  • Enable the Port. 
  • Enter Hotkey for Session. 
  • If first session, enter Hotkey for the Main Port. 


    See Part E [PDF - 94KB], Customize - Syntax for Entering Escape Sequences for information about entering Hotkeys.  

Attached Printers 

Attached Printers provide the facility for terminals attached to EasyIO Ports to support a local printer on the terminal's auxiliary port. Setup is similar to that of a standard printer. 

  • Follow the steps for Configuring a Device in this Section. 
  • Is the printer a Unix System Printer? 
  • If this is a Raw-device print, no further configuration is required. 
  • Enter a Name for the Printer - select one different from the list in <F3> Window. 
  • What Printer Interface will it use? 
  • Is the Printer a Default Printer? 
  • Enable the Printer. 

Other 

This option provides the facility to attach general serial devices to a Unix host. It is the software application must set up the port's communications parameters. 
 

Copy Port Configurations 

You can copy an existing port configuration, including its attached devices, to another port or to a number of other ports. 

Note: When a printer's port configuration is copied to other ports, the Unix printer name assigned is identical to the 'copied from' port's printer name, except that a digit [0-9] is appended to make the new printer name unique. 

A Port Configuration cannot be copied to a port which already supports a device. Use combinations of Remove and Copy if you need to reorganize the port configurations on an EasyIO Adapter Cable. 

Note: Colour screens display selections in "inverse". Monochrome (one colour) screens display selections as "flashing". 

To copy a port configuration : 

Step 1. Highlight Utilities on the Panel Configuration Menu and <Enter>. 

Step 2. Highlight Copy and <Enter>. 

Step 3. Highlight the port to be copied and <Enter>. 

Step 4. Highlight the destination port and <Space> to select. 

Step 5. Repeat step (4) until the required number of destination ports have been selected. 

Step 6. <Enter> to execute the port configuration copy. 

Step 7. Answer 'y' to 'Copy to all the highlighted ports (y/n):' question. 

Working '/' appears at the top right corner of your screen. You can actually observe the result of the multiple copy as each destination port receives the setup. 

 

Removing Port Configurations 

You can delete port configurations when required. To remove a port configuration, the devices on that port must be currently inactive (i.e.. for a port configured as a terminal, all users must be logged out of the terminal sessions). To kill processes running on a port, using easyadm, reset the device in the Single Port Monitoring Display. See Reset Device in the EasyIO Reference and Utilities [PDF - 94KB] document. 

To remove a port configuration:  

Step 1. Highlight Utilities on the Panel Configuration Menu and press <Enter>. 

Step 2. Highlight Remove and press <Enter>. 

Step 3. Highlight the first port and <Space> to select. 

Step 4. Repeat step (3) until you have selected all the ports you want to remove. 

Step 5. Press <Enter> to remove the port configurations. 

Step 6. Answer 'y' to 'Remove the highlighted ports (y/n) ?' question. 

`Working /' appears in the top right corner of your screen. You can observe each port configuration being deleted. 
 

Back to Top of Page

Back to Contents

Go to Previous PageGo to easyadm ContentsGo to Next Page

Copyright © 2007 Lantronix. All rights reserved