[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LCP EchoReq over and over again



On Sat, 27 Feb 1999, Luiz Otavio L. Zorzella wrote:

> I'm having this problem for quite some time. I keep on seeing this
> message about "LCP EchoReq" on /var/log:
 
> Feb 26 06:35:12 localhost pppd[23168]: sent [LCP EchoReq id=0x4e magic=0x30c5fb97]
> Feb 26 06:35:12 localhost pppd[23168]: rcvd [LCP EchoRep id=0x4e magic=0x91dc4c0d]
> Feb 26 06:35:42 localhost pppd[23168]: sent [LCP EchoReq id=0x4f magic=0x30c5fb97]
> Feb 26 06:35:42 localhost pppd[23168]: rcvd [LCP EchoRep id=0x4f magic=0x91dc4c0d]

<many similar entries deleted>

> As you see, it happens once every minute.
 
> Is this a problem? How can I make it stop?

It is not a problem.  It is caused by the ppd on your end checking to make
sure the other end is still alive. I used to do similar checking when I
was using Linux boxes as terminal servers.  It was right handy because I
could use the lcp-echo-failure command to determine whether the PPPD was
talking to another computer or a modem with a stuck DCD bit.  (I had to
stop because of occasional problems with magic number negotiation.  I
don't recall the circumstances better than this.)

I don't know if this works (and, no offense, but I'm not going to dig
through the source for pppd to find out---do it yourself if you're of a
mind to) but I would suspect that setting the "lcp-echo-interval" value to
0 might turn it off.  According to the man page (you did read the man page
for pppd, didn't you?) lcp-echo-interval sets the interval between echo
requests if no other traffic is on the line.  It apparently defaults to 60
on your machine.
-- 
Jonathan Guthrie (jguthrie@brokersys.com)
Brokersys  +281-895-8101   http://www.brokersys.com/
12703 Veterans Memorial #106, Houston, TX  77014, USA


Reply to: