All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Quectel EC200T USB: Problems with context activation
@ 2020-12-30 10:00 Sergei Golubtsov
  2020-12-30 16:42 ` Denis Kenzior
  0 siblings, 1 reply; 17+ messages in thread
From: Sergei Golubtsov @ 2020-12-30 10:00 UTC (permalink / raw)
  To: ofono

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

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
        MessageCenter = http://mmsc:8002
        Settings = { }
        IPv6.Settings = { }

> 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 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.

Yours sincerely,
Sergei Golubtsov.

[-- Attachment #2: attachment.htm --]
[-- Type: text/html, Size: 2642 bytes --]

[-- Attachment #3: EC200T_ofono_pap.log --]
[-- Type: application/octet-stream, Size: 13679 bytes --]

2020-12-29T17:46:44.136531+00:00 ofonod[14775]: [debug] ../git/ofono/drivers/atmodem/gprs-context.c:at_gprs_activate_primary() cid 1 auth 1
2020-12-29T17:46:44.138650+00:00 ofonod[14775]: [info] Modem: > AT+CGDCONT=1,"IP","internet"\r
2020-12-29T17:46:44.141943+00:00 ofonod[14775]: [info] Modem: < \r\nOK\r\n
2020-12-29T17:46:44.142187+00:00 ofonod[14775]: [debug] ../git/ofono/drivers/atmodem/gprs-context.c:at_cgdcont_cb() ok 1
2020-12-29T17:46:44.142985+00:00 ofonod[14775]: [info] Modem: > AT+CGDATA="PPP",1\r
2020-12-29T17:46:44.145184+00:00 ofonod[14775]: [info] Modem: < \r\nCONNECT\r\n
2020-12-29T17:46:44.145554+00:00 ofonod[14775]: [debug] ../git/ofono/drivers/atmodem/gprs-context.c:at_cgdata_cb() ok 1
2020-12-29T17:46:44.145681+00:00 ofonod[14775]: [debug] ../git/ofono/drivers/atmodem/gprs-context.c:setup_ppp()
2020-12-29T17:46:44.145928+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_generate_event: current state 0:INITIAL
2020-12-29T17:46:44.146063+00:00 ofonod[14775]: [info] PPP: event: 0 (Up), action: 2, new_state: 2 (CLOSED)
2020-12-29T17:46:44.146185+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_generate_event: current state 2:CLOSED
2020-12-29T17:46:44.150478+00:00 ofonod[14775]: [info] PPP: event: 2 (Open), action: 1026, new_state: 6 (REQSENT)
2020-12-29T17:46:44.151647+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_initialize_restart_count: current state 2:CLOSED
2020-12-29T17:46:44.152594+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_send_configure_request: current state 2:CLOSED
2020-12-29T17:46:44.153651+00:00 ofonod[14775]: [info] PPP: ../git/ofono/gatchat/gatppp.c:ppp_enter_phase() 1
2020-12-29T17:46:44.158629+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_process_configure_request: current state 6:REQSENT
2020-12-29T17:46:44.159735+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_generate_event: current state 6:REQSENT
2020-12-29T17:46:44.160678+00:00 ofonod[14775]: [info] PPP: event: 6 (RCR+), action: 2008, new_state: 8 (ACKSENT)
2020-12-29T17:46:44.163825+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_send_configure_ack: current state 6:REQSENT
2020-12-29T17:46:44.164993+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_process_configure_ack: current state 8:ACKSENT
2020-12-29T17:46:44.165958+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_generate_event: current state 8:ACKSENT
2020-12-29T17:46:44.166857+00:00 ofonod[14775]: [info] PPP: event: 8 (RCA), action: 129, new_state: 9 (OPENED)
2020-12-29T17:46:44.167457+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_initialize_restart_count: current state 8:ACKSENT
2020-12-29T17:46:44.168427+00:00 ofonod[14775]: [info] PPP: ../git/ofono/gatchat/gatppp.c:ppp_enter_phase() 2
2020-12-29T17:46:45.663809+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:45.678206+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:45.687980+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:45.699037+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:47.868830+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:47.882683+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:47.894244+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:47.905951+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:48.504930+00:00 ofonod[14775]: [info] Aux: < \r\n+QIND: "csq":25,99\r\n
2020-12-29T17:46:48.505188+00:00 ofonod[14775]: [debug] ../git/ofono/plugins/quectel.c:qind_notify() 0x61c628
2020-12-29T17:46:50.095776+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:50.110266+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:50.120253+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:50.131167+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:51.704665+00:00 ofonod[14775]: [info] Aux: < \r\n+QIND: "csq":23,99\r\n
2020-12-29T17:46:51.705042+00:00 ofonod[14775]: [debug] ../git/ofono/plugins/quectel.c:qind_notify() 0x61c628
2020-12-29T17:46:52.282690+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:52.297223+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:52.306618+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:52.317644+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:54.496212+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:54.510521+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:54.520345+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:54.530806+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:56.184871+00:00 ofonod[14775]: [info] Aux: < \r\n+QIND: "csq":24,99\r\n
2020-12-29T17:46:56.185248+00:00 ofonod[14775]: [debug] ../git/ofono/plugins/quectel.c:qind_notify() 0x61c628
2020-12-29T17:46:56.695432+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:56.709649+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:56.719249+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:56.730642+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:58.892675+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:58.906831+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:58.916575+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:58.927826+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:46:59.384684+00:00 ofonod[14775]: [info] Aux: < \r\n+QIND: "csq":23,99\r\n
2020-12-29T17:46:59.384940+00:00 ofonod[14775]: [debug] ../git/ofono/plugins/quectel.c:qind_notify() 0x61c628
2020-12-29T17:47:01.102683+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:01.116961+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:01.126991+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:01.137879+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:03.300654+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:03.314943+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:03.324671+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:03.335422+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:05.504971+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:05.519141+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:05.529068+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:05.540289+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:07.711106+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:07.725311+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:07.735339+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:07.746024+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:09.919313+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:09.933694+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:09.943509+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:09.954675+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:12.114445+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:12.128537+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:12.138288+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:12.149468+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:14.104858+00:00 ofonod[14775]: [info] Aux: < \r\n+QIND: "csq":25,99\r\n
2020-12-29T17:47:14.105105+00:00 ofonod[14775]: [debug] ../git/ofono/plugins/quectel.c:qind_notify() 0x61c628
2020-12-29T17:47:14.300751+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_generate_event: current state 9:OPENED
2020-12-29T17:47:14.300931+00:00 ofonod[14775]: [info] PPP: event: 3 (Close), action: 8224, new_state: 4 (CLOSING)
2020-12-29T17:47:14.301056+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_initialize_restart_count: current state 9:OPENED
2020-12-29T17:47:14.301270+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_send_terminate_request: current state 9:OPENED
2020-12-29T17:47:14.301583+00:00 ofonod[14775]: [info] PPP: ../git/ofono/gatchat/gatppp.c:ppp_enter_phase() 5
2020-12-29T17:47:14.306487+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_process_terminate_ack: current state 4:CLOSING
2020-12-29T17:47:14.306712+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_generate_event: current state 4:CLOSING
2020-12-29T17:47:14.306850+00:00 ofonod[14775]: [info] PPP: event: 11 (RTA), action: 802, new_state: 2 (CLOSED)
2020-12-29T17:47:14.307029+00:00 ofonod[14775]: [info] PPP: lcp: pppcp_this_layer_finished: current state 2:CLOSED
2020-12-29T17:47:14.307151+00:00 ofonod[14775]: [info] PPP: ../git/ofono/gatchat/gatppp.c:ppp_enter_phase() 0
2020-12-29T17:47:14.311087+00:00 ofonod[14775]: [info] PPP: ../git/ofono/gatchat/gatppp.c:ppp_dead()
2020-12-29T17:47:14.312168+00:00 ofonod[14775]: [debug] ../git/ofono/drivers/atmodem/gprs-context.c:ppp_disconnect() Reason: 1
2020-12-29T17:47:14.313283+00:00 ofonod[14775]: [debug] ../git/ofono/src/gprs.c:pri_activate_callback() 0x61e648
2020-12-29T17:47:14.315894+00:00 ofonod[14775]: [debug] ../git/ofono/src/gprs.c:pri_activate_callback() Activating context failed with error: Unknown error type
2020-12-29T17:47:14.342049+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:14.357138+00:00 ofonod[14775]: [info] Modem: < \r\nNO CARRIER\r\n
2020-12-29T17:47:14.364556+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:14.374056+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:14.389855+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:16.725909+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:16.740076+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:16.749869+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:16.760972+00:00 ofonod[14775]: [debug] ../git/ofono/src/modem.c:get_modem_property() modem 0x61c628 property SystemPath
2020-12-29T17:47:17.303504+00:00 ofonod[14775]: [info] Aux: < \r\n+QIND: "csq":23,99\r\n

^ permalink raw reply	[flat|nested] 17+ messages in thread
[parent not found: <CAFiQ675+H9QndW030-WkV2oivkVVChzcOTnKbaj+4VzW4k9P6w@mail.gmail.com>]

end of thread, other threads:[~2021-05-20 17:57 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAFiQ676fUqkEz9KbKUOY27o=DXTDtWRawVioPj+otEvJNryr8A@mail.gmail.com>
2020-12-29 14:09 ` Quectel EC200T USB: Problems with context activation Sergei Golubtsov
2020-12-29 15:55   ` Sergei Golubtsov
2020-12-29 17:56     ` Sergei Golubtsov
2020-12-29 21:49       ` Denis Kenzior
2020-12-30 10:00 Sergei Golubtsov
2020-12-30 16:42 ` Denis Kenzior
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

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.