I recently got a new laptop (a Dell Inspiron 15 5000) and have been experiencing stability issues with the wireless connection ever since I installed Ubuntu 18.04. The WiFi will disappear seemingly at random for somewhere between 30 seconds and one minute, then reappear. I have been unable to make it function any quicker by restarting the adapter using ifconfig
The issues are very similar to those described in this askubuntu question. I checked /var/log/syslog
as suggested in this bug on Launchpad and did indeed find entries with avahi-daemon[xxx]: Withdrawing address record for xx.xx.xx.xx on interface_name
. The suggested solution to disable ipv6 and reboot did not solve the issues.
I am unsure how to properly diagnose the issue and progress from here.
I have tried pinging various addresses while the WiFi is not working, all of which have resulted in the following message: ping: [xxx]: Name or service not known
.
Likewise, rfkill list
yields the following when the WiFi is not working:
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
Some system information:
lspci -v
:
Subsystem: Dell QCA9377 802.11ac Wireless Network Adapter
Flags: bus master, fast devsel, latency 0, IRQ 141
Memory at c2000000 (64-bit, non-prefetchable) [size=2M]
Capabilities: <access denied>
Kernel driver in use: ath10k_pci
Kernel modules: ath10k_pci
uname -a
: Linux mia 5.0.0-27-generic #28~18.04.1-Ubuntu SMP Thu Aug 22 03:00:32 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
I've found that many Wifi related issues can be resolved by disabling the power management.
Here's how I do it:
Create:
/etc/network/if-up.d/wifi-powerman-off
Enable:
chmod +x /etc/network/if-up.d/wifi-powerman-off
Replace interface name
From the accepted answer on this question:
You can try:
If the answer doesn't work notice how the question uses
journalctl -xe
when the connection drops to report errors. Try this on your system and update your own question with your error messages.Just run this command:
It will restart all the services of wired or wireless connections.
Solved! After trying multiple options many times, I:
Now all is good again!