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
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. ConnectionManag er" "interface= org.ofono. ConnectionConte xt"
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/freedeskto p/DBus org.freedesktop .DBus.GetConnec tionUnixProcess ID 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