From: "Miguel-Munoz" <miguelmunoz@sepsa.es>
To: linux-ppp@vger.kernel.org
Subject: Re: Multiple I/O on a serial device
Date: Wed, 15 Sep 2004 13:05:43 +0000 [thread overview]
Message-ID: <003e01c49b24$edc0a5d0$08330680@sepsa.es> (raw)
In-Reply-To: <41483B26.7040708@alphalink.fr>
Hi,
Now, I´m just trying to do something like this.
Somebody told me that you can use PTYs (pseudo terminals).
You can look in man: "openpty" and "forkpty".
The question is to do a simple task that create a pseudo-terminal.
This PTY is like a pipe; on one end you see the pipe, and on
the other you see a virtual ttySxx, where you can attach pppd.
After this, the new task can read from the other end and
decide if put the data to a real ttySxx.
Please, if you are suceed on it, let me know.
Miguel
----- Original Message -----
From: "Nicolas Olivier" <nolivier@alphalink.fr>
To: <linux-ppp@vger.kernel.org>
Sent: Wednesday, September 15, 2004 2:52 PM
Subject: Multiple I/O on a serial device
>
> Hello,
>
> I'm trying to setup multiple instances of locals ppp in order to test a
L2TP daemon.
> The problem, is that once ppp sets up the line discipline nothing can be
read from or
> written to the associated serial device. So I was wondering if there was
an easy way
> to do multiple I/O on a serial, or maybe "link" I/O of two serials.
> If anyone has suggestions, it would be greatly appreciated.
>
> Nicolas Olivier
> -
> To unsubscribe from this list: send the line "unsubscribe linux-ppp" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2004-09-15 13:05 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-15 12:52 Multiple I/O on a serial device Nicolas Olivier
2004-09-15 13:05 ` Miguel-Munoz [this message]
2004-09-16 7:45 ` James Chapman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='003e01c49b24$edc0a5d0$08330680@sepsa.es' \
--to=miguelmunoz@sepsa.es \
--cc=linux-ppp@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox