| A picture of the card transferred by the same 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!
No comments:
Post a Comment