Interrupt driven GPIO with Python

Fri 08 March 2013 by Lars Kellogg-Stedman Tags raspberrypi hardware

There are several Python libraries out there for interacting with the GPIO pins on a Raspberry Pi:

All of them are reasonably easy to use, but the Quick2Wire API provides a uniquely useful …

read more

Controlling a servo with your Arduino

Thu 07 March 2013 by Lars Kellogg-Stedman Tags arduino hardware

I've recently started playing with an Arduino kit I purchased a year ago (and only just now got around to unboxing). I purchased the kit from SparkFun, and it includes a motley collection of resistors, LEDs, a motor, a servo, and more.

I was fiddling around with this exercise, which …

read more

A quote about XMLRPC

Mon 25 February 2013 by Lars Kellogg-Stedman Tags puppet

I've been reading up on Puppet 3 lately, and came across the following:

XMLRPC was the new hotness when development on Puppet started. Now, XMLRPC is that horrible thing with the XML and the angle brackets and the pain and sad.

(from http://somethingsinistral.net/blog/the-angry-guide-to-puppet-3/)

...which also accurately …

read more

A systemd unit for ucarp

Thu 21 February 2013 by Lars Kellogg-Stedman

In Fedora 17 there are still a number of services that either have not been ported over to systemd or that do not take full advantage of systemd. I've been investigating some IP failover solutions recently, including ucarp, which includes only a System-V style init script.

I've created a template …

read more

Running dhcpcd under LXC

Fri 01 February 2013 by Lars Kellogg-Stedman

I've been working with Arch Linux recently, which uses dhcpcd as its default DHCP agent. If you try booting Arch inside an LXC container, you will find that dhcpcd is unable to configure your network interfaces. Running it by hand you will first see the following error:

# dhcpcd eth0
dhcpcd …
read more