No NIC on a Windows 7 VMWare image

Today I ran into trouble configuring a Windows 7 guest on a Linux host: Windows 7 couldn’t find an appropriate driver for the virtual NIC.

The solution was in this forum post.

Basically, I had to manually edit the VMWare image’s .vmx file (while the virtual computer was turned off) and add the following line:

ethernet0.virtualDev = "e1000"

After restarting, the Windows 7 host detected the NIC and all was fine in the world.