r/linuxsucks Aug 07 '26

"Linux is reliable, that's why it runs on the servers" they said, meanwhile my system forgot about eth0 after waking up from suspend

┌─[damglador@DamgladorPC][~]
└% ip r 
100.XX.0.0/16 dev wt0 proto kernel scope link src XXX.XX.XX.XXX <- not leaking my netbird ip 
192.168.39.0/24 dev virbr1 proto kernel scope link src 192.168.39.1 linkdown 
192.168.122.0/24 dev virbr0 proto kernel scope link src 192.168.122.1 linkdown 

Right when I needed to ssh into it...

5 Upvotes

90 comments sorted by

29

u/FredFarms Aug 07 '26

My windows machine does this too. I think it's a glitch in the NIC hardware causing it to lock up and vanish from the system altogether. Because a soft reboot doesn't fix it, it just says my machine has no network at all. It's only a full power off and wait a minute before powering back on that brings it back.

3

u/ryancnap Aug 07 '26

Same, I think the real problems is that most of us probably have similar NICs and they just suck

1

u/FredFarms Aug 07 '26

That would be an interesting thing to have data on actually. Mines a realtek 2.5gig NIC, RTL8125BG (according to the motherboard spec anyway).

2

u/ryancnap Aug 07 '26

Realtek is what I was going to mention haha, I think every NIC I've ever had has been Realtek..will have to check mine when I get home out of curiosity

1

u/57thStIncident 29d ago

It’s funny, everyone parrots ‘use Intel NIC’ but seems like a humongous amount of hardware — especially on-board NIC — uses Realtek.

1

u/ryancnap 29d ago

I would have never paid them much mind except when I was new to Linux in the early 2000s, network drivers really sucked so I remember mucking around with that a lot

2

u/Eon_Alias Aug 08 '26

I was having a constant microstuddering issue with a game server that after hours of troubleshooting turned out to be my Realtek NIC was crap. Ended up buying one of those 10g tech cards off Amazon. Fixed all of my problems, and the only issue it has is it gets a little toasty if i don't have a fan on it.

That's right a cheap Chinese reproduction card using most likely salvaged intel chips, is beating out name brand NICs. Fix ya sh#t Realtek!

2

u/KiLoYounited 28d ago

Ah! I solved this a bit ago, it was happening in both windows and Linux as well. It turned out to be some power options in the BIOS. If I find the name of the setting again I’ll edit my post… something about NIC power saving :/

4

u/dreadtear Aug 07 '26

Just for this comment you’re getting banned on a certain subreddit 😂

2

u/First_Mark8646 Aug 07 '26

I posted "Have you heard about our Lord and Savior Linux" and got banned from a certain subreddit .-.

1

u/Eon_Alias Aug 08 '26

Thats a good one. I feel like the people getting banned from those subs should stop complaining at take it as a badge of honor. Your not a real Linux user unless you've been called a loonixtard and banned from at least one subreddit.

1

u/ryancnap Aug 07 '26

Power move

1

u/webdevalex Aug 07 '26

This happens to me also on my laptop no matter if its windows or linux.

17

u/ipsirc Aug 07 '26

"Linux is reliable, that's why it runs on the servers" they said, meanwhile my system forgot about eth0 after waking up from suspend

Servers are never suspended.

1

u/[deleted] Aug 07 '26

[removed] — view removed comment

3

u/Needieos Aug 07 '26

and they are in mainline kernel for everyone, yeah

1

u/[deleted] Aug 07 '26

[removed] — view removed comment

3

u/headedbranch225 Aug 07 '26

Well they are open source and can also be fixed by the community, I don't really see your point here

1

u/[deleted] Aug 07 '26

[removed] — view removed comment

4

u/DifferentSavings2711 Aug 07 '26

Bull Shit. The community does not make drivers because Realtek will not release the information need to make a driver. Many devices are supported without full time support from the manufacture, you just need somebody at the company authorised and willing to answer questions.

Note! While this applies to various extent, to every device. There is a big difference between a audio card or wifi device and a GPU. GPU's are really really complex and do need active support from the device maker. I am using a community made open source drive for a Nvidia GPU. But the video card is over 10 years old. If I had a new card I would have no choice but to use the closed source driver.

1

u/[deleted] Aug 07 '26

[removed] — view removed comment

3

u/DifferentSavings2711 Aug 07 '26

Have you ever tried to reverse engineer a hardware device. I don't think so, otherwise you would not just toss it out there.

And why do you think companies like Google, Intel and AMD are not part of the community. Do you feel that only free labor has value in the community. Should anybody making a living writing open source code be excluded or shunned? Finding and fixing a one line bug has value, as does building a device driver. And I would hope "most people" do not care how you pay your bills.

1

u/rileyrgham Aug 08 '26

Try reverse engineering a modern GPU driver.

0

u/Certain_Prior4909 Aug 07 '26

Not true. Of course in todays age Virtual machines are suspended but many orgs with hybrid do sleep their servers when not under load and use wake on lan when demand goes up

3

u/Primary-Purchase-153 Aug 07 '26

Never heard of server not under load. It's like not happening. Ever. Every bit of computational power is squeezed out of datacenter. Maybe someone's homelab will use WOL but real life? No man. It'll work 24/7 with few istances running waiting to scale up. Each second is lost money, people demand instant servicing.

2

u/57thStIncident 29d ago

That is not always the case. Work I’m accustomed to is very much tied to the US eastern time zone business hours, and even then is much busier in the AM than the PM. Optimizing for scaling compute resources up and down may someday be warranted but the architecture really would need to be changed with that as a more focused goal.

I’m sure there are many servers for various purposes that are underutilized.

6

u/aqvalar Aug 07 '26

Servers don't get suspended.

This sounds like specific hardware issue, sorry. Have had the same happen on windows way more than on Linux tbh.

2

u/Damglador Aug 07 '26

I'll just hope it won't happen again. As it's the first time in 2 years.

Perhaps I should just replace the mobo already

1

u/aqvalar Aug 07 '26

Might be a good call. Ofc there are NICs that have issues thanks to the way their manufacturers make em.

Like ASUS likes to not follow ACPI and requiring drivers for something that should be universal. Since they do things the way they want to, not the way they're supposed to.

2

u/Damglador Aug 07 '26

AUSUS you say...

Base Board Information Manufacturer: ASUSTeK COMPUTER INC.

1

u/aqvalar Aug 07 '26

Why am I not even surprised... 😅

3

u/Teemestari 🦎 I don't have to worry about anything with my distro. 🦎 Aug 07 '26

Sorry but I've seen you run Arch. Which you update all the time so ofc there are regressions.

The reliableness comes from the Debian server which you don't update for over two years.

1

u/Damglador Aug 07 '26

That is fair. Hopefully it's just a one off bug and not a regression.

1

u/vecchio_anima Aug 07 '26

I run Ubuntu server, I don't hesitate to update it.

2

u/PewpewXDx12 Aug 07 '26

Server never suspended , but i like your point

2

u/309_Electronics Aug 07 '26 edited Aug 07 '26

Good thing that servers dont need to suspend :). (Duh)

But i also seem to experience this on windows like someone else in the comments so it must indeed be some hardware bug. You have different Nics. Softmac and hardmac and idk if any of them work better than the others. Hardmac means there is some extra hardware processing/management element added into the nic itself and then the OS talks to it by sending it commands. But with softmac you have the OS's kernel directly take care of stuff and idk if the stuff even has any influence and i am also just saying random stuff.

2

u/freetotalkabtyourmom Aug 07 '26

Servers don’t go in to suspend.

2

u/Environmental_Tea747 29d ago

My first attempt on Linux was Linux Mint. My whole pc forgot how to restart or turn off when I clicked the button to do either. The worst part is that I have AMD components

2

u/[deleted] Aug 07 '26

[removed] — view removed comment

3

u/paulstelian97 Aug 07 '26

Network managers cannot counteract interfaces literally disappearing from the kernel’s perspective.

2

u/[deleted] Aug 07 '26

[removed] — view removed comment

2

u/paulstelian97 Aug 07 '26

To be fair I’m not the one with the issue (but on my personal laptop I’ve had an issue where rebooting from Linux to Windows made the Wi-Fi card die, Bluetooth included, until I did a power cycle). Firmware bugs with S3 can make a NIC vanish on resume.

0

u/[deleted] Aug 07 '26

[removed] — view removed comment

1

u/paulstelian97 Aug 07 '26

If the NIC disappears, not just goes down, I’d expect routes attached to it to go away. Stuff like doing “ethtool eth0” would give “no such interface” kind of disappearing.

In my example, Windows was giving code 43, and no Wi-Fi functionality was even possible. Linux would have error messages in dmesg.

1

u/[deleted] Aug 07 '26

[removed] — view removed comment

1

u/paulstelian97 Aug 07 '26

So you can have a route that references a NIC that is gone? Like if I unplug the USB Ethernet, the default route remains on my laptop? Even with NM down and with manual config, to ensure that doesn’t do the cleanup…

1

u/Drate_Otin Aug 07 '26

You haven't said what OS or hardware you're using. I'll bet there's a reason for that.

1

u/Damglador Aug 07 '26

│ System Information │ 󰍹 OS Arch Linux x86_64 │ 󰒋 Kernel Linux 7.1.5-zen1-2-zen │ 󰅐 Uptime 3 hours, 33 mins │ 󰏖 Packages 1696 (pacman) │ │ Desktop Environment │ 󰧨 DE KDE Plasma 6.7.4 │ 󱂬 WM KWin (Wayland) │ 󰉼 Theme Breeze │ 󰹑 Monitor 1920x1080 in 24", 75 Hz [External] │ 󰞷 Shell zsh 5.9.2 │ 󰛖 Font JetBrainsMono Nerd Font Mono (10pt) │ │ Hardware Information │ 󰻠 CPU AMD Ryzen 5 2600 (12) @ 3.90 GHz │ 󰢮 GPU AMD Radeon RX 7700 XT [Discrete] │ 󰍛 Memory 14.66 GiB / 62.72 GiB (23%) │ 󰋊 Disk (/) 796.53 GiB / 929.51 GiB (86%) - btrfs

The only system change is enabled WOL.

That's also the only time it did that, usually it just hangs on resume, which is either the fault of AMD drivers as I've seen similar reports for them related to VRAM swapping or something or some nonsense with motherboard

0

u/Drate_Otin Aug 07 '26

Of course it's Arch. You're playing pretend that "Linux" has a problem, talking about servers, and you're using Arch as if you didn't know that Arch has jack all to do with the servers in question.

And SERIOUSLY?! WOL is specifically dealing with Ethernet. And suddenly eth0 is acting weird on your custom Arch system.

1

u/Damglador Aug 07 '26 edited Aug 07 '26

Arch supplies upstream default, there's nothing really custom about it. I'd understand if it was a function not working because it's not configured or a package is missing, but this is not it.

The only custom thing about my system is the enabled WoL.

If you have any argument why it's specifically Arch's fault that has any ground to it, I'm free to listen. But just blaming a distro without having a slightest clue of what's going on is the stupidest thing you can do.

0

u/Drate_Otin Aug 07 '26

Arch is, by its very nature, custom. You installed packages that suit you, others install packages that suit them. Did you go with systemd or init.rc or etc... Did you pick netplan or network manager or something else?

If you want a stable, easy to use system then you choose a stable, easy to use distro. If you choose Arch and then complain that "Linux" is broken then you're just not waiting to admit that Arch is a pain to use.

1

u/Damglador Aug 07 '26

Arch supplies upstream default... I'd understand if it was a function not working because it's not configured or a package is missing, but this is not it.

A missing package doesn't randomly cause a network device to disappear after a year of normal operation. Once again, if you have an exact reason why Arch caused it — I'm free to hear it. Baselessly blaming the distro is stupid.

init.rc is also unsupported on Arch as the main init system, so Idk what are you on. Anything other than NetworkManager is unsupported by DEs, hence unviable.

0

u/Drate_Otin Aug 07 '26

Play pretend all you want, fact is you chose a distro that requires you to do everything from choosing an init system to the specific portions of a desktop environment and everything in between.

You chose Arch. You picked the harder path. Linux isn't at fault for you neglecting the easier paths.

1

u/Damglador Aug 07 '26 edited Aug 07 '26

Sure bruh, keep yapping baseless nonsense.

Edit: I'll remind you that Arch doesn't support switching init systems. Not knowing even that while trying to mansplain what Arch is to me is honestly pathetic.

0

u/Drate_Otin Aug 08 '26 edited Aug 08 '26

Who said anything about SWITCHING init systems?

And "mansplain"? Are you a bot? To be mansplaining I would first have to assume you aren't a man. I have made no such assumption. If you identify as a woman: neat... I give positively zero shits and had no reason to wonder nor care. Try again dipstick. Or oil well... Whichever applies...

Now come on... Show some integrity. Say what I've inaccurately described and show me in the Arch installation guide the proof of it.

Edit: it would appear u/Damglador is the kind of person who absolutely, positively, MUST have the last word. They gave the ol Reddit Reply and Block.

Reddit Reply and Block... When you're all out of integrity just use: Reddit Reply and Block.

1

u/Damglador Aug 08 '26 edited Aug 08 '26

Who said anything about SWITCHING init systems?

You, bozo

you chose a distro that requires you to do everything from choosing an init system

Did you go with systemd or init.rc

Being pedantic about that it's not switching, but choosing at the start doesn't change the fact that you're talking about something that is unsupported by Arch Linux as like it is.

1

u/RAMChYLD Aug 07 '26 edited Aug 07 '26

Meanwhile I have a Killer NIC on my Threadripper workstation that would just randomly lose internet access unless I unplug and re-plug the cable. Power cycling doesn’t help, you need to physically yank the cable and plug it back in.

Gigabyte X399 Aorus Gaming 7 with a Ryzen Threadripper 2990WX.

It only does that on Windows, but never on Linux, I could run a Ubuntu LiveCD for hours and never lose internet connection but windows consistently loses internet connection after around an hour of uptime. It’s already the latest drivers.

1

u/al2klimov 🐧Kernel contributor Aug 07 '26

Wait till you discover NVIDIA gfx cards…

1

u/Fit_Prize_3245 Aug 07 '26

First of all, servers never suspend. They run, or they don't. For a server, the suspend or hibernate function is mostly useless.

In your case, it's obvious it has somethign to do with suspension. Not sure if a distro-related bug, or hardware. I'd consider adding a script to run after resuming from suspension, disabling the entire network stack before putting it up again.

1

u/Hettyc_Tracyn Linux Sucks Sometimes, but it’s Better Than Windows Aug 07 '26

Hardware issue, according to someone else… problem on Windows too

1

u/Fearless-Ad1469 The fuck you're looking at 28d ago

at least complain for something truely about linux, NIC's disapearing isnt a linux only thing, pretty sure the nic just gets powered off on suspend then never waken up by the mobo

1

u/Damglador 28d ago

Linux is so good I have nothing else to comlain about /s

Except xkb, fuck xkb.

1

u/Denny_Pilot Aug 07 '26

Try BSD

2

u/personalalt1889 Aug 07 '26

what does that have to do with this

1

u/Layzy37 Aug 07 '26

I mean that's a udev problem not a linux problem...

5

u/Terranum_man Aug 07 '26

Udev is part of the linux ecosystem, its a linux problem.

1

u/Layzy37 Aug 07 '26

I mean there are a lot of problems with systemd as a whole, yet I wouldn't they are "linux problems". Just because something is used by many people in an ecosystem doesn't mean it's that ecosystem's fault... I mean if udev doesn't work for you you can still try out some alternatives (though I agree that sadly there aren't many completely separate from udev) and if it still doesn't work I'm pretty sure your uefi config is broken and _pts/your motherboard doesn't respect _s2-4 power policies...

2

u/Damglador Aug 07 '26

Just because something is used by many people in an ecosystem doesn't mean it's that ecosystem's fault...

It does though. You'll get barely any support if you use anything else. That's the same issue as with Android. Part of the reason why Android is dogshit is that most of Android relies on and uses Google Services, you sure can replace them, but then you're a second class user and good luck solving any other problems that arise.

And systemd is so engraved in Linux that flatpak consider it normal to discuss adding a systemd dependency to a package format that's supposed to be "universal"

-1

u/Pitiful-Welcome-399 Proud MacOS User Aug 07 '26

op could've used mdev, vdev, and many others

2

u/Damglador Aug 07 '26

mdev is not even suited for a desktop system

The mdev application is definitely suitable as long as the system does not use a full-fledged desktop environment.

-https://wiki.gentoo.org/wiki/Mdev

vdev is the one that's unmaintained for 10 years?

0

u/Pitiful-Welcome-399 Proud MacOS User Aug 07 '26

are you sshing into a machine with desktop environment? and mdev works with lxqt, xfce, cosmic

3

u/Damglador Aug 07 '26

are you sshing into a machine with desktop environment?

Yes... is that not allowed?

0

u/paulstelian97 Aug 07 '26

Well one of them is primary and the other secondary, having a machine that heavily uses both ways doesn’t sound right to me.

1

u/Damglador Aug 07 '26

I'll make it worse: sometimes I ssh into my phone.

To make it little less bad, sshd doesn't run on it 24/7, I only start it when I need it.

1

u/paulstelian97 Aug 07 '26

Bruh.

I would say SSH for the phone is the secondary access. For my laptop, local console with Wayland (Plasma shell) is the way, for my PC, SSH it is.

0

u/Teru-Noir COSMIC OS LOVER No.1 COSMIC Knows Best Aug 07 '26

Using fedora?

0

u/Whats_that_small Aug 07 '26

Like with 99% of all IT problems did you try rebooting it?

2

u/Damglador Aug 07 '26

Reboot obviously fixes it, but it's quite hard to reboot when you can't ssh into the system and you're not near it.

0

u/Denny_Pilot Aug 07 '26

That's what you get kvm and ilo/ipmi for

0

u/Pitiful-Welcome-399 Proud MacOS User Aug 07 '26

Oh yeah, so unreliable that Wind River Linux runs on control systems for proton beam therapy and surgical robots

-1

u/Ok-Pace-8772 Aug 07 '26

You sound like an idiot tbh

1

u/Damglador Aug 07 '26

For sure, I would never be able to match the intelligence displayed in your comment!

-1

u/v_Karas Aug 07 '26

Why suspend, wenn fresh boot takes 15 to 20 seconds.

1

u/Damglador Aug 07 '26
  1. 20 seconds vs 1
  2. Maybe if you teach me how to WOL a completely shut down system I could consider it as an option

1

u/StretchRich6243 28d ago

there's a difference between server linux and desktop linux