[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: PPP Connection using Null modem



On Wed, 28 Jul 1999 ekuiperba@xxxxxxxxxxxxxxxx wrote:

> >   We have two linux boxes, X and Y. They are connected to each other over
> > the parallel n/w as IPs IP-X and IP-Y. We want to connect them using PPP
> > via NULL modem cable.
> > 
> > 1. What are the scripts that should be run and in what order?
> 
> This should be quiet simple (if you know what you are doing). First use
> minicom to check that characters you type are actually communicated over
> the link. NOTE that you cannot get any further until this works. Once this
> works allocate both sides of the cable an IP on the same subnet (should be
> different from the ethernet subnet) eg 10.1.5.1 and 10.1.5.2. Then run
> 
> pppd <serial port> <speed> 10.1.5.1:10.1.5.2

You might also want the 'local' and 'crtscts' options (crtscts presumes
this is a cable with hardware handshaking). 

> and the other side before the first pppd gives up:
> 
> pppd <serial port> <speed>

Also 'local' and 'crtscts'.

> > 2. How do we verify that our computer is fit for a PPP connection?
> 
> Simple: If the serial ports are 16650A's (reported at boot up) you should
> be safe to use speeds of at least 115200. If they are anything else, It is
> probably unwise to use anything more than 9600 bps.

In the latter case, you could probably push it to 19,200 bps safely.  In
either case, you would benefit from having the software compression
modules ('deflate' or 'bsdcomp') configured and available on both ends.

The above presumes only point-to-point communication.  If one end wants to
connect to an ethernet network on the other machine, you will also need
'proxyarp' on the networked peer and 'defaultroute' on the standalone 
peer.

Geof Goodrum
Voice: +1-301-457-5100
Email: Geoffrey.P.Goodrum@xxxxxxxx


- --------------------------------------------------------------------
For more information on Linux in India visit http://www.linux-india.org/
The Linux India mailing list does not accept postings in HTML format.

------------------------------