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.

You are viewing a single thread.
View all comments View context
1 point

My resolve.conf has this only

search lan
nameserver 192.168.... the rest of the IP address

What do I change in here?

permalink
report
parent
reply
3 points

That seems correct, don’t change anything in there, try the command dig @<routerip> www.google.com or nslookup www.google.com <router ip> if the dig command is not found.

permalink
report
parent
reply
0 points
*

Here is the dig command Dig command

permalink
report
parent
reply
5 points

Fwiw, you don’t really need to worry about your 192.168 address. It’s local to your network. I’m also on 192.168.1.x as it’s the most common internal address scheme for routers. But there are some that use 10.0.1.x or other variations.

We would need to know the external IP address that your ISP gives you to do anything with it. That should definitely be blocked out entirely if it appears in a screenshot or command output.

https://en.wikipedia.org/wiki/Private_network

permalink
report
parent
reply
3 points
*

…that’s the valid response, does ping www.google.com work and curl 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.

permalink
report
parent
reply
1 point
*

Nameserver should be the IP of your router.
But you should check/set that with nmtui, then NetworkManager overwrites that file itself.

permalink
report
parent
reply
0 points

So I need 2 nameserver? One for the IP and one for the DNS?

permalink
report
parent
reply
2 points

You only need one. Standard is to use your router IP as local nameserver.
If your internet provider has issues with name resolutions, which happens sometimes, you can instead set 8.8.8.8 (Google’s nameserver) or 1.1.1.1 (Cloudflare’s nameserver). But then you can’t ping other devices in your local network by name, and loading websites can be a tiny bit slower.

permalink
report
parent
reply
2 points
*

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.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 6.4K

    Monthly active users

  • 4K

    Posts

  • 55K

    Comments