this post was submitted on 12 Dec 2024
36 points (95.0% liked)

Linux

48669 readers
495 users here now

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

Related Communities

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

founded 5 years ago
MODERATORS
 

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.

screenshot

all 42 comments
sorted by: hot top controversial new old
[–] Maiq@lemy.lol 9 points 1 week ago (1 children)

I lost internet after update. I had to

sudo systemctl restart NetworkManager

It then worked for me. Hope this fixes your issue too.

[–] penquin@lemm.ee 1 points 1 week ago (1 children)

Nope. I tried that and it didn't. I'm so fucking confused as to what the hell just happened.

[–] Maiq@lemy.lol 2 points 1 week ago (1 children)

Sorry that's all I got. Hope someone that is better at networking comes along, also maybe ask in a sysadmin or networking page just to give your issue a bit more exposure to the knowledgeable peoples of Lemmy.

[–] penquin@lemm.ee 1 points 1 week ago (1 children)

I appreciate you trying. No worries. I've asked even on the endeavour OS forums. Still awaiting replies.

[–] Maiq@lemy.lol 3 points 1 week ago

The EOS team is really nice and helpful!

[–] rudyharrelson@lemmy.radio 6 points 1 week ago (1 children)

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)?

[–] penquin@lemm.ee 3 points 1 week ago (1 children)

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

[–] InnerScientist@lemmy.world 10 points 1 week ago* (last edited 1 week ago) (1 children)

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".

[–] some_guy@lemmy.sdf.org 3 points 1 week ago (2 children)

Or, if you were already using 8.8.8.8, switch to 1.1.1.1.

[–] penquin@lemm.ee 2 points 1 week ago (2 children)

My resolve.conf has this only

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

What do I change in here?

[–] InnerScientist@lemmy.world 3 points 1 week ago (1 children)

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.

[–] penquin@lemm.ee 0 points 1 week ago* (last edited 1 week ago) (2 children)
[–] some_guy@lemmy.sdf.org 5 points 1 week ago

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

[–] InnerScientist@lemmy.world 3 points 1 week ago* (last edited 1 week ago) (1 children)

....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.

[–] penquin@lemm.ee -3 points 1 week ago (1 children)

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.

[–] Oha@lemmy.ohaa.xyz 5 points 1 week ago

why would reinstalling plasma fix anything?

[–] superkret@feddit.org 1 points 1 week ago* (last edited 1 week ago) (1 children)

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

[–] penquin@lemm.ee 0 points 1 week ago (2 children)

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

[–] InnerScientist@lemmy.world 2 points 1 week ago* (last edited 1 week ago) (2 children)

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.

[–] some_guy@lemmy.sdf.org 2 points 1 week ago

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.

[–] penquin@lemm.ee -1 points 1 week ago (1 children)

I put my gateway there. Fuck, man. This is so stupid and annoying.. I'm about to fucking nuke the whole fucking thing. I'm running out of patience. Why the fuck would they push a hardware update that fucks shit up like this?

[–] superkret@feddit.org 2 points 1 week ago (1 children)

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.

[–] penquin@lemm.ee 0 points 1 week ago (1 children)

Do I put the ipv4 address in there or the ipv4 default gateway? Because I see these two and they're not the same IP. Now, I have the ipv4 default gateway in resolv.conf

[–] superkret@feddit.org 2 points 1 week ago

On a home internet with just one router provided by your internet provider, your router is the gateway and the local nameserver.
So you can put the ipv4 of the router in everywhere it asks for default gateway or nameserver.

[–] penquin@lemm.ee -1 points 1 week ago (1 children)

I set nameserver 1.1.1.1 and also 8.8.8.8 and still nothing.

[–] MyNameIsRichard@lemmy.ml 1 points 1 week ago

Did you restart your network connection?

[–] jhdeval@lemmy.world 4 points 1 week ago (1 children)

Virb indicates a virtual driver. Are you running this Linux in a VM? Do you VM software installed. I think you may have installed the vmtools and it messed with your physical Ethernet. Virb is showing connected what do you get with an ip a? Does it show all the devices? Do any of them have an ip address?

[–] penquin@lemm.ee 1 points 1 week ago (1 children)

I run Linux on hardware, not a VM. And I do have VMware installed but I have no VMs set up at all. I can delete them all if that helps fix the issue. I don't use them much anyway.

[–] jhdeval@lemmy.world 1 points 1 week ago (1 children)

Your reply doesn't make much sense. You say you have VMware but no VMS but you can delete them. I am not sire if you have them but they are not going to affect the host. I would remove the vmtools package from your computer/host reboot and see if it clears up the issue

You did not respond you request for an IP a to see if the devices are listed and whether they have an IP address.

[–] penquin@lemm.ee 0 points 1 week ago

What I was saying is that I'm not running Linux in a VM.
I do have virtual box installed
I can delete virtual box if that helps
It doesn't matter now, I had to reinstall. I got tired of working on it and said fuck it. Thanks for your help

[–] ThunderLegend@sh.itjust.works 2 points 1 week ago (1 children)

Hey man I have no idea if it is the same, I'm a noon, but I had issues with a kernel update recently with my Debian home server and lost Ethernet too. I couldn't fix but I reverted the kernel update and voila my ethernet started working again. If this bothers you and like me you don't have much knowledge years you could try that .

[–] penquin@lemm.ee 2 points 1 week ago (1 children)

I appreciate you. No worries. I already tried reverting the kernel. Still didn't work. They pushed a firmware update and it fucked shit up.

[–] rudyharrelson@lemmy.radio 2 points 1 week ago* (last edited 1 week ago) (1 children)

I wanna say fwupd/lvfs manages firmware updates on Arch (and lots of other distros) these days.

You may be able to roll back the latest firmware update with fwupdmgr. What's the output of fwupdmgr get-devices in your terminal? Also, what is the make/model of the ethernet port that is now on the fritz? You can search for it on the website here: https://fwupd.org/ in the "search for firmware" bar at the top, then you may be able to install the old version with fwupdmgr.

[–] penquin@lemm.ee -1 points 1 week ago

It's fine. I'm fed up with this shit. I just reinstalled. I have a complete back that I can restore. Fuck this shit, man. Been working on for like 5 fucking hours.

[–] eugenia@lemmy.ml 2 points 1 week ago (1 children)

That's why I don't use rolling releases (except debian-testing, which is actually stable). Because these kinds of things are bound to happen 1-5 times a year.

[–] penquin@lemm.ee 1 points 1 week ago

I don't know who downvoted you, but I agree with you. I've used Debian before and loved it, but I have been using arch for so long that I can't use anything else anymore. I just can't even if I tried. This is where I'm most comfortable.

[–] h4x0r@lemmy.dbzer0.com 1 points 1 week ago
[–] TimeSquirrel@kbin.melroy.org 1 points 1 week ago (1 children)

If there's only one physical ethernet port, I'm not sure why there are two wired connections. You try deleting the inactive one? Could have been a bug in an update script that hosed it.

[–] penquin@lemm.ee 0 points 1 week ago

I deleted everything but the one I've been using. Someone said the latest update had a firmware update and it is what fucked my machine. Firmware updates can't be reversed even with timeshift. Fuck, man. I hope I can fix this, otherwise, I'll have to redo every fucking thing.

[–] superkret@feddit.org 1 points 1 week ago* (last edited 1 week ago) (1 children)

First step to check would be which packages were updated, and whether there are any .pacnew and .pacsave files in /etc
Cause that's really the only way a pacman update can fuck up networking, by installing a new config file for a networking-related package.

sudo find /etc -name *.pac*

also check if there are systemctl services that didn't come back up (most likely systemd-resolved)

sudo systemctl --failed

[–] penquin@lemm.ee 2 points 1 week ago* (last edited 1 week ago)

First command gave nothing.
Second one gave me this

system-network-wait-online.service loaded failed wait for Network to be configured
Legend: LOAD

-> then explains what it is

ACTIVE

-> explains what it is

SUB

-> explains what it is

1 loaded units listed.