Ubuntu – wlan0 No such device

driverslannetworkingwireless

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

Best Answer

The answer to your question is to use sudo iwconfig wlp4s0 power off But 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

Related Question