Tag Archive: php


Tinkering with Raspberries

So… I got myself a Raspberry Pi. Well, actually two, but maybe we try to take it a bit slower and follow things in, more or less, chronological order.

So, again, I got myself a Raspberry Pi.
Why did I do it? Because I really like streaming. As I have mentioned in “Finally my TV does all the stuff I want” the first thing I do with a DVD after buying is ripping it in  order to be able to play it without having to use the DVD.
But I also don’t really like watching movies on my PC, which is where streaming enters the stage.

In order to allow my family to enjoy those movies while I’m not at home, equally without using and potentially damaging my precious DVDs, I used to leave my PC running, which of course consumes a lot of electricity, most of the time for absolutely nothing. And of course I was limited in my options switching between Linux and Windows (which I use for gaming) if somebody was watching a movie, or my family couldn’t watch movies because I was playing something.

Continue reading

The Executioner: binfmt_misc

The Linux kernel offers a vast array of functions that can be influenced from userspace, accessible through virtual filesystems like /proc or /sys.
While some functions are well known and used by many, IP Forwarding for example, there are also many functions which are not so frequently used, and probably unknown to the majority of users.
Nonetheless there are some interesting ways to influence your system’s behavior.

One of these functions is binfmt_misc, a kernel module with the ability to make virtually any file executable.

Continue reading