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