This question already has an answer here:
I have installed Ubuntu 17.04 Zesty Zepus on my computer. I have been unable to connect to any wireless network with 17.04, whether from using the live USB during installation or after it has been installed. I experienced.no problems on 16.04. Although Ubuntu can see my network in 17.04, it cannot connect and it says "Disconnected".
I have followed Jeremy31's commands. The Internet seems to work now, and it works quite well. I had problems installing Steam and Chrome from .deb files with the Ubuntu Software program, so that's why I thought the Internet was malfunctioning. Gdebi fixed that issue.
I have entered my wireless-info.txt file to the link below which I received by entering the commands
wget -N -t 5 -T 10 https://github.com/UbuntuForums/wireless-info/raw/master/wireless-info && \ chmod +x wireless-info && \ ./wireless-info
Output of lsusb:
ID 148f:3572 Ralink Technology, Corp. RT3572 Wireless Adapter