I just tried to boot my FreeBSD-7.2 VM on VMware Fusion and got an error message that it will not have any network availability as “network bridge on device /dev/vmnet0 is not running“. I checked and indeed, there was no vmnet* interface up. A look in /Library/Application Support/VMware Fusion reveals the file boot.sh, which happens to be the only available script.
$ ls -lrt total 16944 drwxr-xr-x 3 root wheel 102 12 Jul 2007 licenses drwxr-xr-x 6 root wheel 204 12 Jul 2007 kexts -rw-r--r-- 1 root wheel 373 30 Oct 2007 license.fusion.site.6.0.200610 drwxr-xr-x 3 root wheel 102 2 Nov 2007 vmx -rwxr-xr-x 1 root wheel 3590412 19 Apr 2008 vmware-vdiskmanager -rwsr-xr-x 1 root wheel 366264 19 Apr 2008 vmware-authd -rwsr-xr-x 1 root wheel 3194884 19 Apr 2008 vmware-rawdiskCreator -rwxr-xr-x 1 root wheel 200968 19 Apr 2008 vmware-ntfs -rwxr-xr-x 1 root wheel 152533 19 Apr 2008 vmware-config-net.pl -rwxr-xr-x 1 root wheel 74916 19 Apr 2008 vmnet-sniffer -rwxr-xr-x 1 root wheel 61428 19 Apr 2008 vmnet-netifup -rwxr-xr-x 1 root wheel 501632 19 Apr 2008 vmnet-natd -r--r--r-- 1 root wheel 1241 19 Apr 2008 vmnet-nat.conf -r--r--r-- 1 root wheel 742 19 Apr 2008 vmnet-dhcpd.conf -rwxr-xr-x 1 root wheel 333464 19 Apr 2008 vmnet-dhcpd -rwxr-xr-x 1 root wheel 120612 19 Apr 2008 vmnet-bridge -rwxr-xr-x 1 root wheel 7932 19 Apr 2008 vm-support.tool -rwxr-xr-x 1 root wheel 17186 19 Apr 2008 boot.sh drwxr-xr-x 7 root wheel 238 15 May 2008 tools-upgraders drwxr-xr-x 6 root wheel 204 15 May 2008 messages drwxr-xr-x 13 root wheel 442 15 May 2008 isoimages drwxr-xr-x 17 root wheel 578 15 May 2008 vnckeymap drwxr-xr-x 5 root wheel 170 15 May 2008 vmnet8 drwxr-xr-x 3 root wheel 102 15 May 2008 vmnet1 -rw-r--r-- 1 root wheel 5612 15 May 2008 locations -rw-r--r-- 1 root wheel 81 15 May 2008 config drwxr-xr-x 3 root wheel 102 15 May 2008 Uninstall VMware Fusion.app
Its execution pretty simply:
$ ./boot.sh Usage: ./boot.sh {--start|--stop|--restart} $ sudo boot.sh --start VMware Fusion 87978: Starting VMware Fusion: kextload: extension /Library/Application Support/VMware Fusion/kexts/vmmon.kext is already loaded kextload: /Library/Application Support/VMware Fusion/kexts/vmci.kext loaded successfully kextload: /Library/Application Support/VMware Fusion/kexts/vmioplug.kext loaded successfully kextload: extension /Library/Application Support/VMware Fusion/kexts/vmnet.kext is already loaded Internet Software Consortium DHCP Server 2.0 Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved. Please contribute if you find this software useful. For info, please visit http://www.isc.org/dhcp-contrib.html Configured subnet: 172.16.17.0 Setting vmnet-dhcp IP address: 172.16.17.254 Opened: ?? Recving on VNet/vmnet8/172.16.17.0 Sending on VNet/vmnet8/172.16.17.0 Internet Software Consortium DHCP Server 2.0 Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium. All rights reserved. Please contribute if you find this software useful. For info, please visit http://www.isc.org/dhcp-contrib.html Configured subnet: 172.16.123.0 Setting vmnet-dhcp IP address: 172.16.123.254 Opened: ?? Recving on VNet/vmnet1/172.16.123.0 Sending on VNet/vmnet1/172.16.123.0
Once finished, the VM could start again without complains and gets its IP via LAN’s DHCP.