touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #66070
[Bug 1436427] Re: Turning off WiFi doesn't set a route after the modem connects data
The attached script is a simple stress test that's run on the phone. It
toggles WiFi on, sleeps for 10 seconds, then toggles WiFi off and checks
for an empty routing table, and then sleeps for another 10 seconds. I
currently has a hard-coded loop count.
The script enables/disables WiFi by toggling NM's 'WirelessEnabled'
property.
To work properly, it needs to be run with a previously connect WiFi
access point available. It also assumes that a valid SIM card is
inserted in slot 1 of a krillin, as it checks the routing table for a
'ccmni0' device when WiFi gets disabled.
Finally, I also usually ensure that the phone will not lock the screen
when this test is run by setting the system settings privacy setting
such that the phone is never locked.
** Attachment added: "wifi-toggle-test"
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1436427/+attachment/4359320/+files/wifi-toggle-test
--
You received this bug notification because you are a member of Ubuntu
Touch seeded 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:
New
Status in network-manager package in Ubuntu:
New
Status in network-manager package in Ubuntu RTM:
Confirmed
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