Category: Mythtv

Another Intel DN2820FYKH NUC

Yesterday I received another Intel DN2820FYKH NUC computer.

I had ordered another one with the intent of running a Mythtv Backend and Frontend using a Realtek USB tuner.

I’ve installed Mythbuntu and got everything working, however I really like using Debian itself, and will look at doing a more custom install with Debian. So the plan is work on a Debian 7.7.0 x64 install.

I’ve configured this new Intel NUC with the usual 8GB ram (max it can take) and Dual Band 802.11ac wireless (as it’s only a $24 upgrade to buy the card), and I had a spare 500GB laptop drive, which I installed too.

Will be sure to post more about my progress regarding the Debian installation and tweaking it all.

Ubuntu 12.04.2 LTS and lxc

Have completed my Ubuntu 12.04.2 LTS install and configured lxc (Linux Containers). I am so far very impressed just how easy it was to get this working out of the box. I think the Ubuntu team who produce Ubuntu 12.04.2 LTS has to be given a big clap. Very fine job.

I’ve install some Debian squeeze lxc’s and Ubuntu ones. All seem to work great and I will post more details soon on what I have done and how it was performed, as it might help anyone thinking of doing the same.

I wanted to do this so I could run some other software on the containers and not clutter the host install. Although the host will see the processors for the container etc. But that’s fine and expected on how lxc works.

My aim was to install Mythtv as a master backend into a container and have it use my HDHomerun network based tuner. This has actually worked, and I am currently running it now, however I noticed during reboot/auto start of the container that the mythtv-backend wouldn’t start. Turns out the upstart configuration is not going to work on a linux container. Wiki page here┬áis the link to the config that ships in Ubuntu 12.04.2, and below is my change I made so that I could get it to start automatically, it’s a hack and needs some further investigation, but I was in a rush to get it working in my environment.

root@delta:~# cd /etc/init
root@delta:/etc/init# cat mythtv-backend.conf | grep start
#start on (local-filesystems and net-device-up IFACE!=lo and started udev-finish)
start on net-device-up IFACE!=lo

As per above, I hash out the original start on line and create the amended one below it. This is perform in the file /etc/init/mythtv-backend.conf

Now it will start correctly in my container at boot.

Installing Shepherd onto OSX Lion

I’ve been building a replacement server for my current mythtv box that is running on OS X Lion.

To install shepherd epg grabber I used the following procedure:


Install Active Perl form ActiveState.

make sure you add activeperl to your .profile:
export PATH=/usr/local/ActivePerl-5.16/bin:/opt/local/bin:/opt/local/sbin:$PATH

install shepherd prerequisites:

sudo cpan
install XML::Parser
install XML::Twig
install XML::Writer
install Date::Manip
install LWP
install Memoize
install Storable
install HTML::Parser
install HTML::TreeBuilder
install SOAP::Lite
install CGI
install Term::ProgressBar
install PerlIO::gzip
install Compress::Zlib
install Lingua::Preferred
install Unicode::String
install Lingua::EN::Numbers::Ordinate
install Log::TraceMessages
install WWW::Mechanize
install HTML::TableExtract
install Net::SSL
install XML::LibXML



Install perl MySQL client

ppm install DBD-mysql


then install HTTP Cache Transparent proxy

ppm install HTTP-cache-transparent


Download xmltv

uncompress xmltv, change directories and compile

perl Makefile.PL