Starting and Stopping VMs from the command line in ESX

Posted by Admin on November 24, 2008
Personal / Comments Off on Starting and Stopping VMs from the command line in ESX

The command is: vmware-cmd

So start of by running that to see what your options are, or even you can man vmware-cmd.

OK, so now the juicy stuff:

vmware-cmd /<path to VM directory>/server.vmx getstate
vmware-cmd /<path to VM directory>/server.vmx start
vmware-cmd /<path to VM directory>/server.vmx stop
vmware-cmd /<path to VM directory>/server.vmx stop hard

You get the idea 🙂

Crap gas mileage

Posted by Admin on November 09, 2008
Personal / Comments Off on Crap gas mileage

Last week I was working in the greater London area.  Much like New York City, if you’re staying and working in the city, mass transit is the way to go.  However, last week I was staying and working near Heathrow, which qualifies as suburbia.  While there are buses, it’s nowhere near as efficient and practical as the Tube (or Subway) in the city.

VW Golf TDISo I rented a car.  I was astonished at the gas mileage.  As you can see from the photo – taken when I returned the car to AVIS after a week – I used 5/16 of a tank of gas and got 222 miles.  That would mean roughly 800 miles to a tank!!!  Why is it that I have the same car back home in the USA, and I’m lucky if I squeeze out 370 miles before running out of gas?  And I only get those numbers with cruise controlled highway driving.  The UK mileage was a combination of suburban roads, highway and city driving.

I suppose the key was the fact that it was a diesel engine.  Many places in the USA don’t allow the purchase / registration of diesel powered vehicles due to emissions and health concerns; however, with new catalytic converters, diesel particulate exhaust is drastically reduced… even negligible, compared with gasoline engine exhaust.  We’d be better off overhauling those nasty school buses if we really want to improve air quality.

Then again, what do I know about anything.  After all, I’m sure the petroleum industry wouldn’t want us Americans to be mass consumers of gasoline, right?  I mean, if we all got 2.5 times more miles out of our cars, that wouldn’t be a good thing, right?

I think the proliferation of diesel powered cars in Europe stems from the cost of fuel over there.  For example, in the UK, fuel is sold by the liter.  Diesel was £1.09 a liter.  So at 3.8 liters to the gallon, that would be £4.14 to the gallon, and with the exchange rate £1=$1.59, that’s USD $6.58/Gallon.  No wonder they have more efficient cars than we do.

Repeated Keystrokes with Linux VMs on ESX

Posted by Admin on October 30, 2008
Personal / Comments Off on Repeated Keystrokes with Linux VMs on ESX

It’s a very common problem when using "other" as the operating system type.  As such, ESX doesn’t know what settings to put in the VMX file.  You need to follow a few simple steps to fix this.

For starters, make sure the VM is off, then edit the VMX file.  Go to the bottom and add the following line (mind the syntax and CaSe SeNsItIvItY)

Keyboard.TypematicMinDelay = "2000000"

That’s it!
Save your VMX and start the VM, you should be all set.

-j

Completely reset a Treo 650: the Zero Out Reset

Posted by Admin on October 26, 2008
IT / Comments Off on Completely reset a Treo 650: the Zero Out Reset

If you’re a geek like me, you probably see a qwerty keyboard on a cellphone as something you should have copyrighted back in the 90s so you could be living in a yacht in the Carribbean right now.  Well, we missed out.  At any rate, the point of this post is because I’m now a Blackberry Curve fan (with WiFi and the UMA offered by TMobile) and I have this old Treo650 that’s been collecting dust.  It was faithful and tweakable (allbeit unreliable by poweruser standards).   A friend of mine was in need of a phone and I offered up the old Treo… offer accepted.

It’s easy to wipe the Treo memory, but how do you wipe it so it can’t be recovered by someone with crafty tools?  I admit, while writing this post I googled for about 60 seconds looking for such utilities and didn’t find any.  But I’m sure with a little effort and patience, I could.  There have been several articles on the subject from reputable sources like this one in the Washington Post.  Here’s an excerpt:

[some dude] buys about 300 used cellphones each year from eBay and other sites for training sessions. Though the sellers think they have wiped the devices clean, 80 to 85 percent of the devices still have data intact, Schroader said.

“We’ve recovered everything from complete address books . . . to pictures taken in intimate moments. It’s like, well, I didn’t need to see that,” Schroader said.

The fact that cellphones can give up secrets makes them as valuable to law enforcement as to criminals.

Not that I didn’t trust the friend to whom I am hand-me-down’ing the phone, but hey, how do you securely wipe a Treo650?  Seaching Google only yielded the “factory reset” which is dramatically insufficient.  So once I found the instructions, I figured I’d post them in my blog to help anyone out there who may be trying to do the same.

It’s called the Zero Out Reset.

Go to the Palm website and search for solution ID: 887 in the Knowledge Library entitled: Zero Out Reset.

This procedure will reformat the 650’s internal memory:

  • Connect the HotSync cable (it does not need to be connected to your PC or power).
  • Press and hold the Power button, the Up on the 5-way navigator and the HotSync button, and then simultaneously press and release the RESET button (using the stylus in your mouth if doing it by yourself). Then release the other three buttons.
  • The screen will go blank and appear to be dead for up to ten minutes while your internal memory is being reformatted. Your 650 will then “wake up” and the PalmOne and palm POWERED logos will appear. You will then be prompted to calibrate the touchscreen and set the date & time.

The bottom line: if you merely do a hard reset, the data can be recovered using inexpensive software.

The Ultimate ESX Whitebox

Posted by Admin on October 22, 2008
Personal / Comments Off on The Ultimate ESX Whitebox

http://ultimatewhitebox.com/

‘Nuff said.