Hi Ron
On Wednesday 11 July 2012 17:30, in comp.protocols.ppp,
ronDOT...@tscheemail.com wrote:
> Hi There,
>
> I'm attempting to dial up to the GSM network from Rogers Wireless
> (Canada) with a gsm modem from sierra wireless, type GL6100 using pppd.
> I wrote a chat script that seems to work well and do the required until
> I get the CONNECT message from my apn. I get following messages in
> syslog:
From the log below, the short answer is that Rogers wants your end to send a
PAP authentication (userid, password), and your end refuses. Without
authentication, Rogers won't let you on to their network, and hangs up on
you.
Fix your pap.secrets file so that it contains the proper authentication, and
make sure that you have authentication enabled on your pppd config.
> 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
OK, your system is in communication with rogers
[snip]
> Jul 11 21:22:08 E10_semiosOffice daemon.debug pppd[1236]: sent [LCP
> ConfReq id=0x1 <asyncmap 0x0> <magic 0x85f3960> <pcomp> <accomp>]
You send a request for certain configuration values
> Jul 11 21:22:08 E10_semiosOffice daemon.debug pppd[1236]: rcvd [LCP
> ConfAck id=0x1 <asyncmap 0x0> <magic 0x85f3960> <pcomp> <accomp>]
Rogers agrees
> 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>]
Rogers sends a request for PAP authentication (among other things)
> Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[> 1236]: No auth is
> possible
Your setup doesn't think that this is possible
> Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: sent [LCP
> ConfRej id=0x1 <auth pap>]
You reject PAP authentication.
> Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: rcvd [LCP
> ConfReq id=0x2 <mru 1500> <asyncmap 0x0> <magic 0x0> <pcomp> <accomp>]
Rogers wants the rest of the config
> Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: sent [LCP
> ConfAck id=0x2 <mru 1500> <asyncmap 0x0> <magic 0x0> <pcomp> <accomp>]
You agree to the rest of the config
> Jul 11 21:22:09 E10_semiosOffice daemon.debug pppd[1236]: sent [CCP
> ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
You request more config values
> 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]
Rogers gives up and says goodbye
> 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]
You acknowledge that Rogers said goodbye
> Jul 11 21:22:09 E10_semiosOffice daemon.notice pppd[1236]: Modem hangup
> Jul 11 21:22:09 E10_semiosOffice daemon.notice pppd[1236]: Connection
> terminated.
> Jul 11 21:22:10 E10_semiosOffice
daemon.info pppd[1236]: Exit.
And you are gone.
> Why is this? Why do I get disconnected from my peer
because you refused to authenticate, and Rogers wont proceed without
authentication
> and why does it say "LCP terminated by peer"?
because Rogers won't let you continue without authenticating to them via
PAP. Since your side refused authentication, Rogers refuses your connection
and hangs up on you.
> Thank you for any hints or suggestions!
Fix your setup so that it authenticates via PAP with Rogers.
--
Lew Pitcher
"In Skills, We Trust"