Ethernet plugged in but there is no internet. I have no idea what happened. I just took a normal update like I always do and after that it was all gone. WiFi connects no problem, but there is no internet. Unplugged Ethernet and replugged it back in. Nothing. I dualboot with windows, internet works fine there, so there is no hardware issue. Went into a live environment and chrooted into it and reinstalled network manager and still not a fucking thing. Not sure what these are now. I know about the lo one, but never seen the second wired connection or the virbr0. Any idea how to get my Internet back? I really don’t want to reinstall the system because of this. And btw, I even tried a hotspot from my phone and a wire tether from it and still no internet.
System is endeavour OS with KDE on Wayland.
I’m not familiar with EndeavourOS, but I’ll ask a few questions to get the troubleshooting process started:
With the ethernet cable plugged in, can you access your local router config page (if you have one)? e.g.: 192.168.1.1. If not, what happens when you ping the router’s address in the terminal?
If you’re able to successfully ping/access your router, can you ping a well-known IP address such as 8.8.8.8 (google DNS) or 1.1.1.1 (cloudflare DNS)?
I can ping my gateway, nameserver, Google DNS 8.8.8.8, 1.1.1.1, but it freezes on 4.4.4.4. I even get really good latency, too
No one can ping 4.4.4.4, it doesn’t answer pings.
This seems like a dns issue, check
cat /etc/resolv.conf
and try setting the dns server in Networkmanager to “8.8.8.8”.Or, if you were already using 8.8.8.8, switch to 1.1.1.1.
My resolve.conf has this only
search lan nameserver 192.168.... the rest of the IP address
What do I change in here?
That seems correct, don’t change anything in there, try the command
dig @<routerip> www.google.com
ornslookup www.google.com <router ip>
if the dig command is not found.Here is the dig command Dig command
…that’s the valid response, does
ping www.google.com
work andcurl www.google.com
return a bunch of text?If
ping www.google.com
doesn’t work then your system isn’t using the correct dns server, though your local dns server works (as seen by the prior dig).If curl works then…you have a working internet connection, maybe check the browser settings for proxy or something.
I’m doing another chroot and I will reinstall the whole plasma desktop to see if that works. If not, I’m nuking the fucker and starting over. Best part of Linux, these fucking random issues.
Nameserver should be the IP of your router.
But you should check/set that with nmtui, then NetworkManager overwrites that file itself.
So I need 2 nameserver? One for the IP and one for the DNS?
DNS turns a domain name into an IP which can then be used to send data through your router, a dns server is the server which is used to do this conversion (www.google.com turns into an IP 1.2.3.4 (that isn’t the actual IP of google)).
There are many dns servers, normally your local devices use your router as the dns server, which forwards it to your ISP which they further transfer it over global dns servers.
Alternatively you could use Google’s DNS server (8.8.8.8) or cloudflares DNS server (1.1.1.1) but if the one on your router works then just use it.
nameserver is the same as DNS server
Tldr: set the router IP as your dns server, you only need this one.
With a few more words: set the router to use 8.8.8.8 or 1.1.1.1 and then set your computer to use 192.168.1.1 (or whatever your router’s IP is). Hope that is clearer for anyone who needs it.