@Geir: What's the status of this problem in Ubuntu 12.04?
** Changed in: network-manager (Ubuntu)
Status: New => Incomplete
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/377374
Title:
NetworkManager not honoring its dbus api
Status in “network-manager” package in Ubuntu:
Incomplete
Bug description:
Binary package hint: network-manager
I was trying to see what I could do with NetworkManager
(0.6.6-0ubuntu5.8.04.1) through dbus in Ubuntu Hardy Heron 8.04.2. In
"docs/NetworkManager DBUS API.txt" in the source, the first method
listed is getDevices() which works as expected:
$ dbus-send --system --print-reply --type=method_call \
> --dest="org.freedesktop.NetworkManager" \
> /org/freedesktop/NetworkManager \
> org.freedesktop.NetworkManager.getDevices
method return sender=:1.0 -> dest=:1.92 reply_serial=2
array [
object path "/org/freedesktop/NetworkManager/Devices/wlan0"
object path "/org/freedesktop/NetworkManager/Devices/eth0"
]
The next method it lists, is getActiveDevice:
$ dbus-send --system --print-reply --type=method_call \
> --dest="org.freedesktop.NetworkManager" \
> /org/freedesktop/NetworkManager \
> org.freedesktop.NetworkManager.getActiveDevice
Error org.freedesktop.DBus.Error.UnknownMethod: Method "getActiveDevice" with
signature "" on interface "org.freedesktop.NetworkManager" doesn't exist
Furthermore, even though the getDevices method exists, and works,
Introspecting doesn't return any methods at all, only two nodes.
$ dbus-send --system --print-reply --type=method_call
--dest="org.freedesktop.NetworkManager" /org/freedesktop/NetworkManager
org.freedesktop.DBus.Introspectable.Introspect
method return sender=:1.0 -> dest=:1.125 reply_serial=2
string "<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object
Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node>
<node name="Devices"/>
<node name="VPNConnections"/>
</node>
"
In Ubuntu Intrepid, that command lists several methods, signals and
properties...
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/377374/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp