Comment 72 for bug 1357321

Revision history for this message
Alfonso Sanchez-Beato (alfonsosanchezbeato) wrote : Re: [TOPBLOCKER] QNetworkAccessManager doesn't support roaming on Ubuntu

I have monitored calls to ofono DBus connection manager interfaces following comment #7 in

https://bugs.launchpad.net/ubuntu/+source/telepathy-ofono/+bug/1226739

The command was:

# dbus-monitor --system "interface=org.ofono.ConnectionManager" "interface=org.ofono.ConnectionContext"

I have attached the output. What I see is that a process with unique name ":1.8" is activating/deactivating periodically the cellular data context.

# dbus-send --system --print-reply --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.GetConnectionUnixProcessID string:":1.8"

showed the PID of NetworkManager.

The output of /usr/share/ofono/scripts/monitor-ofono is:

...
{ConnectionContext} [/ril_0/context1] Settings = {}
{ConnectionContext} [/ril_0/context1] Active = False
{ConnectionContext} [/ril_0/context1] Settings = { Interface = ccmni0, Gateway = 10.79.188.18, DomainNameServers = 212.166.210.82 212.73.32.67, Netmask = 255.255.255.0, Method = static, Address = 10.79.188.18 }
{ConnectionContext} [/ril_0/context1] Active = True
{ConnectionContext} [/ril_0/context1] Settings = {}
{ConnectionContext} [/ril_0/context1] Active = False
{ConnectionContext} [/ril_0/context1] Settings = { Interface = ccmni0, Gateway = 10.143.31.135, DomainNameServers = 212.166.210.82 212.73.32.67, Netmask = 255.255.255.0, Method = static, Address = 10.143.31.135 }
...

ofono is just told to activate/deactivate the context, no spurious disconnections happen.

HTH