internet not working on modified os
I'm having internet issues on a modified OS. I'm using Manjaro modded OS, and after installation, none of my internet connections are working. Commands like 'pacman -Syu' or 'curl google.com' don't work at all. The only thing that works is when I directly access an IP address, for example, 'curl 1.1.1.1'. The response I get is:
<html>
<head><title>301 Moved Permanently</title></head>
<body>
<center><h1>301 Moved Permanently</h1></center>
<hr><center>cloudflare</center>
</body>
</html>
5 Replies
Additionally, I want to mention that I don't have any internet problems in Termux.
This sounds vaguely like a dns problem
Try editing resolv.conf and putting some nameservers in there
No
@lukintrees do this
sudo echo 'nameserver 1.1.1.1' > /etc/resolv.conf
Always suggest an easy solution
Leaving people to edit shit themselves often results in more problems that can't just be fixed
I've used linux for a long time I wouldn't trust myself to edit such files
I edit resolv.conf often
It's not like thats a remarkably difficult file to edit
You wouldn't trust yourself to edit resolv.conf?
Because one slip breaks functionality
It's better to just have a thing that does it In a single line
Aka