Saturday, October 22, 2011

Arch Linux on a Pogoplug

The hard drive that I was using for Time Machine died (I/O errors), so I went to Best Buy to get a new one.  While I was there, I noticed that they had a Pogoplug which I also purchased. 

Although the box said the model number was a POGO-P21 (which is the model number for the Pogoplug v3), the sticker on the Pogoplug itself said that it was a POGO-E02 (Pogoplug v2). While the v3 has a faster processor, the v2 has more memory (256 MB vs 128 MB).  I didn't notice until just now that I could have installed Optware on it and kept access to my.pogoplug.com.  Instead, I installed Arch Linux ARM on it (on a 2 GB flash drive).  In retrospect, I probably could have done what I wanted with Optware, but since I already have Arch Linux working, I'll probably leave it as is.

I used pacman to install ffmpeg on the Pogoplug and configured my netcams to upload to it instead of my Western Digital MyBook Live since the ffmpeg binary on Arch Linux includes the mpeg4 and H.264 codecs where as the MyBook does not.  Encoding to H.264 is too slow, so I'm encoding to mpeg4 (I was encoding to motion jpeg on the MyBook).  Although I am storing the images and videos on a 16 GB flash drive (formatted ext2 to reduce flash wear), I'm uploading the compressed files once a night to the MyBook for easier remote access and more permanent storage.

No comments:

Post a Comment