From Mageia wiki
Jump to: navigation, search


Drakconf multiflag.png
Other languages
Deutsch ; English ; Français ;
Synopsis:
When Mageia is installed from the Classic or Netinstall ISOs, the default is to use the legacy "network" system service to manage network connections. The Mageia tools, accessed via the Mageia Control Centre or via the "net_applet" desktop system tray applet, can be used to configure and monitor the connections.

Starting from Mageia 6 for GNOME, Mageia 8 for Xfce, and Mageia 9 for Plasma, the Live ISOs and systems installed from those ISOs instead use the newer "NetworkManager" system service to manage network connections. The Mageia tools may still be used to configure and monitor the connections, but by default the "net_applet" system tray applet is disabled. For GNOME and Plasma, network configuration is integrated into those desktop's systems settings tools, and for Xfce, the "nm_applet" system tray applet is used instead.

You can switch between using the "network" service and the "NetworkManager" service, however the system was installed.

Note: In GNOME, the "net_applet" system tray applet is only displayed if you have enabled the "AppIndicator and KStatusNotifierItem Support" extension.

Switching to networkmanager is quite easy:

It is recommended to disable net_applet autostart. This can be achieved via right-click -> Settings or by running

$ echo "AUTOSTART=FALSE" > ~/.net_applet

Afterwards, exit net_applet via right-click or by running

# killall net_applet

Depending on your setup, you may need to kill an additional wpa_supplicant process, which may still be running (as networkmanager spawns its own wpa_supplicant instance).

Install networkmanager including networkmanager-applet, for example via

# urpmi networkmanager networkmanager-applet

If using Plasma, you only need to install plasma-applet-nm:

# urpmi plasma-applet-nm

and probably you need to install plasma-applet-nm-openvpn if you want also to manage your VPN connection through OpenVPN :

# urpmi plasma-applet-nm-openvpn

To complete the installation, start networkmanager and enable automatic startup as root via:

# systemctl enable --now NetworkManager.service

At this point, your connection might break. You can restart it by running the command

# systemctl restart NetworkManager.service

It is also recommended disabling the legacy network startup services by running

# systemctl mask network.service; systemctl mask network-up

as otherwise this would introduce unnecessary delays during boot.

From doktor5000 instructions on https://forums.mageia.org/en/viewtopic.php?f=25&t=5782