From: Denis Kenzior <denkenz@gmail.com>
To: ofono@ofono.org
Subject: Re: Query on ppp0 interface for HE910 device
Date: Fri, 29 May 2015 19:45:46 -0500 [thread overview]
Message-ID: <5569083A.9060408@gmail.com> (raw)
In-Reply-To: <CANPyyuOxuvE8dxOQR8+CQJRzXek291_3GuDsNhPAf2ONFccU3Q@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2474 bytes --]
Hi Mike,
On 05/29/2015 12:24 PM, Mike Williams wrote:
>> Whenever the connman daemon switches from cellular to wifi automatically, ofonod >removes the ppp0 interface.
>> On the oterhway round the ofono daemon is not doing the addition of the ppp0 interface.
>
> I can reproduce this on an HE910 I just started testing. Basically,
> the ofono cellular service never reappears to connman after connman
> disconnects it.
>
> # connmanctl technologies
> /net/connman/technology/cellular
> Name = Cellular
> Type = cellular
> Powered = True
> Connected = False
> Tethering = False
> /net/connman/technology/ethernet
> Name = Wired
> Type = ethernet
> Powered = True
> Connected = False
> Tethering = False
> # connmanctl services
> *AR Wired ethernet_001122edb058_cable
> *A T-Mobile cellular_310260008772362_context1
> # connmanctl disable ethernet
> Disabled ethernet
> # macb f0028000.ethernet eth0: link down
> # connmanctl services
> *AR T-Mobile cellular_310260008772362_context1
> # connmanctl enable ethernet
> IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
> Enabled ethernet
> # macb f0028000.ethernet eth0: link up (100/Full)
> IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
> # connmanctl services
> *AR Wired ethernet_001122edb058_cable
> #
I don't know what connman is doing, but this sequence should not cause
the GPRS state to be detached... What does ConnMan actually call on the
oFono side to get to this state?
>
> The cellular service will never reappear.
>
> ofono debug log:
>
> ofonod[1543]: PPP: lcp: pppcp_process_terminate_ack: current state 4:CLOSING
> ofonod[1543]: PPP: lcp: pppcp_generate_event: current state 4:CLOSING
> ofonod[1543]: PPP: event: 11 (RTA), action: 802, new_state: 2 (CLOSED)
> ofonod[1543]: PPP: lcp: pppcp_this_layer_finished: current state 2:CLOSED
> ofonod[1543]: PPP: gatchat/gatppp.c:ppp_enter_phase() 0
> ofonod[1543]: PPP: gatchat/gatppp.c:ppp_dead()
> ofonod[1543]: drivers/atmodem/gprs-context.c:ppp_disconnect() Reason: 6
> ofonod[1543]: Aux: < \r\n+CGEV: ME DEACT IP, "22.226.202.227", 1\r\n
> ofonod[1543]: Aux: < \r\n
> ofonod[1543]: Aux: < +CGREG: 0\r\n\r\n+CGEV: NW DETACH\r\n
So the modem reports a network detach and loss of packet switched
connection. No context activations are possible@this point. How are
you triggering this?
Regards,
-Denis
next prev parent reply other threads:[~2015-05-30 0:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-29 17:24 Query on ppp0 interface for HE910 device Mike Williams
2015-05-29 18:32 ` Alexey Mednyy
2015-05-29 19:44 ` Mike Williams
2015-05-30 0:45 ` Denis Kenzior [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-05-18 8:38 Kallumari
2015-05-18 14:01 ` 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=5569083A.9060408@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.