Sometimes my network manager indicator (applet) shows as if I'm not connected to wifi (no bars) and when I right click it it says "networking disabled" although I am connected to the internet. Maybe it's a bug or something.
Running sudo service network-manager restart
fixes this applet. It restarts the whole network. Does anyone know a simple way to restart just the applet? (nm-applet
)
You can restart nm-applet with this command from terminal:
or by restarting the network-manager service (which will restart nm-applet):
or
Here is a YouTube video explaining the answer.
If you have gnome, restarting the shell (Alt-F2, r, Return) might do it.
None of the accepted answer's suggestions worked for me in Ubuntu 16.04.5, but this did:
The main difference seems to be
sudo
beforekillall
.