IRadio = Raspberry Pi + Adafruit PiTFT (with buttons) + MPD + NCMPCPP + Bluetooth BeatsPill Speaker + Custom Frame Buffer Pygame code

Apache, audio, Bluetooth, Codec, Electronics, flac, LCD, Linux, Music, Opensource, Raspberry Pi, Tutorial
So over christmas holidays I spent about 5 days to perfect my raspberry pi based internet radio player. You’ll need the following hardware: Raspberry Pi model B USB Wifi dongle (something that works with Raspbian would be nice). I got this one ( from Adafruit. SD card (I’m using a 16GB card, but I think 8GB should be good to start with) Bluetooth 4.0 dongle. I’m using this one from ASUS ( that seems to work fine in Linux/Raspbian PiTFT resistive touch screen assembled from Adafruit ( Pack of 20 tactile buttons from Adafruit ( for the above screen (You need to solder these in…..very simple) Appropriate power USB power supply. Again I’m using the one from Adafruit ( Standard A to micro-B USB cable ( (optional) PiTFT Enclosure from…
Read More

Proving the Network is Not the Problem With iperf – Packet Life

Sysadmin, Tutorial, Unix
Proving the Network is Not the Problem With iperf - Packet Life: "When an application fails to perform as expected, the network is often the first thing blamed. I suppose this is because end users typically view the network as the sole limiting factor with regard to throughput, unaware of the intricacies of application, database, and storage performance. For some reason, the burden of proof always seems to fall onto networkers to demonstrate that the network is not at fault before troubleshooting can begin elsewhere. This article demonstrates how to simulate user traffic between two given points on a network and measure the achievable throughput." (Via.)
Read More

Streaming 1080P video using Raspberry Pi (or BeagleBone Black)

Apache, BeagleBone Black, C920, CLI, DIY, embedded OS, Linux, Opensource, Raspberry Pi, Streaming, Tutorial, Video
I've finally got this project to a point were I can do a write up on it. The following hardware is needed: Raspberry Pi 512K version (or BeagleBone Black) Logitech C920 Webcam 16 GB micro SDHC card (can probably do it on 8GB too) Wireless dongle supported by linux (I'm using a TrendNet TEW-645UB which was pretty much plug and play) The goal of this project is to get the following installed and configured: CRTMP streaming server C920 install and config (v4l2), ffmpeg installation, boneCV installation from Derek Molloy's site configuring ddclient for dynamic DNS (optional) putting it all together and creating a webpage with embedded JWplayer to view the stream UPDATE: Sound works now on BeagleBone Black. On Raspberry you will run into alsa buffer xruns. See below for…
Read More

Screen resolution fix for Ubuntu 10.10 running in Parallels Desktop 6.0

Linux, Parallels Desktop, Tricks, Tutorial, Ubuntu
If you try to install Ubuntu 10.10 under parallels desktop 6.0 on OSX -- atleast as of the writing of this article -- you'll soon discover that although your entire installation is done in a high (eg: 1920x1080) resolution, as soon as the install is done and you reboot, your VM is stuck at 1024x768. You can install the parallel tools using the menu option and it still won't help -- although it helps with 3D (ie: compiz). Under Gnomes System/Preferences/Monitors the highest resolution available is 1024x768 :-(. After searching around the net for the past week or so and trying just about every remedy -- which did not work -- I was about to give up, then I found the magic command that "makes it go" :-). I've now…
Read More

Fixing Plymouth (boot splash) in Ubuntu 10.10 aka. Maverick Meerkat

Linux, Tutorial, Ubuntu
If you've recently installed Ubuntu 10.10 and have installed Nvidia and/or ATI drivers -- or installed ubuntu under emulation -- you'll end up with a (butt) ugly splash screen. In my case under parallel 6.0 I ended up with a text boot screen that just read "Ubuntu 10.10"......Ughhh. Here is a quick tutorial on how to get a nice splash restored. This procedure also works in 10.04. Keep in mind that I'm doing everything with 1280x1024 screen size. your mileage might vary (ie: you might want 1024x768). You'll need to get a terminal session opened for this: Get the nice splash screen installed sudo apt-get install v86d Edit your grub config file and add the following sudo vi /etc/default/grub Look for this line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" and replace it with this…
Read More

Solaris 10 Configuration Notes: How the hell does this thing work again….

cinegrid, solaris, sun, Tutorial, Unix
It's been a while since I've had the pleasure (read: pain) of working with Sloowaris, but now that we have two 48TB Sun X4540 Thumpers in house, I have to.....Uggghhhh :-). Here are some notes:Remember sudo -i does not work. Use "su -" to get the root environment through ssh (login as regular user).The machine has 6 Controllers with 8 Disks each for a total of 48 disks.To find out all the disks that are available on your system and their Labels.....root # formatSearching for disks...doneAVAILABLE DISK SELECTIONS:To see the status of the zpool runroot # zpool statuspool: pool1state: ONLINEstatus: The pool is formatted using an older on-disk format. The pool canstill be used, but some features are unavailable.action: Upgrade the pool using 'zpool upgrade'. Once this is done, thepool…
Read More

Writing Moblin (and Ubuntu) USB images using dd in OSX

Apple, Linux, Macintosh, OSX, osx Server, Tutorial, Ubuntu
I came across this problem this morning, while writing the newly downloaded moblin USB image file. The concept is straight forward, plugin a 1GB+ USB stick into a functioning Linux or Windows box, make sure the stick is not mounted and use dd to write the disk image to the stick. Under OSX however the instructions for unmounting are slightly different, so here are the quick steps:Download the desired .img file Open a Terminal (under Utilities) Run diskutil list to get the current list of devices Insert your flash media Run diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2) Run diskutil unmountDisk /dev/diskN (replace N with the disk number from the last command; in the previous example, N would be 2) Execute sudo dd if=/path/to/downloaded.img of=/dev/diskN bs=1m (replace /path/to/downloaded.img with…
Read More

Openfiler install on large disk + failover setup + usb install

Linux, openfiler, Opensource, Tutorial
Okay so I've been playing around with openfiler for the past couple of months. We're trying to setup a Student homedirectory NAS device and have a mirror machine that would take over if our primary dies. Our machines are hand built 13-TB NAS servers using 16 x 1TB Seagate disks and a 16 channel sata2 raid controller from 3Ware. There are several problems that one needs to overcome in this type of setup so I will try to cover it, bit by bit as I finish confirming it at work. As I said we're using a Super Micro case and motherboard (Dual Quadcore Xeon) and we've stuffed a 16 channel 3ware 9650 controller in there. The first issue we had was with hardware and the fact that we had some…
Read More