NetworkManager

From Alpine Linux

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.

Open /etc/NetworkManager/NetworkManager.conf in a editor and change it to look something like this:

Contents of /etc/NetworkManager/NetworkManager.conf

[main] dhcp=internal plugins=keyfile managed=true [device] wifi.backend=wpa_supplicant

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: