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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1436427

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to