Mar 24

frame_done.jpg
I have been checking out those digital photo frames for some time now. Thinking that I really ought to have one. The problem is that I am so cheap. I just can’t seem to force myself to put out around $70 for a wallet sized photo frame. As long as I have been waiting for the prices to drop, they haven’t really seemed to.

Well, the other day it occurred to me that I bought my wife a nice new laptop for Christmas and still had my old one kicking around that she isn’t using anymore. It’s an old Dell 400 mumble mhz lappy with a good looking 14 inch screen. Why not just make that into a photo frame right?

It turns out that there are a multitude of people that have done something similar and there is no shortage of information about it on the net, so I set about to do just that. First thing was to do a little research about software, etc. This had me testing several software slideshow packages on Linux. I settled on “feh”. It’s a pretty good package, readily available and easy to script and work with. After that I needed to get a good clean Linux install on that old laptop. I decided to go with Gutsy (Ubuntu 7.10), which took a *long* time to install on that lappy. I even used the text installer since it was a low resource laptop, and the install must have taken several hours – although mostly unattended.

After installing the os and utils I wanted, I set about taking apart the old laptop. This was relatively easy – just taking off the plastics from around the lcd. I didn’t really need to do any disassembling of the main body at all. It was just a few screws and it was loose.

Then, how to mount the lcd. I took my queue from many sites on the net and picked up a frame and some of that foam core posterboard. The foam core board is just about exactly the same width as the lcd. I cut a piece of foam core the same size as the inside back of the picture frame I had purchased, and then cut a hole in the center of that the same size as the lcd. I then dropped the lcd into the foam core and duct taped it into place. then I put the foam core on the back of the picture frame and duct taped that into place as well. Lastly, I flipped the remaining portion of the laptop around backwards and used double sided foam tape to mount the back of the frame to the back of the laptop.

As you can see, the result is quite nice. I get a whopping 8.5 inch by 11 inch digital photo frame for the grand price of about $12 and change. The best part is that this is not just a photo frame but an entire computer whose display I can control remotely (vnc, ssh) wirelessly. This frees me up to do other things with it as well, such as display the weather report on it in the morning automatically before I head out for work, change a few frames to a giant digital clock, it’ll do video, the audio still works so I could play mp3′s from it, etc. Possibly use it as a sort of digital message board even. The possibilities are almost endless.

The verdict: This was a very easy project to do in a few spare hours with some old spare hardware that has stunning results. Give it a try and let me know how you make out!

Mar 05

resurrection.jpg
I have been pretty sick since last night, which is probably why I have the time to post here today :-) I seem to have some kind of stomach bug right now which is keeping me in close proximity to my bathroom. But, inbetween bathroom breaks, I have been able to check my email at least, which is what started this whole ordeal.

While I was reading emails today I received one from my buddy Joel, who reminded me that I *still* have not gotten my stuff off my old servers. You see, when I moved here, I moved a month before my wife and daughter so that she could finish her school year. As such, I made a whole new computer infrastructure here and left all the old stuff running for my wife and daughter until the time of their move. At that time I just shut the old servers off there and shoved them into the car believing that I would get the stuff off of them sometime later on and add it to my new servers. Well, like I told Joel, I have succeeded in procrastinating for the last 8 months and that has never happened. Until today that is…

In a fit of boredom, I decided to grab those two servers out from underneath my endtable and finally pull all my important files off of them. I should probably preface this with the fact that I had *thought* I had all those files backed up somewhere, in fact, I thought they were backed up on an external usb drive *and* on cd/dvd. Guess what? Nope. Couldn’t find any of that anywhere, and that’s when scared the hell outa me when I finally plugged the servers in. You see, the first server is an old *old* NetBSD box (1.6.1) which I had used as an NFS server. The problem is that it had sat around for so lng that the hard drive was suffering from stiction. I booted the machine up 3 or 4 times trying to get it to start and then it hit me that I couldn’t find those backups. I started to get real worried. But, after a minute or three I resorted to the old rule “if it’s broke, kick it and try again”. So I dropped the thing on the table a couple times and magically the had drive decided to finally spin up so I could get my data off. The other server behaved much better, however, I had forgotten I had moved ssh to a nonstandard port, which took me a minute to correct.

At this point, I actually have all my old data in my laptop, and I can start to get things moved around to where they should go. Now I can finally do something with the old hardware hanging around in my livingroom too! I bet my wife will be ecstatic about that, until she realizes that she’s probably going to have to be the one to take that stuff to the storage facility :-)

Anyhow, the moral of the story is twofold: #1 – Do your backups, and #2 – If it doesn’t work, kick it and then check again ;-)

Mar 01

subversion.jpeg
I do a fair bit of coding as as such I decided long ago I needed to use a versioning system. Initially I used cvs, like most people do. After using it a while I was looking for something with some better features and decided upon Subversion. I have been using it ever since.

By far the easiest way to get a subversion server running was to use the built in svnserv program, and that was exactly what I did for years without problem or hesitation. Well, the other day a coworker was showing me some of his code and logged into his subversion server using the apache based server. That really perked my interest because he could just browse around and pick and choose directories and programs without the need to download the repository firt, etc. I was hooked and had to get mine running that way.

That brings me to last nights fun. I searched around and found quite possibly the best instructions for getting subversion set up that way. Read the instructable at http://www.edreaminghome.com. This instructable blog post had me running svn-apache on my ubuntu server in literally less than 5 minutes. Most of that time was trying to figure out one small problem. Following the instructions will sure enough get you a running subversion repository, however, you cannot save anything to it. The only change I needed to make to get things set up perfectly was to chown -R www-data:www-data /svn so that the www user could actually manipulate the repository.

Works like a champ. Set one up yourself and see!

preload preload preload