JavaScript is required to for searching.
Skip Navigation Links
Exit Print View
Oracle Solaris Administration: Common Tasks     Oracle Solaris 11 Information Library
search filter icon
search icon

Document Information

About This Book

1.  Locating Information About Oracle Solaris Commands

2.  Managing User Accounts and Groups (Overview)

3.  Managing User Accounts and Groups (Tasks)

4.  Booting and Shutting Down an Oracle Solaris System

5.  Working With Oracle Configuration Manager

6.  Managing Services (Overview)

7.  Managing Services (Tasks)

8.  Using the Fault Manager

9.  Managing System Information (Tasks)

10.  Managing System Processes (Tasks)

11.  Monitoring System Performance (Tasks)

12.  Managing Software Packages (Tasks)

13.  Managing Disk Use (Tasks)

14.  Scheduling System Tasks (Tasks)

15.  Setting Up and Administering Printers by Using CUPS (Tasks)

16.  Managing the System Console, Terminal Devices, and Power Services (Tasks)

What's New in Managing the System Console and Locally Connected Terminal Devices

Removal of Support for SVR4 Service Access Facility Commands and Service Access Controller Program

Virtual Terminal Support

Bitmapped Console Support

Managing the System Console and Locally Attached Connected Terminal Devices (Task Map)

Overview of the System Console and Locally Connected Terminal Devices

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

Managing the System Console and Locally Connected Terminal Devices

How to Modify Settings for the System Console

How to Set Up Login Services on Auxiliary Terminals

How to Set the Baud Rate Speed on the System Terminal

Managing System Power Services

How to Recover from Power Service in Maintenance Mode

17.  Managing System Crash Information (Tasks)

18.  Managing Core Files (Tasks)

19.  Troubleshooting System and Software Problems (Tasks)

20.  Troubleshooting Miscellaneous System and Software Problems (Tasks)

Index

Managing the System Console and Locally Connected Terminal Devices

Administration of the system console is managed by SMF. Use the svccfg command to set the system console properties.

How to Modify Settings for the System Console

This procedure shows how to change the console terminal type by using the svccfg command.

  1. Become the root role.
    $ su -
    Password:
    #
  2. Use the svccfg command to set the property for the service instance that you want to change.

    For example, to change the terminal type for the system console, which is represented by the :default service, you would type the following command:

    # svccfg -s svc:/system/console-login:default "setprop ttymon/terminal_type = xterm"

    Caution

    Caution - It is not advisable to set the terminal type of the svc:/system/console-login service because the change will affect all instances.


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.

To enable login services for /dev/term/a, use the following procedure.

  1. Become the root role.
  2. Enable the service instance as follows:
    # 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 System Terminal

This procedure shows 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:

  1. Become an administrator.
  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.

      Use the following command to change the baud rate to 9600:

      # 9600 :bd: ttymodes="2502:1805:bd:8a3b:3:1c:7f:15:4:0:0:0:11:13:1a:19:12:f:17:16";

      Use the following command to change the baud rate speed to 19200.

      # 19200 :be: ttymodes="2502:1805:be:8a3b:3:1c:7f:15:4:0:0:0:11:13:1a:19:12:f:17:16";

      Use the following command to change the baud rate speed to 38400:

      # 38400 :bf: ttymodes="2502:1805:bf:8a3b:3:1c:7f:15:4:0:0:0:11:13:1a:19:12:f:17:16";
    • On x86 based systems: Change the console speed if the BIOS serial redirection is enabled.