wlan0 No such device

I am trying to run these two commands in an attempt to fix my intermittent wireless connection

iwconfig wlan0
sudo iwconfig wlan0 power off

But 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=1

You 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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like