Saturday, August 30, 2025

3D printed cases for home computer projects

I'm building a media server out of leftover PC parts and a 3D printed case -
A little time and a lot of filament!

This futuristic 3D-printed cyberdeck has two swiveling touchscreens — and it's powered by a Raspberry Pi 5:
" The biggest design feature that caught our attention was the implementation of dual screens, lending to the need for a unique 3D printed case design. These screens are touchscreens and measure 9 inches across."

You can now 3D print your own NAS bay — the N5 Mini supports five drives and even has customizable faceplates:
"Like the original Minisforum N5, this 3D printable version has five bays, supporting up to five separate drives."

Build your Own Firewall (#2)

How to Build your Own Next-Generation Firewall (NGFW) at Home:
https://www.zenarmor.com/docs/network-security-tutorials/how-to-build-ngfw-for-home
"You can install the whole software virtually to any x86 based PC, mini-PC, or even to any virtualization platform on which a standard FreeBSD/Linux Operating system can natively run on, like KVM, VirtualBox, VMware, Proxmox, etc.
Next-generation firewalls for home use can be installed onto retired PCs, workstations, or servers. The only thing that needs to be kept in mind is that at least 8 GB of memory is required to be able to generate faster reports."
"... we strongly recommend installing OPNsense which has a robust and powerful next-generation firewall software plugin known as Zenarmor (Sensei)."

I'm done with building my own hardware firewalls (another option):

https://www.xda-developers.com/use-prebuilt-hardware-firewall-instead-of-making-one/
"With the Firewalla, everything from Parental Controls to the robust Active Protect system that's constantly being updated is all included in the original purchase cost. I don't know about you, but I'd rather pay upfront than be locked into a service subscription for the features I wanted to use."
"The biggest issue with networking gear is that many consumer-level devices use Realtek Ethernet controllers, or NICs, and those have major issues with Linux. Intel NICs are more compatible, but the low-powered devices sold as routers and firewall replacements often have other hardware components that have similar issues or quirks."

Building a budget 10gbe router/firewall with pfSense from scratch (much more speed than needed at home in 2025, but some interesting ideas):
https://drakeor.com/2021/04/14/setting-up-pfsense-as-a-router/
  • "To function as a router, we want one port to talk to the internet (WAN) while the other ports are part of the same LAN network.
  • We want the LAN devices to be able to talk to each other.
  • We want the LAN devices to be able to connect to the internet."
"If you only have one NIC attached to your virtual machine and forego attaching any others when you install pfSense, pfSense will not configure a Lan port. This will not seem like a big deal at first (since you can just add the interfaces and configure LAN yourself later), but things start to get weird.
...
If using virtualization, remember to attach ALL your NICs and configure a LAN port on initial setup!"
"Although reinstalling pfSense was a lot easier in a VM than bare metal, the performance was pretty subpar, especially in the realm of OpenVPN. This is the biggest reason I've decided to go with bare metal. Keep in mind that at the time of this writing, the hardware I'm using is about 7-8 years old so more modern machines will likely give you much better performance if you virtualize pfSense."

How to build your own firewall with pfSense -

Create your own physical or virtual appliance with this free-to-use open source software:
https://www.itpro.com/security/firewalls/355328/how-to-build-your-own-firewall-with-pfsense
"... pfSense, an open source enterprise firewall based on FreeBSD that offers features comparable to many of the most expensive big-name options on offer, along with a wide range of packages available to extend its capabilities. The best part is, as an open source solution, pfSense is completely free, and all of its features are available without any commercial licensing requirements."
"... pfSense requires a CPU with a base frequency of 600Mhz, at least 512MB RAM, one or more compatible network interface cards (NICs), a bootable USB drive or CD/DVD-ROM for initial installation, and at least 4GB of available storage - either on a hard disk, or a flash device such as an SD card."


Build Your Own Gateway Firewall:
"Through the use of open-source software (OSS), outdated PC hardware, and a little know-how, you can build a cheap and highly effective gateway firewall to protect your SOHO LAN."

How to Build a Hardware Firewall with IPFire -

Firewall your home with IPFire, a Linux distro dedicated to keeping your network ports safe.
https://www.tomshardware.com/how-to/build-hardware-firewall-ipfire
"IPFire is a dedicated Linux distro for firewalls or other network appliances. You don't need any particularly special hardware to run a firewall; an old PC or a Raspberry Pi is fine (you can find ISOs on IPFire's downloads page)., but note that at least two network adapters are required."
"If you want to use a VM for IPFire, you can use the 32-bit ISO from the IPFire/ directory on the disc. For a small installation, virtualization is unlikely to make any difference — memory requirements are low, but don't try it for a larger and more complex setup. VPN traffic encryption/decryption requires a fair bit of CPU power, so if you're planning on allowing lots of data-hungry access to your VPN, be aware of this."
"You can route your entire home network through IPFire (by setting it as the default gateway on your home router and shifting settings) or, if other users don't like the idea of sending all their traffic through the hardware firewall, you can just route selected machines through IPFire"
"If you want a VPN, you can set it up via OpenVPN with just a few clicks. Two configurations are offered — the appropriately apocalyptic sounding Roadwarrior, and the more descriptive Net-to-Net."




Wednesday, August 27, 2025

What sort of GPU do you need to run local AI

More VRAM is better - and expensive ...
" AI needs horsepower and Ollama needs GPUs, but you don't have to run out and hand over your life savings to get an RTX 5090, either."

"The RTX 3060 is something of a darling of the AI community because of its 12GB of VRAM and its relatively low cost. Memory bandwidth is significantly lower, but so is the TDP at just 170W. You could have two of these and match the TDP and total VRAM of an RTX 3090, while spending much less."

Sunday, August 24, 2025

How to Install Ubuntu 24.04 or 22.04 Linux on Windows with Hyper-V

After install, I had to reboot the virtual machine once and then Ubunutu was happy.

The install seemed pretty slow on a Win-10 Pro system with 16GB of RAM and a Core i5 - the 
Hyper-V machine has 4GB of RAM and a 200GB virtual disc drive.

Using an old PC as a Terminal for Linux

Review this and clean up later ...

Option 1 - use WSL (probably requires Win-10 or higher): 

Option 2 -  Using old computers as thin clients to connect to a Terminal server

Option 3 -  Ubuntu desktop as terminal server
"For "terminal" access you'll need a OpenSSH Server installed on your PC."

Option 4 - SSH from Windows

A couple of lightweight Linux distributions (MX Linux & antiX)

MX Linux  -  https://en.wikipedia.org/wiki/MX_Linux
"MX Linux is a Linux distribution based on Debian stable and using core antiX components, with additional software created or packaged by the MX community.[2] The development of MX Linux is a collaborative effort between the antiX and former MEPIS communities."
"Xfce is a fast and medium-low resource usage desktop environment of Xfce version 4.20 offered in 32-bit and 64-bit ISOs.[30]
Fluxbox is a window manager with very low resource usage. This edition was first released on 21 October 2021.[31] 32-bit and 64-bit versions are available."
...
MX Xfce and MX Fluxbox are available in 32-bit variants of those releases."

Download Links: https://mxlinux.org/download-links/
Xfce (our flagship desktop) - MX-23.6_386, containing a 32 bit PAE 6.1 kernel from Debian Stable, suitable for systems that are 32 bit only.

Fluxbox -  MX-23.6_386 Fluxbox, featuring the 32 bit 6.1 Debian stable kernel and a customized fluxbox environment -
"The result is a lightweight and fully functional system that has many unique features:"
"This OS functions as well on older low-capacity machines as on fast modern ones."

MX-23 Users Manual:  https://mxlinux.org/manuals/


MX Linux:  https://www.geeksforgeeks.org/linux-unix/mx-linux/
"MX Linux is a good selection if you are in search of a Linux distribution that is simple, stable, and lightweight. With its roots in Debian Stable, it is fast and efficient as well. As such, it is geared towards people who prefer a customizable, low-maintenance operating system. And no matter if you have contemporary or older hardware, MX Linux is tailored to perform optimally without compromising on user interface design simplicity and ease of use.

MX Linux stands apart from other distributions through its MX Tools, which is a robust set of utilities that make the processes of system configuration, management, and troubleshooting easy. This distribution has support for several desktop environments: Xfce (default), KDE Plasma, and Fluxbox, so the users can change it based on their needs and preferences."

MX/antiX Technical Documentation Wiki: https://mxlinux.org/wiki/
--------------------------------------------------------------------------------------------------------------------------------

antiX:  https://en.wikipedia.org/wiki/AntiX
"a Linux distribution, originally based on MEPIS, which itself is based on the Debian stable distribution.[4] antiX initially replaced the MEPIS KDE desktop environment with the Fluxbox and IceWM window managers, making it suitable for older, less powerful x86-based systems."
"antiX comes with a default desktop built on top of the ROX or Zzzfm file managers, with the GTK library and using IceWM as the window manager.[10] antiX-full and antiX-base include these stacking window managers:

    Lightweight: Rox-IceWM (default), IceWM and ZzzFM-IceWM
    Minimalist: Rox-Fluxbox, Fluxbox and ZzzFM-Fluxbox
    Very minimalist: Rox-JWM, JWM[11] and ZzzFM-JWM

Running the ROX or Zzzfm variants provides desktop icons and a drag-and-drop function. Conky provides system monitor availability."
antiX23.2:  https://antixlinux.com/
"antiX is a fast, lightweight and easy to install systemd-free and elogind-free linux live CD distribution based on Debian Stable for Intel-AMD x86 compatible systems. antiX offers users the "antiX Magic" in an environment suitable for old and new computers. So don't throw away that old computer yet!"
Downloads:  https://antixlinux.com/download/
"If you don't know or care about init systems, choose the sysVinit version."
"The iso images can be written and booted live from a cd, frugal install via hdd, from usb, etc. To make the most of using the antiX live system, particularly from a usb, it is recommended to use the antiX/MX live usb maker or Rufus ..."
Documents:  https://antixlinux.com/documents/