March 4, 2017

Every time I have to set up new ESXi and add Ubuntu machine templates I’m getting into the same troubles, now writing it down to remember…
VmWare tools and clipboard are not working in Ubuntu desktop, so for the recent Ubuntu versions (14.xx, 16.xx):

May 1, 2015

After a long unsuccessful search for something that would work for making available backup storage (WD Elements 4GB USB HDD) from my MS Windows desktop system to ESXi 6.0 server (as a datastore) ended up using old Dell laptop. It runs Linux, auto-mounts the USB HDD at the boot time and exports the mount point over NFS.

In order to avoid running it all the time, ESXi powers it up by sending wake-on-lan Ethernet packet and shuts down the laptop after backup is done. WD Elements powers on/off automatically when USB connection is up/down.
Attached is the ether-wake tool sources (with minor tweak for sendto() to work) and statically compiled binary runnable under ESXi.

The ESXi firewall has to be turned off for it to send the packet:
esxcli network firewall set --enabled false
./ether-wake 00:11:22:33:44:11
esxcli network firewall set --enabled true