02 Nov 2006

Solution to vmnet1 down after suspend

Posted by Jacob Emcken

I rarely shut down my laptop, but I use suspend all the time. Right now I have like 14 days of “uptime” which would have been a lot more if it wasn’t because I just installed Edgy :) I have VMware Server installed on it which I use for my work. I have all the machines on a host only network which works just great. But every time I suspend my laptop the virtually device vmnet1 seems to “go down” and I have to make a:

sudo ip link set vmnet1 up

to be able to connect from my laptop to the VMware machines again.

Now I created a file at the following location:

/etc/acpi/resume.d/89-enable-vmware-host-only-net.sh

With the following content:

#!/bin/sh

ip link set vmnet1 up

Now I don’t have do it manually any more, horay :-D

2 Comments to Solution to vmnet1 down after suspend

Fredrik Espinoza
December 5, 2006

This did the trick for me, thanks!

Laurent
December 30, 2006

Thank you very much for this tip !

A Ubuntu and Archlinux lover.

Leave a comment