All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yorn <yorn@gmx.net>
To: ofono@ofono.org
Subject: Re: Ublox Toby Modem
Date: Thu, 21 Apr 2016 12:06:29 +0200	[thread overview]
Message-ID: <5718A625.9080400@gmx.net> (raw)
In-Reply-To: <5718977B.7030909@endocode.com>

[-- Attachment #1: Type: text/plain, Size: 3170 bytes --]

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(a)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(a)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


  reply	other threads:[~2016-04-21 10:06 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <57178134.7070200@endocode.com>
2016-04-20 14:11 ` Ublox Toby Modem Yorn
2016-04-20 14:18   ` Dragos Tatulea
2016-04-20 14:24     ` Yorn
2016-04-20 15:01       ` Dragos Tatulea
2016-04-20 17:54         ` Yorn
2016-04-21  9:03           ` Dragos Tatulea
2016-04-21 10:06             ` Yorn [this message]
2016-04-21 18:37             ` Yorn
2016-04-22 10:23               ` Dragos Tatulea
2016-04-22 11:51                 ` Yorn
2016-04-22 15:36                   ` Dragos Tatulea
2016-04-24 13:03                     ` Yorn
2016-04-20 15:02       ` Denis Kenzior
2016-04-20 16:34         ` Yorn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5718A625.9080400@gmx.net \
    --to=yorn@gmx.net \
    --cc=ofono@ofono.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.