finally finished up my security / file server case. Pretty spiffy looking, no?
I've been slowly putting it together for several months now.
Cheyenne, WY - November 18th, 2008
It's been a while in the making, with some stumbling blocks along the way. The SKB case didn't have nut plates,
so I had to buy and wait for those (best gotten from eBay). The LCD (an SHK350N from gooddeals18.com) uses 12V,
so I got an AC to 12V adaptor with clips (AD-12V500 at batteryspace.com)... more waiting. I also had to trade
some e-mails with acmemicro to get 3ware's 9650SE-2LP RAID card installed and configured with the RS100-E-5/PI2
that I ordered from them (I am quite pleased with the short rack server, btw... it's rather quiet).
I couldn't see the server video without an s-video box (LKV-2000 bought from rackmount-devices.com). I also tried
various drives in the DVR before contacting Samsung and finding out that the SHR-3160 is limited to 80GB
drives (suck). In the end, it's a pretty cool setup aside from the DVR. If I had to do it again, I'd go with IP
cameras and a DVR that supports them, instead of old-style CCTV inputs via BNC. I'm pleased with the SKB case,
the RS100-E-5/PI2 and the s-video box, as well as the Brando Super Tiny Keyboard (UKEYB001600), Netgear 5 port
gigabit switch and Tripplite UPS that I bought. I am displeased with Samsung's SHR-3160 (not enough space). And the
3.5" LCD is cool: I like the 2 inputs and the swiveling mount, but it is a little too small. I can make out the
DVR screens okay, but looking at the CLI on my server is rough.
Update Novemeber 28th, 2008
I ran into some problems with running a torrent client and thought I'd share. First, I followed the instructions at:
http://ubuntuforums.org/showthread.php?t=371275, but ran into a problem -
Even though installing build-essential was part of the instructions, it looked like gcc was not installed when
I went to ./configure libtorrent, so I ran it again:
sudo apt-get install build-essential
Then I got "checking for OPENSSL... configure: error: Could not find openssl's crypto library" and did the
sudo apt-get install openssl
I had some problem after that and reran:
sudo apt-get install build-essential libsigc++-2.0-dev pkg-config comerr-dev libcurl3-openssl-dev libidn11-dev libkadm55 libkrb5-dev libssl-dev zlib1g-dev libncurses5 libncurses5-dev
And rtorrent worked fine after that, but having to open rtorrent and add the torrents each time isn't exactly
convenient, so I set up rtorrent to automatically start torrents when placed in /archive:
...pasting in the following:
# This is an example resource file for rTorrent. Copy to
# ~/.rtorrent.rc and enable/modify the options as needed. Remember to
# uncomment the options you wish to enable.
# Maximum and minimum number of peers to connect to per torrent.
min_peers = 40
max_peers = 100
# Global upload and download rate in KiB. "0" for unlimited.
download_rate = 150
upload_rate = 25
# Default directory to save the downloaded torrents.
directory = /archive
# Default session directory. Make sure you don't run multiple instance
# of rtorrent using the same session directory. Perhaps using a
# relative path?
session = /archive
# Watch a directory for new torrents, and stop those that have been
schedule = watch_directory,10,10,load_start=/archive/*.torrent
schedule = tied_directory,10,10,start_tied=/archive/*.torrent
schedule = untied_directory,10,10,close_untied=/archive/*.torrent
I put a sample from http://libtorrent.rakshasa.no/
into /etc/init.d, changing user="user" to user="crimson30". Then:
sudo chmod +x rtorrentInit.sh
sudo update-rc.d rtorrentInit.sh defaults
sudo apt-get install screen
Now, all I have to do is stick a torrent into /archive (easy with samba from my laptop) and it goes to town.
With 750GB of (RAID 1) space, my torrent worries are over!
Edit (Jan 2010): If you get an error like "rtorrent: error while loading shared libraries: libtorrent.so.10: cannot open shared object file: No such file or directory" when updating rtorrent, try sudo ldconfig
Cheyenne, WY - October 21st, 2008
fter my Civic was broken into, I decided to put together a little security system. I bought an SKB case, a DVR,
some cameras and a rack server (which is today's topic).
Since network security is not a big issue (the file server will have an unforwarded private IP and is non-WAN
accessible for now), I decided to try Ubuntu Server 8.04 on it. Install was a breeze compared to windows.
After a few quick questions, it was up and running. Not much to attend to. I walked away, downloaded PuTTY
on my lappy, ssh'd in and configured Samba from the comfort of my bed. But, I ran into a problem after issuing
a halt and trying to get back in: wake-on-lan wasn't working...
I downloaded wakeup, tried it and... it didn't work.
So I went to Broadcom's site and tried installing their BCM5721 driver via make, and... that didn't work.
So I put tg3-3.92e-3.src.rpm into /archive and did the following:
root@wolfdale:/archive# apt-get update
~lots of text~
Do you want to continue [Y/n]? y
~lots of text~
root@wolfdale:/archive# apt-get install alien
~lots of text~
Setting up alien (8.69) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
root@wolfdale:/archive# alien -k tg3-3.92e-3.src.rpm
root@wolfdale:/archive# dpkg -i tg3_3.92e-3_amd64.deb
Selecting previously deselected package tg3.
(Reading database ... 17014 files and directories currently installed.)
Unpacking tg3 (from tg3_3.92e-3_amd64.deb) ...
Setting up tg3 (3.92e-3) ...
root@wolfdale:/archive# modprobe tg3 enable_wol=1
And voila, wakeup worked!
h, Cali. The people may be idiots, but you gotta admit the weather simply doesn't get any better in the continental United States.
Oxnard, CA - September 21st, 2008
I'm growing more and more impatient about retirement. It's going to be a long road: 9.5 years and I'm already getting
antsy! I currently plan on coming out west next year to scope out some land. If only the Euro could recover by
then. At the moment, I have most of my money in a Euro CD with Everbank and things aren't looking so rosy. I bought
in around late February and things were looking great through the summer, but it's fallen back down since. Still... better than
having it in stocks, I suppose :P
This site was brought to you by the letter Z.