Before upgrading I could use sudo service network-manager restart
when having connection issues. After upgrading to 21.10 the network-manager is still installed, but not as a service anymore. Restarting the "networking" service instead seems not to have the same effects (and didn't had before in 20.04).
How do I restart the network-manager in 21.10?
NetworkManager.service
now, in line with how it's in other distros.sudo service NetworkManager.service status
"Unit NetworkManager.service.service could not be found."service
cmd has a--status-all
flag which allows to retrieve a list of all services. Network manager is not listed there, only "networking" again. Seems there's no service for it anymore or it has been consolidated and working differently now somehow.ExecStart=/usr/sbin/NetworkManager --no-daemon
. What I now do to restart it issudo killall NetworkManager
+sudo NetworkManager --no-daemon &
. Seems to do what the service restart did before.NetworkManager.service.service
with two.service
s in it. When using theservice
command, you shouldn't put have.service
sudo service NetworkManager status
.