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 | Short Link | Comments (4)

XML

Blog Categories

software (39)
..cocoa (21)
  ..heads up 'tunes (5)
..ruby (6)
..lisp (3)
..perl (4)
..openacs (1)
mac (20)
embedded (2)
..microprocessor (2)
  ..avr (1)
electronics (3)
design (1)
photography (25)
..black and white (6)
..A day in Sydney (18)
..The Daily Shoot (6)
food (2)
Book Review (2)

Notifications

Icon of Envelope Request notifications

Syndication Feed

XML

Recent Comments

  1. Unregistered Visitor: An other Script
  2. Unregistered Visitor: A message in there?
  3. Unregistered Visitor: using Amazon S3
  4. Unregistered Visitor: Thank you ! Thank you ! Thank you !
  5. Unregistered Visitor: Umbrello on leopard
  6. Unregistered Visitor: Script gor generate for library
  7. Unregistered Visitor: Similar but different
  8. Unregistered Visitor: Thanks for fixing my problem!
  9. Unregistered Visitor: Pop up once the category is been defined
  10. Unregistered Visitor: smal amendment