Perspectoff Setup
From LinuxMCE
Revision as of 03:24, 19 May 2008 by Perspectoff (Talk | contribs)
Here is my setup, step by step.
Contents
- 1 House construction
- 2 Core server PC selection
- 3 LAN configuration
- 4 Installed Kubuntu 7.10 Gutsy on a second partition
- 5 Saved .iso image files to disk
- 6 Installed LinuxMCE as a hybrid
- 7 Connected a peripheral PC
- 8 Began setup of LinuxMCE (Users, Rooms, basics)
- 9 Added Generic Web Orbiter
- 10 Added analog security cameras
House construction
- Built my house. I included a central wiring closet where I located all my telephone connections in a patch panel (including a DSL output with DSL filter), all cable connectors (including satellite dish and extra wiring from a wireless antenna used for Internet) to a patch panel, all my CAT5e wiring (to a patch panel), and all my whole-house speaker wiring (to a patch panel with Banana-plug connectors). I also have analog Greyfox cameras (power over Ethernet type) terminating in this closet, with RCA video outputs (from their own patch panel). This wiring closet is air-conditioned. It is dedicated to house electronics only. I Included plenty of power outlets and surge protectors.
- Replaced house switches with X10 switches. Connected an X10 CM11A serial adapter to the serial port of the PC.
- Placed a whole house HTD MA-1235 audio amp (12 channels) in the wiring closet. Connected each speaker wire to one channel, independently.
Core server PC selection
- For a hybrid Core/Media Director PC I used a Walmart $299 W3644 Gateway/eMachine with 64 bit Sempron (at 2.1 GHz, 512KB L2 cache, 1600MHz system bus), 1Gb dual channel DDR RAM, nVidia GeForce 6100 series integrated video with 128 Mb shared video memory, 160 Gb HDD, DVD-CD RW, Targus wireless USB mouse. (Drawbacks: not enough PCI expansion slots).
- Placed a Bluecherry video capture board in a PCI slot (although in retrospect I would have used a PCI-express slot for this board and saved the PCI slot for something else). I connected the RCA outputs from the analog cameras to the Bluecherry video capture board using RCA-BNC adapters. (No sound).
- Added a second Ethernet NIC card. It is best to use a Gigabit speed card. This card will be used for the "internal" LinuxMCE network, which likes faster data transmission speeds. Choose carefully if you want to use a PCI-Express slot or a PCI slot. The card must match the slot you intend to put it in.
LAN configuration
- I plugged my home router (which was connected to my DSL modem) into the original Ethernet port of the PC. I bought a second Gigabit wireless router and plugged it into the second Ethernet NIC card.
- Using my laptop, I connected to the new router wirelessly and entered the administration web page of the new router. I turned off the DHCP capabilities of the router. (This allows the PC to provide the DHCP for the internal LinuxMCE network, instead.)
Installed Kubuntu 7.10 Gutsy on a second partition
- On a separate PC, I downloaded Kubuntu 7.10 64 bit edition (since my processor is 64 bit) and burned it onto a CD according to the instructions (I happened to use InfraRecorder on a Windows PC).
- Downloaded the live CD version of the partition manager Gparted and burned it onto a CD (using InfraRecorder on a Windows PC).
- Booted the Gparted Live CD on the new Walmart PC that I intended to use for the LinuxMCE server. This showed the active partitions. I chose to keep the pre-installed Windows on the machine in its own partition, but shrunk the Windows NTFS partition down to about 20 Gb. This left me with about 135 Gb free space. I saved my changes and exited the Gparted Live CD.
- I then booted the Kubuntu 7.10 (AMD64) Live CD. I chose the "Install Kubuntu Option." I selected my initial user id and password and computer name, writing down the info and taping them to the PC, so I would not forget them. I went through the installation choices, and when it came to partitioning, I chose to do "Guided partitioning of largest available free space."
- This placed Kubuntu on the 135 Gb from the previous step, with a small swap partition.
- The Kubuntu installer automatically recognized the Windows partition and OS and confirmed that this was the only other operating system. The GRUB bootloader was then configured automatically.
- Upon rebooting, Kubuntu was the automatic OS at the top of the GRUB boot list. I allowed Kubuntu to start automatically.
Saved .iso image files to disk
- Once Kubuntu was fully loaded (and had finished its automatic configuration), I opened (from the KDE menu) Multimedia-->K3b. I chose to option to "save the .iso image only" and chose to save it in the /home folder. I then placed the Kubuntu Live CD into the CD drive and used K3b to copy the .iso file from the CD onto the hard drive (into my /home folder). I then made sure it was named kubuntu-desktop-7.10_amd64.iso, because this is the name the LinuxMCE installer expects (and is the original name of the file).
- (Alternatively, the original Kubuntu 7.10 Desktop .iso file could have been downloaded from the Ubuntu website again and saved, but this would have taken an additional 20 minutes and duplication of efforts.)
- I downloaded the .iso CD 1 and CD 2 for LinuxMCE RC2 from the download mirrors and saved them to my /home folder.
Installed LinuxMCE as a hybrid
- I then followed the LinuxMCE installation instructions as documented. I chose to set up the PC as a hybrid, even though I only plan to use it as a Core. That way, if I change my mind or desire to have outputs to the whole house sound system, I can use the Media Director capabilities.
- I chose to have this PC be a dedicated LinuxMCE PC. This is better because it boots up into LinuxMCE automatically (in the event of a power failure it set to reboots automatically and therefore restarts LinuxMCE automatically).
- The system installed. When prompted to insert the CDs or choose for the location of the .iso files, I simply pointed to my /home folder. This is somewhat faster than using CDs, which copies the .iso images onto the hard drive as the first step, anyway.
- The computer reboots, starting up LinuxMCE. Further auto-configuration occurs. The AV Wizard then starts, and I set my output characteristics, as shown in the instructions. I just set up the lowest defaults for my PC (since I had no multimedia connections to it, yet). I ended the demo video/wizard (I hate wizards) and exited to the KDE desktop.
- The control panel was displayed, and I unchecked the "Auto-start Media Director" box, leaving the "Auto-start Core" box checked.
- Now the PC restarted as a Core server only, not a hybrid.
Connected a peripheral PC
- In my living room is a CAT5 jack. I confirmed which CAT5 connection in the wiring closet corresponded to it. I then connected the wiring closet's CAT5 connector for this wire to the router (on which I had turned off the DHCP and which I connected to the 2nd NIC card on the new LinuxMCE Core server PC.) I used a short CAT5 connector cable for this.
- In the living room I made a long CAT5 cable. I plugged this into the CAT5 RJ-45 jack. I plugged the other end into a laptop (on which I happen to dual boot Windows and Kubuntu. I tried to netboot LinuxMCE, but it failed with a kernel panic (failure to load OS). So, I instead installed LinuxMCE in the Kubuntu partition, and allowed it to start through the Grub bootloader. I did not set it to autostart as a Media Director. In fact, i did not enable any autostarting at all. That's because I hate the wizards.
- Instead, the LinuxMCE Launch Manager starts, and I can go straight to the "open admin website", which is much more straightforward to use.
- Now I was up and running in LinuxMCE, using my laptop to access the admin website peripherally.
- I had used a monitor, mouse and keyboard with the Core server. I removed these and put them elsewhere, to save space in the wiring closet. Now I used my laptop to do the admin stuff instead.
Began setup of LinuxMCE (Users, Rooms, basics)
- I added an initial user, setting it up as a "master user" (with privileges to modify the configuration).
- From the Admin website-->Installation Wizard I added my city and state, which sets longitude and latitude, useful for sunrise and sunset times. I also set my preferred audio format.
- From the Admin --> Room Wizard, I entered all the significant rooms of my house. I tried to do this with the House Wizard, which sucks. It doesn't allow for the number of rooms which my house has, and renaming them is a pain. The admin website is much better.
Added Generic Web Orbiter
- I set up a Generic Web Orbiter interface according to these instructions. This allowed any laptop (even those not running LinuxMCE) to be used as a Web Orbiter remote control, by logging into http://192.168.80.1/pluto-admin/weborbiter.php and entering my master user id and password (created a few steps ago).
Added analog security cameras
I used the instructions here to add the interface for the analog cameras. The instructions are very obscure -- I will try to rewrite them soon.