User Tools

Site Tools


linux_serial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

linux_serial [2014/11/24 01:14] (current)
0.0.0.0 created
Line 1: Line 1:
 +====== Linux/​Serial ======
  
 +===== VMware =====
 +Add a virtual serial port.
 +  * Set the type to Named Pipe in /tmp/serial
 +  * Set this end to be the server
 +  * Set the other end to be the virtual machine
 +
 +Install the following packages:
 +  * {{Package|direct=yes|net-misc/​socat}}
 +  * {{Package|direct=yes|net-misc/​taylor-uucp}}
 +
 +run socat with:
 +{{Command|<​source lang="​bash">​
 +socat -d -d /tmp/serial PTY:
 +</​source>​}}
 +Look out for which tty the output has been redirected to, eg /dev/pts/0
 +
 +Connect the terminal emulator with:
 +{{Command|<​source lang="​bash">​
 +cu -l /dev/pts/0 -s 38400
 +</​source>​}}
linux_serial.txt · Last modified: 2014/11/24 01:14 by 0.0.0.0