Accidentlly deleted resolv.conf

Because there is no resolv.conf file, I’m not able to connect to the internet. My Wifi is working and it shows that I’m connected, however my browsers don’t work.

Not only that, once I rebooted my system after troubleshooting, wlan0 interface name has changed to wlo1

Hi. This file contains DNS settings, you probably should have the /etc/resolv.conf.bak file, but if you don’t, just create file by this command:

sudo echo "nameserver 172.20.10.1" >> /etc/resolv.conf

(This command adds parrot DNS to resolv.conf)