Posts Tagged ‘terminal commands’

VMWare conflict with Nmap

Monday, April 20th, 2009

Today when I went to check what ports were open on my router with Nmap it gave me a message saying:
Failed to open ethernet interface (vmnet8). A possible cause on BSD operating systems is running out of BPF devices (see http://seclists.org/lists/nmap-dev/2006/Jan-Mar/0014.html).

This confused me at first but then realised that it does not like the virtual network interface that is installed for VMWare. I am currently operating under Mac OS X 10.5.6.

The only solution I thought up to solve this was to delete the interface. This worked, but now means that any OS I install onto a Virtual Machine may not have any connectivity to the internet. Ohwell!

Just run this command to delete network interfaces. (hardware and virtual)

sudo ifconfig vmnet8 remove

(you will be propted to put in your password because of the “sudo” command.) Nmap now works with no conflicts with Virtual Machines or VMWare Fusion.