Dear,
Thanks Jirka.
I found that I miss TYPE in NMSettingConnection struct.
It must be included wired/wifi/gsm NMSettingConnection struct etc...
So, it is not work. Thanks your great help.
Thanks everyone.
blueOn Wednesday 29 of September 2010 05:22:38 rain blue wrote:It is intentional that D-Bus protects messages using policies and shows only
> Dear,
> Thanks Dan reply. But it has a little problem.
> I use add-system-setting.py. It works & create
> /etc/NetworkManager/system-connections/*
> ( But dbus-monitor can't see any message about AddConnection or GetSettings
> [ d-feet send & dbus-send same ] )
> Is it normally?
> My Networkmanager 0.8 version.
signals on system bus by default. You can monitor all messages when you tweak
the policy files. See e.g. this tutorial:
https://wiki.kubuntu.org/DebuggingDBus
I've modified Dan's example a bit and created a running example file in the
> BTW, i try to combine test-keyfile.c & AddConnection DBUS.
> But it also can't work. I modify this source simplification.
>
repository (see build command inside the file):
http://cgit.freedesktop.org/NetworkManager/NetworkManager/tree/examples/C/add-
connection-glib.c
Jirka