Difference between revisions of "User:Phenigma"

From LinuxMCE
Jump to: navigation, search
(Useful Commands / Processes)
(New core hardware)
Line 6: Line 6:
 
= Operational System =
 
= Operational System =
  
*June 30, 2010 - Running a DVD (23110) installed beta2 system.
+
*Sept 15, 2010 - Running an updated DVD snapshot (23259) installed beta system.
  
== Core/Hybrid - Zotac IONITX-A-U Atom N330 1.6 Ghz - UI2 ==
+
== Core/Hybrid - ASUS M4A87TD EVO w/AMD Athlon II X2 3.2Ghz - UI2 ==
*2 GB RAM, 1GB LAN, Optical Digital Audio, VGA - 720P - VDPAU
+
*4 GB RAM (32bit LMCE sees 3GB), Onboard Realtek 8111E 1GB LAN, S/PDIF Optical Audio
 +
*Pollit nVidia GT210 512MB Fanless PCIe x16 2.0, DVI->HDMI - 720P - VDPAU
 +
*Intel 1000CT PCIe NIC
 
*USB-UIRT
 
*USB-UIRT
*Toshiba Plasma TV - 42HP86 - VGA
+
*Toshiba Plasma TV - 42HP86 - HDMI
*Yamaha AV Receiver - HTR-5760 - DD/DTS 5.1/PCM via S/PDIF
+
*Yamaha AV Receiver - HTR-5760 - DD/DTS/PCM via S/PDIF
*USB Bluetooth Adaptor
+
*USB Bluetooth Adaptor - Wiimote, PS3 Sixaxis
 
*Mediagate MCE Remote - The included IR receiver is not PnP with LMCE and I havn't spent any time to try and get it to work yet.  I'm using it with the USBUIRT.
 
*Mediagate MCE Remote - The included IR receiver is not PnP with LMCE and I havn't spent any time to try and get it to work yet.  I'm using it with the USBUIRT.
  
 
== MD - ASUS EeeBox B202 Atom 230 1.6 Ghz - UI1 ==
 
== MD - ASUS EeeBox B202 Atom 230 1.6 Ghz - UI1 ==
*1 GB RAM, 1GB LAN, Analog Audio, VGA - 800x600
+
*1 GB RAM, 1GB LAN, Analog Audio, VGA - 720P - xv
 
*Powered PC Speakers
 
*Powered PC Speakers
 
*LCD Monitor
 
*LCD Monitor
 +
 +
== MD - Zotac IONITX-A-U Atom N330 1.6 Ghz - UI2 ==
 +
*2 GB RAM, 1GB LAN, Optical Digital Audio, VGA - 720P - VDPAU
  
 
== Orbiters ==
 
== Orbiters ==
*WebDT 366
+
*WebDT 366 - Debian Lenny w/LXDE & PadOrbiter, WebOrbiter when not running PadOrbiter
*Nokia N800
+
*Nokia N800 - Diablo Orbiter
*Nokia N900
+
*Nokia N900 - Fremantle Orbiter
*Toshiba Portege Touchscreen Tablet (WinOrbiter)
+
*Toshiba Portege Touchscreen Tablet - WinOrbiter
*Toshiba Tecra Tablet (WinOrbiter)
+
*Toshiba 10" NetBook - WinOrbiter
 
**some builds do not include the windows orbiter installer.  Check [[Control_LinuxMCE_using_a_Windows_device_as_an_Orbiter]]
 
**some builds do not include the windows orbiter installer.  Check [[Control_LinuxMCE_using_a_Windows_device_as_an_Orbiter]]
*Ubuntu PC (WinOrbiter via Wine)
+
*Ubuntu PC - WinOrbiter via Wine
  
 
== Networking ==
 
== Networking ==
Line 46: Line 51:
 
= Installation =
 
= Installation =
 
== Core ==
 
== Core ==
*Disconnect all devices from the internal lmce network
+
*Disconnect the core from the internal lmce network
 
*Boot the Installation DVD and choose "Install LinuxMCE", follow the instructions.
 
*Boot the Installation DVD and choose "Install LinuxMCE", follow the instructions.
 +
*The onboard Realtek 8111e PCIe NIC needs updating from the manufacturer. Download, compile and install a new r8168.ko
 +
*The onboard VT1818 audio chip needs updated ALSA drivers, luckily these are included with LMCE already.
 +
*The Intel 1000CT PCIe NIC needs updating from the manufacturer. Download, compile and install a new e1000.ko
 
*Install apt-cacher-ng before installing LMCE from the desktop.
 
*Install apt-cacher-ng before installing LMCE from the desktop.
 
  wget http://archive.ubuntu.com/ubuntu/pool/universe/a/apt-cacher-ng/apt-cacher-ng_0.4-1_i386.deb
 
  wget http://archive.ubuntu.com/ubuntu/pool/universe/a/apt-cacher-ng/apt-cacher-ng_0.4-1_i386.deb
Line 55: Line 63:
 
Edit /etc/apt-cacher-ng/acng.conf and set a proxy to another apt-cacher-ng repository (my QNAP NAS), if desired.
 
Edit /etc/apt-cacher-ng/acng.conf and set a proxy to another apt-cacher-ng repository (my QNAP NAS), if desired.
 
*Continue Installing according to the DVD installation instructions for 0810 beta2, [[LinuxMCE-0810_beta]].
 
*Continue Installing according to the DVD installation instructions for 0810 beta2, [[LinuxMCE-0810_beta]].
*Install libdvdcss
+
*Install libdvdcss - This will be added to the default diskless MD image if installed on the core before running Diskless_CreateTBZ.
 
  apt-get update
 
  apt-get update
 
  apt-get install libdvdcss2 w32codecs
 
  apt-get install libdvdcss2 w32codecs
*Configure the onboard wireless as an [[Access Point]]
 
 
*Create the initial MD images
 
*Create the initial MD images
 
  /usr/pluto/bin/Diskless_CreateTBZ.sh
 
  /usr/pluto/bin/Diskless_CreateTBZ.sh
 
*Turn devices on/plug-in one by one
 
*Turn devices on/plug-in one by one
 
#QNAP-NAS
 
#QNAP-NAS
 +
#Zotac ION - and configure the onboard wireless as an [[Access Point]]
 
#EeeBox
 
#EeeBox
 
#WebDT
 
#WebDT
Line 71: Line 79:
  
 
== MDs ==
 
== MDs ==
*Install libdvdcss & w32 codecs
+
*Install ms codecs
 
  apt-get update
 
  apt-get update
  apt-get install libdvdcss2 w32codecs
+
  apt-get install w32codecs
  
 
= Useful Commands / Processes =
 
= Useful Commands / Processes =
Line 104: Line 112:
 
= Outstanding Issues I need to investigate as I have time =
 
= Outstanding Issues I need to investigate as I have time =
 
*Proper (complete) device templates for TV, Receiver, PS3, Wii, 9242 PVR
 
*Proper (complete) device templates for TV, Receiver, PS3, Wii, 9242 PVR
*UI2 on the EeeBox is elusive**Current driver causes segfault/cifs-vfs errors
+
*UI2 on the EeeBox is elusive**Current driver causes segfault/cifs-vfs errors.
**Updated xorg and intel driver work great but mouse and keyboard events are not picked up by orbiter.
+
**Updated xorg(1.6) and intel driver work great but mouse and keyboard events are not picked up by orbiter.
 
**This has been pushed back to 1004 release, UI2 should work ootb with 1004 intel video drivers.
 
**This has been pushed back to 1004 release, UI2 should work ootb with 1004 intel video drivers.

Revision as of 02:12, 16 September 2010

Operational System

  • Sept 15, 2010 - Running an updated DVD snapshot (23259) installed beta system.

Core/Hybrid - ASUS M4A87TD EVO w/AMD Athlon II X2 3.2Ghz - UI2

  • 4 GB RAM (32bit LMCE sees 3GB), Onboard Realtek 8111E 1GB LAN, S/PDIF Optical Audio
  • Pollit nVidia GT210 512MB Fanless PCIe x16 2.0, DVI->HDMI - 720P - VDPAU
  • Intel 1000CT PCIe NIC
  • USB-UIRT
  • Toshiba Plasma TV - 42HP86 - HDMI
  • Yamaha AV Receiver - HTR-5760 - DD/DTS/PCM via S/PDIF
  • USB Bluetooth Adaptor - Wiimote, PS3 Sixaxis
  • Mediagate MCE Remote - The included IR receiver is not PnP with LMCE and I havn't spent any time to try and get it to work yet. I'm using it with the USBUIRT.

MD - ASUS EeeBox B202 Atom 230 1.6 Ghz - UI1

  • 1 GB RAM, 1GB LAN, Analog Audio, VGA - 720P - xv
  • Powered PC Speakers
  • LCD Monitor

MD - Zotac IONITX-A-U Atom N330 1.6 Ghz - UI2

  • 2 GB RAM, 1GB LAN, Optical Digital Audio, VGA - 720P - VDPAU

Orbiters

  • WebDT 366 - Debian Lenny w/LXDE & PadOrbiter, WebOrbiter when not running PadOrbiter
  • Nokia N800 - Diablo Orbiter
  • Nokia N900 - Fremantle Orbiter
  • Toshiba Portege Touchscreen Tablet - WinOrbiter
  • Toshiba 10" NetBook - WinOrbiter
  • Ubuntu PC - WinOrbiter via Wine

Networking

  • Linksys WRT350N - DD-WRT v24preSP2
    • Internet Firewall
    • Asterisk 1.4 Server - SIP line (not yet controlled by LMCE)
  • Linksys PAP2T-NA ATA
  • 2 x D-Link 8-Port Gigabit Green switches

File Server

  • QNAP-410 TurboNAS
    • Marvell 800Mhz, 256MB RAM, 2x1GB LAN
  • 4x2TB SATA HDDs - RAID5
  • Debian running apt-cacher-ng.


Installation

Core

  • Disconnect the core from the internal lmce network
  • Boot the Installation DVD and choose "Install LinuxMCE", follow the instructions.
  • The onboard Realtek 8111e PCIe NIC needs updating from the manufacturer. Download, compile and install a new r8168.ko
  • The onboard VT1818 audio chip needs updated ALSA drivers, luckily these are included with LMCE already.
  • The Intel 1000CT PCIe NIC needs updating from the manufacturer. Download, compile and install a new e1000.ko
  • Install apt-cacher-ng before installing LMCE from the desktop.
wget http://archive.ubuntu.com/ubuntu/pool/universe/a/apt-cacher-ng/apt-cacher-ng_0.4-1_i386.deb
sudo dpkg -i apt-cacher-ng_0.4-1_i386.deb

Update (create) /etc/apt/apt.conf.d/02proxy to point to the local apt-cacher-ng. The install scripts will alter this to "http://dcerouter:3142" when it finishes. This file is also automatically copied to MDs when they are created, which is handy. All upgrades will now be cached on the dcerouter and MDs will automatically use the cache.

echo 'Acquire::http { Proxy "http://localhost:3142"; };' | sudo tee /etc/apt/apt.conf.d/02proxy

Edit /etc/apt-cacher-ng/acng.conf and set a proxy to another apt-cacher-ng repository (my QNAP NAS), if desired.

  • Continue Installing according to the DVD installation instructions for 0810 beta2, LinuxMCE-0810_beta.
  • Install libdvdcss - This will be added to the default diskless MD image if installed on the core before running Diskless_CreateTBZ.
apt-get update
apt-get install libdvdcss2 w32codecs
  • Create the initial MD images
/usr/pluto/bin/Diskless_CreateTBZ.sh
  • Turn devices on/plug-in one by one
  1. QNAP-NAS
  2. Zotac ION - and configure the onboard wireless as an Access Point
  3. EeeBox
  4. WebDT
  5. N800
  6. TabletPC1
  7. N900
  8. HDHomerun

MDs

  • Install ms codecs
apt-get update
apt-get install w32codecs

Useful Commands / Processes

Re-initialize the Media Database

(From forum post http://forum.linuxmce.org/index.php?topic=6408.msg70571#msg70571)

  • Disable the UpdateMedia daemon
# /usr/pluto/bin/UpdateMediaDaemonControl.sh –disable
  • Login to mysql and remove the database
# mysql -uroot
# drop database pluto_media;
# quit
  • Re-initialize the media database
# cp /usr/pluto/database/media.sqlcvs .
# /usr/pluto/bin/sqlCVS -D pluto_media -r media import
  • Re-start the UpdateMedia daemon
# /usr/pluto/bin/UpdateMediaDaemonControl.sh –enable

Set Root password on MD

This will allow you to ssh to the MD as root.

Get superuser privs and enter your password: $ sudo su - chroot to the MDs environment (XX is the MD#), run passwd and enter your desired root password for this MD. # chroot /usr/pluto/diskless/XX/ # passwd

The createbuilder.sh script

Posde shared a script in the forum to create a chroot LMCE0810 Builder from scratch. http://forum.linuxmce.org/index.php?topic=3870.msg66857#msg66857

sqlCvS webadmin use

http://forum.linuxmce.org/index.php?topic=5758.msg33952#msg33952

Outstanding Issues I need to investigate as I have time

  • Proper (complete) device templates for TV, Receiver, PS3, Wii, 9242 PVR
  • UI2 on the EeeBox is elusive**Current driver causes segfault/cifs-vfs errors.
    • Updated xorg(1.6) and intel driver work great but mouse and keyboard events are not picked up by orbiter.
    • This has been pushed back to 1004 release, UI2 should work ootb with 1004 intel video drivers.