Re: Is NetworkManager ready for servers with may interfaces?



On Fri, 2008-05-02 at 16:23 -0700, Kenneth Crudup wrote:
> On Fri, 2 May 2008, Rui Tiago Cação Matos wrote:
> 
> > If you're wondering how [the system settings plugin] gets launched:
> > $ less /usr/share/dbus-1/system-services/org.freedesktop.NetworkManagerSystemSettings.service
> > i.e. it's automatically launched by DBus when NM needs it.
> 
> Thank you very much for this; I think I might have found one problem.
> That file reads:
> 
> ----
> [D-BUS Service]
> Name=org.freedesktop.NetworkManagerSystemSettings
> Exec=/usr/sbin/nm-system-settings --config /etc/nm-system-settings.conf
> User=root
> ----
> 
> ... but there's no file "/etc/nm-system-settings.conf"; there's one
> in the D-Bus directory, though:
> 
> -rw-r--r-- 1 root root 902 2008-05-02 10:03 /etc/dbus-1/system.d/nm-system-settings.conf
> 
> Should I just make a symlink?

No, the dbus conf file is for dbus permissions.  There isn't a shipped
config file for the settings service.  Basically, just make one up that
has:

[main]
plugins=keyfile

and point the system settings service to that.  You then get to actually
create the connection files, which by default are
in /etc/NetworkManager/system_config/ and look like normal .ini files.
I should get Tambet to mail you a sample file or something, it's a bit
long to explain there.  But Tambet will also soon land the connection
editing patches so that you could use nm-connection-editor to
add/create/delete system connections instead of writing them in a text
editor.

dan





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]