Previous Table of Contents Next


CHAPTER 10
Setting Up Modems and Character Terminals

Tools for Setting Up Modems and Character Terminals
Using Variables in SAF Commands
Setting Up Modems
Setting Up the SAF for Character Terminals

THIS CHAPTER DESCRIBES HOW TO USE THE TTYMON PORT MONITOR TOSET UP THE SERVICE Access Facility (SAF) for modems and character terminals. See Chapter 11, "Setting Up Printing Services," for information on how to use the SAF to set up printers.

Tools for Setting Up Modems and Character Terminals

You perform three basic tasks to set up a serial port device, such as a modem or a character terminal:

1.  Use the sacadm command to add a port monitor (if one is not already configured).
2.  Use the pmadm command to designate a service to be associated with the new port monitor.
3.  Edit one or more communications-related files as needed.

The Solaris environment now provides you with two additional tools that provide a graphical user interface to the SAF to manage terminals and modems:

  Admintool graphical user interface. Use this bundled tool to manage terminal and modem setup for local systems only.
  Serial Port Manager in the unbundled Solstice AdminSuite provides a graphical user interface that you can use to manage terminals and modems in a networked, name-service environment.

See Tasks Not Supported by the Solstice Serial Port Manager describes three tasks that are not supported in the Solstice Serial Port Manager. You must use SAF commands to perform these tasks.

Table 10-1 Tasks Not Supported by the Solstice Serial Port Manager

Task SAF Command Description
Inform users that a port is disabled ttyadmin -i This command specifies the inactive (disabled) response message. The message is sent to a terminal or modem when a user logs in when the port is disabled. This functionality is not provided when you disable a port using Solstice Serial Port Manager.
Keep the modem connected when a user logs off a host ttyadmin -h This command specifies that the system does not hang up on a modem before setting or resetting to the default or specified value. If ttyadmin -h is not used, the host hangs up the modem when the user logs out of that host.
Require the user to type a character before the system displays a prompt ttyadmin -r This command specifies that ttymon requires the user to type a character or press Return a specified number of times before the login prompt is displayed. When -r is not specified, pressing Return one or more times prints the prompt anyway. This option prevents a terminal server from issuing a welcome message that the Solaris host might misinterpret to be a user trying to log in. Without the -r option, the host and terminal server might begin looping and printing prompts to each other.

Using Variables in SAF Commands

The following sections describe the variables used in the SAF commands in this chapter. When using SAF commands, you supply arguments to specify one (or more) of the variables described in See Variables Used with the SAF Commands. These variable names were chosen to match the names of the fields used to display the output of SAF commands. These variables and the files they use are described in the following sections.

TABLE 10-2 Variables Used with the SAF Commands

Variable Example Description
pmtag zsmon The name of a specific instance of a port monitor.
svctag ttyb The name of the port.
dev-path /dev/term/b The full name of the tty port device file.
ttylabel 2400H The baud rate and line discipline from the /etc/ttydefs file.
type hayes The type of the modem, as specified in the /etc/uucp/Devices file.

The Port Monitor Tag (pmtag)

You can use the pmtag variable to specify the name you assign to a specific instance of a port monitor. You can give port monitors any name you like, provided the name is unique and contains no more than 14 alphanumeric characters. The default pmtag variable for Solaris 2.x system software is zsmon for serial ports A and B. If you install a multiplexer, serial ports are automatically configured as part of the installation process and are given the pmtag variable ttymon0. SunSoft suggests that you use the system-defined pmtag variables.


Previous Table of Contents Next