linux-ppp.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* PPP on a remote host
@ 2004-06-16 13:49 Sergio
  2004-06-16 14:07 ` James Carlson
  0 siblings, 1 reply; 2+ messages in thread
From: Sergio @ 2004-06-16 13:49 UTC (permalink / raw)
  To: linux-ppp

Hi,
    I'm trying to dial out from a RAS (we say,
using it in the less common way) to a terminal
using PPP.
    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).
    Many thanks
       Sergio




^ permalink raw reply	[flat|nested] 2+ messages in thread

* PPP on a remote host
  2004-06-16 13:49 PPP on a remote host Sergio
@ 2004-06-16 14:07 ` James Carlson
  0 siblings, 0 replies; 2+ messages in thread
From: James Carlson @ 2004-06-16 14:07 UTC (permalink / raw)
  To: linux-ppp

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-06-16 14:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-16 13:49 PPP on a remote host Sergio
2004-06-16 14:07 ` James Carlson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).