All of lore.kernel.org
 help / color / mirror / Atom feed
From: cfowler@outpostsentinel.com
To: linux-ppp@vger.kernel.org
Subject: Re: Using an NTS instead of the local serial device ?
Date: Fri, 28 Dec 2007 22:40:32 +0000	[thread overview]
Message-ID: <20071228224032.GH11624@support.opsdc.com> (raw)
In-Reply-To: <14532384.post@talk.nabble.com>

I do not think PPPD can connect to a terminal via the method you tried.
What you need to do is load the Lantronix virtual serial port software on
both servers and setup a pseudo serial port.  Tell pppd to use that instead.
It should work but why not just use the network and create PPPD over an ssh 
ssh tunnel instead of using a terminal server to begin with.  Why
are you using a termianl server anyway?  Can't the machines communicate over
the network?

Also look at OpenVPN and Vtun.  You can create pppd links using
pseudos that way too.

On Fri, Dec 28, 2007 at 02:32:35PM -0800, wotuzu17 wrote:
> 
> Hi folks,
> 
> 
> I just successfully set up a basic ppp link between 2 Ubuntu 7.10 machines.
> 
> 
> 
> The commands look like this:
> 
> 
> me@machine1 $ pppd -detach persist lock proxyarp 192.168.10.1:192.168.10.2
> /dev/ttyS0 38400 &
> 
> 
> me@machine2 $ pppd -detach persist lock defaultroute
> 192.168.10.2:192.168.10.1 /dev/ttyS0 38400 &
> 
> 
> I wonder whether it is posible to use a serial port of an NTS for
> communiction instead of the local serial device /dev/ttyS0 ? I own a
> Lantronix ETS8P, which is a 8-port Network Terminal Server.
> 
> 
> I tried
> 
> me@machine1 $ pppd -detach persist lock proxyarp 192.168.10.1:192.168.10.2
> ip.of.nts:tcpport 38400 &
> 
> 
> without success. 
> 
> As I am new to Linux in general, maybe somebody can give me a hint.
> 
> 
> Thanks
> -- 
> View this message in context: http://www.nabble.com/Using-an-NTS-instead-of-the-local-serial-device---tp14532384p14532384.html
> Sent from the linux-ppp mailing list archive at Nabble.com.
> 
> -
> 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

  reply	other threads:[~2007-12-28 22:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-28 22:32 Using an NTS instead of the local serial device ? wotuzu17
2007-12-28 22:40 ` cfowler [this message]
2007-12-28 23:51 ` Paul Mackerras
2007-12-29  0:03 ` wotuzu17
2007-12-29  0:41 ` wotuzu17
2007-12-29  0:49 ` cfowler
2007-12-29  7:12 ` Paul Mackerras
2008-01-02 17:44 ` 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=20071228224032.GH11624@support.opsdc.com \
    --to=cfowler@outpostsentinel.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.