0

I have a wireless card installed and nmcli reports that it is "unmanaged" with text in red that a "plugin is missing".

Googling around led me to identify that I need to install the requisite "NetworkManager-wifi" package. After installation over a wired connection, the red message about the plugin being missing did not go away until after a reboot, after which the device became managed and automatically connected to a network I had setup through nmtui.

My question is, how can I reload NetworkManager to recognize the plugin needed for the wifi to work without a reboot?

I tried:

$ service network reload

This did not have any affect.

  • network != NetworkManager – Ipor Sircer Nov 27 '18 at 4:49
  • Am I understanding correctly that, the problem comes back after the first reboot succeeded in fixing it? – Michael Prokopec Nov 27 '18 at 4:59
  • The problem goes away after installing this package and rebooting. – Zhro Nov 27 '18 at 13:41
1

Relading a device plugin (as provided by NetworkManager-wifi) is not supported. You need to restart NetworkManager via systemctl restart NetworkManager (or whatever service manager/init you use).

It's not supported because it's high effort and not easily possible. That is because the plugin is a shared library, and while it could be loaded on demand, it cannot be unloaded or updated without restart. Since restart anyway is required to work well, that is the suggested way for installing a device plugin.

Note that a restart of the NetworkManager service is usually not required, for example when doing changes to the networking configuration. This is one of the exceptions.

And yes, Ipor is right: network.service != network.target != NetworkManager.service (in systemd).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.