Wifi doesn't stay connected Ubuntu 26.04

  • Which Linux distro are you using? Ubuntu 26.04
  • Which release version? LTS
  • (if rolling release without a release version, skip this question)
  • (If rolling release, last date updated?)
  • Which kernel are you using? Linux 7.0.0-28-generic
  • Which BIOS version are you using? not sure, newb
  • Which Framework Laptop 13 model are you using? Intel® Core™ Ultra Series 1

New to Framework and Linux, using side by side with a MacBook Air M2 on same wifi network.

They connect to either the router, a cellular Fritz!Box 5G on the latest software (in next room, about 5m away), or a over-the-home-electric-wire-repeater (in same room, about 2m away).

The Mac stays connected but the Framework, whether Mac is on or not, repeatedly connects and disconnects according to not pattern I can discern. I can be simply surfing internet and a link doesn’t load, so I set the Framework aside for a few minutes and it’s on again.

A large part of the reason I bought a Framework was my attempts to run the same Linux distro on an older Intel MacBook Air with T2, was having so many hardware issues I could not learn about Linux, but was constantly struggling with the machine. Now I have similar with a machine that should be built for Linux.

So I’m wondering if this is a known issue for this model’s hardware or if there is some setting I should change, so that the wifi remains connected more consistently?

2 Likes

On Ubuntu running on Framework hardware, Wi-Fi failing to reconnect after dropping is frequently caused by aggressive power-saving states or buggy firmware in stock MediaTek wireless cards.

Disable Wi-Fi Power Saving

NetworkManager often puts the wireless adapter into a low-power mode that fails to wake up properly when a disconnect occurs.

  1. Open your terminal.

  2. Create or edit the NetworkManager configuration file:

    sudo nano /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
    
  3. Change wifi.powersave = 3 (enabled) to wifi.powersave = 2 (disabled).

  4. Save the file and restart NetworkManager: [1]

    sudo systemctl restart NetworkManager
    

Source: google.