From Mageia wiki
Jump to: navigation, search
Drakconf multiflag.png
Other languages

Deutsch ; English ; Français ;


Mageia provides its own tool called net_applet to manage network. GNOME however uses by default networkmanager (starting from Mageia 7). For other desktop environments, you can switch from one to the other.


Switching to networkmanager should be quite easy:

Make sure that for every connection "Allow interface to be controlled by Network Manager" is enabled (see the Drakconnect chapter in our MCC Doku). It can also be easily changed for all interfaces via

Konsole.png
[root@computer ~]# sed -i 's/NM_CONTROLLED=no/NM_CONTROLLED=yes/' /etc/sysconfig/network-scripts/ifcfg-*
[root@computer ~]# _

Install networkmanager including networkmanager-applet, for example via

Konsole.png
[root@computer ~]# urpmi networkmanager networkmanager-applet
[root@computer ~]# _

and enable automatic startup as root via

Konsole.png
[root@computer ~]# systemctl mask network.service
[root@computer ~]# _
Konsole.png
[root@computer ~]# systemctl mask network-up
[root@computer ~]# _
Konsole.png
[root@computer ~]# systemctl enable NetworkManager.service
[root@computer ~]# _

at this point your connection will break, if you need it again you may need to run the command

Konsole.png
[root@computer ~]# systemctl stop NetworkManager.service
[root@computer ~]# _

and it will work again for some minutes.

Then disable net_applet autostart (can be done via right-click -> Settings or by putting AUTOSTART=FALSE into ~/.net-applet) and on next boot networkmanager should be in charge. Depending on your setup you may need to kill an additional wpa_supplicant process, which may still be running, as networkmanager spawns its own instance.

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