Please help me find my fault.

Kalle Vahlman kalle.vahlman at gmail.com
Sun Oct 16 21:33:00 PDT 2011


2011/10/17 윤민홍 <mhyun at etri.re.kr>

> Dear colleagues,****
>
> ** **
>
> I’m trying to connect to wpa_supplicant through dbus.****
>
> I have “fi.w1.wpa_supplicant1.service” file in
> “/usr/share/dbus-1/system-services” directory. And I can find
> “fi.w1.wpa_supplicant1” in d-feet. ****
>
> But whenever I try to call a method, the system says “The name
> fi.w1.wpa_supplicant1 was not provided by any .service files”.****
>
> ** **
>
> Please let me know which part of my code is incorrect.****
>
> ** **
>
> My codes are…****
>
> dbmsg = dbus_message_new_method_call ("fi.w1.wpa_supplicant1",
> "/fi/w1/wpa_supplicant1", "org.freedesktop.DBus.Introspectable",
> "Introspect");****
>
> dbreply = dbus_connection_send_with_reply_and_block(conn, dbmsg, 5000,
> &error);
>

This looks ok, but maybe you are connected to the session bus instead of the
system bus?

-- 
Kalle Vahlman, zuh at iki.fi
Powered by http://movial.com
Interesting stuff at http://sandbox.movial.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20111017/8455771b/attachment.html>


More information about the dbus mailing list