| From: |
| Rodolfo Giometti <giometti@linux.it> |
| To: |
| linux-kernel@vger.kernel.org |
| Subject: |
| [Ver. 2] Network Virtual Terminal |
| Date: |
| Mon, 10 Jan 2011 14:06:57 +0100 |
| Message-ID: |
| <1294664819-17960-1-git-send-email-giometti@linux.it> |
| Cc: |
| Russell Coker <russell@coker.com.au>,
Greg Kroah-Hartman <gregkh@suse.de>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Randy Dunlap <randy.dunlap@oracle.com> |
| 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
--
CHANGELOG:
Ver. 2:
* typo bugs fixed.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/