On Sun, 22 Jul 2007 20:14:45 -0400 Ross Vandegrift <[EMAIL PROTECTED]> babbled:

> Hey everyone,
> 
> Going with my post of a patch to update e_dbus, here's a simple app
> that uses that updated API to query NetworkManager.
> 
> It pulls the list of all interfaces in the system, and prints their
> system name, type, and any wireless networks that they know about.
> 
> You obviously need e_dbus with the updates I just posted!
> 
> http://kallisti.us/~ross/enetmgr-0.1.tar.gz

bugger. it seems to find eth0 for me - but thats it. eth1 is my wireless and i
get policy errors:

Error: org.freedesktop.DBus.Error.AccessDenied - A security policy in place
prevents this sender from sending this message to this recipient, see message
bus configuration file (rejected message had interface
"org.freedesktop.NetworkManager" member "getDevices" error name "(unset)"
destination "org.freedesktop.NetworkManager")

hmm- now it sees my wireless device but only if i run as root. bloody hell. i
thought the point of dbus and nm was that users could finally config their
networks. grrr. now need to find where these policies are buried.

ok:

        <policy at_console="true">
                <allow send_destination="org.freedesktop.NetworkManager"/>
                <allow send_interface="org.freedesktop.NetworkManager"/>
        </policy>

somehow nm doesn't think i'm at the console. anyone happen to know how it
determines this? 

> 
> -- 
> Ross Vandegrift
> [EMAIL PROTECTED]
> 
> "The good Christian should beware of mathematicians, and all those who
> make empty prophecies. The danger already exists that the mathematicians
> have made a covenant with the devil to darken the spirit and to confine
> man in the bonds of Hell."
>       --St. Augustine, De Genesi ad Litteram, Book II, xviii, 37
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
裸好多
Tokyo, Japan (東京 日本)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to