

tty0tty - linux null modem emulator 


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 2.6.26-2 (debian) and kernel 2.6.30

  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)


For e-mail suggestions :  lcgamboa@yahoo.com
