[1100] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: LAP Link serial cable for PPP?

daemon@ATHENA.MIT.EDU (Louis Frayser)
Thu Sep 14 18:56:15 1995

Date: Wed, 13 Sep 1995 21:12:10 -0700 (PDT)
From: Louis Frayser <frayser@earthlink.net>
To: dkim@infi.net
Cc: linux-ppp@vger.rutgers.edu, linux-net@vger.rutgers.edu
In-Reply-To: <9509131741.AA1298@TS8DDKK.bestprod.com>


On Wed, 13 Sep 1995 dkim@ts8ddkk.bestprod.com wrote:

> Has anyone used LAP link serial cable for Linux PPP
> connection to another Linux?
> 
> Any info on which "over the counter" cable works best for 
> the PPP connection would be appreciated.
> 
> 

I have never used pppd without a modem, but I don't see why a null modem
cable wouldn't work.

You didn't say if you were having problems, or if you were just looking
for information in advance.  There is a Serial-HOTTO file, probably in
/usr/doc that should explain how to make the cable.


You may also wan't to consider a parallel connection.  There's PLIP
which is probably faster.  I've never used PLIP so I can't say how easy it
is to set up.

--
Here is part of the Serial doc:

8.1 Hardware requirements 

Make sure you have the right kind of cable. A null modem cable bought at a computer store will do it. But it must
be a null modem cable! Make sure you are using your serial port, the male DB25 or the DB9, and not your parallel
port.

At a minimum, you should have (for a DB25 connector): 

        TxD   Transmit Data         2 - 3       RxD   Receive Data
        RxD   Receive Data          3 - 2       TxD   Transmit Data
        SG    Signal Ground         7 - 7       SGD   Signal Ground

If you want to have hardware handshaking signals, you must have a full null modem cable: 

        FG    Frame Ground          1 - 1       FG    Frame Ground
        TxD   Transmit Data         2 - 3       RxD   Receive Data
        RxD   Receive Data          3 - 2       TxD   Transmit Data
        RTS   Request To Send       4 - 5       CTS   Clear To Send     
        CTS   Clear To Send         5 - 4       RTS   Request To Send 
        DSR   Data Set Ready        6 - 20      DTR   Data Terminal Ready
        SG    Signal Ground         7 - 7       SG    Signal Ground
        DCD   Carrier Detect        8 - 20      DTR   Data Terminal Ready
        DTR   Data Terminal Ready  20 - 6       DSR   Data Set Ready
        DTR   Data Terminal Ready  20 - 8       DCD   Carrier Detect

If you have a DB9 connector on your serial port, try the following: 

                                  DB9   DB25 
        RxD   Receive Data          2 - 2       TxD   Transmit Data
        TxD   Transmit Data         3 - 3       RxD   Receive Data
        SG    Signal Ground         5 - 7       SG    Signal Ground

Alternatively, a full DB9-DB25 null modem cable: 

                                  DB9   DB25 
        DCD   Carrier Detect        1 - 20      DTR   Data Terminal Ready
        RxD   Receive Data          2 - 2       TxD   Transmit Data
        TxD   Transmit Data         3 - 3       RxD   Receive Data
        DTR   Data Terminal Ready   4 - 6       DSR   Data Set Ready
        DTR   Data Terminal Ready   4 - 8       DCD   Carrier Detect
        SG    Signal Ground         5 - 7       SG    Signal Ground
        DSR   Data Set Ready        6 - 20      DTR   Data Terminal Ready
        RTS   Request To Send       7 - 5       CTS   Clear To Send
        CTS   Clear To Send         8 - 4       RTS   Request To Send
        (RI    Ring Indicator       9 - 22      RI    Ring Indicator)

If you are not using a full null modem cable, you might have to do the following trick: on each side of the
connector, connect RTS and CTS together, and also connect DSR, DCD and DTR together. This way, when the
computer or terminal wants a certain handshaking signal, it will get it (from itself).

Now that you have the right kind of cable, connect your terminal to your computer. If you can, tell you terminal to
ignore modem control signals. Try using 9600 bps, 8 data bits, 1 stop bit, no parity bits for the terminal's setup.

-Louis

> 
> Daniel K. Kim
> Sr Systems Programmer
> Best Products Company, Inc.
> 1400 Best Plaza
> Richmond Virginia 23227
> 804/261-6185 (Voice)
> 804/261-2932 (Fax)
> 
> 
> 
> 

+--------------------------------+-------------------------------------+
| mailto:frayser@earthlink.net   |  http://www.earthlink.net/~frayser  |
|        frayser@aol.com         |                                     |
+--------------------------------+-------------------------------------+

On Wed, 13 Sep 1995 dkim@ts8ddkk.bestprod.com wrote:

> Has anyone used LAP link serial cable for Linux PPP
> connection to another Linux?
> 
> Any info on which "over the counter" cable works best for 
> the PPP connection would be appreciated.
> 
> 
> 
> Daniel K. Kim
> Sr Systems Programmer
> Best Products Company, Inc.
> 1400 Best Plaza
> Richmond Virginia 23227
> 804/261-6185 (Voice)
> 804/261-2932 (Fax)
> 
> 
> 
> 

+--------------------------------+-------------------------------------+
| mailto:frayser@earthlink.net   |  http://www.earthlink.net/~frayser  |
|        frayser@aol.com         |                                     |
+--------------------------------+-------------------------------------+


home help back first fref pref prev next nref lref last post