NetworkManager

From Alpine Linux
Revision as of 06:25, 12 January 2020 by Markand (talk | contribs) (Explain how to use iwd with NetworkManager)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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: