about photos bookshelf portfolio blog home
Begin main content

Installing vmware tools on Ubuntu Jeos

It's not as easy as you might think.

Firstly, the official vmware tools won't install on kernel versions 2.6.24. Fortunately you can get some simple source patches from http://projects.tuxx-home.at/?id=vmware_updates

Once you've got the modules installed, if you're beady eyed (or analy retentive) you will notice that the network interface is still using the legacy pcnet32 emulation. You see the vmware tools has tried to create a /etc/modules.conf file to configure the hardware, but Ubuntu shed that file a long time ago in favour of modules.d.

You have two simple solutions from what I can see - either edit your .vmx file (the config file on your host machine) by adding the following line:

ethernet0.virtualDev = "vmxnet" 

Or else you can force the kernel to never load the pcnet32 module:

echo "blacklist pcnet32" >> /etc/modules.d/blacklist
modprobe -r pcnet32
update-initramfs -u

Easiest thing to do after that is reboot. You might notice your interface gets loaded as eth1 instead of eth0 (and thus not be configured). This is because vmware may have assigned your new interface a new mac address. Simply delete the ethernet interface lines from /etc/udev/rules.d/70-persistent-net.rules and then:

/etc/init.d/udev restart

Again a restart at this point is simplest.

09:31 PM, 26 May 2008 by Mark Aufflick Permalink | Comments (2)

XML

Blog Categories

software (4)
  ..heads up 'tunes (4)

Notifications

Icon of Envelope Request notifications

Syndication Feed

XML

Recent Comments

  1. Mark Aufflick: all good ideas
  2. Unregistered Visitor: Excellent!
  3. Mark Aufflick: Hey thanks
  4. Unregistered Visitor: Fantastic entry
  5. Mark Aufflick: Bah - dashboard widgets
  6. Unregistered Visitor: Nice
  7. Mark Aufflick: elegant maths (as opposed to elegant rabbit)
  8. Unregistered Visitor: Does that really matter?
  9. Mark Aufflick: Inspiration
  10. Unregistered Visitor: Perhaps...