Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[How To] NetworkManager + Applet in KDE 4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
lopan
n00b
n00b


Joined: 26 Dec 2005
Posts: 16
Location: Brasil

PostPosted: Fri Apr 24, 2009 12:34 pm    Post subject: [How To] NetworkManager + Applet in KDE 4 Reply with quote

Finally, the NetworkManager and NetworkManager Applet for KDE 4 are working stable! :o

Recently installed the new version of NetworkManager (net-misc/networkmanager-0.7.1) and SVN version of Applet (kde-misc/networkmanager-applet-9999). I noticed a small problem, the applet works with root but not with my normal user 8O. Correct this problem by changing the file's access permissions dbuser, the file was corrected with the following contents:

Quote:
/etc/dbus-1/system.d/NetworkManager-kde4.conf


Code:

<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
        <policy user="root">
                <allow own="org.freedesktop.NetworkManagerUserSettings"/>

                <allow send_destination="org.freedesktop.NetworkManagerUserSettings"/>
        </policy>
        <policy group="plugdev">
                <allow own="org.freedesktop.NetworkManagerUserSettings"/>

                <allow send_destination="org.freedesktop.NetworkManagerUserSettings"/>
        </policy>
        <policy at_console="true">
                <allow own="org.freedesktop.NetworkManagerUserSettings"/>

                <allow send_destination="org.freedesktop.NetworkManagerUserSettings"/>

                <!-- Only root can get secrets -->
                <deny send_destination="org.freedesktop.NetworkManagerUserSettings"
                      send_interface="org.freedesktop.NetworkManagerSettings.Secrets"/>
        </policy>
        <policy context="default">
                <deny send_destination="org.freedesktop.NetworkManagerUserSettings"/>

                <allow send_destination="org.freedesktop.NetworkManagerUserSettings"
                       send_interface="org.freedesktop.DBus.Introspectable"/>
        </policy>

        <limit name="max_replies_per_connection">512</limit>
</busconfig>


Another detail... you must register prior to the network to the Manage Connections-Applet NetworkManager automatically connects to the network you want. Before accessing a new SSID, go to Manage Connections and register with the network password (if any) when you click OK the Applet automatically connect to the network!

Enjoy the KDE 4!!! 8)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum