ts-7000
[Top] [All Lists]

[ts-7000] Re: GPRS connection using TS-GSM1

To:
Subject: [ts-7000] Re: GPRS connection using TS-GSM1
From: "naturalwatt" <>
Date: Tue, 06 Nov 2012 19:14:14 -0000

--- In  Thierry <> wrote:
>
> Hi,
> I'm trying to establish a GPRS connection using a TS-GSM1 modem on a
> TS7200 board running 2.4.26-ts11 kernel.
> When using my old TS-GSM1 based on a GR64 wavecom modem, I launch
>  my pppd script and everything just works fine.
> But when I'm using a new TS-GSM1 board based on a Q64 wavecom modem, I
> can't get the connection because the modem is hanging just after the
> IPCP request....  (see logs below)
> Everything is the same except the TS-GSM1 board...
> 
> Any idea ?
> Thierry

You might zoom in on this line:

> Nov  6 12:35:43  pppd[691]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 00
> 1> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
> Nov  6 12:35:43  pppd[691]: rcvd [LCP TermReq id=0x3]
> Nov  6 12:35:43  pppd[691]: LCP terminated by peer


You are requesting VJ compression and getting a NAK, I think.

There is a PPP option to turn that off - I might be barking up the wrong tree, 
but it does ring a bell from a couple of years ago.


>  
> With GR64 :
> Nov  6 07:39:04  pppd[451]: pppd 2.4.3 started by root, uid 0
> Nov  6 07:39:37  chat[454]: abort on (BUSY)
> Nov  6 07:39:37  chat[454]: abort on (VOICE)
> Nov  6 07:39:37  chat[454]: abort on (NO CARRIER)
> Nov  6 07:39:37  chat[454]: abort on (NO DIALTONE)
> Nov  6 07:39:37  chat[454]: abort on (NO DIAL TONE)
> Nov  6 07:39:37  chat[454]: abort on (ERROR)
> Nov  6 07:39:37  chat[454]: send (AT^M)
> Nov  6 07:39:37  chat[454]: expect (OK)
> Nov  6 07:39:37  chat[454]: AT^M^M
> Nov  6 07:39:37  chat[454]: OK
> Nov  6 07:39:37  chat[454]:  -- got it
> Nov  6 07:39:37  chat[454]: send (AT+CGDCONT=1,"IP","websfr"^M)
> Nov  6 07:39:38  chat[454]: expect (OK)
> Nov  6 07:39:38  chat[454]: ^M
> Nov  6 07:39:38  chat[454]: AT+CGDCONT=1,"IP","websfr"^M^M
> Nov  6 07:39:38  chat[454]: OK
> Nov  6 07:39:38  chat[454]:  -- got it
> Nov  6 07:39:38  chat[454]: send (ATDT*99***1#^M)
> Nov  6 07:39:38  chat[454]: expect (CONNECT)
> Nov  6 07:39:38  chat[454]: ^M
> Nov  6 07:39:38  chat[454]: ATDT*99***1#^M^M
> Nov  6 07:39:38  chat[454]: CONNECT
> Nov  6 07:39:38  chat[454]:  -- got it
> Nov  6 07:39:38  chat[454]: send (^M)
> Nov  6 07:39:38  pppd[451]: Serial connection established.
> Nov  6 07:39:38  pppd[451]: using channel 2
> Nov  6 07:39:38  pppd[451]: Using interface ppp0
> Nov  6 07:39:38  pppd[451]: Connect: ppp0 <--> /dev/ttyS3
> Nov  6 07:39:39  pppd[451]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <maa
> gic 0x2761d38b> <pcomp> <accomp>]
> Nov  6 07:39:39  pppd[451]: rcvd [LCP ConfReq id=0x1 <asyncmap 0xa0000>>
>  <auth pap>]
> Nov  6 07:39:39  pppd[451]: No auth is possible
> Nov  6 07:39:39  pppd[451]: sent [LCP ConfRej id=0x1 <auth pap>]
> Nov  6 07:39:39  pppd[451]: rcvd [LCP ConfNak id=0x1 <asyncmap 0xa0000>>
>  ]
> Nov  6 07:39:39  pppd[451]: sent [LCP ConfReq id=0x2 <asyncmap 0xa0000>>
>  <magic 0x2761d38b> <pcomp> <accomp>]
> Nov  6 07:39:39  pppd[451]: rcvd [LCP ConfReq id=0x2 <asyncmap 0xa0000>>
>  <pcomp> <accomp>]
> Nov  6 07:39:39  pppd[451]: sent [LCP ConfAck id=0x2 <asyncmap 0xa0000>>
>  <pcomp> <accomp>]
> Nov  6 07:39:39  pppd[451]: rcvd [LCP ConfAck id=0x2 <asyncmap 0xa0000>>
>  <magic 0x2761d38b> <pcomp> <accomp>]
> Nov  6 07:39:39  pppd[451]: sent [LCP EchoReq id=0x0 magic=0x2761d38b]
> Nov  6 07:39:39  pppd[451]: kernel does not support PPP filtering
> Nov  6 07:39:39  pppd[451]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 00
>  1> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
> Nov  6 07:39:39  pppd[451]: rcvd [IPCP ConfReq id=0x3 <addr 85.102.119..
>  136>]
> Nov  6 07:39:39  pppd[451]: sent [IPCP ConfAck id=0x3 <addr 85.102.119..
>  136>]
> Nov  6 07:39:39  pppd[451]: rcvd [LCP EchoRep id=0x0 magic=0x0 77 88]
> Nov  6 07:39:39  pppd[451]: rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 00
>  1>]
> Nov  6 07:39:39  pppd[451]: sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <mm
>  s-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
> Nov  6 07:39:42  pppd[451]: sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <mm
>  s-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
> Nov  6 07:39:44  pppd[451]: rcvd [IPCP ConfNak id=0x2 <addr 10.26.5.93>>
>  <ms-dns1 172.24.101.211> <ms-dns3 172.24.201.212>]
> Nov  6 07:39:44  pppd[451]: sent [IPCP ConfReq id=0x3 <addr 10.26.5.93>>
>  <ms-dns1 172.24.101.211> <ms-dns3 172.24.201.212>]
> Nov  6 07:39:44  pppd[451]: rcvd [IPCP ConfAck id=0x3 <addr 10.26.5.93>>
>  <ms-dns1 172.24.101.211> <ms-dns3 172.24.201.212>]
> Nov  6 07:39:44  pppd[451]: local  IP address 10.26.5.93
> Nov  6 07:39:44  pppd[451]: remote IP address 85.102.119.136
> Nov  6 07:39:44  pppd[451]: primary   DNS address 172.24.101.211
> Nov  6 07:39:44  pppd[451]: secondary DNS address 172.24.201.212
> Nov  6 07:39:44  pppd[451]: Script /etc/ppp/ip-up started (pid 462)
> Nov  6 07:39:48  pppd[451]: Script /etc/ppp/ip-up finished (pid 462), ss
>  tatus = 0x0
> 
> 
> Here connection is up, I've got IP address and all is fine ....
> 
> 
> 
> Now with the Q64 :
> Nov  6 12:35:38  pppd[691]: pppd 2.4.3 started by root, uid 0
> Nov  6 12:35:39  chat[692]: abort on (BUSY)
> Nov  6 12:35:39  chat[692]: abort on (VOICE)
> Nov  6 12:35:39  chat[692]: abort on (NO CARRIER)
> Nov  6 12:35:39  chat[692]: abort on (NO DIALTONE)
> Nov  6 12:35:39  chat[692]: abort on (NO DIAL TONE)
> Nov  6 12:35:39  chat[692]: abort on (ERROR)
> Nov  6 12:35:39  chat[692]: send (AT^M)
> Nov  6 12:35:39  chat[692]: expect (OK)
> Nov  6 12:35:39  chat[692]: AT^M^M
> Nov  6 12:35:39  chat[692]: OK
> Nov  6 12:35:39  chat[692]:  -- got it
> Nov  6 12:35:39  chat[692]: send (AT+CGDCONT=1,"IP","websfr"^M)
> Nov  6 12:35:40  chat[692]: expect (OK)
> Nov  6 12:35:40  chat[692]: ^M
> Nov  6 12:35:40  chat[692]: AT+CGDCONT=1,"IP","websfr"^M^M
> Nov  6 12:35:40  chat[692]: OK
> Nov  6 12:35:40  chat[692]:  -- got it
> Nov  6 12:35:40  chat[692]: send (ATDT*99***1#^M)
> Nov  6 12:35:40  chat[692]: expect (CONNECT)
> Nov  6 12:35:40  chat[692]: ^M
> Nov  6 12:35:40  chat[692]: ATDT*99***1#^M^M
> Nov  6 12:35:40  chat[692]: CONNECT
> Nov  6 12:35:40  chat[692]:  -- got it
> Nov  6 12:35:40  chat[692]: send (^M)
> Nov  6 12:35:40  pppd[691]: Serial connection established.
> Nov  6 12:35:40  pppd[691]: using channel 14
> Nov  6 12:35:40  pppd[691]: Using interface ppp0
> Nov  6 12:35:40  pppd[691]: Connect: ppp0 <--> /dev/ttyS3
> Nov  6 12:35:41  pppd[691]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <maa
> gic 0x94a8924e> <pcomp> <accomp>]
> Nov  6 12:35:41  pppd[691]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <maa
> gic 0x94a8924e> <pcomp> <accomp>]
> Nov  6 12:35:43  pppd[691]: rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmm
> ap 0x0> <magic 0xb10d0dbc> <pcomp> <accomp> <auth pap>]
> Nov  6 12:35:43  pppd[691]: No auth is possible
> Nov  6 12:35:43  pppd[691]: sent [LCP ConfRej id=0x1 <auth pap>]
> Nov  6 12:35:43  pppd[691]: rcvd [LCP ConfReq id=0x2 <mru 1500> <asyncmm
> ap 0x0> <magic 0xb10d0dbc> <pcomp> <accomp>]
> Nov  6 12:35:43  pppd[691]: sent [LCP ConfAck id=0x2 <mru 1500> <asyncmm
> ap 0x0> <magic 0xb10d0dbc> <pcomp> <accomp>]
> Nov  6 12:35:43  pppd[691]: sent [LCP EchoReq id=0x0 magic=0x94a8924e]
> Nov  6 12:35:43  pppd[691]: kernel does not support PPP filtering
> Nov  6 12:35:43  pppd[691]: sent [IPCP ConfReq id=0x1 <compress VJ 0f 00
> 1> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]
> Nov  6 12:35:43  pppd[691]: rcvd [LCP TermReq id=0x3]
> Nov  6 12:35:43  pppd[691]: LCP terminated by peer
> Nov  6 12:35:43  pppd[691]: sent [LCP TermAck id=0x3]
> Nov  6 12:35:43  pppd[691]: rcvd [LCP EchoRep id=0x0 magic=0xb10d0dbc]
> Nov  6 12:35:43  pppd[691]: Hangup (SIGHUP)
> Nov  6 12:35:43  pppd[691]: Modem hangup
> Nov  6 12:35:43  pppd[691]: Connection terminated.
> 
> Grrrr !!!
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU