Auto Configure Proxy in Ubuntu


It is painful to turn the proxy on and off in my Ubuntu laptop between office and home.  As a lazy guy, I would like to make it automatic. Easy life now 🙂 1) Create 3 scripts named proxy_on, proxy_off and check_proxy under /usr/local/bin. #!/bin/bash #proxy_on gsettings set org.gnome.system.proxy.socks host 'proxy.company.local' gsettings set org.gnome.system.proxy.socks port … Continue reading Auto Configure Proxy in Ubuntu

Check Virtual Machine UUID


Each virtual machine is automatically assigned a universally unique identifier (UUID), which is stored in the SMBIOS system information descriptor. It can be accessed by standard SMBIOS scanning software (for example, SiSoftware Sandra or the IBM utility smbios2) and is used for system management in the same way you use the UUID of a physical … Continue reading Check Virtual Machine UUID

Failed to power on suspended virtual machine


Normally if you can not power on a suspended virtual machine, you need to empty the sched.swap.derivedName and checkpoint.vmState values in the .vmx file (according to VMware KB). This will change the power state of the VM to off, and lose everything in the memory. But this did not work when I troubleshot a VM … Continue reading Failed to power on suspended virtual machine