NetworkManager: Difference between revisions

From Alpine Linux
(Explain how to use iwd with NetworkManager)
No edit summary
Line 1: Line 1:
NetworkManager is a program that provides automatic detection and configuration for systems to connect to networks.
NetworkManager is a program that provides automatic detection and configuration for systems to connect to networks.


= Installation =
== Installation ==
NetworkManager is in the repositories and can be installed with the {{Pkg|networkmanager}} package. It comes with a command line interface and a curses-based interface, <code>nmcli</code> and <code>nmtui</code> respectively.
NetworkManager is in the repositories and can be installed with the {{Pkg|networkmanager}} package. It comes with a command line interface and a curses-based interface, <code>nmcli</code> and <code>nmtui</code> respectively.


Line 12: Line 12:


== Wireless networks ==
== Wireless networks ==
==== {{Pkg|wpa_supplicant}} backend ====
* Follow: [[Wi-Fi#wpa_supplicant]]
{{Expand}}
==== {{Pkg|iwd}} backend ====
NetworkManager supports wireless networks through {{Pkg|iwd}}. After installation, enable the server and restart NetworkManager:
NetworkManager supports wireless networks through {{Pkg|iwd}}. After installation, enable the server and restart NetworkManager:
<pre>
<pre>
Line 24: Line 36:
wifi.backend=iwd
wifi.backend=iwd
</pre>
</pre>
<br>


== VPN support ==
== VPN support ==

Revision as of 21:48, 3 January 2022

NetworkManager is a program that provides automatic detection and configuration for systems to connect to networks.

Installation

NetworkManager is in the repositories and can be installed with the networkmanager package. It comes with a command line interface and a curses-based interface, nmcli and nmtui respectively.

Additional interfaces:

Start the daemon after installation:

rc-service networkmanager start

Wireless networks

wpa_supplicant backend

This material needs expanding ...

Please feel free to help us complete it.



iwd backend

NetworkManager supports wireless networks through iwd. After installation, enable the server and restart NetworkManager:

rc-service iwd start
rc-service networkmanager restart

To use iwd though, you've have to edit NetworkManager's configuration because it still defaults to wpa_supplicant instead. Add the following to /etc/NetworkManager/NetworkManager.conf:

[device]
wifi.backend=iwd


VPN support

Since version 1.16, NetworkManager has support for Wireguard[1].

Support for other VPN types is provided by plugins. They are provided in the following packages: