Problem
For the last year or so I've had constant issues with the wireless on my laptop. Network drops randomly every 5-10 minutes at home, while away from home I sometimes can't connect at all.
I've looked up countless AskUbuntu questions, forum posts, bug tracker reports, etc - to no avail.
Previously the icon in the status bar showed up-and-down arrows instead of the appropriate wifi icon - whether internet was working or not. When internet went down there was NO indication in the status bar or elsewhere. The laptop thought it was still online but no websites would load and no services would work.
After upgrading to 18.04 it now gives me a pop-up error when internet fails: "Activation of network connection failed"
There are two potentially relevant messages in dmesg:
- wlp1s0: deauthenticating from 44:e1:37:2f:e5:40 by local choice (Reason: 3=DEAUTH_LEAVING)
- wlp1s0: failed to remove key (1, ff:ff:ff:ff:ff:ff) from hardware (-22)
I'm currently posting from my phone because I don't have access to wired internet and my laptop isn't connecting at all. So it may take some time to type up responses to comments and answers.
Update: Upon getting home I tested my home wifi and I was able to connect without error, so it's not like the wireless card has gone out on me. Home network: Connects fine, but loses internet every 3-5 minutes. Phone HotSpot: Doesn't connect ("Activation of network connection failed")
Environment
- I have a Dell Latitude E5570. It did not come with Ubuntu. Ubuntu 16.04 was installed cleanly from a bootable USB after formatting the drive
sudo lshw -class networkshows I have an Intel Corporation Wireless 8620 Wireless Interface (rev 3a)- The same command shows my driver is
iwlwifi - I'm currently running Ubuntu 18.04 (among the many things I tried to fix my internet, upgrading Ubuntu was one of them)
ls -l /lib/firmware/iwlwifi-8000C-*shows I have firmware versions 13 through 34.dmesg | grep iwlwificonfirms I'm loading firmware version34.0.1- I'm running NetworkManager version
1.10.6 - I don't believe my wireless hardware is damaged because I can see a list of publicly broadcast SSIDs. When enabling my phone's hotspot it immediately shows up as an option. I just cant connect when I select the desired network.
What I've tried
- Create
/etc/pm/config.d/configand add the lineSUSPEND_MODULES="iwlwifi wlp1s0" - Create
/etc/modprobe.d/iwlwifi.confand add the lineoptions iwlwifi fwlps=N sudo modprobe -r hp_wmi- Edit
/etc/NetworkManager/conf.d/default-wifi-powersave-on.confand change3to2 - Update
linux-headers - Upgrade to Ubuntu 18.04
- Turn off the laptop, unplug the battery, wait 10 minutes, plug everything back up
- Disable wifi security
- Connect to 2.4GHz or 5GHz
- Edit
/etc/modprobe.d/iwlwifi.confand set11n_disable=to either1or8 - Uninstall Docker and Vagrant
- Edit
/etc/default/crdaand setREGDOMAIN=US
I probably tried a lot of other things that I just can't recall at the moment. I'm still having trouble and it's infinitely frustrating.