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=0 :(

root@colibri-vf:~/test# ./list-contexts
[ /ublox_0 ]
      [ /ublox_0/context1 ]
          Username =
          AuthenticationMethod = chap
          Protocol = ip
          Name = Internet
          Settings = { }
          IPv6.Settings = { }
          Active = 0
          AccessPointName =
          Password =
          Type = 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@colibri-vf:~/test# ./list-contexts
[ /ublox_0 ]
     [ /ublox_0/context1 ]
         Username = eplus
         AuthenticationMethod = chap
         Protocol = ip
         Name = Internet
         Settings = { }
         IPv6.Settings = { }
         Active = 0
         AccessPointName = m2m.tele2.com
         Password =
         Type = internet


Okay. That's good for the next step.

I would expect AT Commands like this, however, I am not a modem AT command 
expert, so this is more or less taken from a tutorial (which set up my manual 
environment successfully)

AT+COPS?
AT+CGDCONT=1,"IP","m2m.tele2.com"
ATD*99***1#
AT+CGACT=1,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="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

_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to