Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Wifi drops out after several minutes

  1. #1
    Join Date
    Mar 2024
    Beans
    10

    Wifi drops out after several minutes

    I installed Ubuntu 22.04.4 two days ago. After installation, the wifi would work for some time and then drop out. To fix this, I've tried setting the wifi.powersave = 2 and updated my bios. This system has 2 NVME drives, one 2TB drive that windows is installed on, and a 1TB drive that Ubuntu is installed on. This wifi failure does not happen with windows, only Ubuntu, so I bet it's a software configuration.




    When the wifi fails, `sudo lshw -class network` shows that the wireless device is disconnected. I've tried restarting network manager (`sudo systemctl restart NetworkManager`), and bringing the interface up (`sudo fconfig wlp9s0 up`). Neither work.

    What other logs can I look at to find more information, or how might I fix this?
    [/COLOR]
    Last edited by k20shores; March 30th, 2024 at 05:12 AM.

  2. #2
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Wifi drops out after several minutes

    I have a wifi AP that automatically reduces output power when traffic isn't flowing. It doesn't reduce the power so much that it isn't still "connected", but it can take about 5 seconds for the power to be turned up again. I've never researched if this is on the AP or the client or both sides. I think it is part of the wifi-6 and later standards.

    Wifi chip makers don't really test with Linux. That's part of the issue.

    Probably unrelated, but having an SSID with spaces or punctuation in the name could be causing issues. There are lots of little scripts involved in dealing with networking. If all of them aren't 100% safe when unusual characters are involved, bad things can happen. In theory, it shouldn't matter, but it is a trivial thing to change the SSID.
    Last edited by TheFu; April 2nd, 2024 at 02:13 PM. Reason: s/save/safe/

  3. #3
    Join Date
    Mar 2024
    Beans
    10

    Re: Wifi drops out after several minutes

    According to [this thread](https://www.reddit.com/r/voidlinux/c...t=share_button) wpa_supplicant and NetworkManager can interfere with each other. I [disabled wpa_supplicant](https://stackoverflow.com/a/66000039/5217293) and thought it was fine, but then the wifi died again...

    It only works on a restart. The dmesg logs indicate that `iwlwifi` can't get access to the wifi card after a certain point and I cannot identify why.

  4. #4
    Join Date
    May 2014
    Location
    /home
    Beans
    10,999
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Wifi drops out after several minutes

    Has the hybrid shutdown been disabled in Windows?

  5. #5
    Join Date
    Mar 2024
    Beans
    10

    Re: Wifi drops out after several minutes

    I do not know. I have not ever explicitly messed with that setting; I'll have to check. But I don't see how it's related; Linux is on it's own drive entirely separate from Windows.

  6. #6
    Join Date
    Mar 2010
    Location
    Squidbilly-Land
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Wifi drops out after several minutes

    Quote Originally Posted by k20shores View Post
    I do not know. I have not ever explicitly messed with that setting; I'll have to check. But I don't see how it's related; Linux is on it's own drive entirely separate from Windows.
    There are sometimes interactions with how the hardware was left after booting MS-Windows.

    Sometimes the drivers in Windows do things that the vendor's driver team for Linux didn't do. They aren't always the same people.

    When it comes to networking and Linux, you should read and try what jeremy31 says.

  7. #7
    Join Date
    Mar 2024
    Beans
    10

    Re: Wifi drops out after several minutes

    I have disabled the hybrid shutdown in windows. Additionally, I provided two wireless info dumps in the original post.

  8. #8
    Join Date
    Mar 2024
    Beans
    10

    Re: Wifi drops out after several minutes

    But, here are two new ones from when things

    - [worked](https://pastebin.com/imwrncMd)
    - [and failed](https://pastebin.com/Rn8GUBA5)

    after disabling hybrid shutdown

  9. #9
    Join Date
    Mar 2024
    Beans
    10

    Re: Wifi drops out after several minutes

    Hmm. I did a full shutdown and things seem to be stable so far? currently at an uptime of 1 hour and 45 minutes and that's the longest yet. Here's hoping

  10. #10
    Join Date
    Mar 2024
    Beans
    10

    Re: Wifi drops out after several minutes

    disabling windows hybrid shutdown may have worked? It was up for 2 hours last night without issue. This morning it died, but I had gone from Windows to Ubuntu through a restart, not a complete shutdown. So maybe if I always go to Ubuntu from a shutdown it works?

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •