Recently I have installed Ubuntu 21.04. Soon after the installment I found out that the Wifi is not working after sometime. The available network list is continously loading and there are no networks on display. Even if I toggle the wifi from the settings to on and off it is not working. Only after a restart it starts working.
Initially I tried to run the following commands:
sudo service network-manager restart
and got the following output:
Failed to restart network-manager.service: Unit network-manager.service not found.
However, on running these commands I did not receive any errors but the Wifi was still not working.
sudo service NetworkManager stop
sudo service NetworkManager start
I also ran the following command:
systemctl list-unit-files | grep -i network
and here is the output
networkd-dispatcher.service enabled enabled
NetworkManager-dispatcher.service enabled enabled
NetworkManager-wait-online.service enabled enabled
NetworkManager.service enabled enabled
systemd-network-generator.service disabled disabled
systemd-networkd-wait-online.service disabled disabled
systemd-networkd.service disabled enabled
systemd-networkd.socket disabled enabled
network-online.target static -
network-pre.target static -
network.target static -
I ran lspci
and found that my Network Controller is:
Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
I am beginner to Ubuntu. My most of the tasks are maily for personal work like study, wastch movies and surf the internet.
Any help is much appriciated here.
Many thanks.