How to make sure you have a ligit copy of Windows 7

May 20th, 2009

With all the news today about the Windows 7 botnet, it’s a good idea to know how to verify you got a legit iso. No matter where you downloaded the iso, it is a good idea to verify the file has not been tampered with and is is reallly easy to check verify with the MD5  hash.

First download md5sum.exe and grab the MD5 hash from Microsoft’s site. To save you the trouble I’ll post the x86 hash here, but you should always get it when you are downloading a file. 8867C13330F56A93944BCD46DCD73590

Now simply call md5sum from the command line using just the iso as an argument, and after a few minutes it should spit out the same hash. 

md5check

Pretty easy huh?

How to control Windows 7 via TCP with vmcController

April 26th, 2009

The Windows 7 release candidate (rc) hit the torrents this week and after it was confirmed authenticate by someone via an MD5 hash, I decided to go ahead and try and make the switch full time from Vista.

One of the key add-ins in my household is one that adds the ability to control Media Center and extenders via my Home Automation controller since even the basic operations in my home are dependent on it. I can’t even watch Live TV in my house if this doesn’t work, so I needed a solution. Autonomic homes has supported Windows 7 since beta, but I’m not willing to pay $800 just for this one feature, so I needed the open source project that was free to work, the same one that I was using with Vista.

The now poorly named VMCController is a background MC add-in that features a few control ports so I can fully control any extender in my house via TCP. To get it working on Windows 7, I had to download and install the latest version as normal, but when I launched MC, I got an error about the add-in failing to load. So with some help from Olddog at the projects codeplex discussion page, I was able to get it working. You’ll need to download Olddog’s updated DLLs. But in order to replace the DLLs, first thing you need to do is to delete the HKEY_LOCAL_MACHINE\Software\Classes\Installer\Assemblies\Global\Default registry key as per this MS KB article — always backup the registry before editing by righting clicking on the parent object and choosing export. Now reboot and open Windows Explorer to C:\Windows\Assembly. Find VmcController.Add-In, then right click on it and select uninstall. Now copy the new VmcController.Add-In.dll from the OldDog’s zip file to C:\Windows\eHome and all the DLLs to C:\program files\Media Center Network Controller\ and finally start Media Center and test by telneting to localhost port 40500.

The only problem I’m having is that a few of the buttons don’t work, but I found work arounds. So instead of using button-skipfwd I used the command playrate skipforward, which does the same thing.

Hopefully the main contributer to the project will update the source with OldDog’s changes so that we can just run the installer like the old days, but at least it is working.

90 days (and counting) without cable TV

April 9th, 2009

Back in December when I wrote about how I canceled cable, I received some greate encouragement and was solicited for updates. Well obviously I haven’t done so since, but after over three months my family doesn’t miss cable at all. Well, that isn’t completely true as there have been a few times when I thought about how I’d like to have cable, but then I remember that I’m saving $60 a month and I forget about whatever it was I wanted to watch. 

Over-the-air and Blu-ray Discs via Netflix.
I get almost all of my content from two places. Over-the-air provides most of our content and my kids are actually very pleased with the cartoons on PBS and hardly miss the Disney Channel — although I do bring up YouTube on occasion so my daughter can watch The Wiggles. We watch the nightly news and network TV shows like Lost and for the most part get to see everything we want. We watch about two or three Blu-ray Discs from Netflix each week, and have not once used the Watch Now feature on the BD300 or purchased a single show on the Apple TV or Xbox 360.

The missing piece.
The one missing piece is some premium TV shows on HBO and SciFi HD that have yet to be released on Blu-ray. I don’t mind waiting an extra 6 months for a series to be released on Blu-ray, but when the show is only released on DVD, it really drives me nuts. Luckily this scenario seems to be going away as more and more TV shows are coming to Blu-ray, but until then, we’ll have to find other ways to watch our shows.

Various sources
Most know my friends Warren and Andy helped me create a process to automatically download and convert shows for Media Center and while I had tons of fun working on the project — and continue to work on a version for movies — I have to admit I stopped using it because I felt guilty about watching the one or two shows I don’t have access to just to save some money. So from now on, I’ll just wait until the shows are released on Blu-ray to watch them.

With about five months to go until the FSU Seminoles open up the college football season against the Miami Hurricanes on ESPN HD, I’ll end up not having cable for 8 months which is about $500. This still seems like a good idea, but at the same time I dread adding the service back and dealing with an installer, etc. So while it makes sense this year, I’m still not 100% sure I’ll do it all again next year. I suppose it depends on what happens with DirecTV and Media Center, because with DirecTV canceling and adding service is super easy. But if the DirecTV Media Center tuner isn’t ready by September, then I’ll have to go back to FiOS. And although FiOS has fantastic quality and selection of HD, their service dispatch system is quite possibly the worst in the industry.

My electronics in pictures

April 5th, 2009

One of the commenters on the Engadget HD Podcast recently asked me to do this so here goes. It’s been over two years since I did a post like this and I have to say I’m amazed at how much of my equipment is the same and at the same time, how much is different.

My equipment list

  • Pioneer PDP-6010FD (Kuro)
  • Saphire towers and center
  • Speakercraft surrounds
  • XPS 420 running Vista Media Center
  • LG BD300 Blu-ray player
  • HDHomeRun
  • Xbox 360
  • Pioneer Elite VSX-91TX AV receiver
  • 32″ Sharp Aquas — Linksys DMA2100
  • 19″ Sharp Aquas — Linksys DMA2100
  • OrigenAE rc197 Remotes in each room
  • Elk M1-Gold alarm
  • Global Cache GC-100
  • MSI Wind PC running WHS
  • Insteon Dimmers (about 14)
  • ISY-99 Insteon Controller
  • HAI thermostat
  • MacBook Air
  • Latitude D430
  • 20″ cinema Display
  • Actiontec MI424-WR FiOS WiFi router

How to automatically convert VOB to MPG and DTS to AC3

April 5th, 2009

I’m working on a newer version of my automatic MKV to DVR-MS process and found myself needing to do these conversions automatically. So I figured I’d share them so people could use them until my entire process is done.

The main uses from my perspective is to make various video files Media Center compatible, but since MPG and AC3 are pretty much the most standard codecs in the industry, there are plenty of other uses. Both of them require the latest version of DVRMSToolBox, written by my good from Andy. In fact it is what makes the entire process automatic. For both profiles, the DTB temp directory is used to create the files and then the final file is moved back to the location of the original file (in the case of the MKV AC3 files, the name is changed for obvious reasons). Until I release the rest of my process, you can create a simple “process conditioner” to automatically convert these files, or you can run them on demand with DVRMStoMPEGGUI (or queue them up manually).

The first is a very simple VOB to MPG converter. All it does is use ffmpeg to repackage the MPG and AC3 streams into an MPG container. The best way to create a vob to convert is to use something like DVDShrink to rip only the main feature and the main AC3 audio to a single vob. You can use DTS, but as you might know, in the case of Media Center DTS is not supported nativly and thus doesn’t work on extenders. To use this drop “Convert vob into mpg – ffmpeg.dpc” into “C:\Program Files\DVRMSToolbox\Profiles” and put ffmpeg.conf into “C:\Program Files\DVRMSToolbox\Applications\ConvertFfmpeg”

The second one was actually very difficult to get right and I’d still like to do some more testing. What it does is extract a DTS stream from an MKV file, then convert it to AC3 with eac3to, then finally remuxes it back to an MKV with AC3. It only retains the original video and audio streams and in fact doesn’t touch the video stream. To use it you’ll need to download eac3to and MKVtoolnix (both free). First extract the eac3to archive to “C:\Program Files\DVRMSToolbox\Applications\eac3to” and install MKVtoolnix with the isntall path of “C:\Program Files\DVRMSToolbox\Applications\MKVtoolnix\” And of course you’ll have to copy the “Convert MKV with DTS to MKV with AC3.dpc” to “C:\Program Files\DVRMSToolbox\Profiles”

Please let me know if these work for you or not, I’m really hoping to get these throughly tested before my final project is complete.

**Update** Already had to update the DTS to AC3 profile, this one should work better. Thanks Rich. 

**UPdate2** Had to update it once again because the AC3 bit rate was too high for dvr-ms files, it is now set to 448 instead of 640.

A cheap and easy fix to HDHomeRun network issues

March 30th, 2009

I’ve loved my HDHomeRun for as long as the product has been on the market, but never really used it heavily until I switched to Media Center about a year ago. Well ever since, from time to time I’ve experienced network issues that have caused less than perfect picture quality — drop outs, blocking, breakups etc. I’ve spent countless hours troubleshooting this and most of the time it ended up being the driver for my Intel 82566DC-2 network adapter. At one point I even spent some money to replace my switch since the NIC refused to auto-negotiate to 100/full with the 16 port Netgear switch I was using. Well for whatever reason the issues came back over the weekend and I finally threw in the towel and did what I should’ve done a long time a go.

The simple solution
I went down to CompUSA — yes they still have them in Tampa — and picked up a $14 NIC. I threw it into a spare PCI slot (you can use a USB NIC if you want) and plugged the HDHR directly into it. The cool thing is that I didn’t even need a crossover cable, in fact all I had to do was rerun the HDHR setup utility to rediscover the location of the device. And thanks to the beauty of APIPA — you know that 169.254.x.x address — I didn’t even have to set an IP on the NIC or configure an IP for the HDHR. 

Now my picture quality is back to the perfect and my only regret is that I didn’t just break down and do this earlier. So if you are having problems with your HDHomeRun, I wouldn’t hesitate to throw an extra NIC in your PC and at the very least isolate the problem.

Bonjour+UPnP = really, really bad

March 28th, 2009

Any good network person will tell you, turn off UPnP on your router! But in many cases it comes on by default, which means that people don’t know that it is on. But what’s worse is that, for most, UPnP is really useful because it will allow applications like Skype and the Xbox Live to open up ports on your home network’s router/firewall without having to understand ports and IP addresses.

Not sure why I’m such a gluten for punishment, but I turned on UPnP recently on my FiOS issued ActionTEC router and noticed all kinds of ports being opened. At first reaction, I disabled it and deleted all the port forwarding rules, but then I started to wonder where they were all coming from. My first thought was that I let someone use my WiFi and their machine opened ’em, but I wanted to be sure so after cleaning up all these weird rules, named things like iC5900, I used this post to figure out how setup WallWatcher on my WHS so the next time it’d happened I’d be collecting Syslog data from my ActionTEC router. My thought was I wanted to make sure I had a log since I had no idea when the ports would be opened, but to my surprise when I preceded to enable UPnP, all the ports were opened almost immediately and the destination was my MacBook Air!

At this point I figured I must have a trojan or something, but then I noticed it was port forwarding to known services I had running on my Mac like VNC, Skype, and SSH. So the next thing I tried was to set firewall on the Air to essential services only — usually only enable it when I take it off my LAN — delete the UPnP created rules, and wait. This time they didn’t come back.

Now the problem is that Bonjour requests that the WAN router open up all the ports that are open on the Mac’s local firewall, which is kinda cool, but not what I want. You see while I want to be able to connect via SSH to my Mac while on my LAN, I don’t want to over the internet — otherwise I could control this by configuring the Mac’s firewall. The easy solution is to just disable UPnP on the router, but I have to say that probably won’t work for many people because they don’t understand how to manually configure their firewall. The other option is to disable Bonjour completely, but then the LAN services won’t work either.

For now I’m just going to go back to manually configureing my router’s port forwarding and turn my Mac firewall on when I take my Mac about.

There is one cool OSX command I learned along the way, like how to tell which applications are communicating on port 22.
sudo lsof -i -P | grep 22

This lsof command is basically a more useful version of netstat on the Mac, which evidently will also tell you which files are open.

Plagiarism or coincidence? You decide

March 23rd, 2009

Just ran across this post today at one of my favorite sites, The Digital Lifesyle, and at first I was thrilled to see somoene appreciate the hard work Warren, Andy, and I put into automatically converting mkv files to dvr-ms. But then after reading through the entire post I noticed that nor my name or Engadget’s was anywhere to be found. Now maybe I’m jumping to conclusions, but it seems like too much of a coincidence for this not to be a derivative work. Now I’m accustomed to being ripped off online, but usually it is some hack site and not a reputable place like Ian’s site.

**UPDATE**

Ian was very responsive to my concerns and has pulled the post — but yet the link still works. Never the less,  the original author has added credit to his post on his blog, but in a way that seems half-hearted to me. But perhaps that is because the intent of his comment was lost in the British to American translation.

There’s nothing I can’t do, just things I haven’t done yet

March 19th, 2009

If you know me, you know I love a challenge. One of my oldest friends that I met in college, Dave — aka Utah — actually makes fun of me because anything I choose to pursue I become an expert in. I’ve seen this happen over the years ever since I was 15 years old when my older brother got his first car and I helped him install a new stereo. Within months I was a 12v expert and actually worked as an installer for various companies including Circuit City for almost 5 years.

Eventually stereos got old and my next love was automotive performance. This was far more challenging as I had to learn the ins and out of compression ratios, value overlap, and clearances. But this wasn’t enough either and I eventually became an expert in swapping engines. We’d order used Japanese market (JDM) engines from various importers and install them into our cars. The most popular was the Honda Civic because while the Civic in the US only had 125hp, the JDM engines were over 160hp — this might not sound like much, but it is when you’re talking about a 2500lb car. This actually lead me to start my own business with my good friend Shaun Torrente. We called it Upgrade Performance, but eventually had to do business as NRG (long story). My specialty was wiring because while many could buy (or fabricate) the appropriate mounts, rewiring a modern EFI system isn’t as easy. I’d create custom harnesses that would make it possible to put just about any engine in any car — as long as it was a Honda that is. I’d pride myself on making my custom harnesses look as much like an original as possible. It was challenging at first, but after you’ve done a few, it becomes mandane. A few times I even made custom ECU adapters so that people could use a better computer from a different car. This consisted of a trip to the junk yard to find donor plugs and an old ECU. You’d cut them out and solder all the pins to the correct location for the other car. So for example an Idle Air Control valve might be C4 on a 92 Civic, but on a 97 Integra Type-R it was A5. Sounds easy but there was like 100 pins and not everything had the exact same name.

The way I did this is the same way I’ve attacked every technical challenge in my life, by reading the directions. It seems odd to me that everyone doesn’t have the aptitude to pick up a book and just make things happen. This is actually how I’ve become successful in IT as well. I’ve excelled because no matter what the problem is, I can solve it. In fact I find technical support and formal training boring and in some ways stifling because usually I can figure it out or train myself faster. 

As you can imagine, when  you have as many interests as I do and such a thirst for knowledge, you want to share it. This is how I got involved at Engadget and on the various forums where I try to contribute. But this same helpful nature also has a downside. To some I can come off as a “know-it-all.” The irony is that I just want to help, but through the years I’ve found more gracious ways. I remember when I was kid, I got so sick of being called a know-it-all I actually came up with a come-back — remember those, they were great — in which i would respond “I know a little about just about everything, and I know a lot about a few things, but I’ll never know everything about anything.” Yeah I know, real cool right? But you have to admit it’s better than “I’m rubber you’re glue….”

Anyways, I’m not quite sure why I felt like sharing this today, but if you like it, you may like my other philosphical posts. If not, then you probably didn’t make it to the end anyways.

My favorite new iPhone app, eKeypad Plus

March 15th, 2009

Although there wasn’t much HD news at EHX this year, I did have some time to stop by and talk to some of my favorite home automation vendors. And at the Elk booth I learned about a really cool new way to control my home.

eKeypad Plus isn’t the best name for a home automation application and the $45 cost and icon might scare you off before you even get started, but it really cool. The application ties into an Elk security system — which is also a damn fine home automation controller — and gives me the type of access I’ve been waiting for. Even my  wife was impressed and it when it comes to iPhone apps, we don’t see eye to eye on most.

The key features I’m pleased with are the ability to check the status of the alarm from anywhere (armed etc), the ability to adjust the thermostat and I love being able to turn lights on and off without getting off the couch.

Overall I don’t have any complaints — although $45 is the most I’ve ever paid for an iPhone app and I’m still not sure it is a good value —  but there are a few tweaks it could have like when you click thermostat it shows the lists of thermostats in the house, even though I only have one. It also be nice if there was a way to view the Elk’s logs so I could go back and look at previous events — evidently on the roadmap for the pro version.

Anyways, if you have an Elk there’s no reason to wait, just go buy it you won’t be sorry. (I should point out that the Elk Ethernet expansion module is required for this to work.)