pfSense Home Router – Part 1

torchOver the years, my home office has become a museum of sorts for wireless routers. There on a shelf sits my old reliable Linksys WRT54GS with upgraded antennas, next to it is a Linksys WRT350N, and lastly a Netgear WNR3500L. My current router sits in the office as well, that is a Netgear WNDR3800. The WNDR3800 is less than a year old and performs quite well, but then Western Digital announced they were getting into the wireless router business and announced the My Net N900, which is interesting since it includes 7 Gigabit Ethernet ports! But alas, I could not justify upgrading to a new wireless router in less than a year. With each router upgrade I have looked at three features: speed of actual CPU, internal memory, and DD-WRT compatibility. Home routers are essentially computers that route network traffic. The faster their CPU and more memory they have the faster they can operate. On slower ISP connections, you do not notice it as much, but once you upgrade your internet connection and add more devices to your home network, the more your router’s performance becomes impacted. Hence the WNDR3800 works better than the slower WNR3500L it replaced. I am mostly talking about the wired connections, since wireless speeds can vary and I tend to prefer wired connections. The more I thought about it, the more I came to the conclusion that I was really trying to upgrade the CPU and memory in my router; the wireless radio was adequate and the built-in 4-port switch was already being supplanted by a dedicated 8-port switch. In general wireless routers are a good value. They combine a wireless radio, a network switch, and routing capabilities for around $150 or less. The WD N900 looks like an even better value, given the 7-ports, but in my case, I wanted to separate the three main functions. Hence my search for the perfect home router began. (more…)

Set Default Fonts in Safari 6

Safari 6With the release of Safari 6, the default font settings preferences have been removed. If you still want to set default fonts without using a custom style sheet you can still use Terminal commands to set them. Another workaround is to use the Quickstyle Safari Extension.

Below are some example commands for Terminal:

Proportional Font:

defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2StandardFontFamily 'Lucida Grande'
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DefaultFontSize 16

Fixed Width Font:

defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2FixedFontFamily Monaco
defaults write com.apple.Safari com.apple.Safari.ContentPageGroupIdentifier.WebKit2DefaultFixedFontSize 12

The Fix My PC Dilemma

ToolsAfter working in Information Technology for several years, you come to a certain understanding about the balance between work and personal time. For many people starting out in IT, the temptation to dedicate yourself 24/7 to work is hard to resist. There always seems to be a pending disaster or a deadline that must be met. With some experience you eventually learn that the world is always coming to an end. It has been that way since the beginning of time itself. Dedicating yourself fully to work is not going to change that! Once you figure out for yourself, where and when to draw the line and give yourself some time back, you end up tackling another dilemma, which I call the “Fix My PC” dilemma. When you are computer proficient, it is not just work that wants your skills, it is also friends and family. You end up being asked many times to fix people’s laptops or desktops. Since you are a nice guy, you have a hard time turning these people down, especially when they are your friends and family. However, just like work, you need to set some limits, since this is still taking away from your personal time.

Rule 1: It’s Not Always Free

It is a bad idea to let people think your skills have no value. In my case, I charge a modest fee to look at people’s computer problems outside of work. My time is valuable to me, and so charging a fee makes me feel better and I can invest the money back into my technology interests. It always amazes me when people balk at me charging them. It must be that they do not recognize the value of my work or they simply want something for free.

Rule 2: I’m Doing You A Favor

If you agree to look at someone’s computer, make sure that they understand you are doing them a favor. They have to make it convenient for you. The last thing you want to do is agree to something and then find out you have to drive to someone’s house at an inconvenient time for you.

Rule 3: Identify and Diagnose Their Problem

There are very few times that I have been asked to look at Macintosh. Almost always the computer is a Windows machine. After spending years working with Windows, there are multiple tweaks, fixes, and customizations that can be done to make Windows machines work better. You could dedicate multiple days to just tweaking Windows. Remember, you do not have the time and energy to fix every problem, just concentrate on the problem that they asked you to look at. Most often people tend to not communicate well, and so I have had many people tell me that they wanted their computer to run faster and then find out that they really wanted something else entirely. Once you find out what it is they want you to fix, tell them how it can be fixed and let them decide what they want to do. Many times you find that there is a component failure and there really is nothing for you to fix; they will have to spend money on replacing the component or buying a new computer.

Rule 4: Know When To Walk Away

Do not spend you time installing Windows Updates, running malware or anti-virus checks! These chores are something the user needs to do. If you can avoid these time consuming tasks do so. Where ever possible configure these things to run on their own; Microsoft and other software vendors provide schedule features in most of their software. If you cannot schedule these tasks, educate the user to do them on their own.

Final Thoughts

These days I devote most of my time to building my own computers, instead of fixing other people’s stuff. Every now and then I will do someone a favor and fix their Windows problem, but I resign myself to not having to fix every problem. Life is too short to spend countless hours in front of a keyboard.

Caching Apache Forward Proxy

Apache FoundationIn my never ending quest to get more use of my computer equipment, I embarked on a new project last month. The problem, namely internet bandwidth. The home network just seems to be growing and growing with no end in sight. Between gaming systems and media servers, bandwidth is a big problem for most home networks. In my case, I already have a nice Windows Home Server 2011 box that is really not doing much, so I started thinking about what other uses this computer can do for the home network and a caching proxy made absolute sense.

Apache on Windows?

When most of us think Apache Web Server, we think Linux, but in reality Apache runs on Windows as well. The best resource out there for running Apache on Windows is the ApacheLounge; here you can find customized builds and forums with helpful information. For this scenario, I wanted a 64-bit version of Apache for Windows. This posed a problem, since Apache does not build a 64-bit version for Windows and the ApacheLounge did not have either. At this point you would need to compile it, or download an unofficial build from Blackdot.be. Since the goal is a caching proxy, I do not need to worry about 64-bit PHP or MySQL; those components are a non factor. At the time of this writing, I installed Apache 2.2.19 64-bit. I won’t detail the actual Apache installation since this is covered very well on other websites. (more…)

WHS 2011 Upgrade

HP MediaSmart ServerAdopting new technology is often a difficult journey. In the beginning the idea is simple, you want a home server. But then you begin to expand on the idea, add some requirements such as power efficiency, low noise, small form factor, good storage options. You take a look at the Mac-Mini and think it is interesting, but not for you, you still want something bigger. Eventually you come upon this little black box from HP. The HP MediaSmart Server is a good idea, right? It even comes with Windows Home Server, a customized version of Windows 2003 that is suppose to give you all these features. You even find a good price for an EX490 model on the Internet. Eventually it comes out of the box and you decide, the hardware needs upgrading, you install a faster CPU and max out the memory to 4GB and then add some 2TB SATA drives and you have yourself a pretty good looking box.

In the back of your mind though, you cannot help thinking that the HP customized version of Windows Home Server really is not performing. After all, it is 2010 and it is all about 64-bit software now. Windows 2003 looks as ancient as well, Windows XP. Microsoft keeps talking about Windows Home Server 2011 and how it will be based on Windows 2008 Server instead. You wait and you wait and you wait and well, you wait. Then finally you find an Internet retailer that has WHS 2011 OEM for sale! You order your copy and get it a few days later. You get to play with a new Windows version again and this is where the real story begins…

The Installation:

WHS 2011 is not an upgrade, so the first thing to do is to copy all your data off of the MediaSmart box. This was quite easy for me, since all I had was music and video files. Ironically the original reasoning for buying the MediaSmart Server was to use it to backup my main Windows 2003 Server. Something which for some reason I never was able to get it to do. I have had the pleasure of restoring the MediaSmart EX490 from the HP discs and that process was pretty complicated and involved using another WindowsXP machine. For WHS 2011, the installation process was so much easier, that I cannot understand why the recovery process was so much more difficult. I followed Sean Daniel’s excellent How To Install WHS 2011 Guide and was up and running in no time. I even used my Windows 7 (VMWare Fusion) on my MacBook to make the USB boot drive install. For my install I setup WHS 2011 to use the entire 1TB drive. This was perhaps the easiest Windows installation I have ever done.

Missing Drivers:

Once I was up and running, I used RemoteDesktop to connect and administer the box. The “Mass Storage Controller” driver is not installed by WHS 2011, so you will need to download the driver for it from Silicon Image Support. The driver to download is labeled: SiI 3531 64-bit Windows SATARAID5 Driver for Windows 7. You will want to download the latest version of course. To install the driver, unzip the file download and then go to Device Manager and click on the Mass Storage Controller and Update Driver, point it to the unzipped files and Windows will do the rest for you. Restart the machine.

Network Settings:

Next up, was to modify the network settings. Setup the box with a static IP address, and gave it the right DNS Server and Gateway addresses. Set the Network Card to 1GB Full Duplex if your network devices support this. The Windows Firewall is a lot more complicated in WHS 2011 and more useful than the old Windows 2003 one. If you decide to leave it on, be prepared to modify it frequently because it will shutdown a lot of applications and services.

Setup Applications & Services:

For Anti-Virus, I use ESET Nod32, so that was my first application to install and setup. Even though WHS 2011 is a server operating system, I had no problems installing the Home edition of Nod32 64-bit. After this came Mozilla Firefox, iTunes, Adobe Flash Player, VLC Media Player, and PlayOn.

Initial Pros and Cons:

WHS 2011 is faster. It is more responsive on the same hardware than WHS v1 ever was. Disk access is better without Drive Extender. Speed wise, WHS 2011 is a no-brainer, if you want a faster machine and you have a 64-bit CPU and 4GB of RAM, do it.

HP included Twonky Media Server, FireFly for Music streaming, and even an iPhone streamer with their WHS v1 setup, but I always found these solutions to be slow and buggy. With WHS 2011, there is only Windows Media Player which seems to work for me much better than HP’s solutions. Even before the WHS 2011 upgrade, I was already using PlayOn to serve my media, so I just ended up reinstalling PlayOn after the upgrade.

Backing up machines was suppose to be the main reason behind a home server, but in this respect, I really can’t take advantage of WHS. My main problem is that the only real Windows box besides WHS is my main domain controller, which is Windows 2003. WHS v1 always had problems creating the backup and so I ended up giving up on this. WHS 2011 is worse, because it does not even come with a connector for Windows 2003. It is not a supported client OS. This was a big let down, but oh well, I already had another backup strategy for the Windows 2003 Server. Most of the machines in the home are Macintosh. There are about three laptops and one iMac machine. Here is where the HP software actually worked better than Microsoft, at least for wireless Mac clients, because if you are on a wired connection, the HP solution did not work due to Apple limitations. With WHS 2011, Microsoft has no backup solution for Mac clients. There are ways to make wireless Macs work but you have to do the setup yourself and I still have not been able to make wired Mac clients work. Here is a situation where Microsoft really could have done better and chose not to.

This leads me to another point about Microsoft, mainly that Microsoft does not get consumers. Here is a product that they are selling as a Home Server and which they expect other companies like HP and Acer to improve upon to make it better for consumers. Out of the box, WHS 2011 does not support Macs very well, and it is pretty much as complicated as the original Windows 2008 Server. Other than a computer geek like myself, I am not sure who else would buy this, when there are simpler solutions like Apple’s Time Capsule and WD NAS drives.

No Support From HP:

It is kind of disappointing that HP stopped making the MediaSmart Servers and announced they would not support WHS 2011 on these machines. I think HP embraced the idea of a home server and they did not get it totally right, but I think Microsoft did not help either. With the EX490 running WHS 2011, I now have dead drive lights, never to be lit again due to lack of driver support from HP for WHS 2011, and a blinking activity light.

Additional Links & Resources:

At this time there really is not much out there in regards to WHS 2011. There are not really any new Add-Ins that are available. Hopefully there will be some soon. If you are looking for a manual, I do recommend purchasing Microsoft Windows Home Server 2011 Unleashed (3rd Edition). This book was an overall good reference to WHS 2011 and provided some interesting insights, like installing SharePoint 2010.