PF firewall rule for DNS server

A reminder to readers, most of these blog posts are to remind me what I have done or fixed some problems. What works for me may not work for you. Most of the time, they aren’t even the best practice. Here’s a snippet of the PF firewall rule on my FreeBSD box which acts as a DNS server. Basically, the firewall opens up UDP port 53 to allow LAN access it....

July 9, 2015 · 1 min · 131 words · kenno

Installing Code Composer Studio 6 on Ubuntu 14.10 (64-bit)

As of today, Code Composer Studio (ccs) 6 is only available for 32-bit Linux platform. The good news is that it can be installed on a 64-bit version of Ubuntu and Fedora. In this blog post, I’m going to show a few issues I came across and how to fix them on Ubuntu 14.10 64-bit. Issue 1: After the installation, when I ran the ccs, it produces some warning and error messages then quit....

March 3, 2015 · 1 min · 190 words · kenno

Mounting qcow2 VM disk images

From time to time, after applying Windows updates on my Windows 7 kvm-based virtual machine, the machine won’t boot after restarting. In the past, I was lucky to be able to fix it. Last night, I could not say the same thing. Instead of stressing out losing my hair on how to get it working again, it’s decided to just restore the whole Windows image. First, I need to get some updated data from it though....

February 19, 2015 · 1 min · 106 words · kenno

Good permission for /tmp

I have been having issues getting X2Go running on a CentOS 6.5 box. It took me a while to figure out that the problem laid with the permission of /tmp directory. I’ll write how to solve the X2Go problem in another post. The recommended permission for /tmp is 1777. Notice that the forwarding ‘1’ is the sticky bit which only allows the owner of the file within /tmp (or the root user) to delete/rename the file....

February 16, 2015 · 1 min · 76 words · kenno

Updating Nexus 7 to Lollipop using sideload

This post is a note to remind myself how to manually flash Android firmware on a Nexus device. Step 1, download the firmware to your computer. I downloaded Android 5 from: http://www.droid-life.com/2014/11/13/download-android-5-0-ota-update-nexus-5-7-10-4/ Step 2, connect Nexus 7 to the computer. Mine runs Ubuntu 14.10, and I already downloaded Android SDK. Make sure that “Developer Options” is enabled. If it’s not, go to Settings -> About tablet. Then click on “Build Number” 7 times....

December 13, 2014 · 1 min · 127 words · kenno