Discussion:
LCP terminated by peer
(too old to reply)
Ron Eggler
2012-07-11 21:21:12 UTC
Permalink
Hi There,

I'm trying to dial up to the GSM network from Rogers (Canada).
I gewt the proper AT handshake and stuff going and connected but then there's some LCP messages going back and forth beeforee I'm dropped off the network with a message 'LCP terminated by peer'.
This is from my syslog:
Jul 11 21:22:06 E10_semiosOffice local2.info chat[1240]: send (ATD*99***1#^M)
Jul 11 21:22:06 E10_semiosOffice local2.info chat[1240]: expect (CONNECT)
Jul 11 21:22:06 E10_semiosOffice local2.info chat[1240]: ^M
Jul 11 21:22:06 E10_semiosOffice local2.info chat[1240]: ATD*99***1#^M^M
Jul 11 21:22:06 E10_semiosOffice local2.info chat[1240]: CONNECT
Jul 11 21:22:06 E10_semiosOffice local2.info chat[1240]: -- got it
Jul 11 21:22:06 E10_semiosOffice local2.info chat[1240]: send (\d)
Jul 11 21:22:07 E10_semiosOffice daemon.debug pppd[1236]: Script /usr/sbin/chat -v -t6 -f /etc/ppp/peers/rogers_chat finished (pid 1239), status = 0x0
Jul 11 21:22:07 E10_semiosOffice daemon.info pppd[1236]: Serial connection established.
Jul 11 21:22:07 E10_semiosOffice daemon.debug pppd[1236]: using channel 25
Jul 11 21:22:07 E10_semiosOffice daemon.info pppd[1236]: Using interface ppp0
Jul 11 21:22:07 E10_semiosOffice daemon.notice pppd[1236]: Connect: ppp0 <--> /dev/ttyUSB0
Jul 11 21:22:08 E10_semiosOffice daemon.debug pppd[1236]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x85f3960> <pcomp> <accomp>]
Jul 11 21:22:08 E10_semiosOffice daemon.debug pppd[1236]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x85f3960> <pcomp> <accomp>]
Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <magic 0x0> <pcomp> <accomp> <auth pap>]
Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: No auth is possible
Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: sent [LCP ConfRej id=0x1 <auth pap>]
Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: rcvd [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0x0> <magic 0x0> <pcomp> <accomp>]
Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: sent [LCP ConfAck id=0x2 <mru 1500> <asyncmap 0x0> <magic 0x0> <pcomp> <accomp>]
Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>]
Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: rcvd [LCP TermReq id=0x3]
Jul 11 21:22:09 E10_semiosOffice daemon.info pppd[1236]: LCP terminated by peer
Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: sent [LCP TermAck id=0x3]
Jul 11 21:22:09 E10_semiosOffice daemon.notice pppd[1236]: Modem hangup

Btw, my modem is a sierra wireless GL6100. please advise what i can do to get my connection up and running properly.

Thank you,
Ron
James Carlson
2012-08-14 12:57:33 UTC
Permalink
Post by Ron Eggler
I gewt the proper AT handshake and stuff going and connected but then there's some LCP messages going back and forth beeforee I'm dropped off the network with a message 'LCP terminated by peer'.
Sorry about the long delay in replying; I just noticed this posting.
Post by Ron Eggler
Jul 11 21:22:08 E10_semiosOffice daemon.debug pppd[1236]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x85f3960> <pcomp> <accomp>]
Jul 11 21:22:08 E10_semiosOffice daemon.debug pppd[1236]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x85f3960> <pcomp> <accomp>]
Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <magic 0x0> <pcomp> <accomp> <auth pap>]
Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: No auth is possible
That's the key information. The peer is asking you to identify yourself
with PAP (simple user name / password), and you're refusing to do so,
probably due to a local configuration problem.
Post by Ron Eggler
Btw, my modem is a sierra wireless GL6100. please advise what i can do to get my connection up and running properly.
Assuming you know that you should be using PAP with this provider (seems
likely to me), add this to your pppd configuration:

user yourname

replacing "yourname" with your user name with that provider. Then add a
line like the following to your /etc/ppp/pap-secrets file:

yourname * "your password"

Again, make the appropriate substitutions. The first column is your
user name as expected by that peer. The second column is the name of
that remote system; it's immaterial, so just use "*". The third column
is your password or pass phrase. It should normally be quoted.
--
James Carlson 42.703N 71.076W <***@workingcode.com>
Loading...