SUN server and Solaris Serial Console Common Settings Issues
Author: Badcoffee
Email: blog.oliver@gmail.com
BLOG:
http://blog.9cbs.net/yayong
April 2005
1. Serial port redirection settings for BIOS?
Both Sun's X86 and SPARC servers support to direct BIOS or OBP to the Serial Port.
For the SPARC machine, unplug the keyboard mouse directly.
For the X86 machine, you can set the BIOS via the BIOS's Console Redirect settings, select the Serial Port and baud rates.
2. How do some function keys entered on the Serial Console?
With the Serial Console Manage Server, you usually need to enter some special function keys, such as F2 enters BIOS,
F12 network boot system. Below is some escape sequences on SUN machines on the Serial Console:
Special Keys for Remote Console Terminal
Function Key Escape Sequern Home
hide
End
k
Insert
Delete
-
Page Up
?
Page Down
/
Alt
^ A
Ctrl
^ C
F1
1
F2
2
F3
3
F4
4
F5
5
F6
6
F7
Seduce
F8
8
F9
9
F10
0
F11
!
F12
@
3. How do I set up Serial Console under Solaris?
For SPARC, unplug the keyboard mouse, OBP and Solaris are automatically redirected to the Serial Port.
For X86, the Console is oriented to Serial Port A with a 9600 baud rate, you need to do the following:
# EEPROM Input-device = "TTYA"
# eEprom output-device = "TTYA"
Then Reboot
4. How do Solaris Settings Serial Console works on a higher baud rate?
Take 115200 as an example:
Specify TTYA as input and Output Device and set the baud rate is 115200
# EEPROM Input-device = "TTYA"
# EEprom output-device = "TTYA"
# EEPROM TTYA-MODE = "115200, 8, n, 1, -"
Specify the "console" of the Console's default baudRate, modify the / etc / ttydefs file: That line of "console":
Console: 115200 Hupcl Opost Onlcr: 115200 :: Console
Reboot system,
If you test with TIP, use Tip Command on the other end:
# TIP-115200 / DEV / CUA / A
5. A SERIAL PORT does not work in Sun V20z
On the V20z / V40Z machine, if you can determine that the BIOS settings and serial connections are no problem, the Serial Port is not working.
Then it is likely to be caused by the SP setting of V20z.
You can use SSH to log in to SP to solve this problem:
Forgot the password of the SP, you can set the SP back to the default value on the machine panel, and then reinitialize the admin account with the following command:
Suppose the IP of SP is 192.168.80.2
SSH 192.168.80.2 -l setup
Log in to SP with admin account, then enable serial console.ssh 192.168.80.2 -l admin
Enter the admin password, then use the following command
Platform Get Console
Platform set console -s sp -e -s 9600
Platform Get Console
Platform Set Console -s Platform