From: tony.chamberlain@lemko.com
To: linux-ppp@vger.kernel.org
Subject: pty
Date: Wed, 28 Oct 2009 19:08:02 +0000 [thread overview]
Message-ID: <W5658327625161531256756882@webmail25> (raw)
This is somewhat different from my other question and is on a different
system and of course the person who developed it left.
There is a mobile phone which connects to a CDMA BTS and then from there
to a Linux machine. A process called pdsn is running on the linux machine
and detects when the mobile phone calls. It then spawns a process with
a bunch of parameters (port, ip, etc) like this
pppd pty 'ppp_relay -p port -a address ...'
So pppd uses ppp_relay (which is also something he wrote) to handle the
ppp stuff.
Now this worked on Red Hat 9 but there seems to be a problem on CentOS 4.5.
From what I can tell, ppp_relay receives a TCP port number (I guess from
pdsn?) and tries to communicate to the pppd process through this port.
It sends a message but never gets a response.
I am curious how the pppd pty process (in this case ppp_relay) communicates
to pppd? We did a netstat and found pppd but no TCP nor UDP ports were
associated with it. It was just a UNIX-type process.
Is ppp_relay attempting to talk through a port when it should be using
some kind of Linux message?
next reply other threads:[~2009-10-28 19:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-28 19:08 tony.chamberlain [this message]
2009-10-28 19:43 ` pty Charlie Brady
2009-10-28 20:20 ` pty James Carlson
2009-10-28 20:23 ` pty Bill Unruh
2009-10-28 22:48 ` pty tony.chamberlain
2009-10-28 23:38 ` pty James Carlson
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=W5658327625161531256756882@webmail25 \
--to=tony.chamberlain@lemko.com \
--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