Category Archives: Various

OpenELEC installation on the Raspberry PI

A short blog post about setting up your Raspberry PI and openElec. Nothing difficult just some basic instructions to get the PI up and running.

openELec on the Pi

First download the OpenELEC Raspbian image here. Then place your SD card in your computer; unmount it with (determine the name of the SD card with the command diskutil list )

Use the raw version of the disk to speed up writing. So instead of using /dev/diskN use /dev/rdiskN

Then unzip the zip file you have just downloaded and write the included img file to the SD card with the command:

This takes a long while to complete. On Mac OS X you can type Ctrl+T in the terminal window where you executed the dd command to check progress.

After the image is written to the SD card place it in your PI and go ahead and fire up your Raspberry PI.

Share

Configure crond on your PlayonHD from A.C. Ryan

OLYMPUS DIGITAL CAMERATwo weeks ago I bought a PlayonHD put together by A.C. Ryan. When I bought the box I was not aware of the fact that I bought a little Unix box. It turns out that you can telnet to the box and have a complete Linux system at your hands: it is called BusyBox.
Knowing that, I was wondering, if it was possible to backup (part of) the internal harddrive (2TB) periodical to a USB connected harddrive.

I knew this should be possible with the crond deamon; this tool takes care for executing a command every given time.

Out of the box my Playonhd Busybox version did not have a crond deamon compiled in. Luckily I could find one on the internet here (use save as and copy onto your PlayonHD).

For a list of commands available within the BusyBox you use take a look here.

The crond file should be created in

uname is probably root.

Example contents (every minute a echo to the specified file; take a look here to examine the crontab file format):

Start the crond daemon with:

(execute this in the diretcory where your new busybox bin is saved.

Now instead of this simple echo comand specify your copy commands here and voila; you can automatically backup your data to a USB drive.

To share your USB drive on the network edit your SAMBA configuration file; this file is stored at /usr/local/etc/package/samba/lib and is called smb.conf

Add the following to the end of the configuration file

The USB drive is visible on the network with the name USB1.

Share