revjim.net Rotating Header Image

Virtual Machines and the search for freedom

So I bought a laptop.

My employer — heretofore known as the Great White Devil (as coined by Joel Watson of HijinksEnsue) or GWD for short — was giving me some after my request for a RAM upgrade to the impossibly small 512kb that I have now due to the new Encrypted status of my laptop and it's inability to cope with said Encryption given its resources. So, I just went out and bought a laptop. Of course, GWB requires that any machine on its network be a company asset so using a personal laptop is not permitted and is enforced through the use of a managed desktop suite. Unwilling to give them access to the entire machine (since it is, after all, mine), I decided a virtual machine was the next best option.

I installed VMWare Server and, after 3 long hours of a Windows XP installation, driver installation, software installation, and laptop encryption, I had a VMWare image that mostly worked. There were, of course, a few problems.

First of all, when using VIsta (yeah, cringe) as a Host OS with VMServer or VMWare Player, the clock in the guest OS has a tendency to be inaccurate. I was showing up at meetings early and finding my days a lot shorter than they should be until I realized this little bug.

These few lines of code in C:\ProgramData\WMWare\VMWare Server\config.ini seemed to solve that problem. Of course, you'll want to algter tje cpuKhz to reflect the actual speed of your processor.

host.cpukHz = "2000000"
host.noTSC = "TRUE"
ptsc.noTSC = "TRUE"
processor0.use = "FALSE"
processor1.use = "TRUE"

The second annoying problem is that, when starting the first VM after a reboot, Vista would hang for 3-5 minutes solid. It would hang so hard that the mouse would even stop moving. In the same config.ini file, I beleive the following lines corrected this, but switched to VMWare Player shortly there after so I can't be sure.

host.TSC.noForceSync = "TRUE"

The final problem with VMWare Server, for which I have been unable to find a fix, is that Wireless Network cards simply will not bridge properly. I read a couple of people having the same trouble and suggesting various fixes including reconfiguing the Network Interfaces as Administrator and such. No matter what I tried, it didn't work.

So, I switched to VMWare Player. Of course you can't have Player and Server installed at the same time, so I had to uninstall Server first. And Player wont alter the VM settings in anyway so, if I want to change anything, I have to go back to installing Server first, which is annoying. But, aside from that Player does not have the same problems with the Wireless Network Bridge that I had with Server. It did however have the "clock too fast" issue mentioned above, so those config lines were still needed.

It's working pretty solid now. Of course, with the crippled nature of VMWare Player, I'd really like to switch to something else. VirtualBox looks promising. I played with it a bit and rather liked it. Unfortunately, when it reads my prepared VMWare image and boots into Windows, it is unable to find a driver for the Network Interface it sees. So, while it boots just fine, without a working network adapter it's pretty useless. I'll play around with it some more in the future and see if I can make some more progress.

Google Buzz
  • Thank you!! This worked perfectly.

    It's nice to have yet a third option in trying to find a way to make this work as best as possible.
  • Matt Fox
    The post at http://cs.thefoleyhouse.co.uk/blogs/karl/archive/2007/07/18/vmware-server-v1-0-3-unable-to-bridge-to-wireless-network-on-vista.aspx explains how to make bridged networking work with a WLAN card in VMWare server 1.0.X, though the details are sparse. It worked for me. (Vista Business SP1 host, Ubuntu 7.04 server guest).

    Basically, you need to:
    1. Make a registry change that tells VMWare to allow Windows network bridging
    2. Add a new virtual network adaptor (Virtual Network Editor->Host Virtual Adapters tab)
    3. Remove the DHCP scope for the adapter added in (2) (Virtual Network Editor->DHCP tab)
    4. Bridge the adapter added in (2) with your host wireless connection
  • VirtualBox is pretty great compared to VMWare. Did you install the guest additions?

    I've only used it with Linux (Ubuntu) on Vista so I have no idea how shit-tastic it'll be with Vista *in* VirtualBox, but it's worked well for me so far.
  • Ha. No no. Vista is my host. XP is the guest. And, yeah, I installed the guest additions.
  • joiseyguy
    why don't you just poke burning toothpicks into your eyeballs..it would be less painful.
blog comments powered by Disqus