All of lore.kernel.org
 help / color / mirror / Atom feed
From: James Carlson <carlsonj@carlson.workingcode.com>
To: linux-ppp@vger.kernel.org
Subject: PPP on a remote host
Date: Wed, 16 Jun 2004 14:07:42 +0000	[thread overview]
Message-ID: <16592.21550.519288.475021@carlson.workingcode.com> (raw)
In-Reply-To: <58134.200.47.10.229.1087393775.squirrel@correo2.fceia.unr.edu.ar>

Sergio writes:
 >     I'm trying to dial out from a RAS (we say,
 > using it in the less common way) to a terminal
 > using PPP.

What brand of RAS device is this?  Most RAS implementations have a
built-in PPP dial-out capability.  If at all possible, I recommend
using that rather than putting something together with telnet.

 >     The tool I have in the RAS to see the modem
 > is a reverse telnet to it. If I do
 > 
 > telnet some-ip some-line-number
 > 
 > I can write commands to the modem directly (if
 > I type AT, I see OK in the screen). I can dial
 > out manually (using ATDT), but I don't know how to
 > run ppp for a remote port (so, obviously, connection
 > fails).

If you can't use the local PPP dial-out on that RAS box for some
reason, then the next best thing would be to use a raw TCP connection
to the serial port, not telnet.  Most RAS implementations have two
ranges of of TCP ports -- one range speaks telnet protocol, and the
other gives raw (binary) access to the serial port.  If you use the
latter, you can use the "socket host:port" option in pppd to connect
to the serial port.  Otherwise, you'll need to use the 'pty' option
and run telnet under pppd.

      reply	other threads:[~2004-06-16 14:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-16 13:49 PPP on a remote host Sergio
2004-06-16 14:07 ` James Carlson [this message]

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=16592.21550.519288.475021@carlson.workingcode.com \
    --to=carlsonj@carlson.workingcode.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.