*BSD News Article 53562


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!newsfeed.internetmci.com!news.sprintlink.net!vodka.intele.net!usenet
From: "Chad B. Attermann" <chada@censoft.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: IIJPPP HDLC errors kill ppp process
Date: 28 Oct 1995 21:52:15 GMT
Organization: Century Software, Inc.
Lines: 61
Message-ID: <46u8mg$qeu@vodka.intele.net>
NNTP-Posting-Host: pcchada.censoft.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 1.22 (Windows; I; 32bit)
To: chada@censoft.com


I am very impressed so far with IIJPPP in the FreeBSD 2.0.5 
distribution.  Hats off to the developers.  I have a dedicated dialup 
28.8K connection to my service provider, with routing for a class 'C' 
address.  The redialing on a downed link works great, I can be back 
online in 30 seconds after loosing the connection, automatically!

MY PROBLEM - Looking at the pp.log file, I get the LCP echo messages 
every 10 seconds, and then for no apparent reason, I get HDLC (FCS) 
errors in the log file on about 4 lines, and then the ppp process dies. 
 Below is an excerpt from my ppp.log file:


10-28 07:38:24 [168] IPCP: LayerUp.
10-28 07:38:24 [168]  myaddr = 199.171.255.1  hisaddr = 199.171.231.1
10-28 07:38:24 [168] OsLinkup: 199.171.231.1
write: File exists
10-28 07:38:30 [168] LCP: Received Echo Request (1) state = Opend (9)
10-28 07:38:30 [168] LCP:  SendEchoRep(Opend)
        
.. numerous LCPs deleted ...

10-28 08:48:30 [168] LCP: Received Echo Request (165) state = Opend (9)
10-28 08:48:30 [168] LCP:  SendEchoRep(Opend)
10-28 08:49:06 [168] HDLC errros -> FCS: 1 ADDR: 0 COMD: 0 PROTO: 0
10-28 08:50:06 [168] HDLC errros -> FCS: 32 ADDR: 0 COMD: 0 PROTO: 0
10-28 08:51:07 [168] HDLC errros -> FCS: 34 ADDR: 0 COMD: 0 PROTO: 0
10-28 08:52:08 [168] HDLC errros -> FCS: 4 ADDR: 0 COMD: 0 PROTO: 0
10-28 08:52:08 [168] ** Too many ECHO packets are lost. **
10-28 08:52:08 [168] LCP: LayerDown
10-28 08:52:08 [168] OsLinkdown: 199.171.231.1
10-28 08:52:08 [168] Phase: Terminate
10-28 08:52:08 [168] LCP: SendTerminateReq.
10-28 08:52:08 [168] LCP: state change Opend --> Closing
write: No such process
write: No such process
write: No such process

.. a dozen more 'write: No such process' messages deleted ...

write: No such process
10-28 08:52:10 [168] PPP Terminated.


This is unacceptable on a dedicated link.  If I could get the ppp to 
just disconnect and redial, that would be sufficient.  Better yet, if 
anybody could explain to me what they think could be causing the HDLC 
errors, that would be great!

In addition, I get a message from syslog after about 2 minutes of 
botting the machine and running ppp that says "routed[47]: deleting 
route to interface tun0 (timed out).  This may have something to do 
with the above problem, and in any case does not seem right.

Any help, or pointers to better documentation on IIJPPP and ppp in 
general, would be greatly appreciated.


Chad Attermann