Qualcomm Atheros ALX driver with WoL support



WoL support was removed in 2013 from the alx driver (used for certain Atheros Ethernet cards), because of bugs with suspend / resume functionality. My brother's server runs on an ASRock B85M-ITX motherboard, with a QCA8171 Gigabit Ethernet NIC. Without WoL, you really can't tuck it away in some clo...

Read More

Reducing Debian's footprint



This procedure is best started right after the installation. If you know how to tweak Debian's installer so dpkg already skips locales etc., even better, then you can apply this during installation. Either way, the sooner you do it, the better. Removing redundant packages You need to determine you...

Read More

Migrating to Phile CMS (Pico fork)



Pico has some performance issues which have shown itself on my Beaglebone Black. This could be remedied by using Pico's cache plugin, but that doesn't really fix the problem underneath. Then someone pointed me to Phile CMS, a Pico fork by some of its users whishing to speed up development. So I de...

Read More

Autostarting tmux with multiple windows



Tmux, a lightweight terminal multiplexer, can be configured to open multiple windows upon startup. On my server, I always found myself opening five or more windows. I'll show you how to automate this, through a systemd service file. User services go in /etc/systemd/user/. To link a service to a sp...

Read More

Inspecting power states on Debian with turbostat



Turbostat is a utility created by Intel to check your (Intel) CPU's power states. It used to be part of the acpidump package, but not anymore. There are no prebuilt Debian binaries around; Ubuntu still packages it with the linux-tools package, which is linked to the kernel. Since Debian Testing is o...

Read More

Lighttpd and Debian Jessie on your Beaglebone Black



The Beaglebone Black is a neat, compact ARM board centered around a TI SoC. With the word ARM almost synonymous to the Raspberry Pi nowadays, here's how the Beaglebone stacks up against the Pi: 1 GHz ARM v7 CPU vs. 700 MHz ARM v6 512 MB DDR3L vs. 512 MB LPDDR2 Ethernet SoC support vs. USB Etherne...

Read More

OpenWrt VLANs: a primer



The Belgian ISP Telenet supplies their TV customers with a DVR (called 'Digicorder') along with their own modem/router combination. As long as you do not implement your own network behind their modem/router, all is fine, and your DVR is fully functional ('interactive'). It's not completely clear ho...

Read More

Centralising powersaving through udev



With computer usage becoming increasingly mobile - first laptops, then handhelds, and now smartphones and tablets - power consumption has become a hot topic. Linux has traditionally been a bit lacking in this department, playing catch-up to Windows; and while it's still not nearly as easy on a re...

Read More

Manipulating MKV audio and subtitle tracks with mkvtoolnix



Matroska files often contain multiple audio or subtitle tracks. The former can take up quite a bit of space in HD rips with multiple audio streams. Editing MKV containers is not only interesting if you want remove streams; you can also integrate subtitles, set a track as default, or have XBMC gener...

Read More

Automatically shutting down an MPD server on inactivity



Nowadays all modern Linux GUIs have powersaving options that allow you, like Windows, to set timeouts for inactivity. Even 'dumb' electronics like TVs, AVRs etc. have such functionality. However, for headless Linux setups, this seems to be a problem. You can e.g. set a timeout for pm-suspend, but th...

Read More

Automating ZFS pools maintenance



If you 'value your data', as some people would say, they are not a lot of filesystems you should entrust your data to. The main Linux and Windows file systems are not fit for it, since they have not been designed to handle things like bit rot. "But I have a pimped out RAID 1/5/6 array!", you might s...

Read More

Lighttpd reverse proxy for Sickbeard e.a.



Services like Sickbeard and CouchPotato come with their own web server. This makes setting them up a breeze, but it also means you'll have multiple webservers running on your system. The built-in webserver runs on a predefined non-standard port, so as not to interfere with any regular web servers a...

Read More

Simple Lighttpd chroot on Debian



This will get you an easily maintainable chrooted Lighttpd setup with PHP and SQLite support, so you can run Drupal. Lua support is added for clean URLs, since people often want this on their Drupal setup. Originally, this was tested and deployed on Debian 7 (Wheezy), but after upgrading to Testing...

Read More

SSH agent and SSHFS



My server used to run NFS v3 so I could easily manage my multimedia collection from my local laptop. I found out a few months ago NFS v4 boasts quite some improvements over v3, so I planned on migrating. Unfortunately that never got further than the stage of building the required packages, and yeste...

Read More

DD-WRT going Sveasoft?



The views and facts in this article may be outdated. While I did my best to back up statements with reputable sources, it may contain errors. Some relevant web pages have since been removed by their authors. Rectifications at the end (marked with *). Joy oh joy. Remember the good ole days when Open...

Read More