Skip to content

Instantly share code, notes, and snippets.

@dmy3k
Last active May 12, 2018 08:41
Show Gist options
  • Save dmy3k/9e1cfd4da45a36674a9dc41b33f3b12b to your computer and use it in GitHub Desktop.
Save dmy3k/9e1cfd4da45a36674a9dc41b33f3b12b to your computer and use it in GitHub Desktop.
# most of the hacks taken from
# https://support.system76.com/articles/wireless/
sudo vim /etc/nsswitch.conf
# look for the following line
# hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
# If you find this file, replace it with the following line:
# hosts: files dns
sudo vim /etc/modprobe.d/iwlwifi.conf
# Add the following line
# options iwlwifi bt_coex_active=0 11n_disable=8 swcrypto=1
# You may also try setting regulatory domain for wifi
sudo iw reg set US
sudo sed -i 's/^REG.*=$/&US/' /etc/default/crda
# Check current regulatory domain
sudo iw reg get
sudo vim /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
# And change the file to read (effective upon reboot):
# [connection]
# wifi.powersave = 2
# Probably you should also checkout TLP config for radio power save
http://linrunner.de/en/tlp/docs/tlp-configuration.html#networking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment