howto

A 31-post collection

How to Recover the Google Nexus 7 to Stock ROM on OS X

See my other article here for instructions on how to root the Nexus 7 under OSX in the first place.  Some of those instructions are repeated in this post. Install Android SDK I know it’s a pain, but really if you’re going to hack around with an Android device you should go ahead and do this.  Additionally, Google has made the process a LOT easier now. Download the SDK from here.  You probably won’t need them, but instructions are here. Unzip it into a folder (doesn’t matter where, though if you want to keep it around, somewhere sane). [Optional] Open Terminal and update your PATH variable by editing .bash_profile and adding the following line: 1...

How to Root the Google Nexus 7 on OS X

I got a Nexus 7 last year and have been playing with it on and off since then.  Recently I upgraded to JellyBean 4.2.2 and it toasted my Root.  I went searching for the Root instructions again and found that things had changed since I had last done it.  I decided to write this article to create a permanent place to document this process, hope it helps you too. Install Android SDK I know it’s a pain, but really if you’re going to hack around with an Android device you should go ahead and do this.  Additionally, Google has made the process a LOT easier now. Download the SDK from here.  You probably won’t need...

Setting up Automatic Updates for Ubuntu

Keeping your system up to date is the single most important way to prevent security and malware issues.  Ubuntu provides nice tools for maintaining your system, but if you manage it via a command line you may be used to seeing: 1 2 3 packages can be updated. 3 updates are security updates. This is the Ubuntu system notifying you that it noticed there are 3 packages that have updates available.  This check is enabled by default and is part of the **update-motd** system.  Some background on how this works will provide insight into the workings of Ubuntu and then we’ll talk about automating those updates. Background update-motd is a system program introduced in Ubuntu that allows for the...

Astaro Security Gateway - Setting up a Public Web Server with Web Application Firewall

I run an Astaro Security Gateway (ASG) from Sophos (now called Sophos Unified Threat Management (UTM)) for the bulk of my firewall needs at home.  Sophos (and Astaro before them) did a nice thing in allowing Home Users to run the product for up to 50 internal IP addresses for free.  You can download the home version of the product here, including a VMware Appliance, which is what I use. This is not your run-of-the-mill firewall and as such the configuration for various options can be quite tricky.  I recently wanted to expose an internal server’s web server on a public URL so I could access it when I’m not at home.  There are two ways of accomplishing...

Create a Startup / Boot Script under Ubuntu

In managing Unix systems, you will often have occasion to have a process or action performed at boot time. There are several ways of accomplishing this goal, but the right way is to create an init script and configure it to run at the proper run levels. Here’s how to do that under Ubuntu. A valid LSB (Linux Standard Base) Init Script has 4 components: Provide, at least, the following actions: start, stop, restart, force-reload, and status (actually optional) Return proper exit status codes Document runtime dependencies Log messages using the Init.d functions: log_success_msg, log_failure_msg and log_warning_msg (optional) To document runtime dependencies you’ll have to define a header on your script....