The following is the workaround for fixing Wi-Fi connection of Ubuntu.
- Type command:
sudo vi /etc/NetworkManager/NetworkManager.conf
- At the bottom of this file, copy and paste the following to a file
[device]
wifi.scan-rand-mac-address=no
- Then restart network of system using command
sudo service network-manager restart
- Try to connect Wi-Fi again.
This solution should also work for other Ubuntu versions.