Managing System Information, Processes, and Performance in Oracle® Solaris 11.2

Exit Print View

Updated: September 2014

SMF Services That Manage the System Console and Locally Connected Terminal Devices

The system console and locally connected terminal devices are represented as instances of the SMF service, svc:/system/console. This service defines most of the behavior, with each instance having specific overrides to the settings that are inherited from the service. The ttymon program is used to offer login services for these terminals. Each terminal uses a separate instance of the ttymon program. Command-line arguments that are passed by the service to the ttymon program govern its behavior.

    The service instances that are supplied with the system are as follows:

  • svc:/system/console-login:default

    The default instance always represents that the ttymon program offer a login to the system hardware console.

  • svc:/system/console-login:{vt2, vt3, vt4, vt5, vt6}

    Additional service instances are provided for the system's virtual consoles. If virtual consoles are not available, these services are automatically disabled. For more information, see the vtdaemon (1M) man page.

  • svc:/system/console-login:{terma, termb}

    The svc:/system/console-login:terma and svc:/system/console-login:termb services are provided as a convenience. These services can assist you in setting up login services for additional /dev/term/a and /dev/term/b ports. These services are disabled by default.

You can define additional service instances as part of the svc:system/console-login service. For example, if you have a /dev/term/f device that you need to support, you could instantiate svc:/system/console-login:termf and configure it appropriately.

How to Set Up Login Services on Auxiliary Terminals

For terminals that are connected to /dev/term/a or /dev/term/b serial ports on a system, predefined services are provided.

  1. Assume the root role.

    See Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Enable the service instance.

    For example, to enable login services for /dev/term/a:

    # svcadm enable svc:/system/console-login:terma
  3. Check that the service is online.
    # svcs svc:/system/console-login:terma

    The output should show that the service is online. If the service is in maintenance mode, consult the service's log file for further details.

How to Set the Baud Rate Speed on the Console

Support for console speeds on x86 based systems are dependent on the specific platform.

    The following are supported console speeds for SPARC based systems:

  • 9600 bps

  • 19200 bps

  • 38400 bps

  1. Become an administrator.

    See Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.2 .

  2. Use the eeprom command to set a baud rate speed that is appropriate for your system type.
    # eeprom ttya-mode=baud-rate,8,n,1,-

    For example, to change the baud rate on an x86 based system's console to 38400, type:

    # eeprom ttya-mode=38400,8,n,1,-
  3. Change the console line in the /etc/ttydefs file as follows:
    console baud-rate hupcl opost onlcr:baud-rate::console
  4. Make the following additional changes for your system type.

    Note that these changes are platform-dependent.

    • On SPARC based systems: Change the baud rate speed in the version of the options.conf file that is in the /etc/driver/drv directory. For example:

      To change the baud rate to 9600:

      # 9600             :bd:

      To change the baud rate speed to 19200.

      # 19200            :be:

      To change the baud rate speed to 38400:

      # 38400            :bf:
    • On x86 based systems: Change the console speed if the BIOS serial redirection is enabled.