PPP leased line loopback problem, etal

PPP leased line loopback problem, etal

Post by Hans Grobl » Fri, 30 Jun 1995 04:00:00



Hi fellow Linuxers,

I have been trying to get a PPP connection to a ISP via a LEASED LINE.
It worked for a week at one stage and then just died (no idea why). I
have been unable to get it going again (tried so many things I can't
remember how I got it going in the first place).

After many attempts there appears to be two problem cases.

Could someone *please* give me a clue to what I'm doing wrong? Thanks!
                       (background info given at end)

Problem description:
~~~~~~~~~~~~~~~~~~~~

  a) pppd daemon started. modems negotiate successfully. log file:

     Jun 27 09:58:15 logos pppd[916]: pppd 2.1.2 started by root, uid 0
     Jun 27 09:58:15 logos pppd[916]: set kernel debugging level to 2
     Jun 27 09:58:15 logos pppd[916]: Using interface ppp1
     Jun 27 09:58:15 logos pppd[916]: Connect: ppp1 <--> /dev/cub3

     stops dead here. nothing further happens for a while until ISP router
     resets modem on other side. Cause?

  Sometimes it goes further:

  b) pppd daemon started. packets transfered. log files indicate magic
     number gets NAK'ed every time. log file:

    Jun 27 10:00:10 logos pppd[924]: pppd 2.1.2 started by root, uid 0
    Jun 27 10:00:10 logos pppd[924]: Using interface ppp1
    Jun 27 10:00:10 logos pppd[924]: Connect: ppp1 <--> /dev/cub3
    Jun 27 10:00:10 logos pppd[924]: fsm_sdata(LCP): Sent code 1, id 1.
    Jun 27 10:00:10 logos pppd[924]: LCP: sending Configure-Request, id 1
    Jun 27 10:00:13 logos pppd[924]: fsm_sdata(LCP): Sent code 1, id 1.
    Jun 27 10:00:13 logos pppd[924]: LCP: sending Configure-Request, id 1
    Jun 27 10:00:16 logos pppd[924]: fsm_sdata(LCP): Sent code 1, id 1.
    Jun 27 10:00:16 logos pppd[924]: LCP: sending Configure-Request, id 1
    Jun 27 10:00:19 logos pppd[924]: fsm_sdata(LCP): Sent code 1, id 1.
    Jun 27 10:00:19 logos pppd[924]: LCP: sending Configure-Request, id 1
    Jun 27 10:00:19 logos pppd[924]: fsm_rconfreq(LCP): Rcvd id 1.
    Jun 27 10:00:19 logos pppd[924]: lcp_reqci: rcvd MRU
    Jun 27 10:00:19 logos pppd[924]: (1500)
    Jun 27 10:00:19 logos pppd[924]:  (ACK)
    Jun 27 10:00:19 logos pppd[924]: lcp_reqci: rcvd MAGICNUMBER
    Jun 27 10:00:19 logos pppd[924]: (2821a392)
    Jun 27 10:00:19 logos pppd[924]:  (NAK)
    Jun 27 10:00:19 logos pppd[924]: lcp_reqci: rcvd PCOMPRESSION
    Jun 27 10:00:19 logos pppd[924]:  (ACK)
    Jun 27 10:00:19 logos pppd[924]: lcp_reqci: rcvd ACCOMPRESSION
    Jun 27 10:00:19 logos pppd[924]:  (ACK)
    Jun 27 10:00:19 logos pppd[924]: lcp_reqci: returning CONFNAK.
    Jun 27 10:00:19 logos pppd[924]: fsm_sdata(LCP): Sent code 3, id 1.
    Jun 27 10:00:19 logos pppd[924]: fsm_rconfnakrej(LCP): Rcvd id 1.
    Jun 27 10:00:19 logos pppd[924]: fsm_sdata(LCP): Sent code 1, id 2.
    Jun 27 10:00:19 logos pppd[924]: LCP: sending Configure-Request, id 2
                          [ ... deleted parts ....]
    Jun 27 10:00:22 logos pppd[924]: lcp_reqci: returning CONFNAK.
    Jun 27 10:00:22 logos pppd[924]: fsm_sdata(LCP): Sent code 3, id 10.
    Jun 27 10:00:22 logos pppd[924]: fsm_rconfnakrej(LCP): Rcvd id 10.
 -> Jun 27 10:00:22 logos pppd[924]: Serial line appears to be looped back.
    Jun 27 10:00:22 logos pppd[924]: fsm_sdata(LCP): Sent code 1, id 11.
    Jun 27 10:00:22 logos pppd[924]: LCP: sending Configure-Request, id 11
                          [ ... deleted parts ....]
    Jun 27 10:00:23 logos pppd[924]: ipcp: up
    Jun 27 10:00:23 logos pppd[924]: local  IP address 196.7.135.129
    Jun 27 10:00:23 logos pppd[924]: remote IP address 196.7.135.129

    Marked line indicates problem. FAQ said something about shell
    loopback (?). how to solve?

Start:
~~~~~~
    /usr/lib/ppp/pppd silent modem crtscts debug defaultroute \
          kdebug 2 196.7.135.129:196.7.0.140 /dev/cub3 38400 \
           ipcp-accept-remote ipcp-accept-local

Things Tried:
~~~~~~~~~~~~~
  a) -vjccomp switch added to pppd command line.
  b) connecting two modems together directly (with cable) and tried terminal
     communication. worked.
  c) variations of silent, passive, etc.

Background Info:
~~~~~~~~~~~~~~~~
a) Hardware:

   HostName: Logos
             Intel PCI 486DX2-66, 16Mb, Adaptec ISA SCSI, 1Gb Seagate SCSI.
             Cyclom Cyclades Y8o (8 port intelegent serial card).
             4 x Intel 14.4 External. (for local dialup access)
             1 x USR 14.4 Sportster External. (for local dialup access)
             1 x USR 28.8 Courier External (for leased line).

             The Courier is the one used for leased line. The others are
             used to provide local dialin access. All the dialin modems work
             perfectly with SLIP and PPP originating from DOS, Windows and
             Linux clients.

   ISP:      Livingston IRX router.

b) Software:
   HostName: Logos
             Linux Slackware 2.2.0.
             Kernels tried: 1.1.59, 1.1.87, 1.1.95, 1.2.0, 1.2.3, 1.2.8, 1.2.9.
             PPP software: ppp-2.1.2a/b/c/d.
             SLIP software: DIP 3.3.7l-uri, slattach v?.

I had a look at: LDP Network Administrators Guide, Usenet PPP FAQ, ppp-2.1.2
docs, personal archive of old Usenet PPP postings.

Thanks again for any help!
Hans.
---
-------------------------------------------------------------------------
Hans Grobler                         | B.Ing (Electronics) IV
Sysop: HBC Internet Computer System  | University of Stellenbosch, SA

=========================================================================

 
 
 

1. Combining leased lines into a super leased line

Hi all

I was struck by a great idea the other day, but I haven't been able to
find any information on it. What I would like to do is combine 2 leased
lines from our Linux RH 4.2 gateway into a super leased line, thus
giving us cheap bandwidth. Eached line has its own static IP number. I
realise that this would obviously involve load balancing software on our
gateway as well as on the ISP.

It seems like a simple idea, has anyone done anything like this? Or am I
missing something fundamental?

Thanks
Mike (still climbing the learning curve :) )

2. WinLinux 2000 beta

3. BIG problem with ppp over leased line.

4. Linux

5. Leased Line and PPP (kernel 1.2.11) connection problem

6. printer config problem - nec superscript

7. Linux PPP & Leased Line problem

8. UUCP file transfer - HELP

9. ppp over leased line problem

10. Linux permanent Line (connection two linux machines over a leased line (permanent telephone line)

11. Leased line and ppp --- no prompt

12. PPP over leased line

13. Using SLIP/PPP over Async Analog Leased LInes, How?