NetworkManager: Difference between revisions

From Alpine Linux
(Explain how to use iwd with NetworkManager)
Line 16: Line 16:
rc-service iwd start
rc-service iwd start
rc-service networkmanager restart
rc-service networkmanager restart
</pre>
To use {{Pkg|iwd}} though, you've have to edit NetworkManager's configuration because it still defaults to {{Pkg|wpa_supplicant}} instead. Add the following to {{Path|/etc/NetworkManager/NetworkManager.conf}}:
<pre>
[device]
wifi.backend=iwd
</pre>
</pre>



Revision as of 06:25, 12 January 2020

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

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: