2014-08-24 19:18:18 +02:00
|
|
|
<section xmlns="http://docbook.org/ns/docbook"
|
|
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
|
|
version="5.0"
|
|
|
|
xml:id="sec-networkmanager">
|
|
|
|
|
|
|
|
<title>NetworkManager</title>
|
|
|
|
|
|
|
|
<para>To facilitate network configuration, some desktop environments
|
|
|
|
use NetworkManager. You can enable NetworkManager by setting:
|
|
|
|
|
|
|
|
<programlisting>
|
2015-02-24 18:09:36 +01:00
|
|
|
networking.networkmanager.enable = true;
|
2014-08-24 19:18:18 +02:00
|
|
|
</programlisting>
|
|
|
|
|
2014-11-27 12:09:17 +01:00
|
|
|
some desktop managers (e.g., GNOME) enable NetworkManager
|
2014-08-24 19:18:18 +02:00
|
|
|
automatically for you.</para>
|
|
|
|
|
2016-09-05 11:13:47 +02:00
|
|
|
<para>All users that should have permission to change network settings must
|
|
|
|
belong to the <code>networkmanager</code> group:
|
|
|
|
|
|
|
|
<programlisting>
|
|
|
|
users.extraUsers.youruser.extraGroups = [ "networkmanager" ];
|
|
|
|
</programlisting>
|
|
|
|
</para>
|
|
|
|
|
|
|
|
<para>NetworkManager is controlled using either <command>nmcli</command> or
|
|
|
|
<command>nmtui</command> (curses-based terminal user interface). See their
|
|
|
|
manual pages for details on their usage. Some desktop environments (GNOME, KDE)
|
2017-02-21 15:20:10 +01:00
|
|
|
have their own configuration tools for NetworkManager. On XFCE, there is no
|
|
|
|
configuration tool for NetworkManager by default: by adding
|
|
|
|
<code>networkmanagerapplet</code> to the list of system packages, the graphical
|
|
|
|
applet will be installed and will launch automatically when XFCE is starting
|
|
|
|
(and will show in the status tray).</para>
|
2014-08-24 19:18:18 +02:00
|
|
|
|
2015-02-24 18:09:36 +01:00
|
|
|
<note><para><code>networking.networkmanager</code> and
|
2016-09-05 11:13:47 +02:00
|
|
|
<code>networking.wireless</code> (WPA Supplicant) cannot be enabled at the same
|
|
|
|
time: you can still connect to the wireless networks using
|
2014-08-24 19:18:18 +02:00
|
|
|
NetworkManager.</para></note>
|
|
|
|
|
|
|
|
</section>
|