During the startup a wifi connection is established and everything works fine.
After a while, the connection disappears suddenly.
To fix this i do, sudo service network-manager restart
and then my connection is up. But the same problems happens after a while.
I am not sure what is the issue with the wifi-driver.
system info:
$ sudo lshw -C network
*-network
description: Wireless interface
product: Wireless 3165
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:05:00.0
logical name: wlp5s0
version: 79
serial: 08:d4:0c:ac:d0:6e
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.4.0-73-generic firmware=29.1654887522.0 ip=192.168.0.8 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:136 memory:df200000-df201fff
$ uname -r
5.4.0-73-generic
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.2 LTS"
Also there is a question mark on the wifi icon. So, it more looks like a DNS issue. Also i noticed that sometimes a few sites open and sometimes none of the sites work.
This is really annoying problem and any fix is very appreciated.
There seems to be a similar issue here: Wireless connection fails every few minutes
But the accepted solution there does not work for me. The root cause could be different. Many places this issue is reported but never there had been a fully working solution. Hopefully we could fix it here!
sudo dmesg | grep -e iwl -e wlp
and also:nmcli device wifi list
As the output may lengthy, post the result here and give us the link: paste.ubuntu.com