carpie / tty0tty

Null modem emulator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tty0tty - linux null modem emulator 
Forked to instance on github since original project is dead.


This is the tty0tty directory tree:

  module         - linux kernel module null-modem
  pts		 - null-modem using ptys (without handshake lines)


pts: 

  When run connect two pseudo-ttys and show the connection names:

  (/dev/pts/1) <=> (/dev/pts/2) 

  the connection is:
  
  TX -> RX
  RX <- TX 	



module:

 The module is tested in kernel 3.2.0

  When loaded, create 8 ttys interconnected:
  /dev/tnt0  <=>  /dev/tnt1 
  /dev/tnt2  <=>  /dev/tnt3 
  /dev/tnt4  <=>  /dev/tnt5 
  /dev/tnt6  <=>  /dev/tnt7 

  the connection is:
  
  TX   ->  RX
  RX   <-  TX 	
  RTS  ->  CTS
  CTS  <-  RTS
  DSR  <-  DTR
  CD   <-  DTR
  DTR  ->  DSR
  DTR  ->  CD
  

Requirements:

  for module build is necessary kernel-headers or kernel source
  ( in debian use apt-get install linux-image-2.6.26-2-amd64 for example)


About

Null modem emulator

License:GNU General Public License v2.0


Languages

Language:C 100.0%