All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Quectel EC200T USB: Problems with context activation
Date: Wed, 30 Dec 2020 10:42:43 -0600	[thread overview]
Message-ID: <aae395ab-8349-bce2-90f1-90630f08b946@gmail.com> (raw)
In-Reply-To: <CAFiQ674Dx2getC26fiCbeWLMSTfBkfWaE8voenvO+8YcJRJwPA@mail.gmail.com>

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

Hi Sergei,

On 12/30/20 4:00 AM, Sergei Golubtsov wrote:
> Hello Denis,
> 
>  > Are the username and password set properly on the context?
> 
> Yes, they are.
> root(a)131D2F4C5254324B:~# /usr/lib/ofono/test/list-contexts
> [ /quectel_0 ]
>      [ /quectel_0/context1 ]
>          Name = Россия
>          Active = 0
>          Type = internet
>          Protocol = ip
>          AccessPointName = internet
>          Username = gdata
>          Password = gdata
>          AuthenticationMethod = pap
>          Settings = { }
>          IPv6.Settings = { }
> 
>      [ /quectel_0/context2 ]
>          Name = МегаФон MMS
>          Active = 0
>          Type = mms
>          Protocol = ip
>          AccessPointName = mms
>          Username = mms
>          Password = mms
>          AuthenticationMethod = pap
>          MessageProxy = 10.10.10.10:8080 <http://10.10.10.10:8080>
>          MessageCenter = http://mmsc:8002
>          Settings = { }
>          IPv6.Settings = { }
> 

Looks fine...

>  > And you may want to share the log of oFono activating the context configured 
> for PAP.
> 
> I have added the PAP context activation log file from ofono to this email as 
> well as I did in the previous email. Please find it attached. It also fails at 

It wasn't clear whether the previous log was pap or chap.  With chap the PPP 
implementation would stop and wait for the chap challenge.  So if that never 
comes, that would explain why you get stuck just after entering phase '2' -> 
PHASE_AUTHENTICATION

> the same phase: "gatppp.c:ppp_enter_phase() 2"
> Probably I need to try to dump the ppp connection and analyze it with WireShark. 
> Any ideas will be appreciated.

Never tried this myself, but I never really had a reason to.  Not sure if there 
is an easy way of doing that given you're running over a MUX.  If you come up 
with a nice way, please share.

Maybe put a few debug statements in ppp_auth.c, ppp_pap_start, ppp_pap_timeout 
and ppp_pap_process_packet.  See if PAP even occurs.

Regards,
-Denis

  reply	other threads:[~2020-12-30 16:42 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-30 10:00 Quectel EC200T USB: Problems with context activation Sergei Golubtsov
2020-12-30 16:42 ` Denis Kenzior [this message]
2020-12-31 12:35   ` Sergei Golubtsov
2020-12-31 16:20     ` Denis Kenzior
2021-01-01 14:10       ` Sergei Golubtsov
2021-01-01 16:27         ` Sergei Golubtsov
2021-01-02  9:52           ` Sergei Golubtsov
2021-01-04 17:43             ` Denis Kenzior
2021-01-05 21:34               ` Sergei Golubtsov
2021-01-06 19:52                 ` Denis Kenzior
     [not found] <CAFiQ675+H9QndW030-WkV2oivkVVChzcOTnKbaj+4VzW4k9P6w@mail.gmail.com>
2021-05-19 14:16 ` Denis Kenzior
2021-05-19 23:35   ` Sergei Golubtsov
2021-05-20 17:57     ` Denis Kenzior
     [not found] <CAFiQ676fUqkEz9KbKUOY27o=DXTDtWRawVioPj+otEvJNryr8A@mail.gmail.com>
2020-12-29 14:09 ` Sergei Golubtsov
2020-12-29 15:55   ` Sergei Golubtsov
2020-12-29 17:56     ` Sergei Golubtsov
2020-12-29 21:49       ` Denis Kenzior

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=aae395ab-8349-bce2-90f1-90630f08b946@gmail.com \
    --to=denkenz@gmail.com \
    --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.