← Back to team overview

desktop-packages team mailing list archive

[Bug 1436427] Re: Turning off WiFi doesn't set a route after the modem connects data

 

Note, Alfonso just hit the empty routing table bug again today while
testing my flight-mode fixes for arale.

After some discussion, we both think that the lxc-android-config NM
dispatcher script 02default_route_workaround, which was added for mako
only should probably be removed altogether.   My initial suggestion was
to add logic so that the script only purged the routing table if the
product was mako, but the I discovered that the route added by mako's
rild is proto=kernel, not proto=boot ( which is what the script removes
).  Maybe we should get rid of it altogether...

That said, in Alfonso's latest case, the routing table was empty when
switching mobile data from one SIM to the other.   Perhaps it's not the
script that's wiping the table, but NM's core routing logic itself.
One modem is coming down, and one is going up, it could be that the
adding of routes for the new SIM and the removal of routes for the first
SIM are colliding.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1436427

Title:
  Turning off WiFi doesn't set a route after the modem connects data

Status in the base for Ubuntu mobile products:
  Fix Released
Status in network-manager package in Ubuntu:
  Incomplete
Status in ofono package in Ubuntu:
  Fix Released
Status in network-manager package in Ubuntu RTM:
  Incomplete
Status in ofono package in Ubuntu RTM:
  Fix Released

Bug description:
  I just switched off WiFi in order to test if the device switches
  successfully to a mobile data connection. After disabling WiFi the
  indicator showed "H" in no time. So it would seem all is fine. I
  opened the browser and no data went through.

  Here's the output of "ip route" and "list-contexts":

  phablet@ubuntu-phablet:~$ sudo ip route
  [sudo] password for phablet: 
  phablet@ubuntu-phablet:~$ /usr/share/ofono/scripts/list-contexts 
  [ /ril_1 ]
  [ /ril_0 ]
      [ /ril_0/context1 ]
          Name = E-Plus Web GPRS
          Settings = { Netmask=255.255.255.0 Address=10.121.30.213 Interface=ccmni0 Method=static DomainNameServers=212.23.103.8,212.23.103.9, Gateway=10.121.30.213 }
          Username = eplus
          IPv6.Settings = { }
          Protocol = ip
          Active = 1
          Password = internet
          Type = internet
          AccessPointName = internet.eplus.de

      [ /ril_0/context2 ]
          IPv6.Settings = { }
          Name = E-Plus MMS
          MessageProxy = 212.23.97.153:5080
          MessageCenter = http://mms/eplus/
          Username = mms
          Settings = { }
          Protocol = ip
          Active = 0
          Password = eplus
          Type = mms
          AccessPointName = mms.eplus.de

      [ /ril_0/context3 ]
          Name = ___ubuntu_custom_apn_internet
          Settings = { }
          Username = 
          IPv6.Settings = { }
          Protocol = ip
          Active = 0
          Password = 
          Type = internet
          AccessPointName = 

  phablet@ubuntu-phablet:~$ system-image-cli -i
  current build number: 21
  device name: krillin
  channel: ubuntu-touch/rc/bq-aquaris.en
  last update: 2015-03-13 17:11:07
  version version: 21
  version ubuntu: 20150312
  version device: 20150310-3201c0a
  version custom: 20150216-561-29-186

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


References