I have had problems connecting to the Internet on Ubuntu for several months. I have a laptop and I use a Wi-Fi stick. Under Windows 10 I can always connect directly without any problems, so it doesn't seem to be due to the stick, but under Ubuntu it always takes several tries to make it. Then it says "Connection failed" and then I have to click on "Connect" again and again until it works. It's pretty annoying. I have the feeling that the problem is more with Ubuntu, but I don't know what it could be, can someone help me?
It would be helpful if you reveal the product name including the manufacturer. I never had any problems with Wi-Fi in Ubuntu. Do sudo apt-get update && sudo apt-get dist-upgrade -y