|Skip Navigation Links|
|Exit Print View|
|Oracle Solaris Administration: Common Tasks Oracle Solaris 11 Information Library|
Administration of the system console is managed by SMF. Use the svccfg command to set the system console properties.
This procedure shows how to change the console terminal type by using the svccfg command.
$ su - Password: #
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 - It is not advisable to set the terminal type of the svc:/system/console-login service because the change will affect all instances.
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.
# svcadm enable svc:/system/console-login:terma
# 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.
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:
# 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,-
console baud-rate hupcl opost onlcr:baud-rate::console
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.