| From: |
| Rodolfo Giometti <giometti@linux.it> |
| To: |
| linux-kernel@vger.kernel.org |
| Subject: |
| Network Virtual Terminal |
| Date: |
| Mon, 3 Jan 2011 16:15:34 +0100 |
| Message-ID: |
| <1294067735-21466-1-git-send-email-giometti@linux.it> |
| Cc: |
| Russell Coker <russell@coker.com.au>,
Greg Kroah-Hartman <gregkh@suse.de> |
| Archive-link: |
| Article, Thread
|
Hello,
here my implementation of Network Virtual terminals (NVT tty)
according to RFC 854 and RFC 2217... actually this is the client side
part since as remote server I used sredird
(http://freshmeat.net/projects/sredird/).
I tested the code under the following configuration:
------------------+
+---------+ |
| minicom | |
+---------+ |
| | local PC with no
v | serial ports
/dev/nvtty0 |
| |
------------------+
|
v
/\/\/\/\/\
| network |
\/\/\/\/\/
|
------------------+
| |
v |
+---------+ |
| sredird | |
+---------+ | remote PC with
| | serial ports
v |
/dev/ttyS0 |
| |
------------------+
|
v
embedded PC with
a serial console
however it could work on a different schema I suppose.
By using minicom I can setup the serial settings of the /dev/ttyS0
device through the /dev/nvtty0 virtual device, then the communication
with the embedded PC can start as if it was directly connected with my
local machine.
Ciao,
Rodolfo