Wifi drops off every couple of minutes in Ubuntu 22.04

My WiFi worked fine until around a week ago. It now drops off after a few minutes and then comes back on again after a while which could be anything from 5 minutes to 20 minutes. I have dual boot (unfortunately need windows for some cad package!). The WiFi works fine on windows so I know its not the adapter. I tried just about all the suggestions which I could find. Kernel is 6.5.0-35-generic. Dell Vostro Laptop. I am currently using a 6m long network cable to access the internet. Not very convenient!

Any help will be appreciated

If you go into windows and check the network wifi adaptor, collect make model and any other info under properties from right clicking on the adaptor in windows.

Then go back into linux

Check

Software & Updates → Additional Drivers.

See if it offers anything in the wifi driver area matching your info collected under windows

If not please reply with the information so someone on this site can advise you

Linux does come with most installed but occasionally it needs some help

4 Likes

Could it be that Wi-Fi is being put to sleep due to a power setting change?

5 Likes

Hi. Thanks for the quick response. I haven’t made any changes to the power settings. I double checked that. I disabled IPV6 as recommended as one of the solutions. I also changed the power setting to 2 as recommended as well. Both these haven’t changed anything. It seems to be a common problem which Ubuntu 22.04 users are experiencing.

Regards
Mohamed

I’d look for a kernel update around the date you first discovered the problem.
I assume you use Ubuntu, or something derivative.
Just boot up your system with the previous kernel, and see, if the problem does vanish?
You can find many sources on how to boot a different installed kernel, for example:

6 Likes

Not sure disable ip6 is a good idea, there has been a move in that direction for years as the future of the net.

Could be the connection speed to your router chanel

OK these are the steps I have followed:

Re-enabled IPV6
Checked software and updates. No additional drivers available.
Went back to an older version of grub

No change! Wifi still dropping off

I ran lshw -C network from terminal and I got the following:

*-network
description: Wireless interface
product: Cannon Point-LP CNVi [Wireless-AC]
vendor: Intel Corporation
physical id: 14.3
bus info: pci@0000:00:14.3
logical name: wlo1
version: 30
serial: d0:c6:37:ef:c2:b1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=6.5.0-35-generic firmware=46.fae53a8b.0 9000-pu-b0-jf-b0- latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:16 memory:a131c000-a131ffff
*-network
description: Ethernet interface
product: RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:01:00.0
logical name: enp1s0
version: 15
serial: 6c:2b:59:62:3f:70
size: 100Mbit/s
capacity: 1Gbit/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.5.0-35-generic duplex=full firmware=rtl8168h-2_0.0.2 02/26/15 ip=192.168.1.114 latency=0 link=yes multicast=yes port=twisted pair speed=100Mbit/s
resources: irq:16 ioport:3000(size=256) memory:a1204000-a1204fff memory:a1200000-a1203fff

Cannon Point-LP CNVi [Wireless-AC] does appear to cause many others problems with drop our but the suggestions you have already implimented in kernel upgrades.

As wifi keys are so cheap I would be tempted to buy another and try that.

Thank you very much. Are you referring to a USB WiFi key? If so I’ll get one of those and try it out. That’s what I have on my desktop also running Ubuntu 22.04 with no issues.

Kind regards

Yes usb wifi key

That model cannon had issues with older versions of ubuntu 20.? But either went away by 22.? Or other users were then on other connection systems.

Most of my research was based in france where it was a standard on some machines for a period. Hence the ubuntu forums had many examples but mainly suggestion the update fixed it.

Yes, as I mentioned earlier the WiFi worked fine for the last 6 months or so and started giving me problems in the last week. I can do one of 2 things, either get a USB key or change the WiFi card in my laptop. Its a Dell Vostro 5581. Will have to find a card that’s Linux friendly! Will probably give the USB key a shot first.

Regards

That may suggest a recient update to your system could be the cause.

Wifi cards are also cheap but more than the usb keys.

Try the key first but you may have to physically remove the card at some stage.

I would be drawn by tp link as my prefered out of the box solution.

One issue you may face however is position, if your desktop machine is in efect under a table the range or view of the router could be a problem without antennas and repositioning may help.

This old topic gives a link to a site with comprehensive wifi information

1 Like
grep "upgrade " /var/log/dpkg.log

Run this grep, it will theoretically show a list about what packages were upgraded and when.
Copy it here.
In your situation relevant finding will be the kernel packages, an firmware related packages I think.

3 Likes

I ran grep "upgrade " /var/log/dpkg.log and the following is the result:

2024-06-04 14:04:06 upgrade libc6-dbg:amd64 2.35-0ubuntu3.7 2.35-0ubuntu3.8
2024-06-04 14:04:06 upgrade libc6:amd64 2.35-0ubuntu3.7 2.35-0ubuntu3.8
2024-06-04 14:04:08 upgrade libc-bin:amd64 2.35-0ubuntu3.7 2.35-0ubuntu3.8
2024-06-04 14:04:08 upgrade locales:all 2.35-0ubuntu3.7 2.35-0ubuntu3.8
2024-06-04 14:04:09 upgrade fonts-opensymbol:all 2:102.12+LibO7.3.7-0ubuntu0.22.04.4 2:102.12+LibO7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:09 upgrade libgstreamer-plugins-base1.0-0:amd64 1.20.1-1ubuntu0.1 1.20.1-1ubuntu0.2
2024-06-04 14:04:09 upgrade libgstreamer-gl1.0-0:amd64 1.20.1-1ubuntu0.1 1.20.1-1ubuntu0.2
2024-06-04 14:04:09 upgrade gir1.2-gst-plugins-base-1.0:amd64 1.20.1-1ubuntu0.1 1.20.1-1ubuntu0.2
2024-06-04 14:04:09 upgrade gir1.2-webkit2-4.0:amd64 2.44.0-0ubuntu0.22.04.1 2.44.2-0ubuntu0.22.04.1
2024-06-04 14:04:09 upgrade gir1.2-javascriptcoregtk-4.0:amd64 2.44.0-0ubuntu0.22.04.1 2.44.2-0ubuntu0.22.04.1
2024-06-04 14:04:09 upgrade libwebkit2gtk-4.0-37:amd64 2.44.0-0ubuntu0.22.04.1 2.44.2-0ubuntu0.22.04.1
2024-06-04 14:04:10 upgrade libjavascriptcoregtk-4.0-18:amd64 2.44.0-0ubuntu0.22.04.1 2.44.2-0ubuntu0.22.04.1
2024-06-04 14:04:11 upgrade gstreamer1.0-plugins-base:amd64 1.20.1-1ubuntu0.1 1.20.1-1ubuntu0.2
2024-06-04 14:04:11 upgrade gstreamer1.0-alsa:amd64 1.20.1-1ubuntu0.1 1.20.1-1ubuntu0.2
2024-06-04 14:04:11 upgrade gstreamer1.0-gl:amd64 1.20.1-1ubuntu0.1 1.20.1-1ubuntu0.2
2024-06-04 14:04:11 upgrade gstreamer1.0-plugins-base-apps:amd64 1.20.1-1ubuntu0.1 1.20.1-1ubuntu0.2
2024-06-04 14:04:11 upgrade gstreamer1.0-x:amd64 1.20.1-1ubuntu0.1 1.20.1-1ubuntu0.2
2024-06-04 14:04:11 upgrade libpq5:amd64 14.11-0ubuntu0.22.04.1 14.12-0ubuntu0.22.04.1
2024-06-04 14:04:11 upgrade libuno-sal3:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:11 upgrade libuno-salhelpergcc3-3:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:11 upgrade libuno-cppu3:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:11 upgrade libuno-cppuhelpergcc3-3:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:11 upgrade ure:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:11 upgrade uno-libs-private:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:11 upgrade libuno-purpenvhelpergcc3-3:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:12 upgrade libreoffice-calc:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:12 upgrade libreoffice-impress:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:12 upgrade libreoffice-draw:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:12 upgrade libreoffice-math:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:12 upgrade libreoffice-help-en-us:all 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:13 upgrade libreoffice-help-common:all 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:14 upgrade libreoffice-common:all 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:15 upgrade libreoffice-gnome:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:15 upgrade libreoffice-gtk3:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:15 upgrade libreoffice-base-core:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:15 upgrade python3-uno:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:15 upgrade libreoffice-writer:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:16 upgrade libreoffice-core:amd64 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:16 upgrade libreoffice-style-colibre:all 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:16 upgrade libreoffice-l10n-en-za:all 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:16 upgrade libreoffice-style-breeze:all 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:17 upgrade libreoffice-style-elementary:all 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:17 upgrade libreoffice-style-yaru:all 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:17 upgrade libtss2-mu0:amd64 3.2.0-1ubuntu1 3.2.0-1ubuntu1.1
2024-06-04 14:04:17 upgrade libtss2-tcti-cmd0:amd64 3.2.0-1ubuntu1 3.2.0-1ubuntu1.1
2024-06-04 14:04:17 upgrade libtss2-tcti-device0:amd64 3.2.0-1ubuntu1 3.2.0-1ubuntu1.1
2024-06-04 14:04:17 upgrade libtss2-tcti-mssim0:amd64 3.2.0-1ubuntu1 3.2.0-1ubuntu1.1
2024-06-04 14:04:17 upgrade libtss2-tcti-swtpm0:amd64 3.2.0-1ubuntu1 3.2.0-1ubuntu1.1
2024-06-04 14:04:17 upgrade libtss2-sys1:amd64 3.2.0-1ubuntu1 3.2.0-1ubuntu1.1
2024-06-04 14:04:17 upgrade libtss2-esys-3.0.2-0:amd64 3.2.0-1ubuntu1 3.2.0-1ubuntu1.1
2024-06-04 14:04:17 upgrade intel-microcode:amd64 3.20231114.0ubuntu0.22.04.1 3.20240514.0ubuntu0.22.04.1
2024-06-04 14:04:17 upgrade libreoffice-ogltrans:all 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-04 14:04:17 upgrade libreoffice-pdfimport:all 1:7.3.7-0ubuntu0.22.04.4 1:7.3.7-0ubuntu0.22.04.5
2024-06-10 20:59:26 upgrade ubuntu-pro-client-l10n:amd64 31.2.3~22.04 32.3~22.04
2024-06-10 20:59:26 upgrade ubuntu-pro-client:amd64 31.2.3~22.04 32.3~22.04
2024-06-10 20:59:26 upgrade ubuntu-advantage-tools:all 31.2.3~22.04 32.3~22.04
2024-06-10 20:59:26 upgrade xxd:amd64 2:8.2.3995-1ubuntu2.16 2:8.2.3995-1ubuntu2.17
2024-06-10 20:59:26 upgrade vim-tiny:amd64 2:8.2.3995-1ubuntu2.16 2:8.2.3995-1ubuntu2.17
2024-06-10 20:59:26 upgrade vim-common:all 2:8.2.3995-1ubuntu2.16 2:8.2.3995-1ubuntu2.17
2024-06-10 20:59:26 upgrade bind9-host:amd64 1:9.18.18-0ubuntu0.22.04.2 1:9.18.24-0ubuntu0.22.04.1
2024-06-10 20:59:26 upgrade bind9-dnsutils:amd64 1:9.18.18-0ubuntu0.22.04.2 1:9.18.24-0ubuntu0.22.04.1
2024-06-10 20:59:27 upgrade bind9-libs:amd64 1:9.18.18-0ubuntu0.22.04.2 1:9.18.24-0ubuntu0.22.04.1
2024-06-10 20:59:27 upgrade bluez:amd64 5.64-0ubuntu1.1 5.64-0ubuntu1.3
2024-06-10 20:59:27 upgrade bluez-cups:amd64 5.64-0ubuntu1.1 5.64-0ubuntu1.3
2024-06-10 20:59:27 upgrade bluez-obexd:amd64 5.64-0ubuntu1.1 5.64-0ubuntu1.3
2024-06-10 20:59:27 upgrade libgdk-pixbuf2.0-common:all 2.42.8+dfsg-1ubuntu0.2 2.42.8+dfsg-1ubuntu0.3
2024-06-10 20:59:27 upgrade libgdk-pixbuf-2.0-0:amd64 2.42.8+dfsg-1ubuntu0.2 2.42.8+dfsg-1ubuntu0.3
2024-06-10 20:59:27 upgrade gir1.2-gdkpixbuf-2.0:amd64 2.42.8+dfsg-1ubuntu0.2 2.42.8+dfsg-1ubuntu0.3
2024-06-10 20:59:27 upgrade mutter-common:all 42.9-0ubuntu7.1 42.9-0ubuntu8
2024-06-10 20:59:27 upgrade gir1.2-mutter-10:amd64 42.9-0ubuntu7.1 42.9-0ubuntu8
2024-06-10 20:59:27 upgrade libmutter-10-0:amd64 42.9-0ubuntu7.1 42.9-0ubuntu8
2024-06-10 20:59:27 upgrade libarchive13:amd64 3.6.0-1ubuntu1 3.6.0-1ubuntu1.1
2024-06-10 20:59:27 upgrade libbluetooth3:amd64 5.64-0ubuntu1.1 5.64-0ubuntu1.3
2024-06-10 20:59:27 upgrade libgdk-pixbuf2.0-bin:amd64 2.42.8+dfsg-1ubuntu0.2 2.42.8+dfsg-1ubuntu0.3
2024-06-10 20:59:27 upgrade libgif7:amd64 5.1.9-2build2 5.1.9-2ubuntu0.1
2024-06-10 20:59:27 upgrade libvpx7:amd64 1.11.0-2ubuntu2.2 1.11.0-2ubuntu2.3
2024-06-10 21:11:28 upgrade linux-modules-extra-6.5.0-35-generic:amd64 6.5.0-35.35~22.04.1 6.5.0-35.35~22.04.1
2024-06-11 20:20:01 upgrade libfprint-2-2:amd64 1:1.94.3+tod1-0ubuntu2~22.04.06 1:1.94.3+tod1-0ubuntu2~22.04.07
2024-06-11 20:20:01 upgrade libmysqlclient21:amd64 8.0.36-0ubuntu0.22.04.1 8.0.37-0ubuntu0.22.04.3
2024-06-11 20:20:01 upgrade libtiff5:amd64 4.3.0-6ubuntu0.8 4.3.0-6ubuntu0.9

2 Likes

Thanks for the info.

This is the only one on the list I could blame, but it surely is not the culprit, or not alone. Looking around I found Ubuntu has a package which contains iwlwifi, which I tend to blame.
https://packages.ubuntu.com/search?keywords=linux-modules-iwlwifi-generic

However, this is not on the list.
May I see the kernels you have installed?

dpkg -l linux-image*

4 Likes

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Desc>
++±=====================================-===================-============-====>
un linux-image (no >
rc linux-image-6.2.0-26-generic 6.2.0-26.26~22.04.1 amd64 Sign>
rc linux-image-6.5.0-18-generic 6.5.0-18.18~22.04.1 amd64 Sign>
rc linux-image-6.5.0-21-generic 6.5.0-21.21~22.04.1 amd64 Sign>
rc linux-image-6.5.0-25-generic 6.5.0-25.25~22.04.1 amd64 Sign>
rc linux-image-6.5.0-26-generic 6.5.0-26.26~22.04.1 amd64 Sign>
ii linux-image-6.5.0-28-generic 6.5.0-28.29~22.04.1 amd64 Sign>
ii linux-image-6.5.0-35-generic 6.5.0-35.35~22.04.1 amd64 Sign>
ii linux-image-generic-hwe-22.04 6.5.0.35.35~22.04.1 amd64 Gene>
un linux-image-unsigned-6.2.0-26-generic (no >
un linux-image-unsigned-6.5.0-18-generic (no >
un linux-image-unsigned-6.5.0-21-generic (no >
un linux-image-unsigned-6.5.0-25-generic (no >
un linux-image-unsigned-6.5.0-26-generic (no >
un linux-image-unsigned-6.5.0-28-generic (no >
un linux-image-unsigned-6.5.0-35-generic

2 Likes

So you have a HWE kernel too. Did you install this intentionally, or Ubuntu installs this by default?
(I’m not an Ubuntu user, hence I’m not sure).

I’d try to boot the 6.5.0-28 kernel, for that you need to reach the GRUB menu like you did before.
After boot up, make sure the system runs on that kernel, run this command:
uname -a
It should output a string somewhere mentioning 6.5.0-28 (your actual kernel version).
Does it?
Well, if yes, your system really runs on a previous kernel.
Use it for a while to see, how the wifi behaves?

4 Likes

Hi and thanks for your assistance. I did not install the HWE kernel intentionally. Ubuntu must have installed this by default. I am booting from 6.5.0-28. I went back from the newer 6.5.0-35 kernel as suggested. None of this has helped. Currently I am using a USB TP Link WiFi key which I bought today. It is the TL-WN725N and is working flawlessly so far.

3 Likes

Tp just appears to work each and every time, good news

2 Likes