jake's blog

dribble from the Tech World

17. June 2013 20:55
by jake rutski
0 Comments

Project Connect - DLNA Live TV Streaming

17. June 2013 20:55 by jake rutski | 0 Comments

SiliconDust continues to give service providers the metaphorical middle finger - with a single device, the HDHomeRun Prime, you can:

  • Watch live TV with Windows Media Center PC
  • Turn your Windows Media Center PC into a DVR
  • Extend the above PC to your XBOX and watch Live TV on it
  • Do all of the above on 3 devices simultaneously
  • Or record 3 shows at once

And now, with the introduction of Project:Connect and DLNA certification you can also:

  • Watch live TV streams on nearly any DLNA player - TVs, PS3, etc
  • Watch live TV on any Windows 7,8 based PC (without Media Center)
  • Watch live TV on your mobile device

So why on earth would you want or need any cable boxes?? Here's the forum page for more info: http://www.silicondust.com/forum2/viewforum.php?f=47

All you need to do is update your HDHomeRun Prime firmware to version 20130328 - it can be downloaded here. Once the device is updated, open the config UI, select the device, and go to 'Channel Lineup'

Next you will need to do a channel scan - this will likely need to only be done once....and any time your service provider changes the VCT. Once the channels are scanned, they will show below the menu:

That's it really. It should now show up as a DLNA device - you can see it in Windows Media Player under 'Other Libraries' (The HDHomeRun Live DMS is how it will show up for all DLNA clients):

*Note: I have had difficulty using native WMP to play the streams - it sits on 'buffering...' a lot and only plays every once in a while. This has been documented here: http://www.silicondust.com/forum2/viewtopic.php?f=57&t=14259 and appears to be an issue with WMP and rendering 'sender-paced streams'. Either way - VLC works fine (View - Playlist - Local Network - Universal Plug'n'Play).

I also tested this successfully with our almost 4 year old Samsung 55" LCD. The only problem with this is that there is no real way to effectively get an EPG and changing channels is not the fastest thing in the world.

17. June 2013 12:05
by jake rutski
0 Comments

Eye-Fi and FreeNAS: Delivery Failed - Failed to deliver picture

17. June 2013 12:05 by jake rutski | 0 Comments

I recently moved all of my CIFS shares over to a FreeNAS box (more on that later) including the share that housed all of our photos. We use an Eye-Fi card in the DSLR to auto-upload all the images whenever the wireless network is in range - and it has worked flawlessly....until now.

I have a Windows 7 VM that runs the Eye-Fi helper application since it won't run as a service and requires a logged on user - there's a drive mapped to a folder inside the Photos share and that is where the Eye-Fi uploads go. So I assumed that I would just be able to change where the mapped drive pointed to and all would be well.

Not so much.

We took a few pictures on Father's day and went to upload all the photos - everything went fine...until I looked at the VM that runs the Eye-Fi helper. It was constantly popping up notifications that said: Delivery Failed - Failed to deliver picture. Looking in the share - the photos were uploaded successfully, but for some reason, the application thought they weren't uploaded.

The logs for the Eye-Fi helper are located here:

%SystemDrive%\Users\%UserName%\AppData\Roaming\Eye-Fi\EyeFi.log

The log showed the errors, and gave an indication about what the problem was:

'filesystem::last_write_time: Access is denied' - looks like it is trying to access the last write time attribute and receiving an Access Denied error. This is likely caused by the different security and permission structure in FreeBSD versus native NTFS\Windows. That being said, I needed to make sure that all the files and folders on the share had the correct permissions. I reset the all of the permissions with the following commands:

chown -R domain\username *
find . -type f -exec chmod 660 {} \;
find . -type d -exec chmod 770 {} \;

The first line changes ownership of every object in the folder, then the next two lines set permissions for read\write for the owner and group. Once this was done, the errors disappeared, and all photos show as being successfully uploaded.

10. April 2013 16:59
by Jake Rutski
0 Comments

Outlook 2013 - Attachment Check Reminder

10. April 2013 16:59 by Jake Rutski | 0 Comments

This may very well be the best new feature of Outlook 2013 - it should hopefully prevent people from forgetting to attach attachments to emails. Here's how it works - you can try it for yourself! Type up an email and include the words "have attached a file" or something similar and don't actually attach anything. Then click send - and you get a nice reminder stating that you may have forgotten to attach a file.

Brilliant!

 

3. April 2013 20:27
by Jake Rutski
0 Comments

LogMeIn Free Limited to 10 Machines

3. April 2013 20:27 by Jake Rutski | 0 Comments

Recently, I logged in to my LogMeIn account to provide some "remote support" to my parents when I noticed a nice error message stating that You will soon have to pay for more than 10 computers - the free version will be limited to 10 computers only.

I was able to remove a few computers that had either been replaced or that I was no longer actively managing...but I know of several companies that use the "Free" version to provide remote support - this will probably not go over too well with them.

20. March 2013 17:08
by Jake Rutski
0 Comments

FreeNAS Build Project: Part 1

20. March 2013 17:08 by Jake Rutski | 0 Comments

FreeNAS Build: Part 1 - Turn on a Power Supply without a Motherboard

After doing much research, I've decided to move forward with my FreeNAS build for my home lab\storage. I will be storing VMware datastores via NFS and tons of files via CIFS. The system will be configured (for now) as follows:

  • HP DL360G5
    • 2x Dual-Core Xeon 3.0GHz
    • 32GB RAM
    • 4 1Gb NICs
  • IBM ServeRAID M1015 flashed to an LSI-92118i
  • HP SAS Expander
  • Habey ESC-2122C for 12 additional 3.5" drives

The 12 bay 'storage shelf' has already been arrived and reviewed here.

This configuration will put the SAS expander in the storage shelf - so the next question: how to power it?

The HP SAS card only gets power from the PCI-e interface; there is no data connection. So all I need is a powered PCI-e x8 slot - one option is to use a cheap motherboard to power a slot, but never boot into an OS. Another option is having the SAS expander in the actual PC - in my case the DL360...this will not work since I am out of slots (used by the 2nd NIC and LSI SAS card). So with this build, I'll be using a 2 slot, 1U backplane (PE-2SD1-R10) available here from OrbitMicro.

The only problem with these backplanes is that they do not have a direct means of turning on the power supply - and keeping it on. There are again, a few options - the most common is to jumper the ground and power-on pins - it should be noted that the power button and reset button pins don't do anything (that I can tell). By jumpering the power-on pin to ground, the power supply is permanently powered on - thus making the external hard switch on the PSU the power on switch. I didn't like this idea - so I built a circuit based on a 2 coil latching relay to allow the front power button to control the power supply. 

Using the 5 volt standby to actuate the 2 coils in the relay - the 2 pin lead is for the built in power button on the chassis and the 3 pin lead connects the ground, +5VSB, and power-on from the backplane.

20. March 2013 16:39
by Jake Rutski
0 Comments

Comcast Xfinity Fastest In Home WiFi?!?

20. March 2013 16:39 by Jake Rutski | 0 Comments

Comcast has been touting a new "feature" to try to keep up with Verizon FiOS - it is all over radio ads and TV commercials...they have 'The fastest In-Home WiFi'! Way to go, Comcast - let's make a bogus claim, not back it up and confuse customers while you're at it! First let's compare the most common Internet speeds from both providers:

  • Comcast: 50Mbps down, 10Mbps up - $75 per month
  • FiOS: 50Mbps down, 20Mbps up - $75 per month; includes digital voice phone service

So Comcast falls behind there. Next lets address the WiFi claim as noted here: http://corporate.comcast.com/comcast-voices/nations-fastest-internet-provider-now-provides-fastest-in-home_wifi

Clearly, the Comcast gear has a maximum data rate around 150Mbps, while the Verizon data rate maxes out around 85Mbps. So for the 50Mbps down that most Comcast customers are using, the 'Fastest in-home WiFi' is getting you.....absolutely nothing. Well - you can move files between computers on your network faster on Comcast...but if you're doing that, you probably know enough to use your own wireless access point

 

It also doesn't help that the fastest speed tier from Comcast (~300Mbps) is not available in all areas. And if you have that, none of the above wireless gateways will do you any good.

It should also be noted that any 10/100 adapters will limit that 300Mbps speed - so my point: If you are going to buy (need) a speed tier that exceeds 100Mbps, you're likely smart enough to use your own gear.

 

Thanks, but no thanks, Comcast. I'll stick with my FiOS fiber-to-the-house connection.

20. February 2013 15:59
by Jake Rutski
0 Comments

FreeNAS - ESX and NFS; Synchronous Writes and the ZIL

20. February 2013 15:59 by Jake Rutski | 0 Comments

I've been testing FreeNAS lately - connecting ESX hosts via NFS for virtual machine storage. Being POSIX compliant, ZFS must abide by any calls made with the o_sync flag set meaning essentially that all disk activity must be written to stable storage before success is returned. This includes most commonly databases, file server operations and most importantly NFS. This means that the ZIL (ZFS intent log) will be used as a special place on disk in the pool to temporarily write data to from RAM - in its default configuration the ZIL is comprised of blocks from your zpool.

There are 2 ways to improve performance for NFS workloads - especially intensive ones such as VMware:

  1. Use an SSD (or mirrored pair of SSDs - especially if you're not at ZFS v28) as a dedicated log device
  2. Disable the ZIL *Not recommended - can cause data corruption

To prove that the ZIL is being used excessively, you can temporarily disable it to see if performance improves. See the screenshot below from the VCenter console - datastore write latency for my VMs was averaging 9-11ms which is not great. The arrow indicates the point at which the ZIL was disabled:

While it is not a good idea to disable the ZIL, it clearly shows that it is being strained. Once disabled, the new average latency was 0-1ms and the systems were much more responsive.

The command to disable the ZIL is:

zfs set sync=disabled tank/dataset

 

This was done for testing\demonstration only. To re-enable the ZIL back to its default configuration run this command:

zfs set sync=standard tank/dataset

For the final FreeNAS, a pair of SSDs will be used for the ZIL.

20. February 2013 08:15
by Jake Rutski
0 Comments

Habey ESC-2122C Storage Server Chassis Review

20. February 2013 08:15 by Jake Rutski | 0 Comments

I have been testing lots of storage software lately - since a NetApp Filer is overkill for a home lab environment, I'm sticking with other software based storage. The goal has always been to serve storage for two things - Fast storage for an ESX cluster and lots of storage to share over the network with CIFS.

The first iteration was a DL380G5 with a p800 card connected via external SAS to an MSA50. The biggest problem with this setup was simply that the MSA50 was WAY TOO LOUD for a home environment, and there is no real way to quiet it down. The next problem is also that the DL380G5 is also somewhat loud, and it only has 8 SFF bays. Long story short, I decided to build a white box disk shelf - and that's where the Habey ESC-2122C Chassis comes in.

The item can be found here at Newegg. It is a 2U chassis with 12 hot-swap SAS\SATA LFF slots, 4 80mm fans, and the backplane is connected with 3 SFF-8087 ports (not 2 like Habey and Newegg report). The plan is to use an HP SAS Expander in the chassis to provide SAS connectivity to the controller server. Here's an overview:

What you see is what you get - a bag of screws...and that is all. Looks like rails are available (here's one that I found) though I'm not sure if I'll use them or not as it will be sitting on top in the rack...we'll see. Here's the backplane and fan connector board:

Here's the 3 (not two) SAS backplane connections and 4-pin molex connectors for HDD power. Please note that there are SIX (6) power connectors on the backplane, plus ONE (1) for the fans for a total of (7) - needless to say I will be repurposing some SATA power for this.

Update: Note that each pair of molex power adapters is for redundant power supplies - so for a single PSU, only one of each pair will be needed to power each row of four (4) drives.

There are 2 places on either end of the fan-cutout plate for cables to pass to the front of the chassis - it is going to be difficult to get all the cables up front because the space is fairly small. Also the back of the SAS backplane connectors are fairly close to the fan cages and the bottom one is fairly difficult to get to without taking the fan out.

A little blurry but here's the front of the unit:

And one of the HDD trays:

Also note: the trays are compatible with 2.5" drives - note the 4 screw holes in the tray.

The fans are meant to be "hot-swap" as well, but being that the only thing generating much heat is the SAS Expander, air flow is not a high priority here. That said, I am removing the stock fans and replacing them with much quieter units.

 

Here's the fan out of the slot - there are two options if you want to replace the fans:

  1. Use the existing 3-pin fan headers on the control board directly to new fans - this bypasses the 4-pin 'hot plug' connector on the fan cage.
  2. Re-pin the 'hot plug' connector and keep the existing cable connections to the control board.

I opted for option 1 - the pins from the new fans did not fit into the 4-pin connector on the fan cage - also note that only 3 of the 4 pins are used. Here's a close up of the fan cage:

There's a small blue clip that holds the white connector in place - it snaps off. The 4 fan screws also have small spacers between the fan and the cage.

All in all it seems to be a decent chassis for the money. More details once I start building the controller and get the expander mounted.

14. January 2013 21:45
by Jake Rutski
0 Comments

Insteon Review - Part 1: The Test Device

14. January 2013 21:45 by Jake Rutski | 0 Comments

I have long been interested in getting into Home Automation ever since X10 came out many moons ago. Having watched, researched, and debated several of the major HA vendors and products, I finally decided to take the plunge. The choice was not easy - products based on UPB or Z-Wave seemed to provide a higher reliability than others...but they also came with a higher price tag. X10 essentially died off...Insteon has a great range of products, and is looking to move everything to Dual-Band - or sending signals both wirelessly and over power line. I was concerned about the reliability of the protocol as well as the failure rate of the products...but both seem to have improved over time (according to other reviews and forums).

So the first small purchase was a Dual-Band OutletLinc Dimmer and an 8-scene RemoteLinc 2. This would provide some insight into the functionality of the dimmers available as well as the range and functionality of a controller...and being that I've been replacing all of the contractor-grade standard outlets with Decora TR outlets, it was an easy choice.

Note that the top row of letters is already rubbed off...not too big of a deal. Also, DON'T throw away the outlet key for the controlled outlet - I had read some people did this then complained about the product...it is clearly marked and its purpose makes sense. Besides - how often do you unplug\plug in a lamp, anyway?

RemoteLinc 2:

Pros:

  • Small, hand-held
  • Charges with micro-USB cable (same as our cellular phones, tablet, other common devices...charger NOT included)
  • Single charge has lasted 1 month +
  • Operates the OutletLinc as a standard switch or a dimmer

Cons:

  • Range is fair...granted for the size of the device, it sort of makes sense. Plus the fact that there is only ONE device on the Insteon network - and there's a big dresser between where the remote usually is and the OutletLinc...
  • Initial programming was a bit tricky. Again, this is my first Insteon device, so this is to be expected. I should have put it in 4-scene mode to begin with.

 

Dual-Band OutletLinc Dimmer

Pros:

  • Looks like a normal outlet, Decora style, TR...
  • LED indicates status can be turned off
  • Button on front operates switched outlet
  • Fit into electrical box with no issue

Cons:

  • Only one outlet is controlled

Conclusion:

Overall we're pretty satisfied - the dimming is VERY smooth. The initial programming would have been much easier if I had put the RemoteLinc into 4-Scene mode to begin with - this essentially turns each row into an on and off button instead of trying to toggle on a single button...I'm not really 100% sure I understand the standard 8-Scene mode - nor do I think it really makes sense with just 1 controlled device.

I think the range issue will be resolved if there were one more Dual-Band device in the room - which is the plan.