Archive for the ‘gizmos’ Category

Jungledisk S3 backup

Friday, June 19th, 2009

Installing Jungledisk and getting it to work can be a royal pain. Here are the steps I used to get it to work on CentOS 4 and 5.

I first installed Junglediskworkgroup on my Mac. This allowed me to use the junglediskworkgroup-settings.xml file for my Linux setup.
You can use the Windows version as well to get the needed *-settings.xml file for use in the Linux environment.
Ensure that you copy this file to your Linux server for use. I will not cover how this is done in this post.

I like to make build-”project” folders for stuff I am working on. This keeps things clean and I have a master build directory for everything I work on.

mkdir build-jungledisk
cd build-jungledisk

Now you need to grab the .tar.gz file for jungledisk.
Grab it from here
I used wget and copied the url of the file I needed by right clicking and choosing “copy link”

wget http://downloads.jungledisk.com/jungledisk/junglediskworkgroup64-261a.tar.gz

Be sure to user your own url from the site as this url may or may not work.

Uncompress junglediskworkgroup64-261a.tar.gz .

tar -zxvf junglediskworkgroup64-261a.tar.gz

You should now have a junglediskworkgroup folder with the jungledisk command line application.

cd junglediskworkgroup

Now copy the junglediskworkgroup-settings.xml into this folder.

cp /path/to/junglediskworkgroup-settings.xml build-jungledisk/junglediskworkgroup/

Now you need to install dkms dkms-fuse and fuse from dag.wieers.com
dkms
dkms-fuse
fuse

Again, I used wget to get the rpm files. I put them in build-jungledisk and then installed them with.

rpm -ivh *.rpm

Once the rpms are installed you need to

modprobe fuse

and verify it is installed with

lsmod | grep fuse

Before I could start jungledisk, I had to edit the cacheDirectory path in the junglediskworkgroup-settings.xml. I created a new path in /opt/

mkdir -p /opt/jungledisk/cache/

Then I edited the junglediskworkgroup-settings.xml and replaced the cacheDirectory with this, which reflected the new path.

<cacheDirectory>/opt/jungledisk/cache/</cacheDirectory>

If things are right, you can now start jungledisk

cd junglediskworkgroup
./jungledisk /media/jungledisk -o config=/path/to/junglediskworkgroup-settings.xml

Make sure to use the proper and full path to junglediskworkgroup-settings.xml

You should now see the new mount on the system with

df -h
jungledisk#jungledisk    382G     0  382G   0% /media/jungledisk

If you have issues check /var/log/junglediskwg.log

Thank you,
Engineer Tim

iPod remote that just works

Thursday, April 23rd, 2009

While riding my motorcycles I love to listen to music. I had been looking for a remote that was useable with a glove and could be mounted to the handlebars. Enter scosche and their awesome products. I purchased this remote at a local automotive stereo store. Within 5 minutes I had it out of the plastic and hooked up to my iPod touch. With the remote mounted to the bars on my 2009 Ninja 650R I was away and rocking. I was easily able to change songs, volume, and pause the music. Now when I am riding with my friends and need to chat with them at a stop light, it is a matter of pausing the music until we are riding again.

The mount for the remote comes with a velcro strap that worked nicely, but I wanted something more secure so I used zip ties to mount it to the bars of my main trip bike. The remote comes out of the carrier and I can slide it into the id badge holder on my Fieldsheer no base vest and still use the controls.

Scossche iPod Remote

Scossche iPod Remote


I now see that scosche.com has a wrist mounted remote that looks perfect for motorcyclists.

If you want a remote that works, and works upto 100 feet away, look no further. It should also be noted that the battery in the remote is replaceable and takes watch style batteries.