Dell XPS 13 (7th gen i5), dual booting Ubuntu 16.04 and Windows 10.

Wifi works fine in Windows but in Ubuntu it gets disconnected every 5-10 minutes. The wifi icons on the top bar still appears to be connected. I have to manually click disconnect and connect again for wifi to work.

Tried a solution from 16.04 LTS wifi connection lost randomly every 5 minutes.

Did the following steps:

  1. Got details of my PCI wireless card by running sudo lshw -class network
  2. Took the code on the line that says 802.11ac Wireless Network Adapter: QCA6174
  3. Entered this into the terminal sudoedit /etc/pm/config.d/config
  4. I was then prompted to a page within the terminal which says GNU nano 2.5.3 File: /var/tmp/config.XXibmEDm. Then I entered SUSPEND_MODULES="QCA6174" and I hit ctrl-X to save.
  5. Was prompted to say if I want to save modified buffer: i hit Y
  6. Was prompted file name to write: /var/tmp/config.XXibmEDm. I am stuck here, not sure which action to take. The options given were: Get help/Cancel/DOS format/Mac format/Append/Prepend/Backup file/to files

2 Answers 2


If you check terminal results for iwconfig I think you will find that power management is on and that is likely causing your issues. You can disable power management with

sudo sed -i 's/wifi.powersave = 3/wifi.powersave = 2/' /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf


  • 1
    Hi Jeremy, thanks! i just tried the above, managed to turn off power management but wifi still dropped after 5mins. Any idea what else could have gone wrong?
    – Jen
    Jan 22, 2017 at 14:58
  • Check iwlist scan | egrep -i 'ssid|cipher' If your connection is using TKIP it may cause disconnects
    – Jeremy31
    Jan 22, 2017 at 15:01

I had a very similar problem, turning off power management solved the issue for me. After logging into your wifi, turn off your power management. I use (sudo iwconfig wlp4s5 power off) currently I have to do this every time I log in, but works like a charm, no more dropped wifi connections.

Note: use iwconfig to get your wireless cards "wl" identifier, yours will most likely not be the same as mine. Hope this helps.

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.