social.dk-libre.fr is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
Ein Befehl für deinen Server: sudo crontab -l
Er zeigt die geplanten Aufgaben von root. Jede Zeile läuft nach Zeitplan, */5 vorn heißt alle fünf Minuten. Kennst du jede Zeile? Angreifer nutzen Cron, um auf einem Server zu bleiben.
Was läuft bei dir, das du längst vergessen hattest?
Wachhund prüft geplante Aufgaben jede Nacht und meldet Abweichungen: https://wachhund.io
#Linux #Serversicherheit #Sysadmin #Selfhosting #Cron #Homelab
I have just upgraded my homelab to PostgreSQL 19, and applied all the patches from the last few weeks where major CVEs were drop every single day.
#homelab #selfhosting #postgresql #forgejo #nextcloud #stepca #firefly
The answer is no =(
The drive is in good shape without a single bad block, but it is too slow for object storage.
I decided to toss all my SSDs around my #homelab to optimize storage and to free up a single drive for cache acceleration in my #QNAP NAS. With #Proxmox it’s just a routine: move guests, remove nodes from cluster, swap drives, reinstall, re-add nodes, repeat. Boring. Also, it is too late, so I’m leaving it half finished for tomorrow’s me.
AdGuard Home 0.107.80 ➡️ 1.0.0 ! ✨
Un petit coup de jeune pour l'interface, toujours autant de requêtes bloquées en silence. La mise à jour s'est passée comme sur des roulettes ! 🐧🛡️
🔗 https://github.com/AdguardTeam/AdGuardHome/releases/tag/v1.0.0
Could it be the future media storage for #GlitchySocial #Mastodon instance? Let’s put it to the test and find out!
Oh neat!
#QNAP NAS could sync data from S3-compatible object storage. This is a solution to #GlitchySocial's Mastodon media storage that I was searching for! I'll have a single-node #Garage server that will store objects on a 500GB 2.5" HDD I suddenly found in my stash. And my NAS will sync that data to itself for backups! Yeah, let's do this!
#homelab #selfhosting #selfhosted #selfhost #MastoAdmin #Mastodon
NGINX2Root touche aussi les sites statiques en HTTP/2. NGINX 1.30.7 et 1.31.9 corrigent les cinq failles côté serveur. Le guide montre comment vérifier votre exposition et quoi faire en attendant le correctif.
On Sunday, I prepared to move into a temporary new apartment in #brussels. It was time to clean my #synology DS918+, there was so much dust after a year!
Now my #homelab is offline (Mini PC #proxmox, #synology and #RaspberryPi 4), and I feel orphaned. 😢
Hoping to find a place soon to put it back online.🤞🏼
Ein Befehl für deinen Server: cat /var/run/reboot-required
Steht dort „*** System restart required ***“, wartet ein Update auf den Neustart. Ein neuer Kernel etwa läuft erst danach. Fehlt die Datei, hat kein Paket einen Neustart angemeldet.
Wie lange läuft deiner schon durch?
Wachhund prüft, ob ein Neustart aussteht: https://wachhund.io
#Linux #Serversicherheit #Sysadmin #Selfhosting #Ubuntu #Homelab

In Teil 6 der MeshCore-Serie, der noch erscheint, beschreibe ich das Rezept der Community, mit dem ein Repeater im Rheinland sauber ins Netz passt: Preset, Region-Scopes, Pfad-Hash, Duty Cycle. Damit läuft ein Repeater. Mein Repeater auf dem Dach, „DE-NW-SU-Todenfeld-KE“ mit dem Hop-Präfix 1863, lief damit auch. Nur hat er dabei mehr gesendet, als mir lieb war, und ein guter Teil davon war Verkehr, den eigendlich niemand braucht.
Also habe ich mich hingesetzt und jede Einstellung angeschaut, die ein Repeater-Betreiber überhaupt anfassen kann. Pro Einstellung wollte ich wissen, wofür sie da ist, was sie bei mir bringt und was sie kaputt machen kann. Daraus ist wieder eine kleine Serie geworden, diesmal mit drei Teilen. Dieser erste Teil geht durch die Konfiguration: Coding Rate, Timing, einen Community-Fork der Firmware, Kanalfilter und Sendeleistung, und am Ende steht, was es gemessen gebracht hat. Teil 2 kümmert sich ausschließlich um CAD, denn das war eine eigene Geschichte. In Teil 3 wird es um eigene Firmware-Builds gehen, der ist noch nicht fertig.
Die Grundlagen erkläre ich hier nicht noch einmal. LoRa, Airtime, Flood und Direct stehen in Teil 1, der Repeater selbst in Teil 3, Antennen und ERP in Teil 4.
Am Anfang lief auf 1863 die unveränderte MeshCore-Firmware v1.18.0 mit dem Rezept von Mesh Rheinland, also CR 4/8 und txdelay 0.5. Die Frage war erst einmal ganz einfach: Was sendet mein Repeater da eigentlich den ganzen Tag?
Die Antwort kommt aus zwei Quellen. Ein Raspberry Pi am Repeater liest jede Minute die Statistiken aus, daraus ergeben sich Sendezeit pro Stunde, Millisekunden pro Paket und Weiterleitungen. Und CoreScope, der Community-Analyzer, zeigt, welche Pakete Observer mit 1863 im Pfad gesehen haben. Daraus habe ich geschätzt, dass die drei Kanäle #test, #ping und #bot rund 19 bis 26 % der Sendezeit ausmachten, die über meinen Repeater lief. Das ist eine Schätzung aus dem, was die Observer gesehen haben, und Beobachtungslücken oder mehrdeutige Hashes können sie in beide Richtungen verschieben. Inhaltlich sind das Testnachrichten, Erreichbarkeitsprüfungen und Bots, die in vielen Fällen automatisch senden. Bis zu ein Viertel meiner Airtime für Verkehr, der keine Nachricht von Mensch zu Mensch ist, fand ich zu viel.
Ein Tipp vorweg, falls du Änderungen gegen CoreScope oder einen anderen öffentlichen Analyzer auswerten willst: Archivier die Daten selbst. CoreScope hält Pakete nur knapp zwei Tage vor. Ich ziehe jede Nacht den Vortag mit allen Beobachtungen auf mein NAS, sonst hätte ich für die Vorher-Nachher-Vergleiche schlicht keine Daten mehr gehabt. Welche Statistik welche Frage beantwortet, habe ich im Anhang als Tabelle zusammengefasst.
Der größte einzelne Hebel brauchte überhaupt keine neue Firmware. Die Coding Rate legt fest, wie viel Fehlerkorrektur in jedem Paket steckt. Mit CR 4/8 kommen auf vier Nutzbits acht gesendete, mit CR 4/5 nur fünf. Ein Paket wird dadurch spürbar kürzer. Seitdem ich das umgestellt habe, sendet 1863 mit CR 4/5:
set radio 869.618,62.5,8,5
Die naheliegende Sorge war: Hört mich dann noch jemand? Ja. Die Coding Rate steht im LoRa-Header, der Empfänger liest sie aus jedem Paket und dekodiert entsprechend. Frequenz, Bandbreite und Spreading Factor müssen im ganzen Mesh gleich sein, die Coding Rate nicht. Umgekehrt ändert meine CR auch nichts daran, was ich selbst empfangen kann. Der Preis ist weniger Fehlerkorrektur auf meinen Sendungen. Wer am Rand der Reichweite liegt, verliert mit CR 4/5 eher ein Paket als mit 4/8. Deshalb ist das eine Abweichung vom Rezept, die man in der Community ankündigen sollte, und das habe ich auch getan.
Gleichzeitig habe ich txdelay von 0,5 auf 1 gesetzt. Der Wert ist ein Faktor, keine Zeit. Vor jeder Flood-Weiterleitung wartet der Repeater eine zufällige Zeit zwischen null und fünfmal der eigenen Paketdauer mal txdelay. Ein längeres Fenster streut die Weiterleitungen mehrerer Repeater weiter auseinander. Bei einem 100-Byte-Paket kostet das nach meiner Rechnung im Mittel etwa eine halbe Sekunde mehr pro Hop. Gemessen habe ich das nicht getrennt. direct.txdelay bleibt bei 0,3, rxdelay bei 0.
Zu rxdelay gibt es übrigens eine Tabelle aus einer anderen regionalen Community, die je nach Zahl der Nachbarn feste Werte empfiehlt. Nach der Zahl meiner Nachbarn wäre 1863 dort in der Klasse „Regional“ gelandet, mit rxdelay 8. Ich habe mir im Quellcode angesehen, was rxdelay bei MeshCore wirklich macht. Es ist keine zufällige Wartezeit, sondern eine feste Verzögerung, die von SNR und Paketlänge abhängt. Starke Pakete werden sofort verarbeitet, schwache und lange warten. Getroffen hätte das genau die schwachen Pakete aus großer Entfernung, für die ein hoher Repeater da ist, und zwar mit 1,5 bis 5 Sekunden pro Hop. Ein schon eingeplantes Weiterleiten eines anderen Repeaters bricht es auch nicht ab. Für 1863 habe ich es deshalb gelassen. Auf einem Nachbar-Repeater wäre rxdelay 8 mit meinen Werten verträglich, würde dort aber ebenso die schwachen und langen Pakete verzögern.
Mit CR 4/5 war die Sendezeit pro Paket kleiner, an der Menge änderte sich aber nichts. Die unveränderte Firmware v1.18.0 kann Floods nur global begrenzen, über flood.max, flood.max.advert und die Region-Scopes. Einzelne Kanäle aussortieren oder wiederholte Adverts verwerfen kann sie nicht. Genau das wollte ich.
Aus der Community kam der Tipp auf den Fork m0urs/MeshCore, Releases mit dem Kürzel „mups“. Andere Betreiber in der Gegend nutzen ihn nach eigener Aussage schon, mit ähnlichen Kanalfiltern. Der Fork bringt drei Dinge mit:
get rx.errors mit Histogrammen nach SNR, RSSI und Länge, get cad mit Zählern für „Kanal belegt“ und „nach 4 Sekunden trotzdem gesendet“ und filter stats mit der eingesparten SendezeitDas Letzte war für mich kein Grund. Direct-Verkehr ist bei 1863 nur ein kleiner Teil der Weiterleitungen. Die Gründe waren der Filter und die Diagnose.
Ein Fork hat aber auch Nachteile, und die sollte man vorher kennen. Es ist ein Community-Fork, nicht die offizielle Firmware. Er enthält Pull Requests, die upstream noch nicht gemergt sind. Jede neue MeshCore-Version muss erst in den Fork übernommen werden. Nicht jedes Board hat einen Build, für den RAK_3112 gab es im Release keinen. Die Standardwerte unterscheiden sich teilweise von MeshCore. Und mit dem enthaltenen PR #1349 lässt sich die Uhr per CLI auch rückwärts stellen. Für mich hat für den Fork gesprochen, wie der Maintainer arbeitet: Zwei kleine Korrekturen von mir hat er noch am selben Tag geprüft und übernommen, sie sind seit dem Release mups18-3 drin. Eine Garantie für die Zukunft ist das natürlich nicht.
Gemessen habe ich nach dem Wechsel mit mups18-2. Wenn du den Fork heute einsetzt nimm das aktuelle Release mups18-3. Dort gibt es auch einen Build für den Heltec V4 als Repeater.
Das Update selbst lief wie in Teil 3 beschrieben: Konfiguration ausgelesen und gesichert, komplettes 16-MB-Flash-Backup, dann nur das App-Image ab Adresse 0x10000 geflasht. Die Partitionstabelle war bei beiden Firmwares gleich, das solltest du vor einem reinen App-Flash immer prüfen. Für den Rückweg hatte ich drei Stufen: filter off schaltet die Filter sofort ab, das gesicherte App-Image der Standard-Firmware bringt mich zurück auf v1.18.0, und das Flash-Backup stellt im Notfall alles wieder her. Die Einstellungen übernimmt der Fork aus der vorhandenen /prefs.json. Und hier liegt die Falle: Für Einstellungen, die die alte Firmware nie geschrieben hat, nimmt der Fork seinen eigenen Standardwert. Nach dem Update war bei mir der RX-Stromsparmodus radio.rxps an. Für einen Repeater am Netzteil will ich das nicht.
get radio.rxps set radio.rxps off
Nach jedem Update und jedem Neustart prüfe ich get radio.rxps seitdem von Hand.
Dazu kommt eine Sache, die ich erst später gefunden habe. Mit radio.rxps off und dem LNA des Heltec V4 kann die Schätzung des Rauschbodens in dieser Firmware stundenlang bei -120 dBm hängen bleiben. Ich habe das als Issue #27 beim Fork gemeldet. Der Rauschboden fließt in die Prüfung ein, ob der Kanal frei ist. Alle Messungen in diesem Beitrag liefen mit dieser Schätzung, und ich kann nicht ausschließen, dass sie einige RX- und Weiterleitungszahlen seit dem Wechsel auf den Fork beeinflusst hat. In welche Richtung und wie stark, weiß ich nicht. Die Details folgen in Teil 3.
Der Filter im Fork arbeitet nur auf Flood-Paketen. Direct-Pakete lässt er immer durch, das steht so im Code. Ein Login auf einen entfernten Repeater über einen bekannten Pfad ist also nie betroffen. Auch eine Sache vorweg: Ein Filter wirkt nur auf das, was mein Repeater weiterleitet. Die Nachbarn tragen dieselben Pakete weiter, solange sie nicht selbst filtern.
Kanäle. Gesperrt sind auf 1863 #test, #ping, #bot und #wardriving. Der Filter erkennt einen Kanal am Hash-Byte plus MAC, trifft also genau diesen Kanal und nur Gruppentexte. #test war mit Abstand der größte Brocken. #wardriving ist eine Entscheidung von mir, die etwas kostet. MeshMapper, das ich in Teil 5 vorstelle, wertet Echos auf #wardriving aus. Rund um 1863 sieht die Abdeckung dort jetzt schlechter aus, als sie ist. Ich nehme das in Kauf. Gesetzt habe ich die Kanalfilter übrigens, bevor die Nachbar-Betreiber zugestimmt hatten. Ein Beschluss der Community ist das also nicht.
Hop-Limits pro Pakettyp. Hier habe ich zweimal an einem Tag korrigiert, und die Geschichte ist lehrreich. Das Limit verwirft ein Flood-Paket, wenn es schon so viele Hops oder mehr hinter sich hat. Für Anfragen, Antworten und anonyme Anfragen (Typ 00, 01 und 07) bringt der Fork 5 als Standard mit. Das habe ich nach einem Hinweis eines Nachbar-Betreibers auch gelassen, weil es Sendezeit spart. Später kam der Hinweis eines anderen Betreibers, dass die Pfadsuche der App über große Entfernungen genau solche Pakete nutzt. Daraufhin habe ich das Limit auf 8 erhöht. Und dann habe ich die Frage endlich andersherum gestellt: Nicht „was spart das?“, sondern „was geht davon kaputt?“. Pfadsuche, Login, Status und Telemetrie zu entfernten Repeatern laufen als Flood, solange kein Pfad bekannt ist. Ein niedriges Limit schneidet genau diese Funktionen für alle weiter entfernten Knoten ab, und das für wenig Sendezeit. Seitdem steht das Limit für 00, 01 und 07 auf 32, für alles andere auf 64, was praktisch aus ist. Bei Adverts (Typ 04) hatte ich zwischendurch auch 5 gesetzt, das hat die Kontaktsuche im Umkreis beschnitten und ist ebenfalls wieder auf 64. Adverts deckelt ohnehin schon flood.max.advert 8 aus der Standard-Firmware. Meine Regel seitdem: Bevor du ein Hop-Limit für einen Pakettyp setzt, schreib dir auf, welche Funktion der App diesen Typ als Flood sendet.
Advert-Fenster. filter advert 24 verwirft ein Flood-Advert, wenn derselbe Absender in den letzten 24 Stunden schon eins geschickt hat, das mein Repeater weitergeleitet hat. Der Standard für Flood-Adverts eines Repeaters liegt bei 47 Stunden, seine regelmäßigen Flood-Adverts fallen also nie in das Fenster. Getroffen werden vor allem Repeater mit sehr kurzem Intervall. Ein Companion, der nach einer Namensänderung neu annonciert, wird dadurch verzögert. Das ist der Standardwert des Forks, und ich habe ihn behalten.
Was ich nicht genutzt habe. filter age 30 verwirft lesbare Gruppentexte, deren Zeitstempel mehr als 30 Minuten abweicht. In meiner Stichprobe auf Public hätte das keine einzige Nachricht betroffen. Eine Regel, die nichts trifft, brauche ich nicht. filter malformed, das Nachrichten auf Public auf fehlerhafte Inhalte prüft, und filter rate sind ebenfalls aus. Für beide hatte ich keinen Anlass. filter hash bleibt bei 1, ein strengerer Wert würde Companions mit Standardkonfiguration ausschließen.
Dazu kommen zwei Kleinigkeiten außerhalb des Filters. set flood.max 63, weil ein 64. Hop bei 1-Byte-Pfaden den 6-Bit-Zähler überlaufen lassen würde. Und set flood.max.unscoped 0, das macht die Community-Regel region denyf * noch einmal ausdrücklich. max.resend für das Direct-Wiederholen habe ich von 3 auf 2 gesenkt, weil Direct-Verkehr hier selten ist und lange Strecken ein Weiterleiten des nächsten Hops oft gar nicht mithören. Dann würde der Repeater unnötig wiederholen.
Mit dem Wechsel auf den Fork habe ich 1863 auch auf tx 20 gestellt. Beim Heltec V4 heißt dieser Wert nicht, dass 20 dBm an der Antenne ankommen. Er stellt die Ausgangsleistung des SX1262 ein, und dahinter sitzt noch ein externer Verstärker, der KCT8103L. Nach der Kennlinie, die das Meshtastic-Projekt für dieses Board veröffentlicht, liefert der bei tx 20 etwa 28 dBm am Ausgang. Nach dieser Kurve bringt alles über tx 16 nur noch wenig, weil der Verstärker in die Sättigung läuft. Gemessen habe ich das nicht.
Mit Kabel, SAW-Filter und der Antenne von Bingfu, laut Hersteller 5,8 dBi (die gibt es hier), schätze ich die abgestrahlte Leistung auf 25,5 bis 27 dBm ERP. Die Grenze im Teilband liegt bei 27 dBm. Die Dämpfung des SAW-Filters habe ich nicht gemessen, und wie viel Leistung er dauerhaft verträgt, weiß ich nicht. Das ist eine Schätzung auf dem Papier, und genau deshalb gehört sie gemessen. Wenn du einen Heltec V4 mit Außenantenne betreibst, rechne dein ERP aus, bevor du den Wert hochdrehst, und miss die Leistung am besten leitungsgebunden über ein Dämpfungsglied. Wie man das mit einfachen Mitteln angeht, steht in Teil 4. Das Board selbst gibt es im Zweierpack mit GPS.
Für den Vergleich habe ich zwei Dienstage im Abstand von einer Woche genommen: den ersten noch mit unveränderter Firmware v1.18.0, CR 4/8 und tx 16, den zweiten mit dem Fork, CR 4/5, den Filtern und tx 20. CAD war an beiden Tagen noch an, Board, Antenne, Kabel und SAW-Filter waren dieselben. Empfangen hat der Repeater an beiden Tagen fast gleich viel, am zweiten etwa 2 % mehr.

Sendezeit des Repeaters pro Stunde (Balken) und im gleitenden Stundenfenster (Linie), ein Dienstag vorher (CR 4/8) gegen den Dienstag eine Woche später (nachher). Maximum der gleitenden Stunde 8,18 % auf 4,00 %, Tagesmittel 5,64 % auf 2,98 %; die Grenze liegt bei 10 %. Quelle: Logger am Repeater 1863, Zeiten in UTC.
Die Sendezeit hat sich also ungefähr halbiert. Woher das kommt, lässt sich nicht sauber trennen, weil sich an zwei Tagen auch Verkehr und Timing ändern. Nach meiner Modellrechnung stammen rund 60 bis 70 % der Einsparung aus CR 4/5 und 30 bis 40 % aus den Filtern. Das heißt ehrlich gesagt: Der größte Hebel hätte den Fork gar nicht gebraucht. CR 4/5 geht auch mit der Standard-Firmware. Der Fork lohnt sich für mich wegen der Kanalfilter und vor allem wegen der Diagnose, ohne die ich vieles in Teil 2 und 3 nie gesehen hätte.

Oben: Modellschätzung der Einsparung, nicht getrennt gemessen, etwa 60 bis 70 % durch CR5 und 30 bis 40 % durch die Filter. Der schraffierte Bereich lässt sich nicht eindeutig zuordnen. Unten: verworfene Pakete pro Regel an einem Tag, keine Sendezeit; grün ist das Advert-Fenster. Quelle: Logger- und Diagnoseauswertung Repeater 1863, Modellrechnung der Vorher-nachher-Auswertung.
In CoreScope tauchen die gesperrten Kanäle mit 1863 im Pfad danach kaum noch auf. Ob sich bei anderen Gruppentexten etwas verändert hat, kann ich aus CoreScope nicht belastbar ablesen.

Geschätzte Sendezeitanteile der von CoreScope beobachteten Pakete mit 1863 im Pfad: ein Tag vorher (CR 4/8) und ein Tag nachher (CR 4/5). Die gesperrten Kanäle sind danach kaum noch vertreten. Verglichen werden Anteile, keine Gesamtsendezeiten. Unterschiedliche Tage, Beobachterabdeckung und mehrdeutige Kanal- und Pfad-Hashes begrenzen die Aussagekraft. Quelle: CoreScope-Archiv, Airtime aus Paketlänge und Funkparametern berechnet.
Offen sind drei Dinge, und ich schreibe sie bewusst als offen hin:
Und dann ist da noch CAD. CAD ist auf 1863 inzwischen aus, erst als Test, drei Tage später dann endgültig. Das weicht vom Community-Rezept ab, und in Teil 6, den ich vorher geschrieben habe, steht noch „CAD bleibt an“. Kurz darauf habe ich auch meine beiden Companions auf CAD aus gestellt und den Nachbar-Betreiber informiert. Warum ich das gemacht habe und was ich gemessen habe, steht ausführlich in Teil 2 dieser Serie.
Ein Filter auf einem Repeater wirkt lokal sofort. Er stoppt, was mein Repeater weiterleitet, ab der ersten Minute. Die Nachbarn tragen dieselben Pakete aber weiter. Wenn die direkten Nachbar-Repeater ähnliche Werte nutzen, verhält sich die Region einheitlich, und genau dafür lohnt es sich, miteinander zu reden.
Mit den direkten Nachbarn würde ich abstimmen: die Reihenfolge beim txdelay (ein höher gelegener Standort darf ruhig später weiterleiten), Hop-Limits, Kanalfilter und eine abweichende Coding Rate.
Mit der Community als Ganzes bleibt gleich: Funk-Preset, Region-Scopes, region denyf *, Pfad-Hash-Größe und Advert-Intervalle. Jede Abweichung davon, bei mir CR 4/5 und CAD aus, sollte man ankündigen, damit sich niemand wundert.
Das sind die Änderungen von 1863 gegenüber dem Rezept aus Teil 6. Schick die Befehle einzeln, Zeile für Zeile, an die CLI des Repeaters, über die serielle Konsole oder den Remote-Admin in der App. Das ist kein Shell-Skript.
set radio 869.618,62.5,8,5 set tx 20 set txdelay 1 set direct.txdelay 0.3 set rxdelay 0 set cad off set flood.max 63 set flood.max.unscoped 0 set radio.rxps off set max.resend 2 filter channel add #test filter channel add #ping filter channel add #bot filter channel add #wardriving filter hops 00 32 filter hops 01 32 filter hops 07 32 filter hops 04 64 filter advert 24 filter age off filter malformed off filter on filter dryrun off
Ein paar Hinweise dazu. tx 20 gilt für einen Heltec V4 mit externem Verstärker, rechne vorher dein eigenes ERP aus. Bevor du set cad off übernimmst, lies bitte Teil 2. radio.rxps, max.resend und alle filter-Befehle gibt es nur im Fork. Unverändert vom Rezept sind dutycycle 10, path.hash.mode 1, loop.detect minimal, multi.acks 1, die Advert-Intervalle von 230 Minuten und 50 Stunden und die Regionen nach der Liste der Community. Und nach jedem Neustart oder Update: get radio.rxps.
Als Nächstes soll dasselbe Rezept auf einem tragbaren Test-Repeater mit Akku und Solarpanel laufen, mit dem ich mögliche Standorte prüfen will, bevor dort ein fester Repeater hinkommt. Die Feldtests stehen aber noch aus.
Werte live von 1863 gelesen, Stand Mitte November.
Gruppe
Option
Wert auf 1863
Wofür
Warum dieser Wert
Effekt
Funk
radio
869,618 / 62,5 kHz / SF8 / CR5
Community-Preset, CR geändert
CR5 spart 28 bis 33 % Airtime pro Paket gegenüber CR8
rund 60 bis 70 % der Einsparung (Modell); zusammen mit dem veränderten Paketmix 924 auf 583 ms pro Paket
Funk
tx
20
Ausgang des SX1262 vor dem Verstärker
meine Entscheidung; laut Kennlinie über tx 16 wenig Gewinn
ERP 25,5 bis 27 dBm geschätzt, nicht gemessen
Funk
radio.fem.rxgain
on
LNA im Frontend des Heltec V4
Standard, mehr Empfindlichkeit
nicht getrennt gemessen
Funk
radio.rxps
off
RX-Stromsparen im Fork
Repeater am Netzteil; war nach dem Update an
Timing
txdelay / direct.txdelay / rxdelay
1,0 / 0,3 / 0
Zufallsfenster Flood / Direct / SNR-abhängige Verzögerung
höher gelegener Nachbar darf später senden; rxdelay würde schwache, weite Pakete 1,5 bis 5 s bremsen
etwa +0,5 s pro Hop bei 100 Byte (Modell)
Duty
dutycycle
10 % (Faktor 9)
Sendebudget als Token Bucket
Grenze im Teilband; keine Compliance-Garantie
Spitzenstunde 8,18 auf 4,00 % durch die Änderungen
Kanalprüfung
cad
off
Prüfung auf LoRa-Aktivität vor dem Senden
gemessen in Teil 2; weicht vom Rezept ab
siehe Teil 2
Kanalprüfung
int.thresh / agc.reset.interval
0 / 0
Störschwelle / AGC-Reset
Standard, kein Grund für eine Änderung gefunden
Flood-Grenzen
flood.max / flood.max.unscoped / flood.max.advert
63 / 0 / 8
Hop-Obergrenzen
64. Hop würde den 6-Bit-Zähler überlaufen; 0 macht * deny ausdrücklich; 8 ist Standard
nicht getrennt gemessen
Scopes
region allowf / denyf
15 Regionen erlaubt, * verboten; home und default de-nw
welche Scopes weitergeleitet werden
Community-Rezept
ungescopte Floods werden nicht weitergeleitet
Pfade
path.hash.mode / loop.detect / multi.acks
1 (2 Byte) / minimal / 1
Pfad-Hash, Schleifen, zusätzliches ACK
Community-Rezept
Adverts
advert.interval / flood.advert.interval
230 min / 50 h
eigene Adverts
Community-Rezept
Zugang
Gastzugang / allow.read.only
wie im Rezept / off
anonymer Login
Community-Rezept
Strom
powersaving
off
Schlafmodus im Fork
Netzteil; würde auch die serielle Konsole abschalten
Fork
max.resend
2
Direct-Wiederholung pro Hop (PR #2670)
Fork-Standard 3; wenig Direct-Verkehr hier
kleiner Anteil, nur Zählerverhältnis
Filter
filter channel
#test #ping #bot #wardriving
Gruppentexte dieser Kanäle verwerfen
#test, #ping, #bot rund 19 bis 26 % der Airtime über 1863 (Schätzung); #wardriving meine Entscheidung
an einem Tag 553 / 196 / 42 / 51 verworfen; alle Filter zusammen rund 30 bis 40 % der Einsparung (Modell)
Filter
filter hops 00/01/07
32
Hop-Limit für Flood-Anfragen und Antworten
niedrige Werte verhindern Pfadsuche und Login über weite Strecken
mit diesen Werten 0 verworfen
Filter
filter hops 04 und Rest
64 (aus)
Hop-Limit Adverts und Sonstiges
5 hat die Kontaktsuche beschnitten
0 verworfen
Filter
filter advert
24 h
wiederholte Flood-Adverts desselben Absenders verwerfen
Fork-Standard
271 verworfen an einem Tag
Filter
filter age / malformed / hash / rate
off / off / 1 / off
weitere Fork-Regeln
age hätte 0 von 306 Public-Nachrichten getroffen; malformed und rate ohne Anlass; hash 2 würde Standard-Companions ausschließen
Ergebnis
Dienstag vorher gegen Dienstag eine Woche später
Sendezeit 5,64 auf 2,98 %; Spitzenstunde 8,18 auf 4,00 %; Weiterleitungen 219 auf 182 pro Stunde; 924 auf 583 ms pro Paket
Empfang +2 %; Aufteilung CR5 rund 60 bis 70 %, Filter 30 bis 40 % (Modell)
Die Kanalanteile und die Aufteilung der Einsparung auf CR 4/5 und Filter sind Schätzungen aus meiner eigenen Auswertung. Die Sendezeitwerte stammen aus dem Logger.
Quelle
Statistik
Frage
Vorsicht
Logger am Pi, jede Minute
Empfang und Weiterleitungen pro Stunde, Sendezeit, ms pro Paket, Empfangsfehler, Warteschlange
Wie viel leitet der Repeater weiter, was kostet das an Sendezeit, hat eine Änderung etwas bewirkt?
immer dasselbe UTC-Fenster an vergleichbaren Tagen vergleichen
Logger, alle 10 Minuten
Nachbarn mit SNR und letztem Kontakt
Wen höre ich direkt, wie stark?
die CLI-Antwort wird nach etwa 8 Einträgen abgeschnitten, also mehrere Abfragen zusammenführen
Logger, alle 15 Minuten (nur Fork)
get cad belegt und erzwungen
Wie oft wartet der Repeater auf einen belegten Kanal?
Zähler sind kumulativ, also Differenzen bilden
dito
get rx.errors mit Histogrammen
Sind Fehlempfänge schwache Signale oder Kollisionen?
Fehleranteil ist kein Ende-zu-Ende-Verlust; RSSI durch den LNA erhöht
dito
filter stats
Was verwirft jede Regel, und wie viel Sendezeit schätzt die Firmware als eingespart?
nur der eigene Repeater, Nachbarn tragen die Pakete weiter
dito
get max.resend
Wie viele Wiederholungen zählt die Firmware im Verhältnis zu den Direct-Sendungen?
Zählerverhältnis, keine Ausfallrate
CoreScope-Tagesarchiv
Pakete über 1863 nach Typ und Kanal, direkte Hörer mit SNR und Entfernung
Was trägt mein Repeater zum Mesh bei, wo kommt das Signal an?
hängt von den Observern ab; 1-Byte-Hops sind mehrdeutig
Schau dir zuerst an, was dein Repeater sendet, bevor du irgendetwas filterst. Die Sendezeit pro Stunde und die Millisekunden pro Paket bekommst du aus den Statistiken der Standard-Firmware, und CoreScope zeigt dir, welche Kanäle über dich laufen. Wenn du CR 4/5 ausprobieren willst, kündige das vorher in deiner Community an. Wenn du den Fork einsetzt, mach vorher ein komplettes Backup, prüf die Partitionstabelle, flash nur das App-Image und lies danach jede Einstellung mit get und die Filter mit filter, filter channel list und filter hops gegen. Und bevor du ein Hop-Limit setzt, frag dich, was davon kaputt geht.
Siehe auch: Teil 1: LoRa und MeshCore, Teil 3: der Repeater, Teil 4: Antennen und Messen, Teil 5: MeshMapper, Teil 6: Konfiguration, MeshCore-Repeater tunen, Teil 2: CAD.
Links zu Amazon und AliExpress sind Affiliate-Links: Kaufst du darüber, bekomme ich eine kleine Provision, für dich ändert sich am Preis nichts. Als Amazon-Partner verdiene ich an qualifizierten Verkäufen.
Wenn ihr selbst einen Repeater in der Gegend betreibt und eure Werte vergleichen wollt, oder wenn ihr in meinen Zahlen einen Fehler findet, dann dürft ihr mich sehr gerne fragen.
2/2
During my data migration from #unicomplex server to #Qnap NAS, I finally saw a real problem. During high load, the disk suddenly freezes, freezing all I/O operations on the whole storage pool! For like 10-20 seconds!
So my storage has shrunk now, and I have a new and fancy door stopper. Or paper press.
About this guy, I had issues with it reported by #Scutiny. The count of aborted operations due to HDD timeout was increasing slowly but steadily. Like 1-3 times per day. I Googled this, and a lot of people had this problem with #Seagate Exos while the drive was still working, presumably fine. So I just decided to ignore it.
1/2
Ein Passwort lässt sich durchprobieren, ein SSH-Schlüssel praktisch nicht. Das Paar hat zwei Hälften: Die öffentliche liegt auf dem Server, die private bleibt bei dir. Erzeugen kannst du es mit ssh-keygen -t ed25519. https://wachhund.io
Having a two-node #Garage cluster on my #Proxmox cluster was not the brightest idea, taking into account that each Garage node was bound to a separate SSD, installed into a Proxmox node. It's ruined the flexibility and portability of the Proxmox setup completely.
I'm now reducing the cached media of the #GlitchySocial instance on Garage storage and thinking about moving back to locally stored media for Mastodon. Or a single-node Garage; I'm not sure yet.
Hallo Mastodon! Das hier ist Wachhund, der Wächter für deine Linux-Server: Jede Nacht ein Rundgang mit über 40 Prüfungen, gemeldet wird, was nicht stimmt. Kostenlos für bis zu 10 Server.
Hier erklären wir jeden Montag eine Sache rund um Serversicherheit, in drei Schritten und in klarem Deutsch. Los geht es am 16. November mit der Frage: Warum Schlüssel statt Passwort?
#neuhier #Serversicherheit #Linux #Sysadmin #Selfhosting #Homelab
Ein Befehl für deinen Server: sudo ss -tlnp
Er zeigt, welche Programme auf Verbindungen warten. 127.0.0.1 heißt nur von innen, 0.0.0.0 heißt alle Adressen, auch die öffentliche. Den Rest regelt die Firewall.
Was stand bei dir, womit du nicht gerechnet hast?
Wachhund lernt, welche Ports bei dir lauschen, und trägt neue in die Bestandsaufnahme ein: https://wachhund.io
Rebuilding a server... this is the first time ever that I have considered using something other than #Debian ...
TSMC leaked 46,000 employee records, national IDs, addresses, bank info. Their own systems were not hit. The breach was at a cloud provider they use. Free leak deadline is today. Where do you keep data you cannot afford to lose? #dataownership #privacy #selfhosting #homelab
Netfox 0.55.0 is out, and it is a seasonal one 🎅
From 1 December to 6 January the fox wears a Santa hat (in the app, in the Dock and on the full-colour menu bar icon), snow falls on the Overview and settles on the summary cards, and a string of lights hangs across the top.
The lights are the part I like: one bulb per device on your network, lit while it is online, and the twinkle follows this Mac's own traffic on a log scale, from a slow breath at 1 KB/s to a quick chase at 100 MB/s. A decoration that is still a reading.
A few choices behind it:
• The decorations ship in every build behind a date check, not in a December patch. A patch that removes them reaches only the people who update, so anyone who skipped the January release would have snow in March.
• The date is read on a Gregorian calendar in your own time zone. On a Mac set to the Hebrew or the Islamic calendar, the system calendar has no December at all.
• Everything that moves is Core Animation, so the render server draws the frames. The app sets the pace at most once a second, and the snow and the lights pause while the window is hidden, minimised or on another Space.
• A switch in Settings turns it all off, and with Reduce Motion no snow falls and the lights hold still.
In Demo Mode with sample data, Santa's sleigh passes through the Devices list on 24 and 25 December. It is the one row Demo Mode invents rather than masks, and nothing else sees it: no count, alert or history.
Free, signed and notarized, macOS 15.6+:
https://netfox.app
💬 https://discord.gg/rdWu5yFCR6
▶️ https://www.youtube.com/@Netfox-app
📬 https://netfoxapp.substack.com
What cloud service did you recently kick to the curb and replace with something on your own hardware? And how long did it actually take to set up? #dataownership #selfhosting #privacy #homelab
turns out, my #homelab K8up backups weren’t working for all deployments, some had permission issues and i never realized it
now i have a skill that understands the process and can check everything when i need it https://tangled.org/frytg.digital/dotfiles/tree/main/skills/inspect-k8up-restic
My two IdM servers live in a data center. Every SSH login at home depended on a WireGuard tunnel to reach them. Tunnel down, tickets expired, locked out of my own hypervisor from my own sofa.
So: a third IdM replica in a bhyve VM at home. A DMZ that only exists inside the host, a tunnel that only worked one way, and DNS locations that were less location-aware than I thought.
https://blog.hofstede.it/an-idm-replica-at-home-kerberos-that-survives-a-dead-tunnel/
Weekly #39 | Du 7 au 14 novembre
Synology corrige deux failles dans DSM. Unraid 7.4 conserve les réseaux Docker à la recréation des conteneurs. Et Vacuula rend cartes et horaires aux Neato compatibles.
I've always appreciated the simplicity of the BSDs. Power, yes, but without unnecessary complexity.
BastilleBSD and vm-bhyve have been my trusted companions for many years. But whenever I used Linux, I missed them.
That's why, years ago, I started putting together a collection of shell scripts (and some Python, although to a much lesser extent) to create something somewhere in between.
A bit of Bastille, a bit of vm-bhyve, a bit of Proxmox: unprivileged Linux system containers and virtual machines, managed from the command line.
Live backups. And live restore: bringing a workload back online before all its data has finished copying from the backup. Multiple storage backends. Encryption at the storage or individual workload level. Different networks. Isolation of each workload (a bit like illumos zones), with additional layers of protection.
Each container has its own UID/GID mapping. VMs run under separate unprivileged identities, with namespaces, seccomp and resource limits adding further layers of protection.
Pull-based backups from external hosts, with different levels and types of encryption. With raw encrypted ZFS replication, the backup server doesn’t even need the decryption keys. Backups are pulled over SSH by an external server. The workload host holds no credentials to log in to that server.
It also runs on a 1 GB Orange Pi PC 2, where I’ve tested both containers and native ARM64 KVM guests. And on a Orange PI One, armv7 and 512MB, it can run some lxc containers without problems, from the SD, using f2fs.
Simple disaster recovery. Because after those 142 servers went up in flames in Strasbourg, disaster recovery became something I care a lot about.
Currently supported and tested on Alpine Linux, Debian 13 and Armbian. On Debian, LXC containers also run under enforcing AppArmor profiles, adding another layer of protection.
Few commands. Lots of power. And it's called "Jail It!"
I'm not going to release it, at least not for now. I need to focus on my other projects, and Jail It! still needs some cleaning up.
But it works. And it does its job very well.
For containers, there's absolutely nothing running in the background. For VMs, just a small Python helper. No continuously running services. You connect via SSH, run your commands, and that's it.
Still, for anyone curious enough to have a look, I've put together a short demo on Asciinema:
https://asciinema.org/a/BbwGs99U9UJDLAzZ
Well, "short" might be a bit of an exaggeration. It's quite long, but I think it's worth watching all the way to the end.
#Linux #LXC #KVM #FreeBSD #Virtualization #OwnYourData #BSD #SelfHosting #Homelab #SysAdmin #DisasterRecovery
The server at my dad's house was down since he switched ISPs. It had a static IP address in the same range as the previous router so it should have been transparent. After copy pasting linux commands live with him, I managed to narrow the issue down to one line. The default gateway changed from .1 to .254 #selfhosting #homelab
Haven't tried OCI containers on FreeBSD yet? Try fjord, a web UI app store for FreeBSD containers.
6-minute walkthrough: https://youtu.be/8S3hEVyCUzc
Not your thing? Sylve (nightly) and FreeCORE run daemonless images too, and so does plain Podman or AppJail.
Node64 vereint sechs Homelab-Dienste in einem Container
https://linuxnews.de/node64-vereint-sechs-homelab-dienste-in-einem-container/
#Linux #LinuxNews #LinuxDE #LinuxNewsDE #EULE #EULEde #Node64 #Homelab #Container #OpenSource
Node64 vereint sechs Homelab-Dienste in einem Container
https://linuxnews.de/node64-vereint-sechs-homelab-dienste-in-einem-container/ #homelab #selfhosting #linux #opensource #linuxnews
I did not think I could get so angry at server hardware as I am right now. I have an old smartUPS 1400 that @XenoPhage gave me probably a decade ago, and it was who knows how old when he gave it to me. Well, for the second time since ive owned it, its battery replacement time.
Oh my god i want to murder something right now.
It has 4 lead-acid batteries, and the last time I replaced them they came out as a unit. Not in a tray like some newer/nicer UPS's, but kind of stuck to each other with some sort of glue. Well the replacements dont come like that, they were 4 individuals. Well now that its time to replace them again, i cant get the M#T@#RF*C$!NG things out of the case. Nothing like sitting there carefully using a straightened coat hanger to try to dislodge a battery from inside of a UPS.
Ive decided to buy a new, second hand UPS, and once this one can be safely pulled from my rack and powered down, i'll work out the battery removal, and then use it on my 3d printers or something.
The next release will be big and comes with an improved new corporate layout and many new features that make your life easier! Simple things like information about the QDevice or link speed of PVE nodes are now directly shown from the PegaProx UI. I don't want to spoiler too much, so stay tuned for the next big update of PegaProx!
#PVE #opensorce #community #virtualization #enterprise #homelab #kvm
🇪🇸 VictoriaMetrics en Vivo in Valencia was awesome.
Kirill Yurkov, Customer Reliability Technical Lead at VictoriaMetrics, presented “From #HomeLab to #Hyperscale: VictoriaMetrics Topologies”.
A VictoriaMetrics deployment may start as one small instance and later grow into a critical multi-region monitoring system. Each step adds scalability and resilience, but also brings new costs and failure modes.
Après « Arrêtez latest dans Docker Compose », la suite : suivre les nouvelles images avec WUD.
Filtres de versions, alertes ntfy et mises à jour choisies.
https://cryptolab.re/posts/2026/wud-suivre-mises-a-jour-conteneurs-docker/
But there is a possible mid position: assuming I could provide power to the storage devices independently, is there a pre build or easily buildable thing I could connect via USB-C and provide 3.25, 2.5 SATA and m.2 connectors? Maybe the m.2 is not really needed.
I also accept suggestions for independent power sources for such setup. We're talking <10 devices, a few PBs :)
Also more hashtags to expand my reach :)
Weekly #37 : Stalwart 1.0, correctifs Tailscale SSH et HACS bientôt intégré à Home Assistant.
Aussi : Uptime Kuma, Immich et la forge BugStage.
RE: https://infosec.exchange/@jerry/117529958009367457
I'm not a VPN sales person, let alone a big fan of any single/specific company/solution, but I think it's time for people to be more mindful about hosting their own stuff behind a firewall, and avoid public IP exposure.
And I'm not only talking about personal/home lab. This also applies to corporate services and resources. If it's intended to be used only by your associates, put it behind a VPN. And if it's public for your customers: patch patch patch.
Well it's taken much longer than I wanted, but I've finally automated a tiny portion of my #homelab. Following this guide, but after getting the tooling vm working once with a bunch of console work and a bit of GUI, strung all that together in a script and worked through getting it so I'm only one script away.
https://du.nkel.dev/blog/2026-05-16_rootless_docker_virtiofs_proxmox/#creating-a-qcow2-vm-template
cc @homelab
gpu-unlock sur RTX 3090 : 18 essais avec Qwen3.8 dans Ollama. Écart mesuré sur les prompts : +4 à +8,5 %. Les 24 Go de VRAM n’ont pas bougé.
Résultats, cartes compatibles et installation :
https://cryptolab.re/posts/2026/gpu-unlock-rtx-3090-ollama-qwen38/
Weekly #36 : PHP et GitLab à patcher, mTLS dans Pangolin, KeePassXC 2.8 stable et OpenBSD 8.0.
In this blog post, I describe how I continued learning about self-hosting, which is essentially a practice to host websites or services (like e-mail, file sharing, game servers, etc) on my own servers so I can have better control over data, privacy and computing infrastructure to potentially save costs and improve my computing skills while also benefitting people around me:
https://cyantusk.neocities.org/news/2026-10-21.html
#FreeSoftware #Linux #SysAdmin #Proxmox #SelfHosting #Homelab
Sigh, #salt is slop, and dropping features.
I've looked at https://www.rexify.org/ and I failed to find how it deals with secrets.
I guess I either switch to #puppet by way of #OpenVox, or unify my systems on #NixOS (and swallow linux sloppification). Sigh.
Thanks to #Tailscale my #homelab is mobile now. I'm currently in a hotel and this restricted wifi is all it needs to keep my services available publicly, reverse-proxied from a @netcup VPS. (All running
#NixOS of course, amazing how you can build working qcow2 images with nix, just like
SD card images 🤯). Homelab minipc sits in a thrown-together IKEA box of "all the internet stuff" that I have with me now, because I'm moving.
Updated: "No Proxmox Backup Client for RHEL? Hold My Container Runtime"
The client borrowed from ayufan's old v3.4 server image has a proper replacement: ghcr.io/chofstede/pbs-client
Just proxmox-backup-client, x86_64 + aarch64, from Proxmox's official repo, rebuilt weekly. On RHEL 10 aarch64: 28.8 GiB in ~3 min.
https://blog.hofstede.it/pbs-client-rhel-container/
https://github.com/chofstede/pbs-client
#Proxmox #ProxmoxBackupServer #Podman #RHEL #ARM64 #Containers #Backup #Linux #Homelab
Weekly #35 : GitLab et Collabora/Nextcloud à corriger, Sonarr 5 en bêta, Sync-in avec draw.io, UniFi 11 et Homelable à découvrir.
Weekly #34 : nouvelle clé DNSSEC, correctifs Vaultwarden et FreshRSS, certificats Let's Encrypt de 64 jours dès février 2027. À découvrir : Headplane et Carbure.
Directly restore files from backup to VMs in #Proxmox with #PegaProx!
No more awkward workflow where you first have to download the file to your local machine and then upload it back into the VM.
Requirements:
The initial implementation has a few requirements and limitations:
oh boy
dank dem dass sich mein lokales qwen3.8 jetzt auf meinen pc "austoben" darf, verstehe ich auch diverse #linux konzepte und mechanismen besser
z.b. #wine - ich dachte immer das sei quasi ne windows installation und dass man dann ALLES win zeugs DA installieren muss 🙄
aber nö, das ist wie ein venv für python - man kann für jedes programm oder programm set eine eigene wine umgebung installieren (kost halt einfach space)
So now I need to move my #homelab. And I have two options:
1. Migrate #Mastodon reverse proxy from #nginx to #caddy (no documentation on this around the internet except uncertain assumptions).
2. Pay x4 for the internet for a business plan, where I’ll be able to rent more than one static IP.
So the question is do you, dear #mastoadmin, have a working example of Caddy config for Mastodon?
Question for those of you that use ansible for deploying/maintaining infrastructure in your labs/prods:
How did you take a manually-configured environment and migrate to ansible?
Did you reversed engineer your existing stack, or build out new using your own generated code (or other people's) and just migrate data?
Finally turned attention to getting Immich up and running tonight. I like it, seems snappy enough with tens of thousands of photos imported.
The Immich website has a handy form driven page for generating a docker compose file so it took like 30 seconds to get it running once mutated to follow my way of doing things on my server (persistent storage, naming, cert proxy, etc).
I struggled a bit with using the Immich command line tool to import my photo collection and in the process of trying to figure out why --recursive didn't work, stumbled upon the immich-go project on github. It's also a command line tool and works very well; immediately was able to recursively import photos, etc. Compiles cleanly on Alpine Linux (ofc, it's just golang).
Immich-go has a migrate function that allows you to connect to one Immich server and copy the files to another Immich server (but no 'delete source' as far as I could tell).
I set up a second Immich instance on a different port and started to use the migrate function to finally start moving all the photos of my computer electronics and vehicle technical projects out of the whole household's photo collection. My wife will appreciate that. Ha. Managed to split out 2026-2025, only ~25 more years to go. Ugh.
Anyway, Immich (the server) and Immich-go (the CLI tool) are cool. Recommended.
Fun!
#immich #immichgo #AlpineLinux #cli #photography #photos #HomeLab #SelfHosting #SelfHosted
Tonight, I started looking at automated deployment of services within my homelab.
I've been using ansible already, so I figured I would just start by going through my current virtual machines, harvest the config files, create ansible roles and templates, then go from there.
But then I wondered about my containerized services.
I've just migrated from Portainer to Arcane, and I realized all of my precious compose files weren't stored or tracked anywhere.
So, I did what any normal person would do, and set up a new Gitea organisation to handle my compose files and went ahead and set up each compose file (with example .env files) in new repositories. Now, a change in a compose.yml file in gitea causes the appropriate container stack to redeploy.
This is great, but how would I get these container hosts to point at arcane and get their relevant projects?
Easy! Ansible.
I can use a module to run a compose file, which links my machine to Arcane for management.
But now, I'll need to manually create an entry in Arcane for each new host before I deploy the agent. Can I automate that?
I can. Using Arcane's API, I can programmatically register a new environment, thus allowing my new device to have new gitea projects deployed to it.
So much to do!
#HomeLab
#SelfHost
#Networking
Hive mind, do any of your run an #OpenBSD #FireWall on a mini PC? I ran one in the past on a multi-nic midtower. I may need to build a firewall again.
I know the BSD support is *very* hit or miss for hardware specifics. I was curious if any of you had luck so I don't have to find a used PC and put two supported NICs in it.
Quel mini-PC pour Proxmox ? RAM évolutive, second SSD, réseau 2,5 ou 10 Gb/s : six configurations comparées, du Lenovo reconditionné au Minisforum MS-01.
https://cryptolab.re/posts/2026/meilleurs-mini-pc-proxmox-homelab/
Weekly #33 : SSO OAuth gratuit dans Stirling PDF 3, nouveau rythme des noyaux Ubuntu, optimisations Tailscale et projet de rachat de Shelly.
Ryan Castellucci (they/them)
🔜 40C3 [they/them] » 🌐
@ryanc@infosec.exchange
Stuff for sale, boosts welcome, I can't be arsed to ship so exchange would need to take place at/near Liverpool Street station:
Ubiquiti US-16-XG (early hardware revision) with rack ears, functional, £250 - 8x SFP+ ports, 4x 10GBASE-T ports.
Netgear S3300-28X with rack ears, functional, modded with quieter fans, £80 - 24x 1000BASE-T ports, 2x SFP+ ports, 2x 10GBASE-T ports.
Willing to consider trade, check my post history for things I might like.
I love getting #TheOnion in print, but this time they’ve gone too far. I don’t know how they broke into my basement but I did not give them permission to use photos of my stuff in their mock ads.
#selfhosting #homelab
Meta veut que Muse réserve un restaurant. Moi, j’ai surtout envie de tester sa VM Linux.
2 vCPU, 8 Go de RAM et 100 Go de disque, selon les premiers utilisateurs.
https://cryptolab.re/posts/2026/meta-muse-ressources-vm/
🚫 Nouvelle page d'erreur maison sur mon instance OnlyOffice : un joli 403 "Accès Interdit" façon Matrix, dans la lignée de mes pages 404/410/503 habituelles.
👀 https://onlyoffice.blablalinux.be/welcome/
📖 Le pattern complet (404, 410, 503, 403) est documenté ici pour les autres admins NPM :
https://wiki.blablalinux.be/fr/catalogue-modeles-erreurs-404-npm
🔧 Mise à jour de la page wiki "Scripts d'auto-update LXC/VM sous Proxmox" !
Au programme : notifications Gotify désormais optionnelles (toggle simple), heartbeat même sans mise à jour, et quelques fiabilisations sous le capot. 🐧
👉 https://wiki.blablalinux.be/fr/script-update-lxc-vm-proxmox
La suite du programme de ce samedi matin ! 🚀
À 11h, c'était au tour du deuxième script d'entrer en piste pour mettre à jour tous mes conteneurs LXC sur le cluster pvenocl. Résultat impeccable : tous les conteneurs sont à jour, et aucun redémarrage n'était requis. L'automatisation tourne comme une horloge ! 😎☕️
#Proxmox #Homelab #Automation #LXC #SysadminSaturday #Containers
Mon petit rituel du samedi est réglé comme une horloge ! ⏰ Mon script d'automatisation des VM sur mon cluster Proxmox a encore fait des merveilles aujourd'hui 🎉
👉 Résultat : Mes VM sur pvenocl mises à jour et zéro redémarrage nécessaire (RAS sur le reste). La vie est belle quand tout roule toute seule ! Et ce n'est que pour les VM... Attendez un peu dans deux ans quand il y aura la même chose pour les Elixirs ! 🚀
#Proxmox #Homelab #Automation #SamediSysadmin #Scripting #ZeroDowntime
Weekly #32 : plugin Proxmox de TrueNAS en bêta, cluster Pangolin 1.23 en Enterprise Edition, avenir de Portainer CE et RustFS 1.0. Prérequis et points de vigilance.
RHEL 10 on ARM64. No convenient native Proxmox Backup Client package.
Obviously, I borrowed the client from an old server container, introduced it to SELinux, and pointed it at the host filesystem.
40.6 GiB processed in five minutes. Encrypted. Incremental. Mildly cursed.
“No Proxmox Backup Client for RHEL? Hold My Container Runtime”
Reposting this because I got
#RunBSD stickers at #EuroBSDcon2026 and can now illustrate the post with a proper image :D Also updated the temperatures screenshot.
So that's basically how much watts are #NetBSD and #OpenBSD using by default on this AOOSTAR WTR Pro NAS machine and how to have #FreeBSD use less watts as possible while still operating Jail and #bhyve services.
https://www.tumfatig.net/2026/overview-of-aoostar-wtr-pro-on-bsd/
RE: https://hachyderm.io/@badnetmask/117271556408856067
Sometimes I wish I didn't know (or didn't care) so much about security...
I have some questions for the #FreeBSD folks in the room:
1.) What are the best practices for Poudriere and Packages. I understand one shouldn't mix Ports and packages, but I want to have some custom builds for my machines, like vim, zsh, wget, mutt, nano, while not relying on compiling everything. Is there a safe way to do this? Presumably one tracks the same quarterly ports tree as packages. But is there more to it?
2.) When managing software using Poudriere and Ports, how does one manage emergency OOB patches? I would imagine switching Poudriere to use LATEST is an operational death wish.
🐧 Le mystère du jour : une vidéo qui refuse de jouer... mais seulement dans UN navigateur. Coupable improbable : Chrome ✅, Firefox ✅, mobile ✅... Vivaldi ❌ 🕵️
Spoiler : ce n'était ni Mastodon, ni PeerTube, ni NPM. Le vrai coupable ? Des codecs propriétaires Flatpak qui ont fait des siennes après une mise à jour. 🎬💥
Enquête complète (avec fausses pistes et vrai bug CORS trouvé en chemin) 👉 https://wiki.blablalinux.be/fr/video-illisible-vivaldi-mastodon-peertube
Looking for anyone who has successfully installed Proxmox on an HP ProLiant DL380 G6 with a Smart Array P411 controller. I have tried Proxmox 7, 8, and 9. Most attempts end in a black screen or kernel panic. Debian itself also fails to detect the RAID 0 logical drive. I have tried both the older CCISS driver and the modern HPSA driver with no luck. Ubuntu installs without issues and sees the array fine, but I do not want Ubuntu running bare metal. I chose Proxmox because the original ESXi install is full of security vulnerabilities and ongoing problems, and I need something better supported. Has anyone got Proxmox working on this exact hardware, or found a reliable way to make the P411 visible during install?
PS. unfortunately I cannot update the firmware right now and since it is not mine and it is for the place that are work in, this is the test hardware that they gave me to try proxmox and see if it's better than EXSI or not.
#Proxmox #ProxmoxVE #HPProLiant #DL380G6 #SmartArray #P411 #Homelab #SelfHosting #Linux #Virtualization
After 3 retries because I haven't plugged the power cable to the SSD, then I hit enter instead of space to disable the desktop environment, I have finally installed Debian 13 on the new server in my homelab.
Tiny board, massive punch. We tested the OrangePi Zero 3W — 65×32mm of Allwinner A733 power with Wi-Fi 6, silent fan cooling and ~2.5W idle.
It runs Pi-hole + Jellyfin + Immich + Minecraft server at once on 4GB RAM. This is pocket-size home-server heaven.
Full review: https://boilingsteam.com/orange-pi-zero-3w-review-tiny-yet-powerful/
I wanted another computer as a sandbox, I don't really trust VMs, and fucking chip shortages, so to the boneyard it is. I have a disused ASRock Rack J1900D2Y with 8GB of RAM and a PicoPSU that used to be my mail server. Somehow, at some point, I modded the 1U case to mount the rack ears on the back. Annoying. So I dig up the original rack ears which I apparently still have, and try to flip things around, except the drive tray doesn't work the other way around somehow. What. Fine. I have a drill and a file. Sorted. While I'm at it, I splice an INA219 current sensor into the power connection for funzies and hook it up to the BMC's I2C bus. I then root the BMC so I can access it. So then I set about setting up Debian on it on a mirrored pair of Intel enterprise SSDs with encrypted ZFS. The board claims to support UEFI booting. This was determined to be a lie. Whatever. A problem for later. I put GRML (which is my new favorite rescue "CD" since it also has aarch64 builds available) on a flash drive, remove the case from the false drive, solder it to a motherboard header cable, and plug it into the internal USB hub I at some point added to the case. Boots fine, but only as a BIOS drive. I do a manual ZFS setup and debootstrap install, then I fuck around with GRUB for... a while... and eventually get it working on a system partition I've set up mirrored with mdadm (metadata v1.0 - at the end of the partition). Then comes the part where I get ZFSBootMenu working with SSH unlock. ZFSBootMenu is intended to boot via UEFI, but as I said, that doesn't work, but that's what GRUB is - I can chainload. Eventually that works, but I cannot manage to type the passphrase via the janky BMC's Java IPKVM. Fine. I have a file server I already set up SSH unlock with, but that means I'll have to build my own ZFSBootMenu files. After a while, I finally get that working, only to be immediately prompted for the passphrase a second time (on the screen, via the IPKVM, where I keep failing to type it, and it takes abour 90 seconds to check because I cranked up pbkdf2 iterations) when Debian starts. Right, need to bake the key into the encrypted initramfs that ZFSBootMenu loads. More chroot bullshit. I get that working, and Debian shits a brick and drops into a root shell because it can't find /sbin/init. Apparently I needed to install systemd-sysv for that. So I sigh, boot back into the GRML environment, mount the chroot for the fifteenth time, run the apt install, and rebuild the initramfs. I unmount everything, cross my fingers, and type reboot. The janky Java IPKVM refreshes. BIOS POSTs. GRUB chainloads ZFSBootMenu. The SSH unlock actually works perfectly. The boot process finally gets past the init stage, and a beautiful flood of green [ OK ] messages starts cascading down the screen. The login prompt finally appears. I go to type my username, but the BMC drops the connection again. I frantically reload the applet, but instead of the console, the screen glitches out, showing a live camera feed of my street just as a yellow car pulls up outside. I whistled for a cab and when it came near, the license plate said 'Fresh' and it had dice in the mirror. If anything I could say that this cab was rare, but I thought 'Nah, forget it, yo, holmes, to Bel-Air!' I pulled up to the house about seven or eight, and I yelled to the cabbie, 'Yo holmes, smell ya later!' I looked at my domain, I was finally there, to sit on my throne as the Heir of Bel-Air.
Frigate 0.18.0 RC2 is here with CUDA graph fixes for NVIDIA GPUs, iOS 27 playback improvements, and multi-provider GenAI support. Back up your config before testing this one. #selfhosted #homelab
https://github.com/blakeblackshear/frigate/releases/tag/v0.18.0-rc2
Radxa says ROCK 5 ITX board I returned can't be repaired, and will be scrapped. They're refunding me, but I was counting on having two of them.
Anyone have a ROCK 5 ITX or ROCK 5 ITX+ they'd be willing to sell me for non-scalper prices?
Would also be happy to buy an Orion O6.
For several days now my DSL Internet at home is broken (because I moved the cabinet?), so my #homelab and its web infrastructure is unavailable - even locally because of CSRF and https annoyances. 🙄
Single point of failure, huh...
At least anything
#gitAnnex is reliable as ever - that's what it's built for: reliably moving files between machines even if not all of them are connected. Thanks @joeyh ❤️
This aimed to be a simple
#RunBSD post about the AOOSTAR WTR Pro NAS system. But it ended being nearly a "Tune #FreeBSD for power consumption" one :p
Anyway, I very like this tiny #HomeServer. And it fits wells in my #HomeLab closet.
https://www.tumfatig.net/2026/overview-of-aoostar-wtr-pro-on-bsd/
I have added a shortcut to all my blog articles on #Selfhost and #Homelab topics. I will go through all of them in the next few weeks and update where necessary. Might also result in marking some as "outdated".
Gonna do a livestream at 3pm Eastern today. Something in the selfh.st newsletter stuck with me and I want to talk about it and get some opinions. #homelab #selfhosting
Haack's Networking
✍️ Hijacking DNS & Stopping DoH
🔗 https://tech.haacksnetworking.org/2026/09/06/hijacking-dns-stopping-doh/
🧻 This tutorial is designed for #openwrt users and #pihole / #unbound users looking for a clean way to protect your LAN's DNS. This tutorial used a dedicated vlan/subnet with 4 Wyze v4 cams but/and can easily be extended to any IoT devices one chooses. There are three types of actions covered in this tutorial:
- Hijacking plain-text udp 53 and udp 853 DNS requests
- Hijacking tcp 853 (DoT) requests
- Dropping DoH requests for specified upstream DNS ips
📜 I hope people find this tutorial helpful. Feedback and comments are welcome. For those seeking assistance and/or if you want to chat about setup or other Linuxy stuffs, feel free to swing by the GNU/Linux Club Matrix over at https://matrix.to/#/#introductions:gnulinux.club
#OpenWrt #PiHole #Unbound #DNS #DoH #DoT #DoQ #Firewall #TrafficRules #PortForward #tcpdump #VLAN #IoT #Privacy #SelfHosted #Homelab #AWSIoT #NetworkSecurity #FOSS #Debian #floss #freesoftware #opensource
There seems to be some interest, so I'm going to stream at ~4ish UK time on Twitch (sorry, don't have the energy to figure out a new platform today).
Repeating the rough plan:
#linux #embedded #embedded_systems #embeddedsystems #homelab
The rough plan, which will probably be immediately amended upon contact with reality:
I've done most of this before, and already have configs for several parts, so it should be relatively smooth. In theory.
#linux #embedded #embedded_systems #embeddedsystems #homelab
Interest check: I'm considering doing a stream at around 4-6pm UK time this afternoon (Saturday September 5th) building an minimal netboot-into-ram Linux image for my Raspberry Pi NTP server.
Boosts welcome.
#linux #embedded #embedded_systems #embeddedsystems #homelab
| Would definitely watch: | 10 |
| Would probably watch: | 9 |
| Might watch: | 34 |
| Wouldn't watch, but have a compulsion to vote anyway: | 28 |
Closed
Yay! PocketID [1] is up and running in my homelab. Runs as a quadlet service container under podman behind a nginx reverse proxy, with its own SSL cert, generated by my own CA. Passkeys in the #Homelab!
[1] https://pocket-id.org "The most user-friendly OpenID Connect Certified™ and OAuth 2.0 provider that lets users sign in to your applications with passkeys."
Because I notice an uptick in posts about buying used/refurbished mini-PCs in these times of exploding prices for hardware, here is a link to my cute homelab, explaining how I use several of these and have them working and looking nice :)
https://jan.wildeboer.net/2025/05/Cute-Homelab/
1/3
My #NAS rebuild is entering its 4th week. 3 shows daily, but it can't last! Get tickets while you still can.
The number of mistakes I have made in this is embarrassing in and comical. Here's a small sampling. This is how one keeps oneself humble: openly admit the stupid shit.
ashift=12 and you never have to think about the difference.There is some good news. My backups work! I have lost no data at all, despite clownshoes system administration.
LFMF y'all. Learn from my fail.
it's firewall update weekend in the #Homelab
I got rather behind on #Opnsense updates because of the ISC DHCP server deprecation they had been talking about... 2 years ago.
When they rolled out Kea, I tried it and it very much did not work for my config, so I had been on 24.7... until this weekend (yes, I know...).
The goal is to bring the HA pair fully up to date. We're not that far off, I've got the active one running 25.7.11_9, and the standby is upgrading to 26.1 as I type.
Finally something positive today. The second Jellyfin instance works like a charm. Nothing can beat a local network 💪🏻
I also have set up a nextcloud instance. But this time, instead of trying to fit triangles into squares (not sure about the expression but you get the idea), I decided to tell the users, my family, to access this instance only via the web interface and sell them it's to share their pictures easily, nothing more.
Still stuttering... The bottleneck seems to be either my upload bandwidth or the 1 core VPS in between. I'll move the service locally and probably try some AI stuff on the 3060 Ti now that it's installed #selfhosting #homelab #jellyfin
Surprise, I don't even need to use the USB disks. There is an empty 2TB NVMe drive on that box. Let me LUKS that thing, let's go!
so the wisdom of crowds is batting 500. 2 right, 2 wrong. The answers were:
That 18GB drive was the mail server’s only drive for like 20 years. Quantum Atlas V SCSI.
I am glad to say that I have more drives working than I have dead. 32 in the rack and 7 inside in the NAS (not counting random laptops and such)
#selfhosted #selfhosting #homelab
📚 Nouvel article sur mon wiki !
Comment configurer un datastore S3 (MinIO) sur Proxmox Backup Server — que ton PBS tourne en VM ou sur du matériel physique déjà bien rempli ?
👉 https://wiki.blablalinux.be/fr/proxmox-backup-server-datastore-s3-minio
My Jellyfin server works like a charm at home but it's very buggy remotely. I see OpenVPN sucking 20% of CPU and ffmpeg at 10%. Tomorrow, I'll move the instance to a more beefy server with a 3060 Ti to offload transcoding and it has a more powerful CPU. But the data disks are on USB. If that doesn't work, I'll create a second Jellyfin instance in the remote LAN directly to have full bandwidth.
I'm having NAS fun with failing drives and such. My #TrueNAS is a much bigger mess than I realised. I had a bunch of drives fail at the same time. It has caused me to look very carefully at each drive, its specs, and how it is behaving. It is shocking that it works at all. I have made embarrassing errors that I"ll admit after I've fixed them. 😀
Nothing with multi-TB NASses is fast. (at least none of MINE are). So replacing drives, resilvering, replacing, resilvering, etc. will take days.
I have dead drives I need replacing AND I have live drives that need to be replaced once it's safe to do. Ugh.
First off, how many drives do you think are in the box? Since the right answer has to be in the list, I put a lot of options in to raise the difficulty a bit.
#selfhosting #homelab #selfhost
| 25: | 1 |
| 27: | 8 |
| 29: | 7 |
| 31: | 5 |
| 33: | 15 |
| 35: | 9 |
| 37: | 10 |
Closed
Ok. It's always fun to post stuff like this here, because there will be some #selfhosting afficionado who replies "You are like little baby. This is what real man has." But here goes.
When hard drives die on me, I don't throw them away and I don't take them to the county e-waste dropoff. There's a company nearby that will take them, certify that they destroy them, and dispose of the waste properly. So I have this box in my garage that accumulates dead drives until I'm ready to go drop them off. It's getting kinda full.
When I went to add a couple to the box tonight, I took an inventory. Wanna guess some stats about the box of dead drives? Remember that some of these are old enough to vote. Others are old enough to walk to school. None are in diapers.
Here are some fun polls related to all my dead drives. First, a couple photos. Polls will be in replies.
If you ever need to buy some storage/drive cables/adapters/duplicators/docking stations, I can totally recommend the brand StarTech. I've had some of their devices over the years just by chance, but recently I have bought some adapters from 3 other brands, they all gave me one problem or another, then I got a StarTech and it works flawless. Next time I'll just start there.
#HomeLab #HomeAssistant #RaspberryPi @homelab @homeassistant
This is streetmentioner.dmz.icant.alt. It knows what time it is because it knows what time it isn't. It calculates this by un-becoming the time it previously will be. The local daemon, chrony, then applies a corrective slew to drive the temporal state from a time that it isn't, toward a present that is progressively less absent.
I have only been using #FreeBSD more regularly now for the past couple months. One of its well known features is the clean separation of the base system and third party packages. Without a lot of experience, I just accepted it and figured that's their engineering choice, whatever, no big deal. And I kept using it.
And then fast forward to this past weekend when I installed #Debian on a spare server. When I had to configure something (I forgot what it was at this point and it's irrelevant) I went to /etc.
And that's when it hit me. /etc is just a dumping ground for config files. The total lack of distinction between base and third party was a total mess and, honestly, a nuisance.
The cleaner design really does make for a better learning tool and helps build a mental model of how the OS functions.
Yup, I can definitely say I prefer the FreeBSD way! 😀
🐧 Nouveau jouet dans le homelab !
Mon Proxmox Backup Server 4.2.5 sait maintenant parler S3 avec mon instance MinIO auto-hébergée (SILO) 🪣
Résultat : mes sauvegardes filent directement dans mon propre cloud objet, sans dépendre d'un provider externe. 100% souverain, 100% libre.
Bilan de la soirée : quelques erreurs 400 bien tenaces, un disque racine trop petit découvert juste à temps, et un datastore S3 opérationnel avant minuit 🌙
```
$ cd /srv/nextcloud/
$ sed -i s/:33/:34/ compose.yaml # [0]
$ docker compose up
```
Well, that was an easy upgrade, as always.
[0] I made this up, in reality I use SaltStack to manage this https://blog.narf.ssji.net/2023/12/28/saltstack-maps-as-objects/, but the resulting change in the compose.yaml is the same.
Nouvelle instance (comment ça 10 jours ?), nouvelle intro !
Admin sys Linux/BSD et adepte du logiciel libre.
Je bricole et, code en Python
je parle parfois de science.
Je préfère l’intelligence artisanale à l’intelligence artificielle.
Héberger ses données plutôt que de les offrir aux GAFAM.
Team #ergol et je m'interresse aux #poticlavier
#Linux #BSD #FOSS #SelfHosting #Python #Homelab #introduction
J’ai fini par faire cohabiter K3s et Docker Compose dans mon homelab. Ce n’est pas une migration laissée en plan : je garde les deux.
Compose reste très bien sur une seule machine. K3s devient intéressant pour apprendre Kubernetes ou préparer l’ajout d’autres nœuds.
Pour les services avec des données, le plus compliqué reste le stockage et les sauvegardes. Kubernetes ne règle pas ça tout seul.
https://cryptolab.re/posts/2026/k3s-kubernetes-docker-compose/
Fail2ban 1.1.1 is here with systemd socket support and a wave of community contributions. Keep your servers locked down and your ban lists fresh. #selfhosted #homelab
Question to the people who fully (or most of the time) work from home: how do you keep going with your personal projects after work? Do you have another computer on a different part of the house, or do you roam with your laptop, or you don't care and you just sit inside the same four walls most of your day and evening? If something else, please comment.
I personally do everything in one space, so there are some periods of time when my projects or my home lab maintenance lag behind, simply because I don't want to sit in that office anymore. How about you?
#HomeLab #SysAdminLife #WorkFromHome @homelab
| Have another desk somewhere else: | 0 |
| Walk around the house with a laptop: | 0 |
| Same place, all the time: | 0 |
| Something else, let me explain: | 0 |
Neuer Quick-Tip im Blog.
Diesen Bug hatte ich länger als ich zugeben möchte. Login bei nextcloud, der Spinner dreht ewig, F5 – drin. Lästig, aber machbar. Also ignoriert.
Bis die Android-App streikte. Die nutzt dasselbe Web-Login und kennt kein F5.
Plötzlich war die Motivation da. Gelegen hat es am nginx davor – bzw. daran, dass nextcloud nichts davon wusste.
https://just-stuff.blog/nextcloud-hinter-nginx-login-haengt/
Invoice Ninja v5.13.32 brings webhook queue improvements with better logging, inline PDF images, N+1 query fixes, and configurable document public status. Solid performance and flexibility gains. #selfhosted #homelab
https://github.com/invoiceninja/invoiceninja/releases/tag/v5.13.32
IT WORKS!
Radxa ROCK 5 ITX booting GRUB -> ZFSBootMenu -> Debian with native encrypted and mirrored ZFS root filesystem on dual SATA SSDs.
Single passphrase entry.
The last piece was adding rootdelay=15 to the kernel command line since the SATA controller is a little slow to initialize.
I've been spending a lot of my time building software with #FreeBSD's Ports system. Sure, I could just install packages but Ports is an incredible learning experience. Poudriere especially.
It's definitely not as straightforward as initially thought and builds will fail for various reasons, but....I haven't had this much fun troubleshooting in a long time.
One question I do have for the folks in the room is:
When it comes to the frequency of pulling down new versions of the Ports tree via git pull, how frequently do people recommend?
The Handbook does not mention it and it's definitely an important operations-related task.
I tried connecting the dead Intel D3-S4610 480GB SSD I have into my new USB bridge. Power light turns on, the turns right back off.
It was working fine six months ago, not sure what happened to it.
My multimeter doesn't show a short on the external pins, I made a brief attempt at board level diagnostics and then decided it wasn't worth the effort.
Free to anyone willing to pick it up around Liverpool Street station in London.
I bought four Intel D3-S4610 480GB SSDs on eBay.
Three from some dude for £55 each, and one from a refurbisher for £70.
The £55 drives were pretty much prestine, the £70 drive had logged over three petabytes of writes and showed 27% lifetime remaining.
Also, I now have a USB-C SATA bridge that can issue ATA Security commands.
Trying to get Debian to boot on my Radxa ROCK 5 ITX with a mirrored and encrypted ZFS root filesystem.
Current status:
EDK2 boots UEFI GRUB, with working serial console
UEFI GRUB boots ZFSBootMenu, with working serial console
ZFSBootMenu imports pool and accepts the passphrase, but then fails to find the kernel.
This feels like progress?
I'm considering self-hosting Pocket ID to use as an OIDC identity provider for various other self-hosted services. It's small and simple and easy to understand, but there's a big gap: high availability. If I set up an instance on a machine somewhere, and that machine dies, every service using it as an IdP is temporarily inaccessible until the situation is cured.
How do other self-hosters address this situation? I understand at some point there are single points of failure, but I'd like to avoid this being one.
RE: https://social.lol/@phillip/117061432689860232
The postmortem of the hack on my Forgejo instance is here! I had fun investigating and writing it, so I hope y’all enjoy reading about it :)
Neuer Quick-Tipp im Blog:
Startet die Backend-VM hinter dem nginx-Reverse-Proxy neu, sehen Besucher nur einen nackten 502.
Mit error_page und einer benannten Location gibt's stattdessen eine saubere Wartungsseite – inklusive der Timeout-Falle, die sonst 60 Sekunden Ladebalken produziert.
👉 https://just-stuff.blog/nginx-reverse-proxy-wartungsseite/
Im letzten Beitrag ging es darum, die BIOS-Einstellungen meines Supermicro X12SPi-TF überhaupt erst als Datei in die Hand zu bekommen. Das Ergebnis war eine XML mit 372 Einstellungen, und der Weg dorthin führte über eine Lizenz für 28,17 Euro.

Damit war die halbe Arbeit getan. Eine Konfiguration auslesen zu können ist schön, aber der eigentliche Gewinn liegt darin, sie auch zurückschreiben zu können. Genau das habe ich jetzt gemacht, und zwar zum ersten Mal überhaupt an dieser Maschine: sieben Einstellungen geändert, ohne den Rechner ins Setup zu booten, ohne Tastatur, ohne die Fernkonsole des Management-Controllers.
Vorweg die gute Nachricht für alle, die schon rechnen: die kleine Lizenz deckt das Schreiben mit ab. Ich hatte damit gerechnet, dass Supermicro genau an dieser Stelle noch einmal die Hand aufhält, und das tut es auch, aber nur an einer sehr kleinen Ecke. Von den 372 Einstellungen tragen 21 den Vermerk, dass sie die große Lizenz verlangen. Es sind ausschliesslich Zertifikatseinträge für KMIP-Server und HTTPS-Boot. Nichts davon betrifft normale Setup-Optionen.
Der langweiligste Teil eines solchen Artikels ist die Liste der geänderten Werte. Der interessante Teil ist die Begründung, deshalb fange ich damit an.
Mein Rechner bootet von einer NVMe-SSD. Er hat das noch nie anders gemacht und wird es auch nicht. Trotzdem lädt das BIOS bei jedem Start die Pre-Boot-Netzwerktreiber für vier Netzwerkanschlüsse, jeweils für IPv4 und IPv6, und baut daraus Boot-Einträge, die niemand benutzt. Dazu kommen die Option-ROMs von drei leeren Steckplätzen.
Ein Option-ROM ist ein kleines Stück Firmware auf einer Steckkarte, das beim Start ins BIOS geladen wird, damit die Karte schon vor dem Betriebssystem funktioniert. Für eine Netzwerkkarte heisst das Netzwerk-Boot, für einen Speichercontroller das Booten von daran angeschlossenen Platten. Wer von keinem dieser Geräte bootet, braucht den Code nicht.
Also:
– Network Stack von *Enabled* auf *Disabled*. Damit fällt die komplette UEFI-Netzwerkinitialisierung weg. – Onboard LAN1 Option ROM aus. Der Pre-Boot-Treiber der onboard X550 wird nicht gebraucht. – CPU SLOT6 OPROM aus. Dort steckt meine X710. Dazu gleich mehr, das ist der eigentliche Grund für die Aktion. – CPU SLOT1, SLOT2 und SLOT7 OPROM aus. Alle drei Steckplätze sind leer.
Bei den drei leeren Steckplätzen bin ich ehrlich: der Zeitgewinn ist exakt null. Wo keine Karte steckt, gibt es auch kein Option-ROM zu laden. Ich habe sie trotzdem mitgenommen, weil ich einen dokumentierten Sollzustand haben will und nicht eine Mischung aus bewusst gesetzt und zufällig übrig.
Die siebte Änderung ist die, um die es mir wirklich ging.
Beim Schreiben meiner BIOS-Serie ist mir etwas aufgefallen, das ich mir lange nicht erklären konnte. Mein Prozessor ist ein Xeon Gold 5315Y, Ice Lake-SP. Diese Generation beherrscht Hardware P-States, kurz HWP. Die CPU regelt ihren Takt dabei selbst, in feineren Stufen und deutlich schneller, als das Betriebssystem es könnte.
Nur meldete mein Kernel davon nichts. In /proc/cpuinfo fehlte das hwp-Flag, der Treiber intel_pstate lief im passiven Modus, und die Taktregelung machte der Governor schedutil. Also genau der Zustand, den man auf einer CPU erwartet, die HWP gar nicht kann.
Ich habe eine Weile in Richtung Kernel gesucht. Das war die falsche Richtung. Der Schalter sass im BIOS, ziemlich tief vergraben:
Advanced > CPU Configuration > Advanced Power Management Configuration
> Hardware PM State Control > Hardware P-States [Disable]Der Auslieferungszustand dieser Option ist tatsächlich *Disable*. Es gibt vier Werte, und der Hilfetext im BIOS beschreibt sie so:
Disable hardware will choose a P-state setting for
the system based on an OS request
Native Mode hardware will choose a P-state setting
based on OS guidance
Native Mode with No Legacy Support hardware will choose a P-state setting
independently without OS guidance
Out of Band Mode hardware autonomously choose a P-state
without OS guidanceIch habe Native Mode genommen, also die zahmste der drei aktiven Varianten. Der Unterschied zu den beiden anderen ist wichtig: bei *Native Mode* behält das Betriebssystem seinen Einfluss, es wandert nur die Feinsteuerung in die CPU. Bei den beiden anderen wird der Kernel bei der Taktwahl übergangen, und dann kann er dir auch nicht mehr sinnvoll sagen, was die CPU gerade tut.
Diese Liste finde ich wichtiger als die Liste der Änderungen, denn hier hätte ich mir den Rechner unbedienbar machen können.
Das Option-ROM von SLOT4 bleibt an. Dort sitzt die Grafikkarte. Ihr GOP-Modul ist das, was beim Start überhaupt ein Bild auf den Monitor bringt. Wer es abschaltet, sitzt bis zum Laden des Grafiktreibers im Dunkeln, und wenn dabei etwas schiefgeht, sitzt er dauerhaft im Dunkeln.
Onboard Video Option ROM bleibt an. Das ist die Grafik des Management-Controllers, und daran hängt die Fernkonsole. Schaltet man sie ab, bleibt beim Start das Fenster schwarz, über das man aus der Ferne ins Setup kommt. Das ist genau der Rettungsweg, den man sich nicht abschneiden will, wenn man gerade anfängt, das BIOS aus dem laufenden Betrieb heraus umzukonfigurieren.
Beide NVMe-Option-ROMs bleiben an. Das erste trägt das Betriebssystem. Auf das zweite soll irgendwann Windows, und auch wenn der Bootloader auf der ersten Platte das Kommando behält, muss die zweite dem Firmware-Bootmanager sichtbar bleiben.
Legacy USB Support bleibt an. Hier hätte ich vermutlich etwas Startzeit gewinnen können. Ich habe es gelassen, weil ich den Gewinn nicht gemessen habe und das Risiko eine tote Tastatur im Setup wäre. Eine Einstellung, deren Nutzen man nicht beziffern kann, deren Schaden aber konkret ist, ändert man nicht.
Naheliegend wäre, die ausgelesene XML zu bearbeiten und komplett zurückzuschreiben. Bei 372 Einstellungen und 260 Kilobyte ist das unnötig riskant, und es ist auch nicht der vorgesehene Weg.
Das Werkzeug kennt einen Filter, der genau die Einstellungen ausgibt, die vom Auslieferungszustand abweichen:
./saa -c GetCurrentBiosCfg --file nondefault.xml --overwrite --filter nondefault
Heraus kommt eine kleine Datei mit derselben Struktur wie die grosse, nur eben mit den Menüzweigen, die auch wirklich etwas enthalten. Und genau diese Struktur nimmt das Schreibkommando entgegen. Teildateien sind also kein Trick, sondern der normale Betriebsfall.
Hier der erste Fallstrick, und der hat mich ehrlich geärgert: die eingebaute Hilfe des Werkzeugs beschreibt den Filter als Ziffer.
--filter Sets filter type to: 1 = nondefault
Die Ziffer 1 wird abgewiesen. Das Kommando bricht ab und wirft den Hilfetext aus, der einem gerade die Ziffer empfohlen hat. Akzeptiert wird ausschliesslich das ausgeschriebene Wort nondefault. Wenn du also an dieser Stelle hängst, liegt es nicht an dir.
Meine Änderungsdatei habe ich nicht getippt, sondern mit einem kleinen Python-Skript aus dem Auslesestand erzeugt. Das klingt nach Übertreibung für sieben Werte, hat aber einen handfesten Grund: die Einstellungen müssen im richtigen Menüzweig stehen, und die Menünamen sind lang und fehleranfällig. CPU SLOT2 PCI-E 4.0 X8(IN X16) OPROM vertippt sich schneller, als man denkt, und ein Tippfehler im Namen führt nicht zu einer Fehlermeldung, sondern dazu, dass die Einstellung stillschweigend nicht gesetzt wird.
Das Schreiben selbst ist unspektakulär:
./saa -c ChangeBiosCfg --file change-boot-oprom-hwp.xml Status: The BIOS configuration is updated for the managed system Note: You have to reboot or power up the system for the changes to take effect.
Es gibt eine Option --reboot, die den Neustart gleich mit erledigt. Die habe ich weggelassen. Wann ein Rechner neu startet, entscheide ich lieber selbst.
Nach dem Schreiben will man natürlich nachsehen, ob es geklappt hat. Also dasselbe Auslesekommando noch einmal, und dann steht da:
Hardware P-States = Disable (geschrieben: Native Mode) Network Stack = Enabled (geschrieben: Disabled) CPU SLOT6 PCI-E 4.0 X16 OPROM = EFI (geschrieben: Disabled)
Nichts. Alle alten Werte, unverändert.
Der erste Reflex ist, das Schreibkommando noch einmal laufen zu lassen. Tu das nicht. Das Auslesen liefert die aktive Konfiguration, und die ändert sich erst beim nächsten Start. Deine Änderung liegt so lange in einem Bereich, den das Werkzeug nicht anzeigt. Zwischen dem Schreiben und dem Neustart gibt es damit keine Möglichkeit, die Änderung zu überprüfen, ausser dem Rückgabewert des Kommandos.
Das ist unschön, aber es ist logisch. Die Einstellungen werden erst beim Start aus dem Speicher gelesen, und vorher gibt es schlicht nichts Aktives, das anders wäre.
Und dann stimmt alles. Die Zahl der Abweichungen vom Auslieferungszustand ist von sechs auf dreizehn gestiegen, also genau um meine sieben:
Quiet Boot Unchecked Restore on AC Power Loss Stay Off Power Button Function 4 Seconds Override Hardware P-States Native Mode Network Stack Disabled Re-Size BAR Support Enabled VGA Priority Offboard CPU SLOT1 PCI-E 4.0 X8 OPROM Disabled CPU SLOT2 PCI-E 4.0 X8(IN X16) OPROM Disabled CPU SLOT6 PCI-E 4.0 X16 OPROM Disabled CPU SLOT7 PCI-E 4.0 X8 OPROM Disabled Onboard LAN1 Option ROM Disabled WHEA Support Disabled
Die Netzwerk-Booteinträge sind verschwunden, übrig bleibt der Bootloader und die eingebaute Shell:
BootCurrent: 000F BootOrder: 000F,0001 Boot0001* UEFI: Built-in EFI Shell Boot000F* ubuntu
Und der Punkt, um den es mir ging, ist eingetreten. Der Prozessor meldet jetzt Fähigkeiten, die er die ganze Zeit hatte:
$ grep -o ' hwp[_a-z]*' /proc/cpuinfo | sort -u hwp hwp_act_window hwp_epp hwp_pkg_req $ cat /sys/devices/system/cpu/intel_pstate/status active
Der Treiber ist damit vom passiven in den aktiven Modus gewechselt. Was dabei kurz irritiert: der Governor heisst jetzt powersave statt schedutil, und das sieht nach einem Rückschritt aus. Ist es nicht. Bei intel_pstate im aktiven Modus ist powersave der Name für den Betrieb, bei dem die Hardware regelt. Wie sie das tut, steuert ein separater Wert:
$ cat /sys/devices/system/cpu/cpu0/cpufreq/energy_performance_preference balance_performance
Die CPU geht im Leerlauf auf 800 MHz und hat den vollen Turbo bis 3600 MHz zur Verfügung. Genau so soll es sein.
Wichtig war mir noch die Gegenprobe, dass ich mir das Netzwerk nicht zerschossen habe. Die Karte, deren Option-ROM ich abgeschaltet habe, ist schliesslich die, über die diese Maschine am Netz hängt:
$ ethtool ens6f1np1 | grep -E 'Speed|Link detected' Speed: 10000Mb/s Link detected: yes
Unverändert. Das ist auch zu erwarten, denn der Treiber im laufenden Betrieb kommt aus dem Kernel und hat mit dem Option-ROM nichts zu tun. Das Option-ROM ist reiner Startcode. Trotzdem ist das der Punkt, an dem die meisten zögern, deshalb steht die Messung hier.
Ein Punkt ist noch offen, und den will ich nicht verschweigen: der ursprüngliche Anlass für das Abschalten von SLOT6 war eine Meldung auf der Treiberstatus-Seite im Setup, wo meine Netzwerkkarte seit einem Firmware-Update als *Failed* geführt wird. Ob die Meldung jetzt weg ist, kann ich von aussen nicht sehen. Das prüfe ich beim nächsten Setup-Besuch nach.
Diese Frage lag für mich die ganze Zeit im Raum, und die Antwort ist unbefriedigend.
Es gäbe einen herstellerneutralen Weg unter Linux. Der Kernel kennt eine Geräteklasse namens firmware-attributes, über die sich BIOS-Einstellungen als ganz normale Dateien lesen und schreiben lassen. Der Firmware-Updater fwupd kann das seit Version 1.8.4 direkt bedienen. Das wäre die Lösung: ein Kommando, egal welcher Hersteller.
Auf meiner Maschine sieht das so aus:
$ ls /sys/class/firmware-attributes/ ls: cannot access '/sys/class/firmware-attributes/': No such file or directory $ fwupdmgr get-bios-setting This system doesn't support firmware settings
Das Hilfsmodul dafür liegt im Kernel, es ist also nicht so, dass die Infrastruktur fehlen würde:
/lib/modules/7.0.0-28-generic/kernel/drivers/platform/x86/firmware_attributes_class.ko.zst
Was fehlt, ist der Treiber des Herstellers. Der Kernel bringt genau drei mit:
drivers/platform/x86/dell/dell-wmi-sysman Dell drivers/platform/x86/lenovo/think-lmi Lenovo drivers/platform/x86/hp/hp-bioscfg HP
Supermicro ist nicht dabei. Statt eines Treibers, der diese Kernel-Schnittstelle bedient, gibt es ein eigenes Werkzeug und eine Lizenz. Auf einem Dell oder Lenovo wäre der Inhalt dieses Beitrags ein Einzeiler ohne Zusatzkosten.
Ganz ohne Oberfläche ist man aber nicht. Das Werkzeug bringt einen textbasierten Editor mit, der das Setup im Terminal nachbaut:
./saa -c GetCurrentBiosCfg --tui
Dazu gibt es --compact, das anschliessend nur die geänderten Zeilen herausschreibt. Über eine SSH-Pipe blieb das Fenster bei mir schwarz, es braucht ein echtes Terminal. Ausprobiert habe ich es deshalb noch nicht richtig. Und es gibt das Werkzeug ausserdem als Windows-Version und als Variante für die UEFI-Shell, also für den Fall, dass überhaupt kein Betriebssystem installiert ist.
Eine echte grafische Oberfläche gibt es auch, sie heisst SSM. Die will dann allerdings wieder die grosse Lizenz.
Das Wichtigste zum Schluss, und man legt es sich besser vorher zurecht als hinterher. Vor dem Schreiben habe ich den vollständigen Stand weggesichert. Der Rückweg ist dann dasselbe Kommando mit dieser Datei:
./saa -c ChangeBiosCfg --file bios-current-2026-08-09.xml
Als Notnagel gibt es darunter noch LoadDefaultBiosCfg, das alles auf den Auslieferungszustand zurücksetzt. Das ist aber ein grober Hebel: es wirft auch die sechs Abweichungen weg, die ich absichtlich eingestellt habe, und die stehen dann eben nicht mehr so, wie ich sie haben will. Die Teildatei ist der bessere Weg, der Vollreset die letzte Reserve.
Und weil es hier um Firmware geht, der offensichtliche Hinweis: bei einem Rechner, an den du nicht rankommst, änderst du keine Boot-Einstellungen, ohne dass jemand vor Ort ist oder die Fernkonsole zuverlässig läuft. Ich habe das Option-ROM der Grafik und das des Management-Controllers genau deshalb nicht angefasst.
Sieben Einstellungen, ein Neustart, kein Setup-Besuch. Das klingt nach wenig, ändert aber die Arbeitsweise. BIOS-Einstellungen waren für mich bisher etwas, das man beim Aufbau einmal einstellt und danach ungern anfasst, weil jede Änderung einen Neustart mit Tastatur und Monitor bedeutet. Jetzt sind sie eine Datei, die ich versionieren, vergleichen und zurückspielen kann.
Der schönste Nebeneffekt war die Sache mit den Hardware P-States. Ich hatte das Verhalten meiner CPU wochenlang für eine Eigenheit des Kernels gehalten und in die falsche Richtung gesucht. Es war eine einzige Zeile in einem Menü, das vier Ebenen tief liegt und das ich beim Durchklicken nie geöffnet hatte. Eine durchsuchbare Datei aller 372 Einstellungen hätte mir das in dreissig Sekunden gezeigt.
Falls du auf demselben Board sitzt: das Auslesen ist der Beitrag davor, das Schreiben braucht keine weitere Lizenz, und die drei Stolperstellen sind der Filter, der nur als Wort funktioniert, die Gegenprobe, die vor dem Neustart nichts zeigt, und die Versuchung, mehr auf einmal zu ändern, als man beim nächsten Start noch reparieren kann.
Siehe auch: Achtundzwanzig Euro für eine Textdatei: die BIOS-Konfiguration meines Supermicro-Boards auslesen und die Serie BIOS erklärt.
Wenn dazu etwas unklar ist oder du es auf deinem Board anders erlebt hast, dürft ihr mich sehr gerne fragen.
In meiner Serie BIOS erklärt arbeite ich mich durch das Setup eines Supermicro X12SPi-TF. Die Grundlage dafür war bisher eine Bildschirmaufnahme: ich bin durch alle Menüs gelaufen, habe das Video in Einzelbilder zerlegt und die Werte abgetippt. Das funktioniert, ist aber Handarbeit, und Handarbeit übersieht Dinge.
Was ich eigentlich wollte, ist eine Datei. Eine Liste aller Optionen mit ihrem aktuellen Wert, maschinenlesbar, damit ich sie durchsuchen und mit einem späteren Stand vergleichen kann. Das Board kann das. Es rückt es nur nicht heraus.
Der erste Weg führt über Redfish, die HTTP-Schnittstelle des Management-Controllers. Der passende Endpunkt existiert, antwortet aber nicht mit Daten:
GET /redfish/v1/Systems/1/Bios HTTP 403 "MessageId": "SMC.1.0.OemLicenseNotPassed", "Message": "Not licensed to perform this request. The following licenses DCMS were needed"
Der zweite Weg ist Supermicros eigenes Kommandozeilenwerkzeug. Es heißt inzwischen SAA, SuperServer Automation Assistant, und liegt dem BIOS-Paket bei. Es kann genau das, was ich suche, und arbeitet dabei nicht über das Netz, sondern direkt über die Firmware:
./saa -c GetCurrentBiosCfg --file bios-current.xml ExitCode 80 Node product key is not activated. One of the node product key (SFT-OOB-LIC or SFT-DCMS-SINGLE) should be activated
Der dritte Weg wäre, die UEFI-Variablen selbst zu lesen. Die liegen unter /sys/firmware/efi/efivars/, und tatsächlich gibt es dort Einträge, die nach BIOS-Einstellungen aussehen. Nur sind das undurchsichtige Datenblöcke ohne die Zuordnungstabelle des Boards. Man sieht Bytes, aber man weiß nicht, welches Byte welcher Menüpunkt ist.
Drei unabhängige Wege, dieselbe Sperre. An dieser Stelle habe ich in meinen Notizen etwas geschrieben, das sich später als falsch herausstellte. Dazu komme ich am Ende.
Lies die beiden Fehlermeldungen oben noch einmal nebeneinander. Sie verlangen nicht das Gleiche. Redfish nennt namentlich DCMS. SAA nennt SFT-OOB-LIC oder SFT-DCMS-SINGLE, also eine von zweien.
Das ist der Punkt, an dem man leicht zu viel Geld ausgibt. Supermicro verkauft für diese Board-Generation zwei Lizenzen. Die kleine heißt Out of Band, kurz OOB. Die große heißt DCMS und kostet etwa das Fünffache. Wer nur die Fehlermeldung von Redfish liest, kauft DCMS. Wer die Fehlermeldung von SAA liest, merkt, dass es für seinen Zweck auch die kleine tut.
Nebenbei taucht dieselbe Lizenz an einer Stelle auf, die ich nicht erwartet hätte. Im Handbuch zum Board stehen bei zwei Sicherheitseinstellungen, nämlich beim Abschalten der vorderen und der hinteren USB-Anschlüsse, die Worte *available for configuration if the SFT-DCMS-SINGLE license is installed*. Es fehlen also nicht nur Management-Schnittstellen. Es fehlen zwei Menüpunkte im Setup selbst.
Bei dieser Recherche stößt man unweigerlich auf ein Werkzeug auf GitHub, das Supermicro- Produktschlüssel behandelt. Für die Generationen 9 bis 11 kann es welche erzeugen, denn dort war der Schlüssel ein berechneter Wert über die MAC-Adresse des Management-Controllers.
Für die zwölfte Generation, also mein Board, kann es das nicht, und das Projekt schreibt es selbst deutlich hin: dieses Format lässt sich mit dem Werkzeug prüfen, aber nicht erzeugen. Der Grund ist, dass Supermicro umgestellt hat. Der Schlüssel ist heute eine von Supermicro signierte Datei, und der Management-Controller prüft die Signatur gegen einen öffentlichen Schlüssel in seiner eigenen Firmware. Ohne den privaten Schlüssel des Herstellers entsteht da nichts Gültiges.
Mein Board bestätigt das Format auf Nachfrage:
Node Product Key Format..........JSON
Damit ist die naheliegende Abkürzung nicht moralisch, sondern rechnerisch verschlossen. Man muss die Frage also wirklich beantworten.
Gekauft habe ich im Supermicro eStore. 23,67 Euro netto, 28,17 Euro brutto. Bei der Bestellung wählt man das Mainboard-Modell aus einer Liste, und mein X12SPi-TF steht darin. Das ist erwähnenswert, weil mehrere Händlerbeschreibungen dieser Lizenz nur X10 und X11 nennen. Diese Texte sind veraltet.
Jetzt kommt der Teil, den ich falsch erwartet hatte. Ich dachte, ich kaufe und bekomme einen Schlüssel. So läuft es nicht. Man bekommt zunächst nur eine Zertifikatsnummer und die Aufforderung, den Schlüssel selbst zu erzeugen. Dafür meldet man sich im Store an, wählt die Bestellung aus und gibt an, für welches Gerät der Schlüssel gelten soll: entweder die MAC-Adresse des Management-Controllers oder die Seriennummer des Boards.
Die Bindung an die Hardware entsteht also nicht beim Verkauf, sondern beim Käufer, im Moment des Erzeugens. Das ist konsequent, denn Supermicro weiß beim Verkauf ja gar nicht, in welchem Gerät die Lizenz landen soll. Es heißt aber auch, dass man sich vertippen kann, und dann hat man einen Schlüssel für ein Gerät, das es nicht gibt.
Der Ablauf war zügig. Bestellbestätigung um 14:17, die Freigabe zum Erzeugen um 14:42, der fertige Schlüssel um 14:44, aktiv im Board um 14:46. Unter einer halben Stunde vom Klick bis zur Funktion, und die zugesagte Stunde war damit nicht zu optimistisch.
Der Schlüssel selbst ist eine kleine Textdatei, benannt nach der MAC-Adresse, mit einem JSON-Objekt darin: Lizenzname, Ausstellungsdatum und eine lange Signatur. Mehr ist es nicht.
Eine Kuriosität am Rande: die Mail mit dieser Textdatei trägt einen Ausfuhrhinweis der US-Regierung. Die Ware sei nur für das Bestimmungsland freigegeben und dürfe nicht weiterveräußert oder an Dritte weitergegeben werden. Das gilt hier für eine Datei von wenigen hundert Byte, deren einzige Wirkung darin besteht, in einem Verwaltungscontroller einen Menüpunkt sichtbar zu machen.
Supermicro nennt vier Wege, den Schlüssel einzuspielen: die Weboberfläche des Management-Controllers, das Werkzeug SUM, die Verwaltungssoftware SSM und Redfish. Die Weboberfläche ist der ruhigste Weg, weil sie eine Bestätigungsseite hat, und bei einem Schlüssel, der genau einmal auf genau ein Gerät passt, will man die haben.
Wer es lieber skriptet, findet die passenden Endpunkte im Management-Controller, und die sind auch ohne Lizenz erreichbar:
POST /redfish/v1/Managers/1/LicenseManager/Actions/LicenseManager.ActivateLicense POST /redfish/v1/Managers/1/LicenseManager/Actions/LicenseManager.ClearLicense GET /redfish/v1/Managers/1/LicenseManager/QueryLicense
Die Abfrage danach gibt genau den Inhalt der Datei zurück, die man hochgeladen hat. Der Controller speichert den Schlüssel also unverändert und prüft ihn bei Bedarf.
Nach der Aktivierung meldet SAA einen anderen Zustand:
Node Product Key Activated.......SFT-OOB-LIC Feature Toggled On...............Yes BMC Supports OOB BIOS Config.....Yes BIOS Supports OOB BIOS Config....Yes
Und dasselbe Kommando, das vorher mit ExitCode 80 abgebrochen ist, läuft durch:
./saa -c GetCurrentBiosCfg --file bios-current.xml File "bios-current.xml" is created.
Heraus kommt eine Datei von 260 Kilobyte mit 60 Menüs und 372 Einstellungen. Zum Vergleich: das offizielle Handbuch beschreibt 180 Optionen. Und die Datei enthält pro Eintrag mehr, als man im Setup sieht, nämlich zusätzlich den Auslieferungszustand und den Hilfetext:
<Setting name="Quiet Boot" checkedStatus="Unchecked" type="CheckBox">
<Information>
<DefaultStatus>Checked</DefaultStatus>
<Help>Enables or disables Quiet Boot option</Help>
</Information>
</Setting>Der Auslieferungszustand ist der eigentliche Gewinn. Damit sehe ich auf einen Blick, welche Einstellungen an dieser Maschine vom Werkszustand abweichen, und das ist genau die Liste, die man nach einem BIOS-Update wiederherstellen will.
Zwei komplette Hauptmenüs standen darin, die ich beim Durchklicken schlicht nie geöffnet hatte. Und ein Untermenü, das ich in meinen Notizen als offene Lücke geführt habe, war vollständig enthalten. So viel zum Thema Handarbeit übersieht Dinge.
Jetzt der ehrliche Teil, und der ist mir wichtiger als der Erfolg. Ich hatte vor dem Kauf drei Messungen aufgeschrieben, damit ich hinterher vergleichen kann. Drei von vier Erwartungen sind eingetroffen, und die vierte war die interessante.
Der Redfish-Endpunkt, mit dem alles anfing, antwortet weiterhin mit 403 und verlangt weiterhin DCMS. Die kleine Lizenz öffnet den Weg über SAA und eben nicht den über Redfish. Wer also ausdrücklich die Netzwerkschnittstelle braucht, etwa weil er hunderte Server ohne Betriebssystem konfigurieren will, kommt um die große Lizenz nicht herum.
Das hat eine Nebenwirkung, die ich nicht auf dem Zettel hatte. Der Firmware-Updater fwupd kann inzwischen mit Supermicros Redfish-Schnittstelle sprechen. Er sieht bei mir aber nur zwei von zwölf Firmware-Komponenten, und die beiden BIOS-Einträge fehlen. Der Grund ist, dass er zur Identifikation eines Geräts das Objekt lesen muss, das hinter genau diesem gesperrten Endpunkt liegt. Die Lizenz sperrt hier also nicht das Aktualisieren, sondern das Erkennen, und das Aktualisieren scheitert dann als Folge. Nach der Aktivierung sind es unverändert zwei von zwölf.
Und der dritte Weg, den ich vorher gar nicht gesehen hatte: fwupd sieht den BIOS-Speicher auch ganz direkt am Chipsatz, liest die Version korrekt aus und verweigert trotzdem den Dienst:
Internal SPI Controller (BIOS):
Aktuelle Version: 2.5
Probleme: Device firmware has been lockedDas ist keine Lizenzsache, und daran hat sich erwartungsgemäß nichts geändert. Der Speicher ist auf Chipsatzebene schreibgeschützt, weil das Board mit aktivem Root of Trust läuft. Ein BIOS, das sich aus einem laufenden Betriebssystem heraus überschreiben lässt, wäre genau die Lücke, die dieser Schutz verhindern soll. Der Reflex sagt hier Hersteller blockiert Linux. Tatsächlich blockiert eine Sicherheitsfunktion, die ich selbst haben will.
Bleibt der Satz, den ich weiter oben angekündigt habe. In meinen Notizen stand nach der dritten Absage sinngemäß: drei unabhängige Wege, dieselbe Sperre, nicht erneut versuchen.
Gemessen hatte ich: ohne Lizenz gibt es keinen Weg. Aufgeschrieben hatte ich: es gibt keinen Weg. Und die dritte Möglichkeit, nämlich die Lizenz einfach zu kaufen, kam in meiner Aufzählung der drei gesperrten Wege überhaupt nicht vor, obwohl das Werkzeug sie mir wörtlich genannt hatte.
Dass drei Wege an derselben Sperre scheitern, beweist, dass es eine Sperre gibt. Es beweist nicht, dass sie unüberwindbar ist. Wenn eine Fehlermeldung den Namen der fehlenden Berechtigung nennt, ist das ein Hinweis und kein Schlusspunkt.
Für einen einzelnen Rechner zu Hause: nur, wenn man Freude daran hat. Ich hätte die Werte auch weiter abschreiben können, und der Screencast hat mir immerhin eine fünfzehnteilige Serie eingebracht, die aus einer XML-Datei nie entstanden wäre. Man liest eine Datei nicht so aufmerksam wie ein Menü, durch das man sich selbst klicken muss.
Für alles, was mehr als eine Handvoll Maschinen betrifft, sieht es anders aus. Konfiguration auslesen, versionieren, nach einem Update wieder einspielen und im Zweifel gegen einen bekannten Stand vergleichen, das ist bei 28 Euro pro Board keine Diskussion. Ärgerlich finde ich nur, dass man diese Rechnung überhaupt aufmachen muss. Es geht um das Auslesen der eigenen Einstellungen auf der eigenen Hardware.
Wenn du auf demselben Board sitzt und dieselbe Fehlermeldung vor dir hast, ist die Kurzfassung: für die Konfiguration reicht die kleine Lizenz, für Redfish brauchst du die große, und für Firmware-Updates brauchst du bei einem X12 mit Root of Trust vermutlich gar keine.
Siehe auch: BIOS erklärt, Teil 1: ein Serverboard als Workstation und der Weg ins Setup und die übrigen Folgen unter BIOS & Firmware.
Wenn dazu etwas unklar ist oder du es auf deinem Board anders erlebt hast, dürft ihr mich sehr gerne fragen.
One of my repositories on my self-hosted forgejo instance is being hit by Anthropic crawlers. They have an infinite loop to download a tar archive of the repository leading to somewhat like 200GB of archives. My backup process struggled to send snapshots remotely on my 6 Mbps upload line. I've made the repository private. And now I'm considering putting Anubis in front of the service.
#homelab @homelab Hi. Test building: #supermicro #x11spwft
https://www.supermicro.com/en/products/motherboard/X11SPW-TF
#SuperServer5019PWTR
https://www.supermicro.com/products/system/1u/5019/SYS-5019P-WTR.php
WD #SN850X 2TB SSD
https://amzn.eu/d/ez8cYXZ
#SLG32 AOC-SLG3-2 2x m2 board
https://amzn.eu/d/4roeQkw
#S3008LL8E AOC-S3008L-L8E RAID https://amzn.eu/d/ig4RhoF + cables
https://amzn.eu/d/5CA2vkW
#xeon6254 #Intel #Xeon #Gold 6254 CPU 18-Core 3.10 GHz (4.00 GHz Turbo) https://www.servershop24.de/en/intel-xeon-gold-6254-cpu/a-126340/
2 x WD SN850X 4TB SSD
https://www.galaxus.de/en/s1/product/wd-black-sn850x-powered-by-sandisk-4000-gb-m2-2280-ssd-21635315 / https://amzn.eu/d/f9Yy7hs 4xHDD #NixOS
Is anyone in the home lab community running NixOS on a Raspberry Pi 4B (8GB), and could share your frustrations or cautionary tales?
I am seriously considering dividing into that. I don't need convincing. At this point I just need to know where the rakes and the skeletons are. So basically just give me the dirt. 😄
The "let's call it homely" got a way too hot, even it's already running caseless... It's not stupid if it works - #onlyfans!
#homelab #temperature #hot #computers #minipcs #lab #labs #fans
PegaProx for #Proxmox VE and #XCPng clusters made a huge step and is finally out of beta!
The first stable release also comes around with companies providing enterprise support. If you need SLA-backed help running PegaProx in production (or training sessions) you can now find a support partner at:
Enterprise Support & Sponsors: https://pegaprox.com/sponsors.html
Release: https://github.com/PegaProx/project-pegaprox/releases/tag/v1.0
Website: https://pegaprox.com
#homelab #virtualization #opensource #community #python #virtualization #enterprise #business #support
✅ Nettoyage automatisé des vieilles sauvegardes de config
Tuto complet, avec explications et code à jour 👉 https://wiki.blablalinux.be/fr/script-gestion-watchtower
#Proxmox #Watchtower #Docker #SelfHosted #Homelab #FOSS #Linux
I have a #FreeBSD #VM set up in my #homelab for #Poudriere and #Ports. I've dabbled in the Ports system in the past - it's a useful feature, but there's a lot of work in manually managing builds, especially for n=1 systems. Still, it didn't stop me from wanting to use it.
First impressions with Poudriere? Wow, this makes life so much easier. In the context of #IT #Operations, whoa...this goes well beyond just automating builds in dedicated jails, Poudriere now becomes the enterprise package management repo system.
Wicked sick.
Weekly #25 publié.
Au menu : File Browser s’arrête, vaultwarden 1.37.1 stabilise la compatibilité Bitwarden, HestiaCP 1.9.8 corrige plusieurs failles, GitHub teste les stacked PRs, SilverBullet 2.10 ajoute le multi-space.
Woohoo! I did a new thing!
I now have my own domain name: badnetmask.dev, registered with Porkbun. Soon I will be using it for all sorts of crazy things. Stay tuned!
In the mean time, you can check out this neat page with all my links. It has been deployed using a Little Link container, as an Azure Web App, automated using Terraform. Eventually I will blog about this adventure.
Welcome to my new "homepage"!
#HomeLab #SelfHosting #SelfHosted #Terraform #Porkbun
https://badnetmask.dev/
I upgraded a thing!
I've been running my personal "links" page on top of Azure Application Services, which is basically a "Docker Compose on steroids".
This now has been upgraded to a VM running a custom-built Fedora bootc image (still in Azure). Fully manageable via GitOps with build pipelines and auto updates. Part of the pipeline is in my private Forgejo, and part is in public GitHub.
At some point I intend to post a template so you can replicate, along with a blog post on how to do it. This was also a chance to upscale my Forgejo runners, so I'll blog about that as well.
What's the point of having a home lab designed to solve problems but you end up having more problems than the ones that it should solve?
Decision made to uninstall one of the three storage servers at my in-laws. No matter how much electricity it costs, even if it costs a kebab a year, if it seems useless, they will always challenge the cost.
I'm pretty sure that the second storage server at my dad's will retire too for the same reason anytime soon.
I do not remember who recommended this to me, but let me recommend it to you.
This USB cable tester is very convenient to keep around. It will help you clarify any doubts you might have as to whether you have the wrong cable (USB 2/3/4) or just a bad one (just power).
Sadly it also helped me realize that all my spare USB cables are either 2.0 or power only. But okay, knowing is half the battle.
Does anyone have a recommendation for a Raspberry Pi 4 (specifically 4) HAT that can provide PoE *and* a full size NVME at the same time?
I have the official PoE HAT, but it doesn't provide enough power for an NVME connected via USB enclosure, and I would prefer to keep the PoE if possible (since I can use it as "poor-man's remote reboot").
And, in case you're wondering: I do have a PoE splitter dongle sitting idle in a cabinet, but I would prefer to avoid it because of the Pi's USB-C position. But I would move it around if there isn't a better way.
Are there any #networking and/or #homelab types out there who can offer an answer to a question I have?
J’ai ajouté une page Apps sur Cryptolab : un annuaire perso de projets open source à tester, auto-héberger ou garder sous le coude.
Pas un classement, pas une recommandation de prod. Juste un outil de tri pour éviter de repartir de zéro à chaque veille.
In 2024, I went to LA to give a talk about how I made my own cloud storage to backup my pictures, documents, but also the ones of my family. I have chosen Seafile but it didn't work as expected. It filled the disk of my dad. At that time, I was suggested to try Nextcloud.
Today's the day, after 2 years. I've set up the latest docker image, spawned a PostgreSQL database, created some users, directories and uploaded files. Everything went well.
Then I started to install the mobile app to sync pictures from my phone and the desktop app to sync my documents. And things got spicy. The mobile app has uploaded 1200 files in... a day, with hundreds of errors I had to dismiss. The desktop app has uploaded 6 files in an afternoon, out of 1700, then stopped with failure. Why can't we have the performance of rsync with the user fiendly interface of nextcloud?
Weekly #24 publié.
Au menu : changements de gouvernance chez Jellyfin, position de Codeberg sur les projets générés par LLM, API SmartThings payante, Vikunja 2.4.0, vaultwarden 1.37.0, Pangolin, Nextcloud et degoog.
Periodic reminder for people interested in #HomeLab and #SelfHosting
There is a @homelab bot that replaces the old gup.pe homelab bot.
Mention it in your homelab or self hosting posts and it will boost them. Follow it to see all the homelab posts it boosts that may not normally get federated to your instance.
For those who don’t know, these bots exist because when you look for a a hashtag, your server only checks the posts that have been federated to it.
In order for a message to be federated to your server, the author (or one of the people boosting it) have to be followed by someone on your server. If no one touching the message is being followed, it’ll never get federated to your server and you won’t see it.
Hashtags are great for finding messages, but only messages that were federated to your server. They don’t help message propagation.
Neuer Artikel im Blog.
„Gibt's für podman eigentlich auch was Grafisches?" Ja, gibt es. Nur läuft die GUI da, wo der server gar nicht ist.
podman desktop sitzt auf dem Notebook, die container hängen per SSH am server. Es zeigt übrigens auch docker-container an – docker desktop umgekehrt keine podman-engine. Die Kompatibilität ist eine Einbahnstraße.
Wer pod automatisieren gelesen hat, weiß sofort, welchen Socket er braucht.
le champ des possibles est infini (ou presque)
Bon dimanche, prennez soin de vous et aujourd'hui surtout : faites vous plaisir !