Recovering a kurobox pro
I had a Kurobox Pro booting Debian off the internal hard drive as described at http://www.cyrius.com/debian/orion/buffalo/kuroboxpro/index.html. Unfortunately, the internal hard drive died. Here are the steps I took to get it booting from the internal flash again.
Installing euca2ools on os x
Download the tag of the latest stable euca2ools release from github. Install virtualenv with ‘sudo easy_install virtualenv’ and homebrew following their instructions if you haven’t already.
How nethogs works
There are a lot of underappreciated monitoring utilities for linux. From time to time, I plan to dive into one and write up what it’s useful for and how it works. I’ll start with nethogs. Unlike most network monitoring tools, nethogs breaks down traffic per-proccess rather than per-host or per-protocol. Its focus is answering the question “What program is using my bandwidth?”. It provides a top-style interface for real-time monitoring. So how does it work?
Automatically fixing the gnu screen environment
Stale environment variables, particularly those related to SSH agent and X11 forwarding, are a well-known problem for GNU Screen users. Search google and you’ll find many solutions to this problem (including one from my fellow Athenian Sam Rowe), but I wasn’t happy with having to manually run a command to fix each screen window. Thus, I whipped up a script I call rescreen.