PHIPS BLOG

  •  Home
  •  Get To Know Me

Linux

Programming & DevOps

Programmatically Start Long-Running Command via SSH in Background and Disconnect (and get the PID)

UPDATE: Turns out, I googled the wrong thing/keywords. There is a helpful answer on StackOverflow. It was surprisingly difficult to programmatically start a long-running command via SSH in background and disconnect the SSH session immediately. So, in case you need help, here’s how I did it. The final solution is Read more…

By Philipp Schuster, 1 month2025-03-26 ago
Programming & DevOps

Quickly Boot a Minimal Linux Kernel + Initrd in Cloud Hypervisor or QEMU

For various reasons, such as OS development, it is convenient to quickly start up an instance of QEMU or Cloud Hypervisor with a custom kernel and initrd. However, often the major struggle is to get some kernel and some initrd, i.e., the boot items, quickly and easily. Scope Foremost, this Read more…

By Philipp Schuster, 1 month2025-03-18 ago
Archer TX20U Nano
Programming & DevOps

Enabling TP-Link Archer TX20U Nano on NixOS and Linux 6.12

Recently, I’ve bought a TP-Link Archer TX20U Nano WiFi USB dongle (vendor website) for my desktop PC. The driver for Windows is provided by the stick itself, as it exposes a storage volume with the Windows driver on it. On Linux, the Windows driver doesn’t work, of course. However, with Read more…

By Philipp Schuster, 5 months2024-12-12 ago
Programming & DevOps

Configure a systemd Service to Perform Side Effects and Corresponding Cleanup

Problem and Motivation For a Linux-based demo setup, I need certain side effects and corresponding cleanup steps every time the system boots or relevant system configuration changes. I’m using NixOS, and systemd is the easiest and most powerful way to manage setup tasks at system startup or on substantial system Read more…

By Philipp Schuster, 10 months2024-06-24 ago
Programming & DevOps

Compile Linux out-of-tree Module on NixOS in a Nix shell with an FHS Environment

In an earlier post, I talked about how you can build an out-of-tree Linux kernel module in a Nix derivation, i.e., package it in Nix. However, for quick prototyping, sometimes you want to just enter $ make in your shell, for example to check if everything compiles. Out-of-tree module projects Read more…

By Philipp Schuster, 1 year2024-04-10 ago
Programming & DevOps

systemd udev Rules to Detect USB Device Plugging (including Bus and Device Number)

The other day, I was working on some udev rules to invoke a script when a USB device is added or removed from my machine. I needed the USB bus and USB port number to further process that event. I decided to use udev for that. However, getting the relevant Read more…

By Philipp Schuster, 1 year2024-03-26 ago

Posts pagination

1 2 3 Next

Because this blog is a few years old and used to be a more or less personal german blog, old posts are in german. Newer posts are in english.

  • Impressum
  • Datenschutzerklärung
Hestia | Developed by ThemeIsle