Wednesday, January 13, 2010

One Serial Technique For Two Linux Hosts

Let "A" and "B" be Linux hosts.
Let B be the Linux host we want to grab the serial (console) output from.

1) Run a null modem cable between A and B.
2) Added "console=ttyS0,9600" to the boot line of B.
3) cu -l /dev/ttyS0 | tee console-out-from-b.txt from A. (could use minicom too)
4) Reboot B.
5) Console output from B should be visible on A.