I installed Ubuntu 18.04 LTS in this week and now I have a problem with wifi connection. The WiFi connection auto disconnected every 5 - 10 minutes but wifi signal is still fine.
I did a search, found some answers for older versions of Ubuntu and tried it but the problem was not resolved.
Here is my wireless adapter information:

description: Wireless interface
       product: QCA9565 / AR9565 Wireless Network Adapter
       vendor: Qualcomm Atheros
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: wlp2s0
       version: 01
       serial: a4:db:30:03:32:8c
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress bus_master cap_list rom ethernet physical wireless
       configuration: broadcast=yes driver=ath9k driverversion=4.15.0-20-generic firmware=N/A ip= latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: irq:18 memory:f0600000-f067ffff memory:f0680000-f068ffff
  • You can get more information by running journalctl --follow in a terminal window. Then, when your WiFi drops, look at the messages. – waltinator May 1 '18 at 15:42
  • @waltinator What does that command do? – Cảnh Đinh Văn May 1 '18 at 15:45
  • Read man journalctl. The --follow option is documented asShow only the most recent journal entries, and continuously print new entries as they are appended to the journal – waltinator May 1 '18 at 15:49
  • 1
    Which suggestions did you try that did not work? Were there any error messages you received that you can include in your question? – Hee Jin May 1 '18 at 16:05
  • @Emily The first option I tried is to install resolvconf package, add nameserver to /etc/resolvconf/resolv.conf.d/tail file and regenerate /etc/resolv.conf file using sudo resolvconf -u command. The second one is to edit /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf file and change wifi.powersave = 3 to wifi.powersave = 0. – Cảnh Đinh Văn May 2 '18 at 2:20

Try disabling wifi power management by opening /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf and changing

wifi.powersave = 3


wifi.powersave = 2

Do not set it to 0, which is the default value. From nm-setting-wireless.h:

 * NMSettingWirelessPowersave:
 * @NM_SETTING_WIRELESS_POWERSAVE_IGNORE: don't touch existing setting
 * These flags indicate whether wireless powersave must be enabled.
typedef enum {
} NMSettingWirelessPowersave;
  • 2
    I had the same issue with a Realtek WiFi AC1200 USB and the internal that is. Broad... . Tried the power configuration and the IPv6 disabled. None worked. Finally setting an static IPv4 to the laptop works. Hope this option help someone. – Sposmen Oct 13 '18 at 11:43
  • @Sposmen I suggest writing this as an answer so it is more visible. – qwr Oct 13 '18 at 20:49
  • 1
    @Sposmen I've also tried all that and yet the connection kept dropping every 10m or so. Which ubuntu you did this successfully? Was it 18.04? As qwr said,I also suggest to add this as an answer. – Lucas Czepaniki Nov 27 '18 at 22:33
  • 1
    This solved my problem a few months back with Ubuntu v16.04. However, the problem has returned with v18.04.1. – josephwb Nov 29 '18 at 10:53
  • Does not fix the issue for me on Ubuntu 18.04.2 LTS, unfortunately. – Cleb May 25 at 11:33

I was having the same issue with bionic. First i thought it was related with Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter, but even after updating it the signal continued to fluctuate.

It appears to be related to gnome's network manager. After switching to WICD, the wi fi hasn't been unstable anymore (that was almost 4 months ago). [EDIT: Still no issues as of today 05/28/2019] Here are a few steps to apply this fix:

Open up a Terminal and execute the following commands:

First, install WICD:

 sudo apt install wicd-gtk

Next, we uninstall NetworkManager:

sudo apt remove network-manager-gnome network-manager

After everything is confirmed to be working (best to check this after rebooting), you can remove config files for NetworkManager:

sudo dpkg --purge network-manager-gnome network-manager

(source https://help.ubuntu.com/community/WICD )

  • 1
    It seems good, but it does not has any shortcut or icon on the top menu! – SaidbakR Oct 28 '18 at 16:49
  • 1
    Yeah, it doesn't quite switch network manager's icon/reference and it also doesn't create a new one for it. But at least you get a stable connection, and you can access WICD through gnome overview/applications almost as quickly. – Lucas Czepaniki Nov 3 '18 at 4:18
  • Great solution, worked for me. – ivan marchenko May 14 at 11:34
  • Working on Ubuntu 18.04.2 LTS, this has made it even worse, unfortunately. After calling sudo apt remove network-manager-gnome network-manager, WICD did not detect a single Wifi network anymore; also the settings button was gone. I could recover the settings part using sudo apt install gnome-control-center and then also reinstalled the network-manager, but now also this one does not detect networks anymore. So, make sure you also have a lan connection, otherwise you'll be in trouble :) – Cleb May 25 at 14:55
  • After removing network-manager the wifi settings section on ubuntu settings doesn't work, because it uses network-manager for it so it's to be expected. As for wicd, you can check if the network interface is configured correctly (for bionic it should be wlp3s0) or if the issue is related to the WPA Supplicant (In a certain occasion I had an issue like that, and I managed to fix it by selecting nl80211 as the supplicant -- but after an update i switched back to wext and the issue seemed to be resolved). – Lucas Czepaniki May 28 at 8:10

You could try to turn OFF IPV6 in the settings for your connection between your computer and the router. Sometimes there is a problem in Ubuntu, with IPV6 - and most old routers still use IPV4. This worked for me on my old Pocket wifi(the new one don't have problem). Since you have not specified excactly which version of 18.04 you are using I can't guide you more.

I have Xubuntu 16.04, and I would go to network connection in the notification, then open Edit connections, find the connection to the router and edit it. Set IPV6 to Ignore. After this it never dropped the connection.


This is what stopped my wifi to get unstable, disconnecting all the time, although my wifi is Centrino (not Atheros): disabling IPV6.

Add the following lines to the file /etc/sysctl.conf

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1
net.ipv6.conf.lo.disable_ipv6 = 1



In my case changing the router frequency from 5 GHz to 2.4 GHz solved the problem to a great extent.

  • how to change frequency? any reason why it works? – roottraveller Feb 11 at 4:34
  • You can change the frequency on the web page of router. You can find it written on the router or in the docs that come with router. I do not know the reason why it woked on my machine :( – Pankaj Joshi Feb 11 at 5:34
  • Most routers today offer a 2.4 interface along side the 5 GHz, so technically you don't actually need to alter the 5G interface. – Lucas Czepaniki May 15 at 14:21

My setup might be a bit different, but maybe my answer helps too...

My setup is as follows:

laptop <-> wifi (bridge mode) <-> router <-> internet
  • Laptop is Ubuntu 18.04.2.
  • WiFi bridge is a TP-Link TL-WR940N.
  • Router is an Arris 703A.

I had the same issue of connection dropping from time to time. I believe it was happening because all services are running in the Arris router and the connection between the TP-Link and the Arris suffer with oscillations, so everything connected to the TP-Link "thinks" there is no network connection, so the connection is dropped.

The only thing that worked for me to keep the connection more stable was setting up static IP address, gateway and DNS servers, instead of using DHCP.

I still get oscillations, but at least wifi doesn't drop; just takes a bit longer sometimes to complete the requests.

Well, that's a very simple answer, but hope it can help someone out there.

protected by Community Oct 4 '18 at 5:07

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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