|
| 以 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.
-
- 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.
-
-
Type admintool & from a command or shell tool prompt and press Return.
-
Click on the Serial Port Manager icon.
The Serial Port Manager main window is displayed.
-

· How to Add a Terminal
- Follow these steps to add a terminal to a system.
-
-
From the Serial Port Manager main window, select the port or ports that will be used with a terminal
-
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.)
-
Choose Terminal - Hardwired from the Template menu.
-

-
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
| Detail | Item | Default Value |
| Basic | Port | -- |
| Service | Enabled |
| Baud Rate | 9600 |
| Terminal Type | tvi925 |
| More | Option: Initialize Only | no |
| Option: Bidirectional | no |
| Option: Software Carrier | yes |
| Login Prompt | login: |
| Comment | Terminal - Hardwired |
| Service Tag | -- |
| Port Monitor Tag | zsmon |
| Expert | Create utmp entry | yes |
| Connect on Carrier | no |
| Service | /usr/bin/login |
| Streams Modules | ldterm,ttcompat |
| Timeout (secs) | Never |
-
-
Change values of template entries if desired.
-
Click on Apply to configure the port.
· How to Add a Modem
- Follow these steps to add a modem to a system.
-
-
From the Serial Port Manager main window, select the port or ports that will be used with a modem.
-
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.)
-
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 Configuration | Description |
| Modem - Dial In Only | Users may dial in to the modem but cannot dial out. |
| Modem - Dial Out Only | Users may dial out from the modem but cannot dial in. |
| Modem - Bidirectional | Users 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.
-
-
Change values of template entries if desired.
-
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.
-
-
Follow Step 1 through Step 3 in the "How to Add a Modem" procedure.
-
On the Modify Service window, choose Other from the Baud Rate menu.
-

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

- In this example, the 9600E baud rate was selected. This provides a service with a 9600 baud rate, seven bits, and even parity.
-
-
Change values of other template entries if desired.
-
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
| Detail | Item | Modem - Dial In Only | Modem - Dial Out Only | Modem - Bidirectional |
| Basic | Port | -- | -- | -- |
| Service | Enabled | Enabled | Enabled |
| Baud Rate | 9600 | 9600 | 9600 |
| Terminal Type | -- | -- | -- |
| More | Option: Initialize Only | yes | no | no |
| Option: Bidirectional | no | no | yes |
| Option: Software Carrier | no | no | no |
| Login Prompt | login: | login: | login: |
| Comment | Modem - Dial-In Only | Modem - Dial-Out Only | Modem - Bidirectional |
| Service Tag | -- | -- | -- |
| Port Monitor Tag | zsmon | zsmon | zsmon |
| Expert | Create utmp Entry | yes | yes | yes |
| Connect on Carrier | no | no | no |
| Service | /usr/bin/login | /usr/bin/login | /usr/sbin/login |
| Streams Modules | ldterm,ttcompat | ldterm,ttcompat | ldterm,ttcompat |
| Timeout (secs) | Never | Never | Never |
· 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.
-
-
Select the port or ports that you want to initialize from the Serial Port Manager main window.
-
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.
-
Choose Initialize Only - No Connection from the Template menu.
-

-
-
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
| Detail | Item | Default Value |
| Basic | Port | -- |
| Service | Enabled |
| Baud Rate | 9600 |
| Terminal Type | -- |
| More | Option: Initialize Only | yes |
| Option: Bidirectional | no |
| Option: Software Carrier | no |
| Login Prompt | login: |
| Comment | Initialize Only - No Connection |
| Service Tag | -- |
| Port Monitor Tag | zsmon |
| Expert | Create utmp Entry | yes |
| Connect on Carrier | no |
| Service | /usr/bin/login |
| Streams Modules | ldterm,ttcompat |
| Timeout (secs) | Never |
· How to Disable a Port
- Follow these steps to disable a service on a configured port.
-
-
Select the port or ports that you want to disable from the Serial Port Manager main window.
-
Choose Modify Service from the Edit menu.
-
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.
-

-
-
Click on Apply to disable the port.
· How to Delete a Port Service
- Follow these steps to delete a service on a configured port.
-
-
Select the port or ports with a service you want to delete from the Serial Port Manager main window.
-
Choose Delete Service from the Edit menu.
-

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