Create a self contained Media Server

Been a while since I’ve updated the guides on here, so here go’s, how to install the Required components onto a Linux Mint 17 machine.

First, obviously download the Linux Mint disk, I use the 64bit Mate version, but if you are more a fan of Cinnamon then that’s upto you.

Once the basic install of Mint is complete (Just your standard next/next, through the install). Login to the server, bring up Terminal

sudo apt-get update
sudo apt-get install guake
sudo apt-get upgrade
sudo apt-get dist-upgrade

That will get Mint upto the latest version of everything in it’s base install. After all that’s complete just reboot the machine/VM.

Setup for the Services

First off, we need Samba installed (probably, if you don’t then skip this section, but if you have a Windows machine on the network, it’s worth doing).

sudo apt-get install samba

That will get Samba basics installed. How much we setup depends, for now though we are going to leave it as it is (most of the time it’s already installed)

Plex Server

Pop along to the Plex Download Page and download the Ubuntu 64bit release. This get’s downloaded as a Debian Package (deb) file, and by default will be in the ~/Downloads folder. So to install this we need to use DPKG, so from the Terminal

sudo dpkg -i ~/Downloads/plexmediaserver????.deb

That should install the server on the local machine, to test bring up a browser and goto After agreeing to the license you should get a nice empty server display.

Sick Beard

Next up, automating TV Downloads. For this we will be using Sick Beard, so let’s do that.

First let’s make sure you have an up to date version of Python installed. To do this from Terminal

python -V

Make sure it comes back with 2.5 or later (Mint 17.1 should be 2.7.6), next up we need Cheetah installed, this is easy from Terminal type

 sudo apt-get install python-cheetah

That will get Cheetah installed, now we need to get the Sick Beard source down and compile it. So from the Terminal (I’ve used the HTTP git source of the repo, because of possible proxy issues, but if you have issues, use git:// instead of http://)

cd ~
git clone .sickbeard

That will put the application in the .sickbeard folder ‘hidden’ in your home folder, cd into it (cd ~/.sickbeard) to continue setup. Then

cp -a autoProcessTV/autoProcessTV.cfg.sample autoProcessTV/autoProcessTV.cfg

python ~/.sickbeard/ -q

Then goto from your local browser to make sure it’s up and running.

Next, we need to automate it so we don’t have to do that everytime.

sudo cp ~/.sickbeard/init.ubuntu /etc/init.d/sickbeard
sudo chmod +x /etc/init.d/sickbeard
sudo nano /etc/default/sickbeard

When nano opens up, you need the following 3 lines in it, obviously changing the relevant sections so they are correct for your install (basically the username part in /home/??? and SB_USER)


Then we need to add the correct bit’s to make sure it all starts at boot time.

sudo chmod +x /etc/default/sickbeard
sudo update-rc.d sickbeard defaults

That should be it, just give the box a reboot now, to make sure. After the machine comes back up, got and and make sure both services we have already installed are up and running.


Next we need to install Couch Potato,  the easiest way to do this is to clone it via Git, that’s easy enough to do.

cd ~
git clone git:// .couchpotato

That will grab the latest code, and pop it into the ‘hidden’ folder .couchpotato

Next we need to set it up to auto start, so

cd ~/.couchpotato/init
sudo cp ~/.couchpotato/init/ubuntu /etc/init.d/couchpotato
sudo chmod +x /etc/init.d/couchpotato
sudo nano ~/.couchpotato/init/ubuntu.default

That will start nano editor up, and we need to put the relevant information on the home directory and the user in here, mine looks like this

# COPY THIS FILE TO /etc/default/couchpotato


So just make sure the path’s and user name is correct, and copy the above, then lets add all this to the init.d

sudo cp ~/.couchpotato/init/ubuntu.default /etc/default/couchpotato
sudo chmod +x /etc/default/couchpotato
sudo update-rc.d couchpotato defaults

and now you should be able to use sudo /etc/init.d/couchpotato start/stop  to start and stop the process. So go ahead and start it. Then make sure you can get to, it should launch the wizard to finish the configuration off. Just put a username and password in, and untick the launch browser box. I also change the port to 8082 as it’s easier to remember as next up from Sick Beard and what we are installing next (the download glue)


sudo add-apt-repository ppa:jcfp/ppa
sudo apt-get update

That will add the right repository, and update everything so we can then just go

sudo apt-get install par2
sudo apt-get install sabnzbdplus
sudo apt-get install sabnzbdplus-theme-mobile

All the dependencies that are needed will be listed, then just Say and away you go.

Now let’s get it setup so it automatically starts at boot, that’s done pretty much the same way we have done the others so far, so

sudo nano /etc/default/sabnzbdplus

and we need to edit a couple of variables in there, the USER= one should be your mint username, and HOST= should be and I set the PORT= to be 8080 as then all the apps we have just installed are nicely concatenated together in a port range.

Save the file out, and sudo service sabnzbdplus restart 

Launch a browser on and go through the initial setup (news server etc).

Next up is configuring it all. So that in my next post.

Linux Mint 17 upgrade

Running Linux Mint 16 still? Want Linux Mint 17?

$ sudo sed -i 's/saucy/trusty/' /etc/apt/sources.list

$ sudo sed -i 's/petra/qiana/' /etc/apt/sources.list

$ sudo sed -i 's/saucy/trusty/' /etc/apt/sources.list.d/official-package-repositories.list

$ sudo sed -i 's/petra/qiana/' /etc/apt/sources.list.d/official-package-repositories.list

That will replace the versions in the relevant files, so when you run an apt-get update it will read the Mint 17 versions. Then to actually do the update….

$ sudo apt-get update && sudo apt-get dist-upgrade

$ sudo apt-get upgrade

Job done, Reboot to be safe 🙂

Linksys Reverse NAT Loopback

I was a bit annoyed when I got my EA6900, Seems Linksys in their insane wisdom have disabled the ability to do Reverse Nat Loopback (call an ‘internal’ service using it’s internet name).

That HAD to be fixed, I can’t be bothered modifying host files every time I come home etc, just to access the services at home.

It seems Linksys have a reason for it (that basically means the hacker already has control of your router anyhow, so not really a security issue!) Here’s the reason JFYI

Here’s how to disable the ‘blocking’ of doing the Reverse NAT Loopback…..



That’s right! just disable the default setting for Cut Through Forwarding, it’s actually a pain anyway if devices don’t meet 100% spec on some protocols, and causes lag in some streaming services (iPlayer stuttered with it, doesn’t without!)

Linksys don’t actually know 100% what it does anyhow, because it’s actually a chipset setting (Broadcom) so other routers have the feature as well, some call it “Hardware Acceleration” others “CTF” but it’s all just enabling  ctf.ko in the kernel load of the device.

Just turn it off, no problems then, and the supposed benefits wont be seen on any standard UK broadband network anyhow, and I’m on 152/15.

Mounting a Windows Network share as a Local Device in Linux Mint

Just because I’ve had to work it out, I’ve got Picassa all installed in Linux Mint 16 (no mean feat as you probably know). Now I need to be able to get to the Network share that has the pictures on it.

sudo mount -t cifs //<ServerName>/<ShareName> /mnt/<MountName> –verbose -o user=<WindowsUserName>

That obviously mounts the network share to somewhere that Linux can see it (in the above case /mnt/<MountName>), so if we ls /mnt/<MountName> we will get the list of files/folders back.

OK, so lets get it so that Picassa/Wine can get to it easily.

cd ~/.wine/drive_c
ln -s /mnt/<MountName> /<FolderName>

That will create a symbolic link to the mnt folder, (obviously use something Windows can ‘see’ not <FolderName>) and then launch Picassa, tools, monitor folders, and set it to the pictures folder.


Ferrari running F1 Turbo in test?

A video’s turned up of what looks and sounds like an FXX/LaFerrari derivative running a Turbo Charged engine, possibly the F1 power unit or close relative of it.


The car as you can see has a snorkel on the top, which is a strange addition to the Ferrari cars it looks like it’s a member of. It would make sense for Ferrari to get some running on the engine, as it’s well ‘understood’ that they are struggling with their power train, especially on fuel usage.

There is also theories that the car may well be Ferrari’s return to LMP1 racing, and using the Power train from the F1 car would then be a good idea. Cross development would help both cars, and allow Ferrari to legitimately do more testing on the hybrid system.

Only time will tell if the car is a one off, or a serious return to LeMans

PLEX NowTV Client 2.8.2

Here’s the latest version of the PLEX client for the NowTV.

As always it’s based entirely on the hard work of the ROKU Plex Team, so here’s a direct link over to their release information for this 2.8.2 release.

Basically this release brings things more in line with the current releases on other platforms. Now a word of warning, I’ve NOT had chance yet to test this release on the NowTV, so if there are any issues obviously let me know and then roll back to a 2.6.x release. I will have a play later.

Also because the way things work with the NowTV (not being a ‘real’ ROKU and using the official channels) this release might require a PlexPass account to work, as the way that the PLEX team licences the new code has changed slightly (see the post linked above).

Download Plex-NowTV-2.8.2 and install in the usual manner. I will rebuild this shortly, please see comment from Shaun below.
Also RARflix-3.0.7 for testing

PLEX NowTV Client update

Here’s the latest cut of the NowTV PLEX client. I’ve put one together today as a couple of the fixes from recent builds might be useful (oh and it’s my Birthday, so it’s my present to the NowTV using crowd).

Install as usual. Upload the Plex-NowTV-10-12-2013 zip file to the box, and make sure you get the Install OK message.

This is probably the last of the 2.6.9 releases, as the next version should have the new remote control code included.