← Back to team overview

ubuntu-phonedations-bugs team mailing list archive

[Bug 1435328] Re: Leaving Wifi does not connect to mobile carrier data (GSM)

 

@Tony

No, I cannot reproduce anymore easily. That SIM has now credit, and even
when it did not have the sequence in #26 was not happening any more
after a couple of days.

What I interpret from syslog in #26 is:

1.  Apr 14 07:48:54 ubuntu-phablet nm-dispatcher: Dispatching action 'down' for wlan0
-> We are out of reach of WiFi, wifi is in disconnect state for NM

2. Apr 14 07:48:56 ubuntu-phablet kernel: [ 58.774157][ccci/net] (1)CCMNI0 close
-> For some reason/coincidence immediately after wifi is disconnected the modem discovers the current cellular data context is not valid anymore and rild shuts down interface ccmni0. ofono still does not know this has happened, so it still considers the context is active.

3. Apr 14 07:48:56 ubuntu-phablet NetworkManager[1385]: <error> [1428997736.577516] [platform/nm-linux-platform.c:1714] add_object(): Netlink error adding 0.0.0.0/0 via 10.25.195.122 dev ccmni0 metric 1024 mss 0 src user: Object not found
->  all ofono properties show that ccnmi0 is up and running so NM tries to create a default route that uses ccmni0, but it fails because ccmni is actually down.

4. Apr 14 07:48:56 ubuntu-phablet ofonod[1842]: [0,UNSOL]< UNSOL_DATA_CALL_LIST_CHANGED {version=9,num=0}
-> rild notifies ofono about a change in the state of the IP contexts, ofono deactivates the context at that moment.

The "coincidence" between WiFi disconnecting and modem shuting down
ccmni0 produces this unfortunate intermix of events. Usually NM would
have not tried to establish routes right between ccmni0 being shut down
by rild and ofono noticing that. But, anyway NM should be able to
recover after the failure to set up routes and it should have tried to
activate the context once ofono signals there has been a deactivation.

-- 
You received this bug notification because you are a member of Ubuntu
Phonedations bugs, which is subscribed to ofono in Ubuntu.
https://bugs.launchpad.net/bugs/1435328

Title:
  Leaving Wifi does not connect to mobile carrier data (GSM)

Status in the base for Ubuntu mobile products:
  Confirmed
Status in ofono package in Ubuntu:
  In Progress
Status in ofono package in Ubuntu RTM:
  In Progress

Bug description:
  After leaving my home or work wifi, my Bq phone cannot connect to the
  data from my mobile carrier. The only thing that works is rebooting
  the phone.

  Steps to reproduce:

  1- Connect your phone to password secure Wifi.
  2- Suspend phone.
  3- Leave wifi area and resume phone
  4- Wait for 3g data to kick in (appears 3g indicator instead of wifi)
  5- No connection established. I have waited for more than 30 mins.

  6- A reboot of the phone fixes this issue.

  Really annoying to have to reboot phone 3-4 times a day.

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1435328/+subscriptions