Setting Up Terminals and Modems (Tasks)
This chapter provides step-by-step instructions for setting up terminals and modems using Solaris Management Console's Serial Ports Tool.
This is a list of the step-by-step instructions in this chapter.
For overview information about terminals and modems, see Chapter 10, Managing Terminals and Modems (Overview).
Setting Up Terminals and Modems with Serial Ports Tool
You can set up serial ports with the Solaris Management Console's Serial Ports Tool. Select a serial port from the Serial Ports window and then choose a Configure option from the Action menu to configure the following.
Terminal
Modem - Dial In
Modem - Dial Out
Modem - Dial In/Dial Out
Initialize Only - No Connection
The Configure options provide access to the templates for configuring the preceding services.You can view two levels of detail for each serial port: Basic and Advanced. You can access the Advanced level of detail for each serial port after it is configured by selecting the serial port and selecting the Properties option from the Action menu. After a serial port is configured, you can disable or enable the port with the SAF commands. For information on using the SAF commands, see Chapter 12, Managing Serial Ports With the Service Access Facility (Tasks).
For information on using the Serial Ports command line interface, see smserialport(1M).
Setting Up Terminals
The following table describes the menu items (and their default values) when setting up a terminal using Serial Ports.
Table 11-1 Terminal Default Values
Detail | Item | Default Value |
---|---|---|
Basic | Port | -- |
| Description | Terminal |
| Service Status | Enabled |
| Baud Rate | 9600 |
| Terminal Type | tvi925 |
| Login Prompt | ttyn login: |
Advanced | Carrier Detection | Software |
| Option: Connect on Carrier | No |
| Option: Bidirectional | No |
| Option: Initialize Only | No |
| Timeout (seconds) | Never |
| Port Monitor | zsmon |
| Service Program | /usr/bin/login |
Setting Up Modems
The following table describes the three modem templates available when setting up a modem using Serial Ports.
Table 11-2 Modem Templates
Modem Configuration | Description |
---|---|
Dial-In Only | Users can dial in to the modem but cannot dial out. |
Dial-Out Only | Users can dial out from the modem but cannot dial in. |
Dial-In and Out (Bidirectional) | Users can either dial in or out from the modem. |
The following table describes the default values of each template.
Table 11-3 Modem Template Default Values
Detail | Item | Modem - Dial-In Only | Modem - Dial-Out Only | Modem - Dial In and Out |
---|---|---|---|---|
Basic | Port Name | -- | -- | -- |
| Description | Modem - Dial In Only | Modem - Dial Out Only | Modem - Dial In and Out |
| Service Status | Enabled | Enabled | Enabled |
| Baud Rate | 9600 | 9600 | 9600 |
| Login Prompt | ttyn login: | ttyn login: | ttyn login: |
Advanced | Carrier Detection | Software | Software | Software |
| Option: Connect on Carrier | No | No | No |
| Option: Bidirectional | No | Yes | Yes |
| Option: Initialize Only | No | Yes | No |
| Timeout (seconds) | Never | Never | Never |
| Port Monitor | zsmon | zsmon | zsmon |
| Service Program | /usr/bin/login | /usr/bin/login | /usr/bin/login |
The following table describes the default values for the Initialize Only template.
Table 11-4 Initialize Only - No Connection Default Values
Detail | Item | Default Value |
---|---|---|
Basic | Port Name | -- |
| Description | Initialize Only - No Connection |
| Service Status | Enabled |
| Baud Rate | 9600 |
| Login Prompt | ttyn login: |
Advanced | Carrier Detection | Software |
| Option: Connect on Carrier | No |
| Option: Bidirectional | Yes |
| Option: Initialize Only | Yes |
| Timeout (seconds) | Never |
| Port Monitor | zsmon |
| Service Program | /usr/bin/login |
How to Set Up a Terminal
Start the Solaris Management Console, if it's not already running.
% /usr/sadm/bin/smc &
For information on starting the Solaris Management Console, see "Starting the Solaris Management Console" in System Administration Guide: Basic Administration.
Click This Computer icon in the Navigation pane.
Click Devices and Hardware-->Serial Ports.
The Serial Ports menu is displayed.
Select the port that will be used with a terminal.
Choose Configure-->Terminal from the Action menu.
The Configure Serial Port window appears in the Basic Detail mode.
For a description of the Terminal menu items, see Table 11-1.
Click OK.
To configure the advanced items, select the port configured as a terminal. Then, select Properties from the Action menu.
Change values of template entries if desired.
Click OK to configure the port.
Verify that the terminal service has been added.
$ pmadm -l -s ttyn