u/spryfigure

▲ 5 r/bash

Over ssh, sudo reboot; logout is not always working as expected. Why?

When working over ssh, I sometimes want to reboot or power off a system. The usual error message about the broken pipe annoy me, so I use

sudo reboot; logout as a stop for it. The interesting issue is that it doesn't work on all systems. A sixth gen Intel NUC works, but on an 11th gen Intel CPU I get the same errors as if I didn't issue the logout:

Broadcast message from root@NUC11TNKi3 on pts/1 (Thu 2026-05-21 11:38:21 CEST):

The system will power off now!

Read from remote host nuc11tnki3.lan: Connection reset by peer
Connection to nuc11tnki3.lan closed.
client_loop: send disconnect: Broken pipe

On a 10th gen Intel NUC, it's no issue:

sudo reboot; logout

Broadcast message from root@nuc10i3fnk on pts/2 (Thu 2026-05-21 11:58:15 CEST):

The system will reboot now!

Connection to nuc10i3fnk.lan closed.

It should have something to do with the timing (that's why I post it in /r/bash), but I can't identify why only some systems show it. I use it on some fast systems and on slow systems without problems. Bash version is 5.3.9 in case it plays a role. But I have used other systems with other bash versions as well.

reddit.com
u/spryfigure — 23 hours ago

Unser Herd ist kaputt gegangen (Tür öffnete sich nach der Pyrolyse nicht mehr). Es stellt sich heraus, dass es bei Pyrolyse eine Türsperre gibt, damit keiner bei 500 ºC die Tür aufmachen kann. Und wenn der Motor dafür blockiert, passiert sowas.

Ich hab jetzt das Element mit dem Aktor ausgebaut und zwischen Sperre und Motor den Rotationskolben entfernt, der die Türsperre auslöst. Türsperre erfolgreich ausgehebelt, jetzt ist allerdings die Sicherheitsfunktion weg bei Pyrolyse.

Obwohl man argumentieren kann, dass wir im 2-Personen-Haushalt ohne anwesende Kinder keine Gefahr laufen, habe ich ein neues Türsperremodul bestellt und eingebaut.

Im Prinzip nur, damit alles wieder seinen normgerechten Gang geht. Kann ja auch sein, dass der Herd irgendwie mal woanders landet und dann dort eine Gefährdung sein könnte. Ist aber absolut unwahrscheinlich, wenn er kaputtgeht, kommt er zum Schrott.

Und jetzt frage ich mich: Bin ich der Alman? So nach dem Motto: "Deutsch sein heißt, eine Sache um ihrer selbst willen zu tun" nach Richard Wagner?

reddit.com
u/spryfigure — 15 days ago

I have an aging laptop from 2014 which I don't want to give up on. It's a Dell Precision M4800 with enough RAM (32GB), excellent keyboard and QHD+ screen resolution (3200x1800). Performance-wise, it still holds up, but the CPU and GPU fans are getting on my nerves.

CPU: Intel(R) Core(TM) i7-4910MQ (8) @ 3.90 GHz and GPU: NVIDIA Quadro M2200 Mobile [Discrete] seem to generate enough heat that the fans spin often.

I know about the usual cleaning of the device and do it often and did it recently.

I am looking for a solution which involves hardware modifications, for example replacing the fans with a different brand. In a desktop, I would just buy BeQuiet! fans and be done with it. What can I do in a laptop? Cleaning and applying fresh thermal paste are already done. Has someone done something creative with out-of-the-box thinking for a better solution?

For information, here the original fans:
https://www.aliexpress.com/item/32861688515.html for GPU
https://www.aliexpress.com/item/1005009205692268.html for CPU

reddit.com
u/spryfigure — 15 days ago

I want to make a homegrown IR receiver for the PC, with a USB interface.

I know about the FLIRC USB receiver, but this one has a full ARM processor on it, it functions more as a translator from IR remote to keyboard.

What I am looking for is a 38kHz receiver, translation to USB protocol and then using this as HID input for the Linux kernel.

I thought about putting a cheap IR receiver together with an UART-USB converter, but I am not sure if this would be enough, or if more would be needed for a reliable operation.

Are there any projects like this on the net which you would recommend?

u/spryfigure — 20 days ago

I have a couple of markdown files with a set scheme which I want to beautify in the output with a custom css. What would be the smoothest way to go about it?

I have a picture of how the result should look like (how to format an image, which fonts to use, how to format for columns, background color for a text box etc.)

How can I translate this into a css template?

reddit.com
u/spryfigure — 25 days ago