As I mentioned elsewhere, I had an issue building it, but I now have
version 0.8 of it and the applet installed.
To work, you need to add a basic configuration file:
/etc/NetworkManager/nm-system-settings.conf
------8<------8<------8<------8<------8<------8<------8<------8<------
[main]
plugins=keyfile
no-auto-default=00:12:17:5a:5e:35,
[keyfile]
hostname=<your_host_name>
------8<------8<------8<------8<------8<------8<------8<------8<------
I note that the documentation says that this file name will be changed
in the future.
If running KDE, you also need to copy: "nm-applet.desktop" from your
GNOME autostart directory to your KDE autostart directory.
You need to setup your init.d scripts to start the NetworkManager daemon
at boot.
After doing this, you need to reboot your system (or you can go to level
1 and back).
Now, you should be able to run: "nm-connection-editor" as root.
If you have Ethernet, "Add" a "Wired" connection. If you have a DHCP
Client installed, all you should need to do is supply the: "MAC
Address". You can find this with the console application: "nm-tool".
Be sure to check: "Connect automatically" and "Available to all users".
Now, your Ethernet should automatically startup when you plugin the
cable as someone requested. I don't do that, but I tried it and it
worked. What I do need is for it to starup at boot and to restart if my
DSL connection is interrupted.
There is an issue with the applet. The default policy means that it
will only run as root. Some Googling and I found how to set this up so
that the applet will be on the system tray and will work for user
accounts. These two patches [attached] based on having a: "network"
group and making the needed accounts members of it work for me. Files
to patch are in "/etc.../dbus-1/system.d".
Note that because these are system configurations that you will need to
reboot again before the changes take effect.
I still have issues. Stuff that should be logged is showing up on VTs.
I will have to read more of the documentation (which is terrible or
nonexistent).
--
James Tyrer
Linux (mostly) From Scratch
--- NetworkManager.conf.old 2010-04-19 02:58:27.000000000 -0700
+++ NetworkManager.conf 2010-04-19 02:58:27.000000000 -0700
@@ -12,6 +12,10 @@
<allow send_destination="org.freedesktop.NetworkManager"
send_interface="org.freedesktop.NetworkManager.PPP"/>
</policy>
+ <policy group="network">
+ <allow send_destination="org.freedesktop.NetworkManager"/>
+ <allow send_interface="org.freedesktop.NetworkManager"/>
+ </policy>
<policy at_console="true">
<allow send_destination="org.freedesktop.NetworkManager"/>
--- nm-applet.conf.old 2010-04-19 03:00:48.000000000 -0700
+++ nm-applet.conf 2010-04-19 03:00:48.000000000 -0700
@@ -23,6 +23,12 @@
<allow send_destination="org.freedesktop.NetworkManagerUserSettings"
send_interface="org.freedesktop.NetworkManagerSettings.Connection.Secrets"/>
</policy>
+ <policy group="network">
+ <allow own="org.freedesktop.NetworkManagerUserSettings"/>
+ <allow send_destination="org.freedesktop.NetworkManagerUserSettings"/>
+ <allow send_interface="org.freedesktop.NetworkManagerUserSettings"/>
+ <deny send_interface="org.freedesktop.NetworkManagerSetting.Secrets"/>
+ </policy>
<policy at_console="true">
<allow own="org.freedesktop.NetworkManagerUserSettings"/>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page