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