I am trying to run these two commands in an attempt to fix my intermittent wireless connection
iwconfig wlan0
sudo iwconfig wlan0 power offBut I get this error
wlan0 No such device 5 2 Answers
The answer to your question is to use sudo iwconfig wlp4s0 power offBut I doubt if it will fix your issue as the ath9k module blocks power management changes unless you
sudo modprobe -r ath9k
sudo modprobe -r ath9k ps_enable=1You may actually want to try
sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf
systemctl restart network-manager.service 1 Your wlan0 name adapter is wlp4s0.
Correct use of wlp4s0:
iwconfig wlp4s0
sudo iwconfig wlp4s0 power off