1607 shaares
1 lien privé
1 lien privé
Here are 6 ways you can restart the network in Ubuntu and other Linux distros. Also learn to refresh wireless network connection in Ubuntu Linux.
This is the easiest way to restart your network using the command line. It’s equivalent to the graphical way of doing it (restarts the Network-Manager service).
sudo systemctl restart NetworkManager.service
nmcli
There are two steps to this method: turning the network off and then turning it back on.
sudo nmcli networking off
The network will shut down and the icon will disappear. To turn it back on:
sudo nmcli networking on