← Back to team overview

unity-api-bugs team mailing list archive

[Bug 1386109] Re: com.ubuntu.connectivity1.NetworkingStatus.Status is always online

 

So what i found is that you need to somehow prod networkmanager, that
is, i can disable wifi and wait for minutes and be in this situation

phablet@ubuntu-phablet:/var/crash$ ifconfig 
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:9062 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9062 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2546884 (2.5 MB)  TX bytes:2546884 (2.5 MB)

phablet@ubuntu-phablet:/var/crash$ qdbus com.ubuntu.connectivity1 /com/ubuntu/connectivity1/NetworkingStatus com.ubuntu.connectivity1.NetworkingStatus.Status
online


then if i call nmcli the status changes immediately

phablet@ubuntu-phablet:/var/crash$ nmcli nm
RUNNING         STATE           WIFI-HARDWARE   WIFI       WWAN-HARDWARE   WWAN      
running         disconnected    enabled         disabled   enabled         disabled  
phablet@ubuntu-phablet:/var/crash$ qdbus com.ubuntu.connectivity1 /com/ubuntu/connectivity1/NetworkingStatus com.ubuntu.connectivity1.NetworkingStatus.Status
offline

-- 
You received this bug notification because you are a member of Unity API
bugs, which is subscribed to Network Menu.
https://bugs.launchpad.net/bugs/1386109

Title:
  com.ubuntu.connectivity1.NetworkingStatus.Status is always online

Status in dekko:
  Confirmed
Status in Network Menu:
  Confirmed
Status in Libqtelegram - a qt library to access telegram.:
  Confirmed

Bug description:
  qdbus com.ubuntu.connectivity1
  /com/ubuntu/connectivity1/NetworkingStatus
  com.ubuntu.connectivity1.NetworkingStatus.Status

  always returns "online" on the phone, no matter if i'm connected to
  wifi or not or in Flight mode or not.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dekko/+bug/1386109/+subscriptions


References