Administration Application Reference Manual
只搜寻这本书
以 PDF 格式下载本书

Using Serial Port Manager

6

Modems and terminals provide both local and remote access to system and network resources. Maintaining this access with Serial Port Manager, an Administration Tool application, is an important, if infrequent, responsibility of a system administrator.
Use this table to proceed directly to the section that provides step-by-step instructions for the following tasks.
How to Start Serial Port Managerpage 63
How to Add a Terminalpage 64
How to Add a Modempage 66
Initializing a Port Without Configuringpage 69
How to Disable a Portpage 71
How to Delete a Port Servicepage 72
See Chapter 11, "Serial Port Manager Reference," for additional information on Serial Port Manager's menus and commands.

Overview

Serial Port Manager is an Administration Tool application used for adding and maintaining port services for terminals and modems.
The Serial Port Manager configures the serial port software to work with terminals and modems by calling the pmadm command and supplying the appropriate information. It features:
  • Templates for common terminal and modem configurations
  • Multiple port setup, modification, or deletion
  • Quick visual status of each port

Before Using Serial Port Manager

Verify that the following requirements are met before using Serial Port Manager:
  • A bit-mapped display monitor is connected to the system you are using.
  • The OpenWindows environment is started using the following command:

  $ /usr/openwin/bin/openwin  

  • You have the required access privileges such as root (superuser) access to the local system or membership in the sysadmin (group ID=14) group for remote systems.
Refer to Chapter 2, "Name Service Management," for information on setting up the name service security features.

· How to Start Serial Port Manager

The following procedure describes how to start Serial Port Manager.
  1. Type admintool & from a command or shell tool prompt and press Return.

  2. Click on the Serial Port Manager icon.

    The Serial Port Manager main window is displayed.

Internal bitmap(501x182)

· How to Add a Terminal

Follow these steps to add a terminal to a system.
  1. From the Serial Port Manager main window, select the port or ports that will be used with a terminal

  2. Choose Modify Service from the Edit menu.

    The Modify Service window is displayed in the Basic Detail mode. (Click on More or Expert to select either the More or Expert Detail modes.)

  3. Choose Terminal - Hardwired from the Template menu.

Internal bitmap(501x152)

Table 6-1 shows the values that the Terminal - Hardwired template provides for the selected port. See Chapter 11, "Serial Port Manager Reference," for more information about these items.
Table 6-1
DetailItemDefault Value
BasicPort--
ServiceEnabled
Baud Rate9600
Terminal Typetvi925
MoreOption: Initialize Onlyno
Option: Bidirectionalno
Option: Software Carrieryes
Login Promptlogin:
CommentTerminal - Hardwired
Service Tag--
Port Monitor Tagzsmon
ExpertCreate utmp entryyes
Connect on Carrierno
Service/usr/bin/login
Streams Modulesldterm,ttcompat
Timeout (secs)Never
  1. Change values of template entries if desired.

  2. Click on Apply to configure the port.

· How to Add a Modem

Follow these steps to add a modem to a system.
  1. From the Serial Port Manager main window, select the port or ports that will be used with a modem.

  2. Choose Modify Service from the Edit menu.

    The Modify Service window appears in the Basic Detail mode. (For additional details, select either the More or Expert Detail modes.)

  3. Choose the modem configuration from the Template menu that meets or most closely matches your modem service.

    The modem template choices are described in Table 6-2.

Table 6-2
Modem ConfigurationDescription
Modem - Dial In OnlyUsers may dial in to the modem but cannot dial out.
Modem - Dial Out OnlyUsers may dial out from the modem but cannot dial in.
Modem - BidirectionalUsers may either dial in or out from the modem.
See Table 6-3 on page 68 for the default values of each modem template. If a UUCP service will be used to dial in to your modem on a Solaris 2.x system, see "How to Configure a Modem for Use With UUCP" for the rest of the procedure.
  1. Change values of template entries if desired.

  2. Click on Apply to configure the port.

· How to Configure a Modem for Use With UUCP
UUCP sends information using seven bits and even parity. Solaris 2.x modem configurations use eight bits and no parity to meet international compatibility requirements. To set up your modem service to work with UUCP, follow these instructions.
  1. Follow Step 1 through Step 3 in the "How to Add a Modem" procedure.

  2. On the Modify Service window, choose Other from the Baud Rate menu.

Internal bitmap(502x155)

  1. Enter a baud rate value from the /etc/ttydefs file that provides seven bit, even parity service and click on Apply.

Internal bitmap(387x74)

In this example, the 9600E baud rate was selected. This provides a service with a 9600 baud rate, seven bits, and even parity.
  1. Change values of other template entries if desired.

  2. Click on Apply to configure the port.

Modem Template Default Values

The modem templates provides the following values for the selected port. For more information, see Chapter 11, "Serial Port Manager Reference."
Table 6-3
DetailItemModem - Dial In OnlyModem - Dial Out OnlyModem - Bidirectional
BasicPort------
ServiceEnabledEnabledEnabled
Baud Rate960096009600
Terminal Type------
MoreOption: Initialize Onlyyesnono
Option: Bidirectionalnonoyes
Option: Software Carriernonono
Login Promptlogin:login:login:
CommentModem - Dial-In OnlyModem - Dial-Out OnlyModem - Bidirectional
Service Tag------
Port Monitor Tagzsmonzsmonzsmon
ExpertCreate utmp Entryyesyesyes
Connect on Carriernonono
Service/usr/bin/login/usr/bin/login/usr/sbin/login
Streams Modulesldterm,ttcompatldterm,ttcompatldterm,ttcompat
Timeout (secs)NeverNeverNever

· Initializing a Port Without Configuring

Follow these steps to initialize a port without configuring a specific device. Use Table 6-4 on page 70 for default values of the Basic, More, or Expert Detail modes.
  1. Select the port or ports that you want to initialize from the Serial Port Manager main window.

  2. Choose Modify Service from the Edit menu.

    The Modify Service window appears in the Basic Detail mode. For additional details, select either the More or Expert Detail modes.

  3. Choose Initialize Only - No Connection from the Template menu.

Internal bitmap(503x149)

  1. Click on Apply to initialize the port.

The Initialize Only - No Connection template provides the following values for the selected port. For more information, see Chapter 11, "Serial Port Manager Reference."
Table 6-4
DetailItemDefault Value
BasicPort--
ServiceEnabled
Baud Rate9600
Terminal Type--
MoreOption: Initialize Onlyyes
Option: Bidirectionalno
Option: Software Carrierno
Login Promptlogin:
CommentInitialize Only - No Connection
Service Tag--
Port Monitor Tagzsmon
ExpertCreate utmp Entryyes
Connect on Carrierno
Service/usr/bin/login
Streams Modulesldterm,ttcompat
Timeout (secs)Never

· How to Disable a Port

Follow these steps to disable a service on a configured port.
  1. Select the port or ports that you want to disable from the Serial Port Manager main window.

  2. Choose Modify Service from the Edit menu.

  3. Click Service Disabled in the Modify Service window to disable the port.

    The other items in the Modify Service window will turn gray when the port service is disabled.

Internal bitmap(503x145)

  1. Click on Apply to disable the port.

· How to Delete a Port Service

Follow these steps to delete a service on a configured port.
  1. Select the port or ports with a service you want to delete from the Serial Port Manager main window.

  2. Choose Delete Service from the Edit menu.

Internal bitmap(468x181)

A window is displayed asking you to confirm that the service should be removed.
  1. Click on Delete when you are ready to remove the service.