Rick Mitchell Solutions - RMSBlog

With Rick Mitchell Solutions, you get the experience of over 10 years dealing with these very same problems you face every day. Large businesses that are in the Fortune 500 down to the small business with aspirations to become global can rely on us to understand and design solutions that fit your needs and your budget.

Thursday, April 9, 2009

VMWare fusion and lost network connections

One of the few annoyances I have with VMWare fusion on my Mac is that sometimes after waking up from your laptop being asleep is that you will have no network connectivity in your Virtual Machine - at least for Windows. You can disable/enable the NIC inside of the VM, you can change it from NAT to bridged or vice versa, and still nothing. The only way of getting it to work again is to reboot your VM which can be a pain depending on what you were in the middle of. Fortunately, there is a work around for this issue without having to reboot your VM.

You need to create a simple script that has the following in it and make it executable:

cd "/library/application support/vmware fusion/"
sudo ./boot.sh --restart

This script will need to run as root, thus the need for the sudo command which will prompt for the root password on your machine, and then restart the Network Daemons without completely shutting down your virtual machines. This will cause the network functionality to be restored inside of your VM and can be very handy to save you some time during your day.

3 Comments:

  • At April 14, 2009 1:39 PM , Blogger Virtual World Blogger said...

    Works like a champ! Thank you so much for taking the time to post.

     
  • At June 12, 2009 3:09 AM , Blogger Werner said...

    Sorry I am not skilled in Mac environment.
    How do I create the script and where do I execute it?

    Thanks for info.

     
  • At June 12, 2009 8:03 AM , Blogger Rick Mitchell Solutions said...

    Open up textedit and copy the 2 lines into a new file. Save it as vmware-fix.sh inside your home directory. Open up a terminal, and then do the following command:

    chmod 700 vmware-fix.sh

    Once you do that, you can run it in a terminal screen by:

    ./vmware-fix.sh

    It will prompt you for the root password, and then do its magic.

    Good luck.

     

Post a Comment

Links to this post:

Create a Link

<< Home