当前位置: 技术问答>linux和unix
Solaris 串口问题
来源: 互联网 发布时间:2016-09-10
本文导语: 请教一个问题 我想在Windows XP下测试另外一台 SUN Solaris 系统的串口 我是新手 麻烦 给我个 方法步骤 和工具 谢谢! | 1. Change the console baud rate to 115200 because anything less is painfu...
请教一个问题
我想在Windows XP下测试另外一台 SUN Solaris 系统的串口
我是新手 麻烦 给我个 方法步骤 和工具
谢谢!
我想在Windows XP下测试另外一台 SUN Solaris 系统的串口
我是新手 麻烦 给我个 方法步骤 和工具
谢谢!
|
1.
Change the console baud rate to 115200 because anything less is painful. This change is made by editing the console line in /etc/ttydefs.
2.
# eeprom console="ttya"
# eeprom input_device="ttya"
# eeprom output_device="ttya"
# eeprom ttya_mode="115200,8,n,1,-"
3.
Edit /boot/grub/menu.lst and add "-B console=ttya" to the kernel boot line.
Note: Also add "-K" to the kernel boot line which tells Solaris drop into kmdb when a panic occurs.
4.
Edit /boot/grub/menu.lst and add the following two lines near the top:
serial --speed=115200
terminal --timeout=20 serial console
5. uncomment all the splashimage line in the menu.lst
在windows那边,就用超级终端吧,找好自己机器上的串口号,选择好相同的波特率就ok了
Change the console baud rate to 115200 because anything less is painful. This change is made by editing the console line in /etc/ttydefs.
2.
# eeprom console="ttya"
# eeprom input_device="ttya"
# eeprom output_device="ttya"
# eeprom ttya_mode="115200,8,n,1,-"
3.
Edit /boot/grub/menu.lst and add "-B console=ttya" to the kernel boot line.
Note: Also add "-K" to the kernel boot line which tells Solaris drop into kmdb when a panic occurs.
4.
Edit /boot/grub/menu.lst and add the following two lines near the top:
serial --speed=115200
terminal --timeout=20 serial console
5. uncomment all the splashimage line in the menu.lst
在windows那边,就用超级终端吧,找好自己机器上的串口号,选择好相同的波特率就ok了