Gentoo Archives: gentoo-user

From: Darren Kirby <bulliver@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] NetworkManager OK? kNetworkManager broken? Wireless setup very confusing...
Date: Fri, 01 Oct 2010 03:38:38
Message-Id: AANLkTikRJoTRAC0avQdfcgKVr7fsSoaPsjra=69GEMNp@mail.gmail.com
In Reply to: Re: [gentoo-user] NetworkManager OK? kNetworkManager broken? Wireless setup very confusing... by "Canek Peláez Valdés"
1 On Thu, Sep 30, 2010 at 8:16 PM, Canek Peláez Valdés <caneko@×××××.com> wrote:
2 > On Thu, Sep 30, 2010 at 7:37 PM, Darren Kirby <bulliver@×××××.com> wrote:
3 > [...]
4 >> I am wondering if I should just uninstall KNetworkManager, and try
5 >> nm-applet? Will that even work on a KDE desktop? Will it require
6 >> installing boatloads of gnome crap I don't want? Should I chuck the
7 >> whole works and use Wicd?
8 >
9 > I don't know about KNetworkManager, but nm-applet under GNOME works
10 > flawless and without need of any configuration. You just need to
11 > disable the Gentoo network scripts (with RC_PLUG_SERVICES="!net.*" in
12 > /etc/conf.d/rc) and off you go. No need to change any other
13 > configuration file.
14
15 I did already edit RC_PLUG_SERVICES to override udev...
16
17 I guess it works fine without configuration for everyone but me...I get this:
18
19 ** (nm-applet:24816): WARNING **: <WARN> request_name(): Could not
20 acquire the NetworkManagerUserSettings service.
21 Error: (9) Connection ":1.35" is not allowed to own the service
22 "org.freedesktop.NetworkManagerUserSettings" due to security policies
23 in the configuration file
24
25 So then I add this:
26
27 <policy group="plugdev">
28 <allow send_destination="org.freedesktop.NetworkManager"/>
29
30 <allow send_destination="org.freedesktop.NetworkManager"
31 send_interface="org.freedesktop.NetworkManager"/>
32 </policy>
33
34 to /etc/dbus-1/system.d/nm-applet.conf but it still doesn't work. I
35 don't even know if that's right, I know nothing of writing dbus policy
36 rules. You say you didn't have to configure anything? I don't know,
37 it says 'WARNING' rather than error, but 'ps' shows no nm-applet
38 running. Is it just supposed to show up on the panel or what?
39
40
41 > As I understand, nm-applet uses the Freedesktop standar for
42 > notification areas, so it should work with KDE. It will pull part of
43 > the GNOME stack, obviously, but is really minimal:
44 >
45 > RDEPEND=">=dev-libs/glib-2.16
46 >        >=dev-libs/dbus-glib-0.74
47 >        >=sys-apps/dbus-1.2
48 >        >=x11-libs/gtk+-2.14
49 >        >=gnome-base/gconf-2.20
50 >        >=gnome-extra/polkit-gnome-0.92
51 >        >=x11-libs/libnotify-0.4.3
52 >        >=gnome-base/libglade-2
53 >        >=gnome-base/gnome-keyring-2.20
54 >
55 >        >=dev-libs/libnl-1.1
56 >        >=net-misc/networkmanager-${PV}
57 >        >=net-wireless/wireless-tools-28_pre9
58 >        >=net-wireless/wpa_supplicant-0.5.7
59 >        net-misc/mobile-broadband-provider-info
60 >        bluetooth? ( >=net-wireless/gnome-bluetooth-2.27.6 )"
61 >
62 > And probably you already have most of those packages.
63
64 Yes, I only had to install 8 new ones.
65
66 > I used to have my own scripts and utilities, and back in the day I
67 > knew wpa_supplicant like the palm of my hand. Now not so much; it's
68 > not worth it. The GUI utilities (or at least those from GNOME, which
69 > is my preferred desktop) never really fail any more.
70 >
71 > Regards.
72 > --
73 > Canek Peláez Valdés
74 > Instituto de Matemáticas
75 > Universidad Nacional Autónoma de México
76 >
77 >
78
79 Still frustrated that not a damn thing seems to work,
80 D
81 --
82 --
83 Support the mob or mysteriously disappear...
84 I'm on flickr: http://www.flickr.com/photos/badcomputer/