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.

Done.

now-tv

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

10Tb of space for free?

Yup you read that right.

Downside? It’s on a Chinese provider, but they say they are bringing their smaller service to USA/Europe… however you can get their Chinese 10Tb service now…

Goto www.imqq.com and create an account, don’t bother downloading the app or owt, just get an account (kinda like Chinese version of skype)

Download http://www.weiyun.com/download.html?WYTAG=weiyun.portal.index and install it (it’s virus free, I’ve checked on a few scanners now)

Open up the ZIP I’ve attached then goto C:\Program Files (x86)\Tencent\weiyun\I18N or C:\Program Files\Tencent\weiyun\I18N and unpack overwriting the files (it translates to English)

Log-in etc (use email address or the account number to login

Now download the IOS or Android app from play store/applestore just search f

or Weiyun (it’s in Chinese, but hey), click through the app and login, once logged in just uninstall it if you like.

Goto http://www.weiyun.com/act/10t.html?lang=cn&from=3018 to upgrade to 10Tb 

Goto http://www.weiyun.com/disk/index-en.html for the online storage

Capture

post-93513-0-31693500-1371587555

Guide to getting PlexConnect Setup as a Windows Service

My original post on the Plex Forums

Here’s a quick guide to making PlexConnect into a Windows Service, uses SRVAny to run it.

Some notes, SRVAny is not officially supported on Windows Vista/7/8 but works just fine for me in various other things I use it for. Also I don’t have an Apple TV, or anything to test the functionality, so I assume you know how to get that running, as I’ve not even looked into that. I just know it start’s and says it’s working. Oh there is also NSSM that can be used instead of SRVAny, upto you, the install is pretty much the same either way (except NSSM has a graphical Service Installer)

Compiling PlexConnect Yes, you could compile it, but that just adds complexity to updating/fixing/debugging. At least this way you are running vanilla code, and you can go back to the developer with issues. However compiling does have other advantages if it compiles correctly there is a whole lot less hassle as you don’t need the Python runtime installed on the box, but that’s not an issue I wouldn’t think.

Requirements :

  • SRVAny – I’ve put it into a ZIP so you don’t need the whole Server2003 ResKit – Download
  • Python 2.7 – On windows I tend to use ActiveState‘s version, just because it’s easier – Download
  • PlexConnect – Just download the ZIP file from the GIT – Download
  • Service Registry File – if you use the same paths etc, this will save you typing it – Download

Guide

  1. Install Python, I’ve used C:\Python2.7 as the file location, upto you where it goes, just make sure you replace any path names with wherever you have put yours.
  2. Unzip PlexConnect, it will create a Plexconnect-Package folder, rename it to c:\PlexConnect (again upto you where it goes)
  3. Unzip the SRVAny zip and put the two exe files into the PlexConnect folder.
  4. <Make sure you configure PlexConnect>
  5. Once you are sure that PlexConnect is running just fine (see ScreenShot of mine working) then continue, if it’s not working just running from the shell then make sure you get it going now
    Working.PNG
  6. OK, so we have a working setup (well mine is bitching about certificates or something, but hey), now we need to install the service, make sure your command prompt is an admin one (right click the cmd link, then select start as admin)
    AdminCommandPromt.png
  7. CD to c:\PlexConnect and then run instsrv PlexConnect c:\plexConnect\srvany.exe Make sure that it’s installed correctly (see screenshot)
    ServiceInstall.PNG
  8. Next thing fire up Regedit, and navigate to the right section (see Screenshot), add the key, and then the two Data values as highlighted below (Make sure the case is right or if following the guide, then download this reg file and run it).
    Registry.PNG
  9. From the command prompt type services.msc that will launch the service’s manager, wander down to the service and make sure it looks right, and the startup is set to automatic
    Services.PNG
  10. Click the start button, then OK, and you should now see that the service is running
    serviceRunning.PNG
  11. And as Elan (and South Park) would say…. Profit
  12. Oh if this helped… Click the Like button below Thanks ……

I’ve attached a ZIP here Certificates InstallPlexConnect and here’s the post that goes with them.

OK, had a few minutes to spare, and the VM was running anyhow, so here we have a batch file that ‘should’ do it all.

It downloads the bits it needs (including Python and PlexConnect), put’s them in the right places on disk, and creates the service.

It’s very crude, and simplistic, but works on my VM. Like I’ve said before I’ve not got an AppleTV to do any testing, so I leave that upto the people that do have it.

I suppose I should explain usage… Doh

Unzip to any folder you like, and run the InstallPlexConnect.cmd as an Admin. It will make all the folders etc, it will install it all on C:, so edit the script and reg file if needs be.

Also if you already have Python installed, edit the CMD and take out the download and the install sections out, and edit the reg file to point to the right place for the Python.exe file.

EDIT : Just looked into what needs to get it working, seems there is some cert’s that are required. I’ve uploaded some I made into the Certificates.zip file. You need to extract them to the certificates sub folder in c:\PlexConnect to get it all working. They are just generic SelfSSL ones, so can’t see why uploading them would be deemed bad, but if it is, let me know and I’ll delete them.

Plex for NowTV version 2.6.9

I’ve put together the 2.6.9 build for Plex on the NowTV.

Here’s the lowdown on the update (from the Roku form on Plex)

NEW:
- Update supported H.264 level to 4.1.
- Add clock to home screen.

FIXES:
- Fix a crash when adding servers manually.
- Fix episode title when watched status changes. (thanks ljunkie!)

Install is the same as always, connect to the HTTP://ipAddress for the admin screen, upload the zip and make sure you get the installed OK message.

Plex-nTV-2.6.9 For the Download.
NOTE : A couple of the new features need the latest Plex Server (0.9.8.7)

Kali Linux, Cinnamon and the Menu

OK, so Kali… Love it

Cinnamon.. My desktop manager of choice

Screenshot from 2013-09-20 19:43:51< both together…. trouble, no Kali menu!

There’s loads of guides on installing Cinnamon on Kali, it’s pretty simple, just a matter of apt-get install cinnamon but none that detailed why the menu’s went missing. I decided it has to be fixed!

Now for fixing the menu, Cinnamon has issues with the /etc/xdg/menus folder layout, has done for ages, and still not been fixed, however a ‘patch’ was put in back in Mint 14, so we can take advantage of that.

From a shell,

cd .config/menus
ln -s cinnamon-applications-merged /etc/xdg/menus/applications-merged

Sorted… We just need a link called cinnamon-applications-merged and point it at the etc/xdg/menus that way all the .menu files are processed.

Slimming Friendly Donner Kebab

Yeah, I know, sounds wrong doesn’t it?

But it’s true, works out at about 8 Syns (Slimming World), so for a Cheats Fast Food then it’s great, so good I’ve decided to write it down, that way I’ll remember it.

What you need

  1. Pack Extra Lean Lamb Mince (400g/500g)
  2. 1 teaspoon dried oregano
  3. 1/2 teaspoon dried Mixed herbs
  4. 1/2 teaspoon garlic powder
  5. 1/2 very finely diced Red Onion 
  6. 1/4 teaspoon cayenne pepper
  7. 1/4 teaspoon dried chilli or 1/4 Mild Chilli finely diced (with or without seeds/pith, upto you on heat)
  8. Small handful fresh Mint
  9. Seasoning (Salt and Pepper)

Grab a bowl and drop in the dried ingredients, very finely dice the onion and chilli and add that, make sure you pop some Salt in with the onion, only a pinch or so for now.

Pop the mince in and get your hands in and mush it all together, work it well you want all the ingredients all the way through.

Add a good grind of Black pepper, and a good pinch of salt (Lamb really needs Salt) you can test the seasoning by taking a small patty and frying it. Add the chopped mint and give it a scrunch through, cover with clingfilm and pop in the fridge overnight, or a couple hours to let everything mingle.

To cook, take out the mixture, and form into a ‘log’, make sure you try to get the mince as tight as possible, try make sure there are no air pockets in the mixture.

Pop the ‘log’ onto a baking tray, pop in the oven at 180c for about 35 mins, Tip away any oil/fat and turn it over to caramelise the other side and pop back in the oven for 35 mins.

Take it out of the oven, let it stand for 10 minutes or so, take a sharp knife and slice as thinly as you can.

Warm your Pita bread through (White Pita Bread is 7 syns), pop the meat into the Pita, along with finely sliced Red Onions, Cabbage etc (your choice), great served with Mint Yoghurt (natural fat free Yoghurt, with finely chopped mint stirred through it).

The only Syns are in the Pita and any toppings, sauces etc you may use. Goes great with Potato Wedges made the same way as the Syn Free Chips and Salad.

Virgin SuperHub2, and IP Addresses

I’ve been told the SuperHub1 was a terrible device, and had a little higher hopes for the SuperHub2.

Installed fine, Speed is decent (see below, done over 5ghz WiFi), however the device wouldn’t let me use 192.168.1.x address range, complained that the Modem already had this.

A little SSH’ing later, and it isn’t actually the Modem, it’s actually the ‘Guest’ WiFi ranges (you can have 2 guest networks on each band, the internal address for the modem is actually 192.168.1.15, go figure?)

Anyhow, log into the device’s HTTP management interface, goto advance, then Goto DHCP Settings (odd place for the device IP I know!), change the device IP address to 192.168.16.x (I moved it to 254), save the config and let it reboot etc.

This will then move all of the other ‘reserved’ ranges to above 192.168.16.x, so now when we login to the router (remember it’s new IP address) we can goto the same config area and change the IP address to 192.168.1.x and hey presto, a sensible IP address range.

Now you ask why I would want to use another range, well because all of my devices are already configured for that range set, and some of my VM lans are 192.168.0.x so saves confusion.

Anyhow, thought I would share, as the SuperHub2 is a fairly new device.

plexht1

Plex For Ubuntu/Mint

I’ve just had need to do this myself, and in an effort to not have to work it out again here’s the way to do it.

These will install the Repository’s that are needed (Plex itself, FFMpeg and libcec)

sudo add-apt-repository ppa:plexapp/plexht
sudo add-apt-repository ppa:jon-severinsson/ffmpeg
sudo add-apt-repository ppa:pulse-eight/libcec
sudo apt-get update

After that, all we need to do is install PlexHT itself, so

sudo apt-get install plexhometheater paprefs pavucontrol

That should get it all installed.

You could of course clone the Repo (https://github.com/gewalker/plex-linux.git) and compile it. Upto you, but the Repo method is easier.