I've added indicator-network as a task because that's what provides the connectivity dbus service.
Also, qdbus isn't installed on the device by default, use gdbus (the below is when things work fine):
$ gdbus introspect --session --dest com.ubuntu.connectivity1 --object-path /com/ubuntu/connectivity1/NetworkingStatus -p node /com/ubuntu/connectivity1/NetworkingStatus { interface com.ubuntu.connectivity1.NetworkingStatus { properties: readonly as Limitations = []; readonly s Status = 'online'; readonly b FlightMode = false; readonly b WifiEnabled = true; readonly b ModemAvailable = true; readonly ay HotspotSsid = [0x53, 0x61, 0x77, 0x69, 0x6b]; readonly b HotspotEnabled = false; readonly s HotspotMode = 'ap'; readonly b HotspotStored = true; readonly b FlightModeSwitchEnabled = true; readonly b WifiSwitchEnabled = true; readonly b HotspotSwitchEnabled = true; }; };
I've added indicator-network as a task because that's what provides the connectivity dbus service.
Also, qdbus isn't installed on the device by default, use gdbus (the below is when things work fine):
$ gdbus introspect --session --dest com.ubuntu. connectivity1 --object-path /com/ubuntu/ connectivity1/ NetworkingStatu s -p connectivity1/ NetworkingStatu s { connectivity1. NetworkingStatu s { hEnabled = true; abled = true;
node /com/ubuntu/
interface com.ubuntu.
properties:
readonly as Limitations = [];
readonly s Status = 'online';
readonly b FlightMode = false;
readonly b WifiEnabled = true;
readonly b ModemAvailable = true;
readonly ay HotspotSsid = [0x53, 0x61, 0x77, 0x69, 0x6b];
readonly b HotspotEnabled = false;
readonly s HotspotMode = 'ap';
readonly b HotspotStored = true;
readonly b FlightModeSwitc
readonly b WifiSwitchEnabled = true;
readonly b HotspotSwitchEn
};
};