Clearing Ubiquiti UniFi USG DNS entries

Another post to save Future Howard the trouble of trying to remember how to fix a problem: when the DNS server in the USG-PRO has cached an old or invalid IP for a host. To verify:

  • SSH to the USG-PRO itself (not the Cloud Key/Controller).
  • To see the list of IPs it has stored, with the incorrect entry:
    cat /etc/hosts
  • To edit (elevated) and remove the offending line
    sudo vi /etc/hosts
  • And to ensure the DNS service forgets the incorrect value:
    clear dns forwarding cache

You’re welcome, Future Howard.

.svn/tmp directory may be missing or corrupt

For future-Howard (and team), how to fix the error from SVN “your .svn/tmp directory may be missing or corrupt”.

for /R /D %i in (.svn) do if exist "%i" mkdir "%i/tmp"

Open CMD, cd to the SVN directory then run the above command. It will place a new tmp directory inside each .svn directory.

After you run the command, an svn cleanup should succeed.

Enable VT on Sony Vaio Z11

Some time ago I posted at length about Sony’s decision to disable the Virtualization Technology features of the Intel chips in their high-end laptops, namely my Vaio Z11.

VT enabled Well thanks to the sterling efforts of one man and his EFI hacking skills, we now have a solution as this image demonstrates. The image on the left shows the result of the VMWare Virtualization Technology test CD confirming that VT is now enabled on my Vaio Z11.

I’ve mirrored his code and instructions here in case his site disappears, read more after the jump…

Continue reading