IBM Support

3153 Terminal: Attach and Setup - Quick Summary

Question & Answer


Question

3153 Terminal: Attach and Setup - Quick Summary

Answer

For most environments this information provides a step-by-step procedure on attaching and configuring a 3153. This document applies to AIX Versions 4.3 or later.

Cabling the 3153 (via RS232 Main/Aux Port)
Configuring the 3153 setup parameters (3151 emulation)
Adding/setting a tty in AIX
Setting a national language (3153 setup menus and AIX)
Reference information

Cabling the 3153 (via RS232 Main/Aux Port)

The first step in setting up the 3153 is proper cabling between the 3153 and the server. Both the 3153 Main Port and the server are DTE (Data Terminal Equipment) devices. The cabling connecting the two devices must switch the data and control lines. A cable that provides this capability is often called a null modem or interpose cable. The following cable configurations provide the proper cabling information to connect a 3153 to the server.

3153 SES1-EIA Port (RS232) to the server

  • Console (Native DB25 RS232, one-device):
    12H1204 or
    6323741 with 58F2861
  • Console (Native DB25 RS232, two-device):
    31F4590 with 12H1204 or
    31F4590 with 6323741 and 58F2861
  • Console (Native DB9):
    40H6328 with 12H1204 or
    40H6328 with 6323741 and 58F2861
  • 128-port Remote Async Node (RAN):
    43G0935 with 12H1204 or
    43G0935 with 6323741 and 58F2861
  • 8-port or 16-port Adapter:
    12H1204 or
    6223741 with 58F2861
  • 64-port Concentrator:
    53F3367 with 58F2861
  • 7318 Terminal Server:
    65G2373 with 65G2376

3153 SES2-Aux Port (RS232) to the server

  • Console (Native DB25 RS232, one-device):
    6323741
  • Console (Native DB25 RS232, two-device):
    31F4590 with 6323741
  • Console (Native DB9):
    40H6328 with 6323741
  • 128-port Remote Async Node (RAN):
    43G0935 with 6323741
  • 8-port or 16-port Adapter:
    6323741
  • 64-port Concentrator:
    53F3367
  • 7318 Terminal Server:
    65G2373 with 65G2375

NOTE:

  1. Some 3153 models (P/N 42H0450, 42H0451, 42H0452, 42H0456, 42H0457, 42H0458, 42H0459, and 42H0465) have an RS422 Main Port. The SES2-Aux Port, which supports RS232, can be used if the 3153 is used in a single session environment. The choices described in the preceding section, "3153 SES2-Aux Port (RS232) to the server", are recommended.

  2. When the 3153 Main and/or Aux Port is selected, the 3153 Setup Menu Parameter Host/Printer must be properly selected:
    • 3153 Main Port: Host/Printer = EIA/Par, EIA/None
    • 3153 Aux Port: Host/Printer = Aux/Par, Aux/None

After proper connection is established, the 3153 should display characters or text. This indicates communication between a 3153 and the server has been established. The characters or text may or may not be readable and may include: garbage or special graphics, AIX command line, or SMIT.


Configuring the 3153 setup parameters (3151 emulation)

IBM 3153 factory default setup parameters were selected for host attachment. In most cases, a new 3153 will work with no changes when attached using the RS232 SES1-EIA Main Port and a standard host adapter operating at 9600 baud. The following setup information can be used to confirm the 3153 settings and to make changes if the 3153 has been used on another service prior to being used with the server.

3153 setup parameters determine:

  • Communications for the 3153
    (Main and Aux Port, Baud Rate)
  • Keyboard operation and application display
    (Emulation, Auto Wrap, Page Length, Return Key)

To enter 3153 setup menus:

  • Press and hold the left Ctrl key and the "-" key on the numeric keypad or
  • Press and hold the left Ctrl key and the Scroll Lock key

To set 3153 to IBM 3153 factory default settings:

  • Press the Print Exec key
  • Select Default Terminal and press the spacebar
  • Select Save Terminal and press the spacebar

When Emulation = IBM 3151 confirm the following:

 F1 (Quick):
    Comm Mode = Full Duplex
    Auto Wrap = On
    Auto Scroll = On
 F3 (Displ):
    Scroll = Jump
 F4 (Kybd):
    Key Mode = ASCII
 F5 (Keys):
    Return Key = New Line
    Enter Key = Return
    New Line = <CR>
    Send Key = Page
    Insert Character = Space
 F7 (Host):
    Local = Off
    Turnaround Character = <CR>
    Indep Pass Thru = Off
 F9 (Emul):
    Force Insert = Line

NOTE:

  1. If the 3153 Main Port is used as the host session:
    F1 (Quick): Host/Printer = EIA/Para or EIA/None

  2. If the 3153 Aux Port is used as the host session:
    F1 (Quick): Host/Printer = Aux/Para or Aux/None

  3. If the 3153 is used for dual session:
    F1 (Quick): Sessions = Two
    After "Two" is selected, the second session must also be configured.

  4. If the 3153 does not have a parallel printer attached:
    F1 (Quick): Host/Printer = EIA/None or Aux/None

  5. EIA Baud Rate and EIA Data Format must match the server communication port settings.

  6. If the application is not displaying Line Drawing/Box characters correctly, change the following:
    F4 (Kybd): Char Set = Multinational
    After "Multinational" is selected, the Code Page parameter appears. Some applications were written to use 8-bit Code Pages: CP 437, CP 850 or ISO 8859/1.2 (ISO-1). Testing is recommended by changing:
    F4(Kybd): Code Page = CP437 or CP850 or ISO-1.

Adding/setting a tty in AIX

Adding a tty

  1. Log in as root.
  2. Enter smit or smitty on the command line.
  3. Select the following order of options from each menu.
     
    #smit
    DEVICES
    TTY
    ADD A TTY
    • Select RS232.
    • Select Parent Adapter.
    • Select PORT Number. Press ESC 4 to display port choices.
    • Set Enable LOGIN to enable. This runs a login prompt.

  4. Press Enter.

Setting a tty

When a tty is set in SMIT, the default TERMINAL type is "dumb".

Example:

    BAUD rate                                       [9600]
    PARITY                                          [none]
    BITS per character                              [8]
    Number of STOP BITS                             [1]
    TIME before advancing to next port setting      [0]
    TERMINAL type                                   [dumb]
    FLOW CONTROL to be used                         [xon]

For most AIX command line operations this setting is acceptable. However, for many AIX applications to function properly (SMIT, vi editor, HCON), the terminal type must match the terminal which is actually connected to the serial port.

When attaching a 3153 terminal, set the 3153 to IBM3153 emulation and then use SMIT to set the tty TERMINAL type.

Change:
   TERMINAL type        [dumb]
to:
   TERMINAL type        [ibm3151]

Press Enter and SMIT will make the change.

NOTE:

  1. Notice the ibm3151 entry in SMIT is in lower case. By convention all terminal type names are in lower case. IBM3151 will NOT work, and is considered an unknown terminal type. Any output to the 3153 would be improperly displayed.

  2. AIX also supports other IBM terminal type ASCII emulations:
    ibm3151-C for 3151/3153 for ISO Latin 2
    ibm3151-51 for 3151/3153 with PC keyboards (Page Up/Down)
    ibm3151-132 for 3151/3153 for use in 132-column mode
    ibm3151-25 for 3151/3153 for use in 25-line mode

  3. AIX also supports other terminal type ASCII emulations:
    vt100 for DEC VT100
    vt220 for DEC VT220
    wy50 for WYSE 50
    wy60 for WYSE 60

    To check the current TERM type (the kind of terminal the system believes is attached), use one of the following two commands on the 3153:

         #echo $TERM <enter>
         <output>
    

        or

         #env ³ grep TERM= <enter>
         <output>
    

    The output should be ibm3151 or some other supported AIX TERM type.


Setting a national language (3153 setup menus and AIX)

Within 3153 setup menus

F4 (Kybd):

  1. Set Char Set = Multinational
  2. Set Language to desired keyboard language
    (French, German, Spanish, Finnish)
  3. Set Code Page = ISO-1

NOTE: The Language parameter determines in what keyboard language the 3153 operates. If Language = Spanish and an English keyboard is attached, the 3153 operates in Spanish.

Within AIX

  • To determine the current language, enter locale. This returns the LANG variable. For example,
    LANG=en_US
    

    To make changes to the language, the language must be installed.

  • Changing the language for an individual session.
    Set LANG=xx_YY where xx_YY is the desired language specification. The xx parameter designates the language and the YY parameter designates the country code. To determine the locales that are installed, enter local -a

    Example:

              French in France:  fr_FR
              French in Canada:  fr_CA
              German in Germany: de_DE
              Taiwan Chinese:    zh_TW
    

    If particular users want to change only their locale, users can add a line to the .profile in their home directory that says:

       export LANG=de_DE
    
  • Changing the language for the entire system.
    • Enter smitty.
    • From the menu screens choose in sequence
      System Environments,
      Manage Language Environments,
      Change/Show Primary Language Environment,
      Change/Show Cultural Convention, Language, or Keyboard
    • Press F4 to display a language selection menu.
    • Choose the language and press Enter.
    • Press Enter again to make the change.
    • Rebooting the system may be required.

NOTE: The AIX terminal type may also be required to change to ibm3151-C as mentioned in the preceding section, "Adding/Setting a tty in AIX".


Reference information

3153 RS232 Main Port: DTE (Data Terminal Equipment)
Pin 2 - Transmit Data (Direction-Out)
Pin 3 - Receive Data (Direction-In)

3153 RS232 Aux Port: DCE (Data Communications Equipment)
Pin 2 - Transmit Data (Direction-In)
Pin 3 - Receive Data (Direction-Out)

3153 Video Elements: RS232 Main Port and RS232 Aux Port
42H0400, 42H0401, 42H0402,
42H0406, 42H0407, 42H0408, 42H0409

3153 Video Elements: RS422 Main Port and RS232 Aux Port
42H0450, 42H0451, 42H0452,
42H0456, 42H0457, 42H0457, 42H0459

Host Cable Reference Information

Part Number  Description
--------------------------------------------------------------------
P/N 12H1204 RS232 Printer/Terminal Cable (Null Modem Cable) 10-foot,
   Receptacle DB25 to Plug DB25
   RS/6000 Feature Code: 2934, RS/6000 Cable: "I"
P/N 31F4590 DB25 to Dual DB25 Splitter Y-Cable 6-inch, 
   Receptacle DB25 to Dual Plug DB25
   RS/6000 Feature Code: 3107, RS/6000 Cable: "AS"
P/N 40H6328 DB9 to DB25 Converter Cable 1-Foot, 
   Receptacle DB9 to Plug DB25
   RS/6000 Feature Code: 3107, RS/6000 Cable: "AR"
P/N 43G0935 RJ45 to DB25 Converter (128-port RAN) Cable 2-foot, 
   Plug RJ45 to Plug DB25
   RS/6000 Feature Code: 8133, RS/6000 Cable: "NK"
P/N 58F2861 Printer/Terminal Interposer (Null Modem Adapter) 2-inch, 
   Receptacle DB25 to Plug DB25
   RS/6000 Feature Code: 2937, RS/6000 Cable: "E"
P/N 6323741 Async RS232 Cable (Straight Modem Cable) 10-foot, 
   Receptacle DB25 to Plug DB25
   RS/6000 Feature Code: 2936, RS/6000 Cable: "D"
P/N 65G2373 RJ45 to RJ45 Extender Cable 10-foot, 
   Plug RJ45 to Plug RJ45
   RS/6000 Feature Code: 7901
P/N 65G2375 RJ45 to DB25 Adapter 2-inch, 
   Receptacle RJ45 to Plug DB25
   RS/6000 Feature Code: 7903
P/N 65G2376 RJ45 to DB25 Adapter 2-inch, 
   Receptacle RJ45 to Plug DB25
   RS/6000 Feature Code: 7904

Host 64-port and 128-port async controller information

128-port async controller via 16-port remote async nodes (RAN)
Description: black box with 16 telephone phone jacks (RJ-45), all on one side, and with control lights/LED windows on the other side.
 
Front View of the 16-port RAN
   +----------------------------------------------------+
   |                                                    |
   |                                             ------ |
   |  TD  RD  RTS CTS DSR CD  DTR  RI  OFC  IFC  | AC | |
   |   o   o   o   o   o   o   o    o   o    o   |    | |
   |                                             ------ |
   +----------------------------------------------------+
Rear view of the 16-port RAN (RJ-45)
   +----------------------------------------------------+
   |                                                    |
   |  0   1   2   3                11  12  13  14  15   |
   | --- --- --- ---               --- --- --- --- ---  |
   | | | | | | | | |   .........   | | | | | | | | | |  |
   |  -   -   -   -                 -   -   -   -   -   |
   +----------------------------------------------------+
64-port async controller via 16-port async concentrator
Description: black box with single blinking LED with 16 telephone phone (RJ-45) jacks, eight on each side.
Front View of the 16-port Async Concentrator (RJ-45)
   +---------------------------------+
   |  0   1   2   3   4   5   6   7  |
   | --- --- --- --- --- --- --- --- |
   | | | | | | | | | | | | | | | | | |
   |  -   -   -   -   -   -   -   -  |
   +---------------------------------+
Rear view of the 16-port async concentrator (RJ-45)
   +---------------------------------+
   |  8   9  10  11  12  13  14  15  |
   | --- --- --- --- --- --- --- --- |
   | | | | | | | | | | | | | | | | | |
   |  -   -   -   -   -   -   -   -  |
   +---------------------------------+

[{"Product":{"code":"SWG10","label":"AIX"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Attached devices","Platform":[{"code":"PF002","label":"AIX"}],"Version":"5.3;5.2;5.1;4.3","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Historical Number

isg1pTechnote0409

Document Information

Modified date:
17 June 2018

UID

isg3T1000265