From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============8200367366048682561==" MIME-Version: 1.0 From: Yorn Subject: Re: Ublox Toby Modem Date: Thu, 21 Apr 2016 12:06:29 +0200 Message-ID: <5718A625.9080400@gmx.net> In-Reply-To: <5718977B.7030909@endocode.com> List-Id: To: ofono@ofono.org --===============8200367366048682561== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Dragos, Am 21.04.2016 um 11:03 schrieb Dragos Tatulea: > Hi Yarn, > > On 04/20/2016 07:54 PM, Yorn wrote: >> Hi Dragos, >> >> logs + comments inline >> >> Am 20.04.2016 um 17:01 schrieb Dragos Tatulea: >>> Hi Yorn, >>> >>> On 04/20/2016 04:24 PM, Yorn wrote: >>>> Hi Dragos, >>>> >>>> it is still active=3D0 :( >>>> >>>> root(a)colibri-vf:~/test# ./list-contexts >>>> [ /ublox_0 ] >>>> [ /ublox_0/context1 ] >>>> Username =3D >>>> AuthenticationMethod =3D chap >>>> Protocol =3D ip >>>> Name =3D Internet >>>> Settings =3D { } >>>> IPv6.Settings =3D { } >>>> Active =3D 0 >>>> AccessPointName =3D >>>> Password =3D >>>> Type =3D internet >>>> >>> Can you run only oFono (no connman) with OFONO_AT_DEBUG env variable set >>> and run the following scripts: >>> >>> enable-modem >>> online-modem >>> activate-context >>> >>> Then send the logs. >> Here they are [1] >> >> I set the context information now as follows: >> root(a)colibri-vf:~/test# ./list-contexts >> [ /ublox_0 ] >> [ /ublox_0/context1 ] >> Username =3D eplus >> AuthenticationMethod =3D chap >> Protocol =3D ip >> Name =3D Internet >> Settings =3D { } >> IPv6.Settings =3D { } >> Active =3D 0 >> AccessPointName =3D m2m.tele2.com >> Password =3D >> Type =3D internet >> >> > Okay. That's good for the next step. > >> I would expect AT Commands like this, however, I am not a modem AT comma= nd expert, so this is more or less taken from a tutorial (which set up my m= anual environment successfully) >> >> AT+COPS? >> AT+CGDCONT=3D1,"IP","m2m.tele2.com" >> ATD*99***1# >> AT+CGACT=3D1,1 > It never gets to do a context activation because the modem is not gprs > attached (see Attached state). The reason for that seems to be the > RoamingAllowed property not being set to true/1. Try to set it to true > (set-roaming-allowed) and try again. great, that works! connmanctl> services *AO Wired ethernet_00142d4ac28f_cable Tele2 M2M (E-Plus) cellular_240075810199181_context1 connmanctl> connect cellular_240075810199181_context1 connmanctl> services *AO Wired ethernet_00142d4ac28f_cable a Tele2 M2M (E-Plus) cellular_240075810199181_context1 Error /net/connman/service/cellular_240075810199181_context1: Did not = receive a reply. Possible causes include: the remote application did not = send a reply, the message bus security policy blocked the reply, the = reply timeout expired, or the network connection was broken. now I just need to find out why connection is not done, I will have a = look at the ofono/AT logs Do you have any *known* parameters to check? I originally use pap for = authentication and uses e-plus user/pw pair. There is no agent to help = me, right!? Thanks - Yorn >> AT+CGDATA=3D"PPP",1 >> CONNECT "" >> > Also, Toby doesn't use PPP in high throughput mode. It uses an ndis > interface (you should see a usbX interface popping up when inserting > the powered up modem on usb). > > Thanks --===============8200367366048682561==--