连接到串口控制台
Hujiuxiang
・1 分钟阅读
连接到串口控制台
cu -s 9600 -l /dev/ttyS0
游标(调用UNIX )使用串行控制台与另一台计算机(*BSD )建立完整的双工连接,如果你要发送中断信号,它比屏幕更有用,使用游标只键入~#"."
man cu
http://www.openbsd.org/cgi-bin/man.cgiquery=cu&apropos=0&sektion=0&manpath=openbsd current&arch=i386&format=html?
示例输出
$ cu -l /dev/ttyUSB1 -s 9600 # reboot syncing disks... done rebooting Resetting ... Sun Blade 100 (UltraSPARC-IIe), No Keyboard OpenBoot 4.0, 768 MB memory installed, Serial #51173105. Ethernet address 0:3:ba:c:d6:f1, Host ID: 830cd6f1. Rebooting with command: boot Boot device: /pci@1f,0/ide@d/disk@0,0:a File and args: OpenBSD IEEE 1275 Bootblock 1.3 ..>> OpenBSD BOOT 1.4 Trying bsd... Booting /pci@1f,0/ide@d/disk@0,0:a/bsd