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/













Saturday, August 23, 2025

Fwd: 10 features recently added that you probably didn't notice on Windows 10

Some of these like the "Manage mobile devices feature" may be worth checking out for Win-10 & 11:
"...  in the newer version of the operating system, you can access other features, such as the ability to manage your phone storage from File Explorer, use your phone camera as a webcam, and more."
The "Windows Backup with file transfer to new PC" feature may also be useful when upgrading.

Saturday, August 16, 2025

NVMe SSDs - specifications & history


NVM Express (NVMe) or Non-Volatile Memory Host Controller Interface Specification (NVMHCIS):
" Architecturally, the logic for NVMe is physically stored within and executed by the NVMe controller chip that is physically co-located with the storage media, usually an SSD. Version changes for NVMe, e.g., 1.3 to 1.4, are incorporated within the storage media, and do not affect PCIe-compatible components such as motherboards and CPUs.[3]"

M.2 (pronounced "M-dot-2"),[1] formerly known as the Next Generation Form Factor (NGFF):
"M.2 supports a variety of module sizes and interface types, offering greater flexibility for modern devices. It is widely used in compact systems such as ultrabooks and tablet computers, particularly for solid-state drives (SSDs)"
"M.2 modules can integrate multiple functions, including the following device classes: Wi-Fi, Bluetooth, satellite navigation, near field communication (NFC), digital radio, WiGig, wireless WAN (WWAN), and solid-state drives (SSDs).[7]"

What Else Is An M.2 WiFi Slot Good For? 
"Many mainboards and laptops these days come with a range of M.2 slots, with only a subset capable of NVME SSDs, and often a stubby one keyed for 'WiFi' cards. Or that's what those are generally intended to be used for ... you can get a lot of alternate expansion cards for those slots that have nothing to do with WiFi."
"... includes adapter cards that add Ethernet (1 Gb, 2.5 Gb), USB 2.0 ports, SIM card (wireless adapter?), an SFP fiber-based networking adapter, multiple M.2 to 2+ SATA port adapters, tensor accelerator chips (NPUs) and even a full-blown M.2 to x16 PCIe slot adapter."

PuTTY: a free SSH and Telnet client

PuTTY  is an SSH client for Windows and Unix, including an xterm-style terminal emulator.
"PuTTY is a communications tool for running interactive command-line sessions on other computers, usually via the SSH protocol. It can also communicate over a serial port, or speak various legacy Internet protocols such as Telnet."
" PuTTY (/ˈpʌti/)[4] is a free and open-source terminal emulator, serial console and network file transfer application. It supports several network protocols, including SCP, SSH, Telnet, rlogin, and raw socket connection. It can also connect to a serial port."
"PuTTY comes bundled with command-line SCP and SFTP clients, called "pscp" and "psftp" respectively, and plink, a command-line connection tool, used for non-interactive sessions.[9]
PuTTY does not support session tabs directly,[10] but many wrappers are available that do.[11] "
Guide to installing PuTTY and making SSH connections:
"PuTTY serves as a popular terminal emulator that supports SSH, Telnet and serial communication needs. Network administrators, developers, and IT professionals typically use PuTTY for secure connections with remote systems along with server management and command execution needs in a protected space. PuTTY functions as a bridging tool that enables users to access remote computers along with network devices through encrypted connections instead of restricting itself to a single system like traditional command-line interfaces."


Wednesday, August 13, 2025

FreedomBox on Raspberry Pi: Host a Private Server Easily

" FreedomBox is an innovative solution part of the Debian project which allows you to create a private server with minimal setup."

" FreedomBox is a private server for non-experts: it lets you install and configure server applications with only a few clicks. It runs on cheap hardware of your choice, uses your internet connection and power, and is under your control."


Running AI LLMs on older hardware

You Think You Need a Monster PC to Run Local AI, Don't You? — My Seven-Year-Old Mid-range Laptop Says Otherwise
"...  while not what you'd call fast, it's usable. All three are still churning out responses significantly faster than I could type (and definitely faster than I can think). These were all with a 4k context length."
" You could be out and about with a laptop on battery and still getting stuff done. At home or in the office, hooked up to power, even older hardware can be fairly capable."

Tuesday, August 12, 2025

Make Your Own VPN

" Unlike third-party services that may log your data or throttle your speeds, building your own VPN ensures you decide how your data is handled. This is especially critical in an age where privacy concerns are increasing."

3 Methods To Build Your Own VPN From Scratch:
1. Using the Cloud
2. Using Your Own Router (requires an OpenVPN-compatible router)
    "... not all routers have the same hardware features, nor can they all host VPNs."
3. Using a Different Device as a VPN Server (Windows PC, etc.)
"You'll also need to set up port forwarding on your router so that your server is accessible from the internet."

Make Your Own Home VPN – Step-by-step Guide (scroll down to this part)
Uses an Ubuntu remote server($) with OpenVPN

"Test Your VPN:
Now that you've gone through this entire process, it's time to verify your VPN is working! All you have to do is disable your VPN, then go to DNSLeakTest (https://www.dnsleaktest.com/). It should display your current, real location. 
Now enable the VPN and refresh the page. A new IP address should appear, which means you're safe behind a wall of VPN encryption."

How To Make Your Own VPN Server:
Method 1: Router-Based VPN Server Setup
Method 2: Set Up a VPN Server on a Windows, Mac, or Other Devices - 
Method 3: Cloud VPN Server Setup

Install OpenVPN and Easy-RSA on linux ...
"Creating your own VPN offers unparalleled control and customization, but demands significant technical expertise and ongoing maintenance."

"OpenVPN is the ol' faithful of VPN protocols – and it still has use today"
"Put simply, OpenVPN allows two devices – no matter where they are in the world – to connect and communicate with each other in a protected manner. It defines how the data getting sent back and forth is encrypted, and how this information moves between servers and devices.
Part of the reason OpenVPN is such a popular VPN protocol is down to its compatibility with many operating systems. Along with that, it offers both security and flexibility to any VPN user."

"OpenVPN is also slower than some other VPN protocols, such as WireGuard. While they don't have as many features as OpenVPN does, they switch this out for both speed and efficiency. Not the end of the world, but worth keeping in mind if you're looking for the absolute top speeds out of your VPN.
Another place where protocols like WireGuard are better is when it comes to newer encryption protocols. OpenVPN doesn't support some of these newer versions."
"Alternative options such as WireGuard or Lightway are growing quickly in popularity but OpenVPN does remain a reliable option, despite its slower nature."

"OpenVPN (https://en.wikipedia.org/wiki/OpenVPN) is a virtual private network (VPN) system that implements techniques to create secure point-to-point or site-to-site connections in routed or bridged configurations and remote access facilities. It implements both client and server applications."

OpenVPN Connect for Windows (10 or 11):  https://openvpn.net/client/

Linux Clients to Connect to an OpenVPN Server:
 https://openvpn.net/connect-docs/linux-clients.html 
"For Linux, you can use open-source Linux clients to connect to OpenVPN servers:



Make your own encrypted VPN server using Tailscale

Run Tailscale (https://tailscale.com/) on a spare home computer:
" ... you can install Tailscale on your personal devices, such as your laptop or your phone. Install Tailscale, then log into your account. You'll see your computer running at home in the list of devices in your private network."
"When your devices use your home computer as their exit nodes, all internet traffic passes through that exit node."
"Without those private keys, there is no way for anyone else — including Tailscale — to decrypt the data that flows through your VPN tunnel. With this setup, you get all the benefits of an encrypted VPN connection without having to manually generate, distribute, and handle your public keys."
"... you may want to build yourself a dedicated Tailscale device and plug it into your router with an Ethernet cable.  In that case, you could buy a Raspberry Pi, a tiny, cheap, single-board micro-computer. We recommend a Raspberry Pi 4 or Raspberry Pi 5 ..."
As with other solutions, Tailscale can also be installed in a virtual environment ...

Build a firewall & router with OPNsense

NOTE: this can be run on a dedicated mini-PC or as a virtual machine ...

OPNsense is an open source, FreeBSD-based firewall and routing software developed by Deciso, a company in the Netherlands that makes hardware and sells support packages for OPNsense. 
https://en.wikipedia.org/wiki/OPNsense

The recommended specifications to run all OPNsense® standard features ensure that every feature is functional and suitable for most use cases.

Type                                     Description
Processor                             1.5 GHz multi core cpu
RAM                                     ≥ 4 GB
Install method                       Serial console or video (vga)
Install target                          120 GB SSD

Firewall:   Stateful firewall with support for IPv4 and IPv6 and live view on blocked or passed traffic.

VPN:  Integrated support for IPsec (including route based), OpenVPN as well as pluggable support for Tinc (full mesh VPN) and WireGuard.