We all know the sacred law of home servers and ADS-B feeders: “If it ain’t broke, don’t fix it.”
My 24/7 headless box has been running rock-solid, 100% stable, and feeding smoothly with zero issues. Absolutely no reason to touch it.
And yet… every time I read someone praise the pure, unadulterated minimalism of a “pure vanilla Debian” server install, a little voice in my head whispers: “Wouldn’t it be fun to do a fresh reinstall?”
The urge to tinker with a perfectly fine system is real. How do you guys resist (or give in to) the temptation of fixing things that aren’t broken?
Curious to hear your thoughts and any “if it ain’t broke, don’t fix it” horror stories!
Just buy a system that you can use as a spare and that’s not used for feeding That way you can play along and put it to use when something does go wrong.
That way you can safely give into the urge and play along prior to putting your operational system on that release.
That’s why I have ESXi hosts, you can emulate almost everything in an virtual environment and when needed you can roll it out into “production” systems one thing is tricky though, USB pass-through is difficult for the SDR’s in a virtual environment.
Ha! You caught me—I actually already have two spare boxes sitting right next to me!
I can’t tell you how many times I’ve plugged my Ventoy USB into them lately. I’ve never actually messed with VMs, so I stick purely to bare-metal. Right now, I’m completely torn between the pure minimalism of Debian and the ultra-lightweight charm of Alpine Linux!
That’s why bare-metal tinkering on spare machines is so addictive (and dangerous)!
Vm’s are easy enough, it’s just a virtual system inside a box. When you done you remove it again and then you can create another one (depending on your setup) on the system.
For example I have VMware running on a 32 GB MicroSD card inside one of the servers, and the server itself has 5 disks.
So the operating system is actually small and it’s a toolbox where you can create other systems.
I have a Win 11 Pro virtual machine and some Debian 13 machines on one system, and other OS’es on others. That way you can even create a “new” Windows XP system if you want to play the old games from long ago without having to sacrifice hardware for that.
Other easy starting points are Oracle virtualbox, proxmox, kvm and I’m sure there are more.
Well, except that this is just a hobby for most of us. So breaking stuff, and then fixing it is a learning experience.
Regarding having another system separate from a production system to play around with. isn’t really needed either. Breaking something, and potentially lowering your aircraft count for the day (or a few days) doesn’t matter much if you aren’t in the top 100 or even top 1000. Which most of us are not.
I’m using an approach other than a virtualised solution. The important files (pi-aware config, etc) are all saved on an external drive, so I can image new micro-SD cards with alternate o/s’s, then copy the stored configs onto them to test.
Current build of Trixie, with dump-1090-fa installed, seems to be very stable indeed, and for one reason or other, seems to be detecting signals from further away than the previous Debian build did, despite using the same config.
@jimMerk2 That really woke me up! I realized I’d been trapped in an obsession that I had to keep feeding 24/7 without interruption.
You’re so right—it’s a hobby after all. Reminding myself of that makes tinkering with KVM and trying new things feel much more liberating and fun again. Thanks for the perspective!
@abcd567 Love the classic code one-liner! I told Gemini about your code, and it came up with its own optimized version: while hobby: keep_tinkering() if not broke else learn_something_new()
@TonyLeverett That’s very interesting about Trixie picking up signals further away! Now that I have KVM ready, testing all those OSs I’ve been curious about inside a VM sounds like a great next experiment without risking my main system.
Well, enthusiasm got the better of me, so I gave KVM virtualization a spin… but wow, write speeds on the external USB HDD were painfully slow!
Even lightweight distros like antiX took forever to install, so I had to throw in the towel. Turns out, for quick testing, good old bootable USB flash drives are still unbeatable! Back to the trusty USB sticks for now.
I have been using Oracle VM installed on Windows 11, and running Debian and Ubuntu through it. My problem is that the DVB-T dongle (used by dump1090-fa or readsb) plugged into USB port of Windows PC has issues in passing through to Debian, making mlat to complaint about timestamp / clock.
If I switch from Oracle VM to KVM, would this problem be solved?
Google AI Gemini’s Response:
Simply switching from Oracle VM VirtualBox to KVM will not solve the problem, and ironically, it might actually make it harder.
Because your primary host operating system is Windows11, you cannot run native Linux KVM directly as your primary hypervisor. To use KVM under Windows, you would have to rely on nested virtualization inside another hypervisor (like WSL2 or Hyper-V), which adds another layer of virtualized USB encapsulation and introduces the exact same data-packet delays.
MLAT (Multilateration) requires incredibly strict microsecond-level timing accuracy. The FlightAware/mlat-client calculates aircraft positions based on the precise timestamps attached to the radio signals received by your DVB-T dongle. When passing a raw SDR (Software Defined Radio) USB stream through any standard virtual machine layer (VirtualBox, KVM/QEMU, or WSL2), the virtualization layer introduces microscopic, erratic latency spikes and drops packets on the floor.
Fortunately, you do not need to ditch your VM to fix this. There are two proven solutions that circumvent virtual USB timing issues entirely.
Solution 1: Direct Network Feed (Highly Recommended)
Instead of forcing the Debian VM to read raw hardware data through a virtualized USB port, let Windows handle the hardware natively. You then stream the processed, perfectly-timestamped data into your VM via a stable network port (TCP).
Download dump1090 for Windows: Get a Windows-native port of dump1090 (such as dump1090-win or MalcolmRobb’s repository).
Run it on Windows: Plug your DVB-T dongle directly into Windows and run the Windows binary. This ensures zero dropped packets and precise hardware-level clock timing. By default, it will broadcast decoded data on port 30005.
Configure Piaware/Debian over the Network: In your Debian VM, disconnect the USB passthrough entirely. Instead, tell your flight tracking software to look at your Windows host IP address for the data strea
Inside your Debian VM terminal, run:
sudo piaware-config receiver-type other
sudo piaware-config receiver-host 192.168.X.X # Replace with your Windows PC local IP
sudo piaware-config receiver-port 30005
sudo systemctl restart piaware
Set RECEIVER=none inside your Debian VM’s /etc/default/dump1090-fa config file so it doesn’t try to look for local USB hardware.
This shifts the heavy lifting of the USB timing onto native Windows code, passing clean data packets to Debian where MLAT will sync flawlessly.
Solution 2: Tweak VirtualBox USB Settings (If you must use Passthrough)
If you are determined to keep the hardware bound strictly inside the VM, your timing issues are likely caused by the VirtualBox USB controller emulation mode.
Shut down your Debian VM.
Open the VM Settings > USB.
Change the USB controller from USB 2.0 (EHCI) to USB 3.0 (xHCI)—even if your DVB-T dongle is a USB 2.0 device. The xHCI controller in VirtualBox processes data packets in a fundamentally different, much more efficient way, drastically reducing the packet buffering delay that breaks MLAT timing.
Ensure the VirtualBox Extension Pack is installed on your Windows host to fully support the xHCI controller.
Would you prefer to try tuning the VirtualBox USB settings first, or would you like help setting up the Windows-to-VM network feed?
If I have a laptop or PC with Debian Server installed on it (bare metal), which one is better to install on it, KVM or Oracle VM to run another Linux OS through it?
AI Gemini’s Response
If you have a bare-metal machine running Debian Server as your host OS, KVM is by far the better choice.
In fact, since your host is bare-metal Linux, you shouldn’t use Oracle VM at all. (Note: VirtualBox is technically an Oracle product, but on a headless server, running it is highly inefficient compared to a native Type-1 hypervisor like KVM).
Why KVM is the Clear Winner on Debian
Native Kernel Integration: KVM is built directly into the Debian Linux kernel. It turns your Debian Server into a bare-metal (Type-1) hypervisor. Your virtual machines will run with near-native hardware performance, using the host’s actual CPU schedules and memory management.
Flawless USB Passthrough: Because KVM runs natively at the kernel level, its USB passthrough is incredibly low-latency. If you ever move your DVB-T dongle to this Debian server, KVM passes the raw hardware to the guest VM with virtually zero packet delay, meaning your MLAT timestamp/clock issues will completely disappear.
Extremely Lightweight: KVM doesn’t require a heavy graphical user interface on the host. It uses minimal system resources, leaving almost all your RAM and CPU power for your guest operating systems.
Industry Standard for Linux: Managing Linux guests (like Ubuntu or another Debian instance) inside a Linux KVM host is the gold standard for enterprise servers and cloud infrastructure.
How to set it up on Debian Server
Setting up KVM on a headless Debian server is straightforward. You can install the hypervisor and manage it entirely from your web browser or another computer.
Use code with caution.
2. Choose your management tool:
Cockpit (Highly Recommended): Debian has an official web console called Cockpit. It allows you to create, start, stop, and configure your KVM virtual machines through a clean web browser interface.
sudo apt install cockpit cockpit-machines
Once installed, you just navigate to `https://your-server-IP:9090` in your browser.
Virt-Manager: If you prefer a desktop application, you can install virt-manager on a separate Linux computer or use X11 forwarding to manage the server’s VMs graphically.
If you decide to go the KVM + Debian Server route, do you plan to run it headless (command-line/web interface only), or will the server have a desktop environment attached to it?
I am not sure, but think that if you want to try / run different OS, KVM will not require formating the HD and installing iso, every time you want to run a different OS..