Raspberry Pi goodness

Turns out that Raspberry Pi is pretty sweet! Not only is the little-computer-that-could a great project with some really laudable intentions re: education, it’s also a great platform for XBMC!

Just wanted to record some of the tips and tricks and learnings as I go through the process of learning another platform:

  1. When setting up passwordless access via SSH (i.e. using keys), the .ssh folder needs to be chmod 700, the authorized_keys and authorized_keys2 files both need to be there with chmod 600, and the key needs to be a DSA key indicated by ssh-dss in the authorized_keys file(s).
  2. Yeah, I’m not proud of this workaround (okay, maybe a little), but when you have a large video library (600+ titles), the Pi struggles a bit with reading back from the cache. So, in the short-term, I’ve installed incrontab and I’m watching the temp folder with the following line entered via incrontab -e: /home/pi/.xbmc/temp/ IN_CLOSE,IN_CLOSE_WRITE,IN_CLOSE_NOWRITE rm /home/pi/.xbmc/temp/vdb-17492a19.fi. In short, the moment that file is written, it’s deleted again. Saves about 10-15 seconds off the load time, but it’s still slow. 😦
Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s