Resolve Internet Access Issue - Ubuntu 22.04
No Internet access with Wifi connected - Ubuntu 22.04
Open the Terminal (Ctrl+Alt+T) and go to /etc/ directory and look for the configuration file.
Open the config file and add the following lines:
# nameserver ::1
# nameserver 127.0.0.1
nameserver 8.8.8.8
nameserver 8.8.4.4
To take exit press Ctrl+X, Select Y to save modification
Click Enter.
Voila!