Discussion:
LCP terminated by peer
(too old to reply)
swaakaa
2009-07-03 17:40:34 UTC
Permalink
Hi all

can anyone tell from the following log extract why the connection
attempt does fail?

<29>Jul 3 19:40:49 pppd[835]: Connect: ppp0 <--> /dev/ttyACM0
<31>Jul 3 19:40:51 pppd[835]: rcvd [LCP ConfReq id=0x2 <accomp>
<pcomp> <asyncmap 0x0> <magic 0xe2f53b5a>]
<31>Jul 3 19:40:51 pppd[835]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xb210a821> <pcomp> <accomp>]
<31>Jul 3 19:40:51 pppd[835]: sent [LCP ConfAck id=0x2 <accomp>
<pcomp> <asyncmap 0x0> <magic 0xe2f53b5a>]
<31>Jul 3 19:40:51 pppd[835]: rcvd [LCP ConfReq id=0x3 <accomp>
<pcomp> <asyncmap 0x0> <magic 0xe2f53b5a>]
<31>Jul 3 19:40:51 pppd[835]: sent [LCP ConfAck id=0x3 <accomp>
<pcomp> <asyncmap 0x0> <magic 0xe2f53b5a>]
<31>Jul 3 19:40:51 pppd[835]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<magic 0xb210a821> <pcomp> <accomp>]
<31>Jul 3 19:40:51 pppd[835]: sent [LCP EchoReq id=0x0
magic=0xb210a821]
<31>Jul 3 19:40:51 pppd[835]: sent [IPCP ConfReq id=0x1 <addr
0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
<31>Jul 3 19:40:51 pppd[835]: rcvd [LCP EchoRep id=0x0
magic=0xe2f53b5a]
<31>Jul 3 19:40:51 pppd[835]: rcvd [LCP TermReq id=0x1]
<30>Jul 3 19:40:51 pppd[835]: LCP terminated by peer
<31>Jul 3 19:40:51 pppd[835]: sent [LCP TermAck id=0x1]
<30>Jul 3 19:40:51 pppd[835]: Hangup (SIGHUP)
<29>Jul 3 19:40:51 pppd[835]: Modem hangup
<29>Jul 3 19:40:51 pppd[835]: Connection terminated.



Thanks in advance!
swaakaa
Moe Trin
2009-07-04 23:54:47 UTC
Permalink
On Fri, 3 Jul 2009, in the Usenet newsgroup comp.protocols.ppp, in article
<eefec791-3076-4af8-8572-***@24g2000yqm.googlegroups.com>, swaakaa
wrote:

NOTE: Posting from groups.google.com (or some web-forums) dramatically
reduces the chance of your post being seen. Find a real news server.
Post by swaakaa
can anyone tell from the following log extract why the connection
attempt does fail?
<29>Jul 3 19:40:49 pppd[835]: Connect: ppp0 <--> /dev/ttyACM0
<31>Jul 3 19:40:51 pppd[835]: rcvd [LCP ConfReq id=0x2 <accomp>
<pcomp> <asyncmap 0x0> <magic 0xe2f53b5a>]
<31>Jul 3 19:40:51 pppd[835]: sent [LCP ConfReq id=0x1 <asyncmap 0x0>
<magic 0xb210a821> <pcomp> <accomp>]
<31>Jul 3 19:40:51 pppd[835]: sent [LCP ConfAck id=0x2 <accomp>
<pcomp> <asyncmap 0x0> <magic 0xe2f53b5a>]
<31>Jul 3 19:40:51 pppd[835]: rcvd [LCP ConfReq id=0x3 <accomp>
<pcomp> <asyncmap 0x0> <magic 0xe2f53b5a>]
<31>Jul 3 19:40:51 pppd[835]: sent [LCP ConfAck id=0x3 <accomp>
<pcomp> <asyncmap 0x0> <magic 0xe2f53b5a>]
<31>Jul 3 19:40:51 pppd[835]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0>
<magic 0xb210a821> <pcomp> <accomp>]
Not very much for details - Looks like a Linux system with a USB
modem. The LCP negotiations reached an 'open' state
Post by swaakaa
<31>Jul 3 19:40:51 pppd[835]: rcvd [LCP TermReq id=0x1]
<30>Jul 3 19:40:51 pppd[835]: LCP terminated by peer
<31>Jul 3 19:40:51 pppd[835]: sent [LCP TermAck id=0x1]
and the peer shut it down. This is usually the case where something
else important failed, such as authentication. Was there anything
in the logs between Jul 3 19:40:49 and Jul 3 19:40:51? This
extract shows the packet exchanges incrementing nicely, but where is
"rcvd [LCP ConfReq id=0x1" ?

Need more details - what is the peer you are trying to connect to?
What kind of connection is this? As this appears to be Linux, what
application are you using to set up this connection (wvdial, kppp, or
some manual script)?

Old guy

Loading...