웃음프로젝트의 하루/경험과 노하우
SUN Serial 터미널 통신 (Sun Fire V445)
웃음프로젝트
2009. 2. 19. 00:10
개요
모니터와 키보드가 없는 썬장비에 접근하기 위해서는 널모뎀 케이블 이용
케이블로 PC와 SUN장비에 연결한 후 PC에서 터미널 프로그램을 이용하여 접근
PC의 터미널 프로그램
1) 윈도우즈
a. 시작 -> 프로그램 -> 보조프로그램 -> 통신 -> 하이퍼 터미널
b. secureCRT
2) 리눅스
a. seyon(세연) - 일반적으로 설치되어 있음
터미널 세팅
Port: COM1 (PC의 serial port)
Buad rate: 9600
Data: 8bit
Parity: none
Stop: 1bit
Flow control: Xon/Xoff
type : VT100
Buad rate: 9600
Data: 8bit
Parity: none
Stop: 1bit
Flow control: Xon/Xoff
type : VT100
서버세팅
1) serial mgt
쉘상태 (OS Boot 후 터미널이나 콘솔에서)
# eeprom input-device=ttyb (serial mgt)
# eeprom output-device=ttyb (serial mgt)
# eeprom input-device (확인)
# eeprom output-device (확인)
# sync
# sync
# sync
# reboot
# eeprom output-device=ttyb (serial mgt)
# eeprom input-device (확인)
# eeprom output-device (확인)
# sync
# sync
# sync
# reboot
2) 모니터와 키보드 직접 연결시
쉘상태 (OS Boot 후 터미널이나 콘솔에서)
# eeprom input-device=keyboard (키보드)
# eeprom output-device=screen (모니터)
# eeprom input-device (확인)
# eeprom output-device (확인)
# sync
# sync
# sync
# reboot
# eeprom output-device=screen (모니터)
# eeprom input-device (확인)
# eeprom output-device (확인)
# sync
# sync
# sync
# reboot
3) 정상작동이 되지 않을 경우
a. Serial Port, 모니터 둘다 아무것도 출력되지 않는 경우
- 시스템이 이미 부팅이 된 경우
원격 로그인하여 init 0을 수행한 다음 PROM 에서 잘못된 파라메타 값을 수정
- 시스템이 전혀 부팅되지 않을 경우
파워를 끈다. 썬 키보드의 STOP + N 키를 동시에 누른 상태에서 파워를 켠채로 키보드에 LED가 최후로 깜빡일 때까지 10초 정도 계속 누름
가타 Tip
1) PROM모드에서 "stop + a" 대신 "Control + Pause Break" 키를 사용