Bluebirds

Bluebirds

Thursday, November 24, 2011

How-to for Eye-Fi Uploads on Linux

A picture of the card
 transferred by the same card
About a week ago, I happened to receive an Eye-Fi card..

 Here's how you get it to work:

  • I tried desperately to find a way to initialize it without resorting to Windows, but that failed miserably.. Apparently the UploadKey that is built into the card doesn't count; you have to have their software generate a new one.
    • ... and no, it doesn't work on Wine. It would start but the UI wouldn't draw completely so there was pretty much nothing there to do.
  • So you'll have to initialize it using Windows. (Don't tell RMS!)
  • Then install this handy gizmo: EyeFi Server (written in Python). It's the program that will receive the pictures from the card and save them to your computer. It can also run whatever other script you'd like whenever a picture is uploaded. There's not much to installing it - I had all the dependencies already and you can run it while it's still in its original folder. Just be sure to use the copy in "Release 2.0", and then fill in the blanks (such as UploadKey) in the configuration file kept with it.
  • While you're at it, install this configuration tool: eyefi-config. It's a command line program that you can use to read the logs of the card (using -l), scan for (-s), test (-t), and add (-a) wireless networks and manage keys for them (-p). It also theoretically has the ability to tell you your card's key (-k), but even after initialization that never gave me the right one. 
    • I compiled the git sources of it, which after viewing the README, was a one step process. (run "make"). But you could also just download the compiled version. I needed a 64-bit version - which doesn't seem to be available otherwise.
  • Now if you have the EyeFiServer running, and the Windows eye-fi server off, then you should be able to get a photo from your camera. Be patient. With my camera it uploads in just a little less than the time that it takes the camera to turn itself off from being left alone, maybe about a minute.
    • What went wrong?
      • If the camera doesn't contact your computer, make sure you don't have the server open on more than one computer like I did. It probably contacted the other server. It might also not have been able to connect to the wireless network; either way, check the card logs.
      • If the camera contacts your computer and doesn't upload the image, check the logs. In my case it kept saying invalid credentials because the UploadKey that eyefi-config reported was wrong. You can find the right one at C:\Documents and Settings\<User>\Application Data\Eye-Fi\Settings.xml on your Windows computer.
      • Nothing? Celebrate!
  • Probably, you don't want to start up that server every time you want to upload an image. (Wouldn't that be a waste?)
    • So make an Upstart (the new init) script for it and paste it in a file.
    • Then copy it to the right directory, making sure it ends in .conf: sudo cp /where/it/is/now/eyefi.conf /etc/init/eyefi.conf
    • Here's the one I used.
# eyefi - EyeFi Uploading Server
description     "Eye-Fi Background Upload Daemon"
author          "Sean Gallagher <stgallag@gmail.com>"
start on (filesystem
          and (started dbus or runlevel [2345])
          and stopped udevtrigger)
stop on runlevel [016]
respawn
exec sudo -u sean /home/sean/eyefi/EyeFiServer/2.0/EyeFiServer.py -c /home/sean/eyefi/EyeFiServer/2.0/DebugSettings.ini >/home/sean/eyefi/eyefi.log

Now you should be home free!

Fan Filters

I just got a new computer case and installed new really-cool 80CFM fans to go in the front. Well, they made it into a vacuum cleaner. I'm lucky that the filters are easy to replace, because this is what they look like after just 6 days..

Before cleaning...

... and after


Wednesday, November 23, 2011

Monday, November 21, 2011

Saturday, November 19, 2011

Crafty Celebratory Christmas Crochet Creations

A cowl...

 ...a shawl...

...another shawl...

...some shoes..

A Santa hat

 And another, fluffier Santa hat

.. oops - that first hat again

 ...last but not least, a scarf!

Saturday, November 12, 2011

We have two trees on one now! A shell tree on the outside and an inner tree too!

Friday, November 11, 2011

Stuckey's Sign

Brian's on the way!

Cool coffee cup

The steam was rising off of my coffee cup this morning and I thought it looked neat so I took a photo of it. (Alright.. and I also have a new camera I wanted to test out!)

Vacation's coming

We're getting moved around in preparation for Brian coming! I'm so excited!

Tuesday, November 8, 2011

Saturday, November 5, 2011

This is my first time voting! Isn't that cool?

Dog Treat Maze

I probably have too much time on my hands..

.. so can you find your way through it?

The Skein Vomited

See what happens when you overwork your skeins?