Posts from 2013-06

Reliable System to Switch a PC on / off Remotely

This subject is sometimes also called lights out management (LOM).

The Goal

To switch your computer (or any other hardware) on/off remotely you have a couple of options:

  1. Use hardware to cut the power of your device.
  2. Use hardware to imitate pressing the power button of your devices.
  3. Use software to log in to...

Read on

Philips Streamium MC-i200 – Streaming Protocol

PC-Link Protocol

This is a mirror of the protocol description on http://www.siteswap.org/streamium/protocol.html.

  • PC-Link Client: Streamium
  • PC-Link Server: PC

Here's an example PC-Link client server interaction (note that the HTML headers have been omitted):

1) Client sends the following UDP broadcast on port 42591:

<PCLinkClient>
  <Version>1.0</Version>
  <Name>MC-i200</Name>
...

Read on

wsgi-request-logger - Logging HTTP Requests With Any WSGI Web Application like Flask, Bottle or Django

I like WSGI (micro-)frameworks like Bottle, Flask or Django and used them for a couple of web applications so far. One thing that I wasn't able to do properly was request logging. It either wasn't in a format I liked, was dependend on the server implementation of WSGI...

Read on

Disable spotlight indexing on Mac OS X

Here are my notes on disabling spotlight indexing (temporarily). I need this sometimes, for example when copying large contents of a disk to a different volume. When that disk is connected to the Mac, it directly starts indexing and that is really annoying because it slows down the file transfer...

Read on

Logging Requests With Bottle Web Applications

Please note that I gave up on this project and started the more generic wsgi-request-logger instead. See this post.

The reasons to do so, are as follows:

  • A bottle plugin is not being called when a non-existent route (404) being hit.
  • A bottle plugin has problems with 500 server errors. It...

Read on

Software I Install Right After Flashing A Bleading Edge OpenWrt trunk Version

Here are a couple of packages I install whenever I upgrade to a new trunk version of OpenWrt. I do this because the ability to install all those packages will only last for a couple of days until there will be a new trunk version with a different kernel. So...

Read on

Using the Raspberry Pi Camera Board on Arch Linux ARM

Update 2014-01-14: There is now a completely Python-based camera-interface for you to work with: picamera

Preparations

Add /opt/vc/bin to your $PATH:

# To add /opt/vc/bin temporarily to your $PATH:
PATH=$PATH:/opt/vc/bin

and set up your /boot/config.txt to contain the following:

gpu_mem=128
start_file=start_x.elf
fixup_file

Read on

OpenWrt on a TP-Link TL-WDR4900 Router

The TL-WDR4900 is a Gigabit router made by the Chinese network equipment producer TP-Link.

Hardware Information

CPU Flash RAM Network WAN USB Serial
P1014 16MB 128MB 4x1 GigE 1x1 GigE x2 v2.0 Yes

The most important chips:

  • CPU: Freescale Semiconductor P1014
  • Switch: Atheros AR8327N
  • WiFi:
    • 2.4 GHz: Atheros AR9381
    • 5 GHz: Atheros AR9580

The power supply of this device has...

Read on

WiFi Adapter "Siemens Gigaset USB Adapter 54" on Arch Linux ARM / Raspberry Pi

I have the Siemens Gigaset USB Adapter 54 v2 with a Prism54 chipset. It has the USB vendor/product ID 083a:4521:

Bus 001 Device 008: ID 083a:4521 Accton Technology Corp. Siemens S30863-

Read on