Wednesday, December 8, 2010

vSphere CLI 4.1 Windows 7 Libeay32.dll error

Upon trying to update the Free version of VMware ESXi Hypervisor from version 3.5 to 4.1 I ran into a cryptic error.

After installing vSphere CLI 4.1 on Windows 7 x64 bit, running the vihostupdate.pl perl script resulted in the following error:

“The ordinal 3212 could not be located in the dynamic link library LIBEAY32.dll”

Thanks to Patters at his PC Load Letter Blog I was able to get the error resolved without trying to replace multiple dll files strewn all over my drive which had installed with various programs.

Essentially, his post boils it down to opening Perl Package Manager, removing the existing Crypt-SSLeay package (Installed with 0.53) and updating it with the latest version (at the moment 0.57).

Check out the solution at his site:

http://pcloadletter.co.uk/2010/07/27/vsphere-cli-libeay32-dll-error/

Tuesday, December 7, 2010

SBS2008 External Time Source

 

I recently noticed that our SBS2008 Server was falling behind the official US time on NIST.gov. Checking the Event Log, no time synchronization errors were coming up when connecting to time.windows.com so it did not look like the time service itself was having any issues.  As result I decided to change the external source to the ntp pool.

While we were running on SBS2003 I had changed the external time source to the US NTP.org pool servers, so I went ahead and searched for instructions on how to do so in SBS2008/Server2008.

Scouring the net, I found some great instructions from John Granade on his Explosive Insight Blog. You can visit his site or look below for his script.

Here’s the sample script from his site (set for the US Pool). Open up an Administrator command prompt on your SBS2008 Server and run the following commands:

net stop w32time
w32tm /unregister
w32tm /register
net start w32time
net time /setsntp:0.us.pool.ntp.org,1.us.pool.ntp.org,2,us.pool.ntp.org,3.us.pool.ntp.org w32tm /config /syncfromflags:MANUAL /manualpeerlist:"0.us.pool.ntp.org,0x8 1.us.pool.ntp.org,0x8 2.us.pool.ntp.org,0x8 3.us.pool.ntp.org,0x8"
net stop w32time
net start w32time
w32tm /resync /rediscover

Thanks John!

Monday, October 25, 2010

Flashing RT-N16 with Tomato USB Firmware

I’ve had the opportunity to flash several different routers with either DD-WRT or Tomato in the past several years and each unit comes with its own required installation methods. While the Linksys WRT54G simply required flashing a new file via the built into administrative interface, the Buffalo WHR-G125, ASUS RT-N12 and RT-N16 all require that you put the routers into firmware restoration mode to properly flash the unit. While bricking your unit is unlikely, it is still possible so make sure you

1. Connect your computer directly to the router and do not unplug it at any time during the flashing process. Manually set your IP address to the 192.168.1.x/255.255.255.0 range/subnet (default for a factory/reset RT-N16)

2. Turn off any antivirus/firewall applications that you have installed. This is to ensure uninterrupted access to your router during the flashing process.

3. Download the Appropriate Firmware from the Tomato USB Website. Be sure to download the version for MIPSR2. I personally prefer the VPN version because it has all the functionality I’m looking for.

4. Install the ASUS Utilities from the CD that comes with the router or from the ASUS Website. Start up the Firmware Restoration Utility.

5. Put the router into restoration mode by unplugging the power to the router, holding down the reset button while powering the unit back on and keep holding it until the Power Light starts blinking slowly.

6. Now in the utility, browse to the tomato USB firmware you downloaded and go ahead and upload it to the router. The Upload process should complete by rebooting the router. The menu should then be available at 192.168.1.1 (Default Username/Password = root/admin)

7. Go to Administration, Configuration, and Restore Default Configuration. Then choose Erase all data in NVRAM memory (thorough) and wait for the router to do its work and reboot. After a few minutes, your router will be ready for use and configuration!

Information on the install process adapted from tomatousb.org

Thursday, October 21, 2010

Adding RSS Feed Reader in WSS 3.0

Since Microsoft Windows SharePoint Services 3 doesn’t have a webpart specifically for pulling external RSS feeds, I searched for information on how to do so and came upon this excellent blog post from Gunnar Peipman at Microsoft.

It involves some basic editing of XSL and using the XML webpart to display RSS feed entries as bullet points.

Head on over for a quick read. (Example below is of the NYT Business Day RSS feed)

http://weblogs.asp.net/gunnarpeipman/archive/2008/01/02/sharepoint-how-to-display-blog-feed-using-xml-web-part.aspx

image

Monday, October 18, 2010

Tomato Firmware on ASUS RT-N16 Wireless Router

I recently picked up an ASUS RT-N16 for the purposes of acting as both my main router and as an access point. What does $90 buy you? A relatively average router that has a moderately large footprint relative to most of the gear you buy from Netgear, Dlink, Linksys, and etc.

With so many routers on the market, the real reason for buying this router is the amount of memory on the unit and the ability to flash it with open source firmware. These two attributes provide a ton of benefits, especially:

  1. Tomato and DD-WRT firmware are much more stable in handling connections
  2. This router is loaded with RAM. 32MB of Flash and 128MB of Memory allowing for programs and a large number of connections to be managed and higher overall throughput.
  3. Enterprise-grade VPN, Access Point Options, and Linux applications
  4. A wonderful community of contributors and testers helping to fix bugs and additional functionality to the firmware.
  5. Ability to install and run applications directly off the router without the need of a server. (A incredible amount of potential here).
  6. Excellent QOS Controls (Traffic/Bandwidth Management)
  7. Utilize router as printer server and file server

In my case, I use a fork of the tomato firmware, Tomato USB (Teddy Bear Mod), currently on build 52 based off of the Tomato v1.28 firmware. The 32MB of flash memory on the unit allows me to utilize any of the firmware including the VPN version (Open VPN implementation).

image

When I get the chance, I’ll throw up some instructions in further posts on how to flash a new unit, set up transmission (web-gui based torrent client), and utilize external hard drives for network storage.

Specs:

ASUS RT-N16
802.11n 2.4-2.5Ghz Wireless with 3 External Antennas
4 x 1GB/100MB/10MB Lan Ports
2 x USB 2.0 Ports
533Mhz Broadcom BCM4718 CPU
32MB Flash
128MB Memory

Woohoo!

Throwing out some of the more interesting projects I'm doing on the tech side of my life. Hopefully I'll be able to contribute some usable knowledge in the process. Onwards and upwards!