Dial up to Rogers with GL6100


#1

Hi,

I want to establish a ppp connection to Rogers using an AirLink GL6100 modem and Linux.
I have configured my chayt script to initiate the transfer and it all looks good so far, only once the serial connection is established, I get some weird messages and my modem hangs up:

Jul 11 00:13:15 E10_semiosOffice local2.info chat[4107]: send (ATDT*99#^M)
Jul 11 00:13:16 E10_semiosOffice local2.info chat[4107]: send (CONNECT^M)
Jul 11 00:13:16 E10_semiosOffice daemon.debug pppd[4103]: Script /usr/sbin/chat -v -t6 -f /etc/ppp/peers/rogers_chat finished (pid 4106), status = 0x0
Jul 11 00:13:16 E10_semiosOffice daemon.info pppd[4103]: Serial connection established.
Jul 11 00:13:16 E10_semiosOffice daemon.debug pppd[4103]: using channel 18
Jul 11 00:13:16 E10_semiosOffice daemon.info pppd[4103]: Using interface ppp0
Jul 11 00:13:16 E10_semiosOffice daemon.notice pppd[4103]: Connect: ppp0 <--> /dev/ttyUSB0
Jul 11 00:13:17 E10_semiosOffice daemon.debug pppd[4103]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x295054d0> <pcomp> <accomp>]
Jul 11 00:13:20 E10_semiosOffice daemon.debug pppd[4103]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x295054d0> <pcomp> <accomp>]
Jul 11 00:13:23 E10_semiosOffice daemon.debug pppd[4103]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x295054d0> <pcomp> <accomp>]
Jul 11 00:13:26 E10_semiosOffice daemon.debug pppd[4103]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x295054d0> <pcomp> <accomp>]
Jul 11 00:13:29 E10_semiosOffice daemon.debug pppd[4103]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x295054d0> <pcomp> <accomp>]
Jul 11 00:13:32 E10_semiosOffice daemon.debug pppd[4103]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x295054d0> <pcomp> <accomp>]
Jul 11 00:13:35 E10_semiosOffice daemon.debug pppd[4103]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x295054d0> <pcomp> <accomp>]
Jul 11 00:13:38 E10_semiosOffice daemon.debug pppd[4103]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x295054d0> <pcomp> <accomp>]
Jul 11 00:13:41 E10_semiosOffice daemon.debug pppd[4103]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x295054d0> <pcomp> <accomp>]
Jul 11 00:13:44 E10_semiosOffice daemon.debug pppd[4103]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x295054d0> <pcomp> <accomp>]
Jul 11 00:13:47 E10_semiosOffice daemon.warn pppd[4103]: LCP: timeout sending Config-Requests
Jul 11 00:13:47 E10_semiosOffice daemon.notice pppd[4103]: Connection terminated.
Jul 11 00:13:48 E10_semiosOffice daemon.notice pppd[4103]: Modem hangup
Jul 11 00:13:48 E10_semiosOffice daemon.info pppd[4103]: Exit.

What do these LCP ConfReq messages mean? How do I get my connection established succesfully?
Any hints, suggestions or advice would be greatly appreciated!

Thank you!

BTW, my chat script:

ABORT' 'BUSY'
'ABORT' 'ERROR'
'ABORT' 'NO ANSWER'
'ABORT' 'NO CARRIER'
'ABORT' 'NO DIALTONE'
'' 'AT'
'OK' 'AT&FE0V1X1&D2&C1S0=0'
'OK' 'AT'
'OK' 'ATS0=0'
'OK' 'AT'
'OK' 'AT&FE0V1X1&D2&C1S0=0'
'OK' 'AT'
'OK' 'AT+CGDCONT=1,"IP","vpn.com"'
'OK' 'AT'
'OK' 'ATDT*99#'
'' 'CONNECT'

#2

Ok,

I found that document on the sierra wireless website that contains all the AT commands supported + description. I followed the sample of activating an IP PDP context and they simply use a string like
AT+CGDCONT=1,“IP”,“internet”;+CGDCONT=2,“IP”,“vpn.com before dialing ‘ATD99**1#’. So i put my chat script together like this, invoked it but still have not been able to connect, I get the following in syslog:

Jul 11 19:59:38 E10_semiosOffice daemon.notice pppd[1204]: pppd 2.4.5 started by root, uid 0
Jul 11 19:59:39 E10_semiosOffice local2.info chat[1208]: abort on (BUSY)
Jul 11 19:59:39 E10_semiosOffice local2.info chat[1208]: abort on (ERROR)
Jul 11 19:59:39 E10_semiosOffice local2.info chat[1208]: abort on (NO ANSWER)
Jul 11 19:59:39 E10_semiosOffice local2.info chat[1208]: abort on (NO DIALTONE)
Jul 11 19:59:39 E10_semiosOffice local2.info chat[1208]: abort on (NO CARRIER)
Jul 11 19:59:39 E10_semiosOffice local2.info chat[1208]: send (AT^M)
Jul 11 19:59:39 E10_semiosOffice local2.info chat[1208]: expect (OK)
Jul 11 19:59:39 E10_semiosOffice local2.info chat[1208]: AT^M^M
Jul 11 19:59:39 E10_semiosOffice local2.info chat[1208]: OK
Jul 11 19:59:39 E10_semiosOffice local2.info chat[1208]:  -- got it
Jul 11 19:59:39 E10_semiosOffice local2.info chat[1208]: send (AT+CGDCONT=1,"IP","internet";+CGDCONT=2,"IP","vpn.com"^M)
Jul 11 19:59:40 E10_semiosOffice local2.info chat[1208]: expect (OK)
Jul 11 19:59:40 E10_semiosOffice local2.info chat[1208]: ^M
Jul 11 19:59:40 E10_semiosOffice local2.info chat[1208]: AT+CGDCONT=1,"IP","internet";+CGDCONT=2,"IP","vpn.com"^M^M
Jul 11 19:59:40 E10_semiosOffice local2.info chat[1208]: OK
Jul 11 19:59:40 E10_semiosOffice local2.info chat[1208]:  -- got it
Jul 11 19:59:40 E10_semiosOffice local2.info chat[1208]: send (ATD*99***1#^M)
Jul 11 19:59:40 E10_semiosOffice local2.info chat[1208]: expect (CONNECT)
Jul 11 19:59:40 E10_semiosOffice local2.info chat[1208]: ^M
Jul 11 19:59:40 E10_semiosOffice local2.info chat[1208]: ATD*99***1#^M^M
Jul 11 19:59:40 E10_semiosOffice local2.info chat[1208]: CONNECT
Jul 11 19:59:40 E10_semiosOffice local2.info chat[1208]:  -- got it
Jul 11 19:59:40 E10_semiosOffice local2.info chat[1208]: send (\d)
Jul 11 19:59:41 E10_semiosOffice daemon.debug pppd[1204]: Script /usr/sbin/chat -v -t6 -f /etc/ppp/peers/rogers_chat finished (pid 1207), status = 0x0
Jul 11 19:59:41 E10_semiosOffice daemon.info pppd[1204]: Serial connection established.
Jul 11 19:59:41 E10_semiosOffice daemon.debug pppd[1204]: using channel 20
Jul 11 19:59:41 E10_semiosOffice daemon.info pppd[1204]: Using interface ppp0
Jul 11 19:59:41 E10_semiosOffice daemon.notice pppd[1204]: Connect: ppp0 <--> /dev/ttyUSB0
Jul 11 19:59:42 E10_semiosOffice daemon.debug pppd[1204]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xfd5d2e4e> <pcomp> <accomp>]
Jul 11 19:59:42 E10_semiosOffice daemon.debug pppd[1204]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0xfd5d2e4e> <pcomp> <accomp>]
Jul 11 19:59:43 E10_semiosOffice daemon.debug pppd[1204]: rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0x0> <magic 0x0> <pcomp> <accomp> <auth pap>]
Jul 11 19:59:43 E10_semiosOffice daemon.debug pppd[1204]: No auth is possible
Jul 11 19:59:43 E10_semiosOffice daemon.debug pppd[1204]: sent [LCP ConfRej id=0x1 <auth pap>]
Jul 11 19:59:43 E10_semiosOffice daemon.debug pppd[1204]: rcvd [LCP ConfReq id=0x2 <mru 1500> <asyncmap 0x0> <magic 0x0> <pcomp> <accomp>]
Jul 11 19:59:43 E10_semiosOffice daemon.debug pppd[1204]: sent [LCP ConfAck id=0x2 <mru 1500> <asyncmap 0x0> <magic 0x0> <pcomp> <accomp>]
Jul 11 19:59:43 E10_semiosOffice daemon.debug pppd[1204]: sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>]
Jul 11 19:59:43 E10_semiosOffice daemon.debug pppd[1204]: 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 19:59:43 E10_semiosOffice daemon.debug pppd[1204]: rcvd [LCP TermReq id=0x3]
Jul 11 19:59:43 E10_semiosOffice daemon.info pppd[1204]: LCP terminated by peer
Jul 11 19:59:43 E10_semiosOffice daemon.debug pppd[1204]: sent [LCP TermAck id=0x3]
Jul 11 19:59:46 E10_semiosOffice daemon.notice pppd[1204]: Connection terminated.
Jul 11 19:59:47 E10_semiosOffice daemon.notice pppd[1204]: Modem hangup
Jul 11 19:59:47 E10_semiosOffice daemon.info pppd[1204]: Exit.

And I’m wondering why the peer woulds terminate during these LCP chats


#3

Hi,

Are you using correct APN suggested by carrier?

From below, I could not find APN “internet”, but “internet.com”. Please check this link for details:
http://www.rogers.com/web/Rogers.portal?_nfpb=true&_pageLabel=support_results&Ntt=apn&N=4294966681+42+4294965902

thx