r/PocketMainframe • • Jul 18 '24

Alpine Configuration Framework - ACF

1 Upvotes

To administer r/AlpineLinux , there is a native web administration interface created by the official project whose first trace dates from November 2007!

It is coded in r/Lua and structured in MVC (model-view-controller)

Haserl interprets JS and HTML and renders the CGI script.

We choose r/nginx and its FastCGI Wrap Alpine Linux module, as server.

According to Alpine Linux Wiki:

A full webmin (Perl), RoR or PHP implementation each require several MB of installed code, and can have very slow startup times, especially when used in "cgi" mode. After evaluating many options, we found that Lua has the following advantages:

  • It is small (typically ~200KB of compiled code)

  • It compiles and runs much faster than PHP, Perl or Ruby

  • It provides a "normal" scripting language with features similar to PHP, perl, java, awk, etc.

Haserl + Lua provides a 'good enough' toolset to build a full-featured web application.

Run on RAM - Gun Zip Compression - Small Custom Integrated API

This is an example to auto check Alpine Linux version from Alpine Offical Website and build version URL to check last version changes on offical Alpine website.

We also added :

  • Live Uptime dynamic counter (up to century 😅)

  • Live CPU Temp (°C or °F) and it's chart

  • Live RAM use and it's chart

  • ...

And many others upgrade in a modern dashboard!


r/PocketMainframe • • Jul 16 '24

ATX & ITX - PSU Power Efficiency

1 Upvotes

🔋 The energy efficiency of our beloved motherboards based on the different generations of Intel LGA socket

Despite immense effort on the part of the two founders Intel and AMD some computer equipment does not yet benefit of powered efficiency.

This is notably the case for network equipments and more particularly those intended for the general public.

ISPs have brought their own sh**ty modem/router into every home around the world. Here, in France and in Europe in general, there is no obligation to use their equipment to connect to their network. Past year I was two boxes to access the Internet (ONU + Router) + TV decoder and my personnal small server.

The proliferation of equipment leads to higher electrical consumption and lower performance due to interconnections and economic considerations. The ability to repair this equipment is almost zero! The time of repair or exchange is very long and the possibilities of upgrade are innexistant.

⚡ We need a 24/7 low power and high performance solution

There is some PSU solutions and we have sized the project for.

  • ATX (Flex ATX - SFX etc...) - most have Titanium 96% efficiency @ 50% load min on market 800W (=> 400W @ 96% )

  • AC/DC Standart PSU Brick - Ugly, warmest and not efficient (≈ 79% - 85%) no efficiency informations max 300W

  • AC/DC Gallium Nitrite - Smallest - More efficient (≈ 85% - 89%) Start from 45W to 300W no efficiency informations except some manufacturer

There is only one from factor motherboard that can powered with AC/DC connector :

THIN MINI-ITX (Mainframe Manufacturer)

⚡ We swap the right one with left one: Nitrure Gallium AC/DC 19.5V - 11.8A @ 230W

More space - Less warm - More efficiency (Waiting a wattmeter plug for science comparaison) 🔎

Actually powered this motherboard with TRINITY on 👇

AAEON EMB-H81B

  • Fanless CPU @ 35W TDP (Max Intel Haswell i7-4785T) LGA1150

  • 2 DDR3 @ 1600 MHz 16Go Max Installed

  • 2 SSD 1To SAMSUNG

  • 1 PCI-e X1 - 4 LAN RTL8111H (Work on fiber SFP ONU with ODI web)

  • 1 Wifi Mini-PCIe router card MT7612EN 2.5GHz/5GHz

  • 1 mSata II SSD SAMSUNG 840 EVO

UPGRADE TO AAEON EMB-Q87A

  • 4 Sata III

  • 1 PCI-e X4

  • 1 mSATA III

  • 4 USB 3


r/PocketMainframe • • Sep 27 '24

XGPON ODI DFP-34X-2C2 FOR Altice/SFR FTTH

Post image
2 Upvotes

r/PocketMainframe • • Sep 10 '24

Disk List Improvement

Thumbnail
gallery
1 Upvotes

r/PocketMainframe • • Oct 21 '24

Set up XEN Alpine Linux with what I have left on hand for production 😂

Post image
1 Upvotes

r/PocketMainframe • • Jul 05 '24

Project History

1 Upvotes

Pocket Mainframe

(aka Home Mainframe) Begin of the story - Re-use a screen broken laptop motherboard to get an home server, home theater and small Nas. Board from:

TOSHIBA P875-101

  • 4 DDR3 Up to 32Go

  • Intel Core i7 3610QM - 4 Cores | 8 Threads - TDP 45W - No fanless yet but semi-passive

  • NVIDIA GeForce GT 640M

  • 3 SATA III (convert optical drive)

  • 1 HDMI

  • 1 LAN

  • 1 LVDS

  • 2 USB3

  • Battery Removed - Low powered @ 90W power supply

🧪 Prototype N°1 - 2020

Then want to find and test in a well know Thin Mini-ITX standard

Since⚡cost more and more - It's important to power saving all my electrical material, and preserve the planet at my scale 🌳 So PCs and Server are warmly involved...

(2x 500W = 1000W power supply previous 2020 config)

So at this point, I'm convinced that I now need material that I can easily re-use/repair/upgrade - 3 essential points. A virtuous cycle!

🟪 TRINITY Project was born

So to test it in prod env, I need a basic material, according to my old one (LGA 1150) and my new philosophy. So I'm gone to search an industrial grade thin mini-ITX Find this one refurbished:

AAEON EMB-H81B

  • 2 DDR3 Up to 16Go

  • Intel Core i3 4160T - 2 Cores | 4 Threads - TDP 35W - Fanless

  • Integrated Graphics up to 1Go

  • 2 SATA III

  • 1 SATA II + 1 mSATA II

  • 1 HDMI

  • 2 LAN

  • 1 LVDS

  • 2 USB3

  • 1 PCIe X1 (4 LAN basic NICs to build a gateway)

  • Standard PC I/O

  • Low powered @ 120W power supply

🧪 Prototype N°2 - 2022

See on | FanlessTech

This is an important achieve goal here. Set test & stress on this x86 fanless board:

  • Definitly choose r/AlpineLinux fit on (and all others)

  • Definitly choose LGA sockets (Intel or AMD)

  • Definitly choose So-dimm RAM sockets

  • Definitly choose sata or nvme emplacement (1 minimum)

Want to remove my sh***ty internet provider router too - so we install an 1x PCIe 4 ports Ethernet card

Other extensions like PCIe or LVDS can be add for special applications

And can mod and maybe upgrade my AIO Lenovo B750

Sure I get the way with low powered CPU 💜

Final Target in Project Intro

I'd like repair and upgrade things like this (repair USB key), so get it and think of that for this project!

🧪 Prototype N°2a - 2024

Upgrade 2024 AAEON EMB-Q87A

Handle FTTH natively for Alpine Linux (September 2024)


r/PocketMainframe • • Sep 27 '24

TRINITY FTTH Barebone

Post image
1 Upvotes

r/PocketMainframe • • Jul 05 '24

Dashboard Version

1 Upvotes

🟦 Alpine ACF Stock Web Dashboard Screen

🟦 Alpine ACF TRIИITY Skin Dashboard 2023

🟪 TRIИITY Dashboard App 2024


r/PocketMainframe • • Oct 10 '24

Goal Achievement ! Less than 30W in Idle ⚡

Post image
1 Upvotes

r/PocketMainframe • • Sep 08 '24

Demo Update @ dashboard.trinity-net.com

Post image
1 Upvotes

r/PocketMainframe • • Aug 21 '24

Add Application category with SSH status to Demo

1 Upvotes

🟪 Allow Apps category on menu for SSH status link on Demo website :

User ID: alpinist

Pass: Cl1mb!ng

https://dashboard.trinity-net.com/cgi-bin/acf/openssh/openssh/welcome


r/PocketMainframe • • Aug 23 '24

Disk List Alpine Linux ACF - Dark Mode

Post image
1 Upvotes

r/PocketMainframe • • Aug 31 '24

Another aerial landscape view background

Post image
1 Upvotes

r/PocketMainframe • • Jul 04 '24

Project Intro

1 Upvotes

Hi,

An example or a description is better than a long speech:

"Let’s say that I am a gamer, a geek or having a home labs and I am looking for a powerful network equipment, not needing to be teawked, able to be resilient and efficient?

I also have a small website and a NAS… That is 5 connected devices and can perform since dependent on the weakest, the ISP modem/ router."

🟨 ONU

🟨 Modem/Router

🟨 Web Server

🟨 NAS

🟨 TV Decoder

As it remains connected 24/7 it is necessary that prototype does not consume more than 100W

The challenge is to combine all this in a modular, efficient and sustainable environment.

Passionate and System Integrator in my spare time, I do not sacrifice performance to power (TDP).

TRINITY it's:

✅ Thin Mini-ITX motherboard (170mm x 170mm x 25mm) 12v/24v DC only

✅ LGA Socket

✅ PCI-e Port

✅ Fully Fanless

✅ A complete operating system ( r/AlpineLinux ) loaded in full memory at boot.

✅ A Hypervisor Type 1 (XEN Alpine Linux) also fully loaded in memory.

✅ XFS for all disks

✅ A modern dashboard to manage r/AlpineLinux with Cpu temp & memory load...

✅ A flat box with noble and renewable materials (wood, copper and aluminum)

Today max base config avaible:

LGA1700 and I9-13900TE @ 5.00 GHz - 35W Max TDP

ASROCK IMB-X1240-WV (W680 chipset) Up to 96GB SO-DIMM (48 per DIMM) 5600 DDR ECC and PCI-e Gen5 X16. Industrial Grade Board.

🟪 Follow me on:

GitHub: github.com/trinity-labs

GitLab: gitlab.alpinelinux.org/trinity-labs

Mastodon: defcon.social/@trinity


r/PocketMainframe • • Jul 25 '24

Project Demo

2 Upvotes

Hello,

We want to test the robustness of the operating system that we have chosen for TRINITY.

So we put it online here!

dashboard.trinity-net.com (Alpine Linux Skin)

  • User: alpinist

  • Password: Cl1mb!ng

More precisely, we have put online the web management interface in a container. You can see the new design and test some features.

For security reasons we have limited some actions of the role production of user alpinist

The development is continuous and there may be some bugs or service interruptions but we are constantly working on it. You will thus benefit from:

🟪 Docker build every day

🟪 Build with Lua 5.4.7

🟪 Last Alpine Version (3.20.2)

🟪 Load & run on RAM

🟪 Run full Nginx

🟪 Live Alpine Version Checker

🟪 Live API

🟧 To avoid server overload, sessions are limited to 15 minutes. Automatic logout after 5 minutes of inactivity.

Also, in the interest of transparency, we log all visits, ban all abuses and report them to the ISP by mail abuse. Because this is our work and not a lamer game! Thank you for your understanding.

If you only want anonymity, we have not blocked Tor or VPN networks.

It’s public, free and opensource forever!

Obviously it run on TRINITY Pocket Mainframe Prototype N°2 💜

(View config on dashbaord)


r/PocketMainframe • • Sep 05 '24

Uptime like Git in Lua - Test mode

Post image
1 Upvotes

r/PocketMainframe • • Sep 03 '24

Alpine Linux ACF Dashboard Improvement

Post image
3 Upvotes

r/PocketMainframe • • Jul 06 '24

OS Selection

1 Upvotes

Here, we will explain why we choose r/AlpineLinux as default OS for TRINITY

☑️ Linux Kernel Based

☑️ Highly customisable OS

☑️ Support run on memory out of box (data mode)

☑️ Small footprint & small attack surface

☑️ PIE stack smashing protection out of box

☑️ Incredibly fast without intensive tweak

☑️ Trusted and actively maintened by the community

❌ Musl sucks

❌ Not enough documentation on web

❌ Overconfidence distro since 10 years

That's pretty clear!


r/PocketMainframe • • Oct 17 '26

Reverse Codex Agent in VScode

Post image
1 Upvotes

🟦 Quand tu demandes à #Codex de se #reverse… et que ça finit en extension #VSCode sous licence #0BSD 😁 en moins de 24h !

Chez moi, #Continue fonctionnait pas sous #AlpineLinux (#musl). Et je trouvais VS Code trop lent sous #Debian. Avec une préférence pour les #UI et #UX de Codex, j’ai fini par construire mon propre agent.

🟦 Malgré les critiques sur les réseaux, je trouve qu'OVHcloud reste une très bonne boîte française. Des offres accessibles, des infrastructures en France… Et de quoi s’amuser mais faut mettre les mains dans l’infra : #SysOps 😘 (Ils ont bien un hyperviseur TRINITY à moi)

🟦 Leurs nouveaux #AIEndpoints proposent une facturation à l’usage, avec des tarifs par million de #tokens. Restait à les brancher proprement : voici #TRINITY Agent 💜

Les capacités de la version que je développe :

✅ #Markdown, tableaux pleine largeur et lignes alternées
✅ #HighlightJS thème #Monokai sombre, copie du code et tableaux textuels réalignés
✅ 🇪🇺 · 🇫🇷 FR · 🇩🇪 DE · 🇬🇧 EN · 🇪🇸 ES
✅ #CSP stricte et protection #XSS par assainissement du HTML
✅ Variables .env, #DockerCompose et branding : nom, couleur #HEX et logos
✅ #Steering et #Queue persistante : réorienter, modifier mettre une demande en attente
✅ Historique, titres automatiques, reprise des tâches et suppression définitive
✅ Une seule fenêtre Agent active par installation
✅ Lecture et modification de fichiers, commandes locales, SSH et recherche web
✅ Validation des actions ou accès complet
✅ 8 modèles utilisables sur 22 référence, sélection manuelle ou automatique
✅ Taille, capacités et tarifs IN/OUT des modèles pour 1M de tokens
✅ Indicateurs de tests cyber et de refus lorsqu’ils sont disponibles
✅ Solde estimé via l’API OVHcloud, montants en € au centime
✅ Budgets jour/semaine/mois et limites API personnalisables
✅ Analyse locale des demandes et recherche ciblée avant envoi
✅ Contexte jusqu’à 256k selon le modèle, compaction et mémoire persistante
✅ Caches RAM/disque et Mount Point configurables
✅ Cold et Warm Start paramétrés
✅ Réponses progressives, dernière action visible et interface affinée
✅ Images avec modèles vision : en test
✅ Limitation des Emojis à ✅ et ➡️ et avec parcimonie

L’extension est disponible sur le Marketplace ; les dernières optimisations sont encore en validation locale.

🌐 https://lnkd.in/er8ak8eZ

Exemple ci-dessous avec branding OVH (ps le crédit c'est bien l'offre de bienvenue de 200€) :

#TRINITY #Microsoft #IA #Codex #ChatGPT #OpenAI (pas open du tout 😅)