Energy Efficient and Cheap Servers for Home Use?
CapnRob asks: "I just got married, and my wife and I are putting together a home network in the (small) apartment we're now living in. We'd like to set up a firewall/mail server/small-file-server, but all the machines we own right now are pretty big machines that pull a fair amount of power, and that we don't want to keep running 24/7. Since our mail and file server needs are pretty low, our ideal box would be something like a Linksys WRT45G with one of the open source firmwares ... if only you could add a small hard drive to it. We're both long-time FreeBSD users, so installing a *nix system is no big deal, but what I've found so far in this line needs more l337 soldering iron skillz than I've got. Any suggestions for tiny little cheap boxes that won't send our power bills into orbit?"
SparcStation IPX (or even IPC) I ran one of these clever little buggers for a few years, very low on power, quiet as a churchmouse and houses one harddrive (but at todays disk sizes that's plenty) the architecture is pretty fast and 64MB of RAM was more than adequate. You can pick these little beasties up on eBay for next to nothing so spare parts shouldn't be a problem, either (I actually bought a second for spares.) I was running RedHat 6.1 for months at a time without a hiccup.
A feeling of having made the same mistake before: Deja Foobar
Flash memory isn't a good storage solution for a mail server. If you've got any sort of traffic volume, you'll wear out the memory in a year or so.
"They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
Don't think you can buy them new (at least cheaply) but look for an old Netwinder. I got one on eBay a couple of years ago for abougt $150. Low power, two ethernet ports, easy to manage and small. Not a barn burner by any means, but for a firewall / file server / print server it works perfect.
Get an older laptop, put a PCMCIA or USB ethernet to give you a second ethernet (connect that to the DSL/Cablemodem uplink).
Low power: Obviously, laptops have to be low power.
Low space: Laptops are small. Disable the "I've closed the lid" switch or get the *nix install to ignore it, fold it up, and slide it away.
Low cost: I said OLD laptop.
Built in UPS: Why do you think its called a "California Server"?
Test your net with Netalyzr
Bollocks. Just do what I did - build a nice little Mini-ITX system, put in a gig of RAM and load up Linux with a custom initrd that extracts the system to a ramdisk and pivot_roots to it. Mount the drive for storage, then use hdparm to tell it to power down when idle.
Then write a daemon to watch when the drive is spun up, and copy the mailboxes off to a storage area on the drive. Use rc.local to copy them back when the system reboots.
Voila - low power (max 40 watts, usually less because the drive isn't spinning) and fast.
You could do this with flash as well, you just won't have the storage space of a drive. And it obviously doesn't have to spin down. Just use a cron job.
You could probably pick up an older Zaurus (Linux PDA) cheap. The 5500 I have can take both compact flash and SD/MMC Cards, and runs on a fraction of a watt. With a compact flash ethernet card you could connect it to pretty much any router. Just mark it as your DMZ, and the incoming traffic will be routed to it. All you need do is set up a mail server on the Zaurus, maybe a little custom compiling, and you're all set.
I was seeking the same thing before. I did some research and found some really cool and small products. The problem of being cool is it carries a high price tag.
I endup ordered a mini-itx box from idotpc. No hassle, super fast delivery. Cost me around $350 for a 512MB ram 80GB HD system (w/0 CDROM). It ran a small website link above. The best part, my power bill dropped by $10 a month after I turned off the AMD box!!! Now I can brat about helping out in the California energy crisis.
Eventually something should make a webserver the size of iPod. How about $200 for a 40GB version?
...procuring a used laptop? Low power, and all the creature comforts of a full-fledged computer.
(aside)
But, I have to also say. I have NEVER even MET a woman who has HEARD of bsd. I had to argue with a Comcast Cable woman today who hadn't even heard of FireWire. I considered it a victory when I got my g/f to run Folding@Home. She was even game for Red Hat, but it was too difficult for her to find a wireless driver for the Thinkpad built-in 802.11... but hey, at least she tried!
Here's to... if not geek, then geek-compatible women! love 'em.
Laptops with broken displays are even better. I have an old P3 laptop I use as a server, and I got it free. Sony charges $600 for ANY display repair, so it's literally not worth fixing. But the VGA output works fine, and I have it set up through a KVM switch. Viola! A 75 watt server. Tiny hard drive, but if it becomes a problem, I can just do externals.
I'm thinking of taking the whole display off, thus making sure the lamps never come on, thereby reducing power drain even more.
"How perfectly Goddamn delightful it all is, to be sure" Charles Crumb