I removed resolv.conf in order to clear my DNS settings, thinking that it would auto-regenerate on reboot, but it has not, and I can no longer connect to the internet. I can’t post the detailed information of the inxi command due to having no connection on the machine, so I can’t copy paste it.
I’ve tried a few things to fix this issue: sudo resolvconf -u sudo systemctl restart NetworkManager
I tried sudo touch resolv.conf and sudo nano resolv.conf but both give me No such file or directory (nano does it when I try to save and exit the editor).
I can’t recreate the file with nano or touch. When I try to save and exit nano, I get [ Error writing resolv.conf: No such file or directory ] and when i do sudo touch resolv.conf I get touch: cannot touch 'resolv.conf' : No such file or directory.
So I can’t even create before changing owner/permissions etc.
Also, I don’t have the pamaac package manager installed, I think i just have pacman and nothing else.
I tried pacman -S networkmanager and it fails to download the .pkg.tar.zst file and fails to resolve hostnames got loads of stuff (which makes sense as I dont have internet connection because of this issue)