Category Archives: Solved Problems

Problems and solutions. Good stuff.

Cygwin for Windows XP – fast mirror

Cygwin stopped being compatible with Windows XP in 2016. Following this post on stackoverflow, you can find the setup files and a (very slow) mirror that’s compatible. I made my own, considerably faster, mirror of the last Windows XP compatible Cygwin release, at The mirror date is 2016-08-30, the 30th of August 2016 AD. […]

Killing a process tree, killing a PID and all children

Here are a couple of useful functions I wrote to kill a process tree. It’s useful when dealing with tcpserver, which refuses to disconnect a client for as long as a process it started, or a child of that process, still runs. It’s also good for tackling runaway unintentional fork bombs, rogue daemons and other […]

Making a telnet server with Bash and tcpserver

Telnet servers are everywhere. They are simple, insecure by nature, outdated, and often badly implemented. Let’s do that, shall we? 🙂 A simple way to make any command line interface listen to incoming TCP connections is tcpserver, provided as part of the ucspi-tcp or ucspi-tcp-ipv6 package on Debian. Using this, we can make any Bash […]

apt-get reports Packages not found

So.. this shit again. # apt-get update Ign jessie-updates InRelease Ign jessie-updates Release.gpg Ign jessie-updates Release Ign jessie-updates/main Sources/DiffIndex Ign jessie-updates/main i386 Packages/DiffIndex Ign jessie InRelease Ign jessie Release.gpg Ign jessie Release Ign jessie/main Sources/DiffIndex Ign jessie/main i386 Packages/DiffIndex Ign jessie/updates InRelease Ign […]

The Windows XP PowerToys, archived here for your pleasure

These are apparently slowly disappearing from the intertubes. This is my attempt at archiving them. -> DOWNLOAD HERE <- Included PowerToys: Alt-Tab Replacement Task Switcher replaces the simpler Alt-Tab switcher with a more visual one which shows live window previews. CD Slide Show Generator generates a slideshow from photos burned to a CD. ClearType Tuner […]

Duplicate bind mounts with chroots on systemd

When setting up jails, I commonly end up with structures like this in my /etc/fstab: /dev /jail/test/dev auto bind 0 0 /dev/pts /jail/test/dev/pts auto bind 0 0 /dev/shm /jail/test/dev/shm auto bind 0 0 /proc /jail/test/proc auto bind 0 0 /sys /jail/test/sys auto bind 0 0 /dev /jail/test2/dev auto bind 0 0 /dev/pts /jail/test2/dev/pts auto bind […]