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" >> /etc/resolv.conf

(This command adds parrot DNS to resolv.conf)

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.