[solved] Ubuntu 24.04 LTS Noble Numbat connected to wifi but there is no internet

in ubuntu terminal type:


sudo rm -r /etc/resolv.conf


sudo nano /etc/resolv.conf


type in editor in terminal:


nameserver 8.8.8.8

nameserver 8.8.4.4


press Ctrl + X


press Y


this will save and exit Nano window,


try to reconnect wifi again