I’m working on getting an Ubuntu dual boot up and running on my desktop with windows. I have two separate SSDs, with Ubuntu 17.10 on an nvme drive and Windows 10 on a sata, so all that kind of stuff is set afaik. I can boot into ubuntu, and everything seems to work—except WiFi.
When I turn on the computer, it shows that it’s trying to connect for a while (WiFi symbol with three dots) and eventually gives up, but doesn’t tell me anything. I just tried forgetting the network and reconnecting, and it says it’s connected, but doesn’t work.
If I try to turn off WiFi altogether, it seems to freeze up, and I can’t do anything in the whole settings app. I think it’s related that it takes a very long time to shut down, to that point that I’ve just been forcing it to shut down.
I’ve tried everything I could find online about this issue that I thought applied, to no avail, so I figured I would turn to your guys’s expertise. I’m not sure what kind of information you need, so let me know. It's a USB card (TP Link TL-WN722N) if that makes a difference. I found this script and ran it, hopefully it gives any necessary info: https://pastebin.com/z4xZaDKi
If you need any more info I'll get it ASAP, but it probably won't be until the post is around 16 hours old.
Thank you!
For many years, in diagnosing and attempting to solve connectivity issues, I have preached to all:
Your case seems like the perfect example. You can easily connect to:
But you cannot connect to:
As far as we can tell from the available data, the only difference is that the SSID that you can connect to is set up with WPA2-CCMP (sometimes known as AES) and the SSID that you cannot connect to is set up with WPA/WPA2 mixed mode and TKIP.
Please change the encryption mode in Redacted1 and tell us if you connect.
The answer by @chili555 seems to be getting to the core of the problem. I experienced something similar after upgrading from ubuntu 18.04 to 20.04. My computer was able to connect to a mobile phone hotspot wifi which had the following parameters (on running this script)-
However, it was unable to connect to my TP-link home router which had the following parameters-
So the problem seemed to be the same and I went to this webpage to try and change the settings to replace
TKIP
byAES/CCMP
. I found the setting to do this underAdvanced --> Wireless Settings --> Encryption
however after changing the setting there from 'Auto' toAES
and rebooting the router, neither the output on running the wireless script nor the connectivity problem changed.On scouring the internet a bit more, I came across this forum answer and ran the commands mentioned there-
I am not quite sure of the implications of these commands however after running them, the connectivity problem with my TP-Link router was solved. However based on internet speed tests, I feel running these commands throttled my Laptop's internet speed by a factor of about 2-3. I suspect this may be due to some wifi driver issue.