Start InternetCheckercmd with wifi enabled, with the known wifi router unpowered or out of range, while connected to mobile data. (will not work like this when manually enabling/disabling wifi)
It will return something like this: phablet@ubuntu-phablet:~$ InternetCheckercmd/InternetCheckercmd (Checker::Checker:14) - configuration "ccmni0" QFlags(0x2|0x4|0x8) (Checker::createGetRequest:30) - Initiate HTTP GET Request (Checker::finishedSlot:35) - configuration "ccmni0" QFlags(0x2|0x4|0x8) (Checker::finishedSlot:39) - "HTTP GET Reply Code: 0 and Name: Unknown error" (reply code 0 means success) With the InternetCheckercmd still running, either walk into range of a known/configured wifi, or power on the wifi router that is known and configured, so the phone will auto connect to it. Wait for the wifi indicator to show there is a wifi connection. Notice that the get request is still going through the mobile data connection, instead of the wifi connection. This means anything keeping a QNAM instance and using it to do random get requests will be using expensive mobile data instead of cheaper wifi, even though wifi is connected. Try this again with the patched QNAM and QtBearer plugin, and it will change the configuration which it uses for the get request. ** Attachment added: "QNAM Internet checker" https://bugs.launchpad.net/savilerow/+bug/1357321/+attachment/4276051/+files/InternetCheckercmd.tgz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1357321 Title: QNetworkAccessManager doesn't support roaming on Ubuntu To manage notifications about this bug go to: https://bugs.launchpad.net/platform-api/+bug/1357321/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
