VMWare Update Manager Fails

Posted by & filed under Uncategorized, Virtualization, VMWare.

I received a fairly generic error when running VMWARE Update Manager against some hosts:

No real useful information. The actual log is available on the VCSA 6.5 at: /var/log/vmware/vmware-updatemgr/vum-server/vmware-vum-server-log4cpp.log

In my case it was as simple as the DNS being set incorrectly on the ESXi hosts due to some networking changes:

Other threads that might be related:

communities.vmware.com/thread/546976

Resetting the VMWare Update Manager Database: https://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2147284

MassMine: Datamining Facebook, Twitter, Google, and Wikipedia

Posted by & filed under Uncategorized.

MassMine allows you to easily datamine Twitter, Google, Wikipedia, and soon Facebook for data. Pretty cool! From the official site:

MassMine is a social media mining and archiving application that simplifies the process of collecting and managing large amounts of data across multiple sources. It is designed with the researcher in mind, providing a flexible framework for tackling individualized research needs. MassMine is designed to run both on personal computers and dedicated servers/clusters. MassMine handles credential authorizations, rate limiting, data acquisition & archiving, as well as customized data export and analysis.

 

www.massmine.org/

Microsoft Wildcard DNS Entries

Posted by & filed under Uncategorized.

Here is some data I have accumulated on creating wildcard DNS entries in Microsoft DNS:

 

  • Setting Up Wildcard DNS and Wildcard SSL – http://technet.microsoft.com/en-us/library/cc750429.aspx
  • Explanation of DNS Wildcards – http://support.microsoft.com/kb/193844
  • Wildcard DNS and SSL setup: http://support.microsoft.com/kb/840687

 

Wildcard DNS via Command Line:

 

Quickly renaming multiple file extensions with bash

Posted by & filed under Uncategorized.

I needed to quickly rename a bunch of file extensions in a directory. This one liner made quick work of it:

basename, when given a file name and a extension spits out something like this:

Which we then use to append the proper extension (.jpg) in the example and done.

Graphite – Scalable realtime graphing suite

Posted by & filed under Uncategorized.

Graphite is a highly scalable real-time graphing system. As a user, you write an application that collects numeric time-series data that you are interested in graphing, and send it to Graphite’s processing backend, carbon, which stores the data in Graphite’s specialized database. The data can then be visualized through graphite’s web interfaces.

graphite.wikidot.com/

Hardware Dev – Logic Analyzer & Bus Pirate

Posted by & filed under Uncategorized.

I think I wrote about the bus pirate some time ago.

A logic analyzer is a device that lets you watch digital signals in your electronics project. You can watch them real-time or log the data for later perusal. Unlike an oscilloscope, its not good for measuring analog signals – but also unlike an oscilloscope, you can track 8 signals at time! So its a good complementary tool. This logic analyzer plugs into a computer and has easy to use, cross-platform software. This makes it small, portable and inexpensive. If you ever have to to debug SPI, i2c, serial, CAN, 1-wire, Manchester, biphase or other digital protocols, this tool is essential!

adafruit.com/products/378

BusPirate: adafruit.com/products/237

Updating OpenWRT packages on a USB stick

Posted by & filed under Uncategorized.

With opkg.conf configured with a usb destination I can install packages with:

But sometimes, because files are not where the system expects the packages will not run once installed. A simple way to fix this is to run the following command after installing something to USB:

I made it a quick script so I can just run it to sync everything up.

Flashing OpenWRT without a GUI

Posted by & filed under Uncategorized.

I have successfully completed my custom firmware build and have cross compiled it. I now have bin files ready for flashing. Since I did not opt to select the LuCi web interface that is packaged with OpenWRT, I deemed it wise to research my other options for reflashing the firmware, since once I flash my custom image, there will be no web interface available to reflash again thru.

Two methods — TFTP and JTAG.
TFTP is the way to go as there is a tiny TFTP server built right into the devices boot loader. This means that I can recover from most hosed flashes. The other option is to populate the empty JTAG pins on the board with a header and go at it that way, although this should only be needed in a worst case scenario.

TFTP
Before flashing via TFTP, I need to make sure that the nvram variables are set correctly to allow the boot loader to pause searching for the TFTP server for long enough. This is done by:

Source: wiki.openwrt.org/toh/linksys/wrt54g#inst…

Once the bootloader has been configured to wait fo rthe TFTP server, we can proceed witht he standard OpenWRT TFTP flashing instructions: wiki.openwrt.org/doc/howto/generic.flash…

Quantum Random Number Generator Available Publicly

Posted by & filed under Uncategorized.

Reliable and unbiased random numbers are needed for a range of applications spanning from numerical modeling to cryptographic communications. While there are algorithms that can generate pseudo random numbers, they can never be perfectly random nor indeterministic.

Researchers at the ANU are generating true random numbers from a physical quantum source. We do this by splitting a beam of light into two beams and then measuring the power in each beam. Because light is quantised, the light intensity in each beam fluctuates about the mean. Those fluctuations, due ultimately to the quantum vacuum, can be converted into a source of random numbers. Every number is randomly generated in real time and cannot be predicted beforehand. So if you need some really random numbers, use the link below!

photonics.anu.edu.au/qoptics/Research/qr…

New BBWin Client from SquidWorks

Posted by & filed under Uncategorized.

Well, I was happy with just editing config files, but the folks over at SquidWorks made it even easier for my non uber-tekkie colleagues to update BBWin configs:

The BBWin GUI was developed due to a need to make updating and setting up a managed system for monitoring easier for techs. As I am a old Linux guy using a text editor to configure the BBWin.cfg file was common place. When I had to teach others to, not only edit but troubleshoot the files when mistakes were made. That became a task in and of its self. BBWin GUI makes easy work of installing the latest BBWin application, setting for the first time or updating and active system. This app even saves you having to open up notepad first as a admin in Windows 2008 servers before editing and saving the BBWin.cfg file.

www.squidworks.net/bbwin-gui/