Views:
872β
Votes: 2β
Tags:
networking
wireless
18.04
connection
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1035412
Title:
My wifi cuts out after awhile
ID:
/2018/05/12/My-wifi-cuts-out-after-awhile
Created:
May 12, 2018
Edited: June 12, 2020
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
Turn off or enable power savings as illustrated below:
$ cat /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
[connection]
wifi.powersave = 3
# Slow sleep fix: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1670041
#wifi.powersave = 2
- Edit the Network Manager file shown above.
- Change
WiFi.powersave
from2
to3
. - If itβs already set to
3
try setting it to2
. - After saving the file run
sudo systemctl restart NetworkManager
What the values represent?
- NM_SETTING_WIRELESS_POWERSAVE_DISABLE (2): disable powersave
- NM_SETTING_WIRELESS_POWERSAVE_ENABLE (3): enable powersave
Intel specific answer
From this answer you can try:
You can fix it by running in terminal
sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi 11n_disable=1"
then reboot.
You can revert it by sudo rm /etc/modprobe.d/iwlwifi-opt.conf
.
To keep the 802.11n, you can try the 11n_disable=8
option.
From this Q&A you can try:
sudo modprobe -r iwlwifi
sudo modprobe iwlwifi
If this works for the current session, it can be setup to run automatically on startup.