No More Cookies

As of today we no longer use cookies on this site. In the past we used cookies to support some telemetry and visit statistics. As it turns out, I didn't really look at that data and so I've decided to remove both GA and AI tracking scripts.

Enabling SSH Access on the IX4-300D NAS

The IX4-300D NAS device can be configured for SSH access by following these steps:

  1. Log in using the administrator account
  2. Navigate to the Diagnostics screen: http://ix4-300d/manage/diagnostics.html
  3. Select Support Access -> Allow remote access for support
  4. Enter the root password twice and click apply

Now you will be able SSH into the NAS, using the root user, and with the password you entered, prepended by soho.

Running Docker Quickstart Terminal Inside ConEmu

In trying to streamline my workflow I wanted to be able to run the Docker Quickstart Terminal from ConEmu. I've been working in ConEmu for all of my command line activity and it's a way better experience overall. This post describes how to configure ConEmu so that you can get the Docker Quickstart Terminal to run inside of it. I'm going to assume you already installed ConEmu and the Docker Toolbox. This post is written against ConEmu and Docker Toolbox 1.11.1. Let's walk through this process now.

We'll be creating a new task in ConEmu, so open ConEmu and press Win+Alt+T to open the Settings screen. You can also open the screen pressing the green plus sign on the top right of the screen and selecting Setup Tasks from the dropdown options: ConEmu main screen with highlighted button

You should now be at the settings screen, which will look something like this: ConEmu settings screen

Next, click on the plus button just under the list of Predefined tasks. This will add a new task at the bottom of the list, which gets defaulted to GroupXX. On my screen it's Group12: ConEmu settings screen with the add button highlighted

The final step is to configure the task we just added. In my case I am calling it Docker Toolbox but you can call it anything you want. In addition to changing the name, you'll have to add two more pieces of information.

First, we'll set the working directory by adding a task parameter. The task parameter for a default Docker installation wil be:

/dir "C:\Program Files\Docker Toolbox"

If you installed the Docker Toolbox to a different directory, change the above line accordingly.

Second, we need to add a command to the task. The command you want to add is this one:

"C:\Program Files\Git\bin\bash.exe" --login -i "C:\Program Files\Docker Toolbox\"

This command assumes you are using Git as well, so if you are using a different bash shell, you will have to change this to use a different shell. This is a screenshot of what that looks like once it has been configured. Your screen should look like this unless you've changed some of the installation paths:

ConEmu settings screen with docker config

If your installation is significantly different you can copy the command lines directly from the Docker Quickstart Terminal shortcut. This is what I did and you'll see that the lines above will match the lines on the screen below. To find the shortcut file so that you can copy the commands from it, navigate to this folder:

C:\Users\your-user-folder-name\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Docker

That folder will contain the docker shortcut files. Right click on the Docker Quickstart Terminal shortcut and select properties from the context menu. You should now be at the properties screen:

docker quickstart terminal properties screen

You can now copy the value in the target field and copy it into the ConEmu command field in the ConEmu settings window for you task. Then, copy the value in the Start In field and paste it into the task parameters field in the ConEmu settings window. This last value needs to be prefaced by /dir. See my example above and compare it to the values in my properties window.

Finally, remember to click on save settings. Now you should be able to start a new Docker Toolbox tab.

Installing Docker Toolbox on Windows with Hyper-V Installed

Installing Docker on Windows is a fairly simple and straightforward process. It is very well documented here. However if you have Hyper-V installed as I do, the instructions will not work right out of the box. If you try to start the Docker Quickstart Terminal, you'll get the following error message:

Running pre-create checks...
Error with pre-create check: "Hyper-V is installed. VirtualBox won't boot a 64bits VM when Hyper-V is activated. If it's installed but deactivated, you can use --virtualbox-no-vtx-check to try anyways"
Looks like something went wrong in step ┬┤Checking if machine default exists┬┤

The issue is that when you run the terminal the very first time, the startup script attempts to create the default virtual machine in which the docker containers will run. This step of the process fails if you have Hyper-V installed, even if it is disabled. In my case, I do have it installed but I have a boot option set up to disable it when I am not using it. This post describes how to change the Docker startup script to allow you to create the default virtual machine using the startup script and still keep Hyper-V installed.

Before you start with the installation of Docker, I would suggest disabling Hyper-V. If you don't know how to do this, follow these instructions. Once you have disabled Hyper-V, the first step is to install Docker using the installer for Windows. The installation should run without any issues before you proceed with the next steps.

Once you have installed Docker, we'll modify the startup file to allow it to create the default VM. The file we want to modify is located under C:\Program Files\Docker Toolbox and is called called To modify the file you'll have to open the file in an editor running as Administrator. If you don't open an elevated editor, you won't be able to save your changes.

It's now time to edit the file, but before you do so, you may want to save a copy of the original file. Just in case. In your editor, locate the following code snippet:

STEP="Checking if machine $VM exists"
if [ $VMEXISTSCODE -eq 1 ]; then
  "${DOCKERMACHINE}" rm -f "${VM}" &> /dev/null || :
  rm -rf ~/.docker/machine/machines/"${VM}"
  #set proxy variables if they exists
  if [ -n ${HTTPPROXY+x} ]; then
  if [ -n ${HTTPSPROXY+x} ]; then
  if [ -n ${NOPROXY+x} ]; then
"${DOCKERMACHINE}" create -d virtualbox $PROXYENV "${VM}" fi
The second to last line is where the vm is created:
"${DOCKERMACHINE}" create -d virtualbox $PROXYENV "${VM}"

You will need to modify that line and add the --virtualbox-no-vtx-check switch to. The end result is that the line will look like this:

"${DOCKERMACHINE}" create -d virtualbox --virtualbox-no-vtx-check $PROXYENV "${VM}"

Save your changes and now you should be able to run the quickstart terminal without any issues.

The Affordable Education Robot Kit Arrives!

My affordable education kit finally arrived! To be honest it actually arrived a couple of weeks ago but with all the holidays and a new project I'm working on, it has taken me a while to get to it. Today I opened the box and took a peek at what it looks like.

Here are some photos of the kit as it arrived and what the robot itself looks like. The pen is there so you can get idea of the actual size.

affordable education robot box This is the box as it arrived. It's a bit banged up, but the contents survived, as you'll see below.

open affordable education robot box This is the open box. The components came wrapped in a fair amount of bubble wrap. I know somebody is going to have fun with that bubble wrap...

open affordable education robot box These are the contents that were wrapped in the bubble wrap.

open affordable education robot box These are the bags that were inside that previous bag, plus the robot's PCB.

So there you have it, the affordable education robot kit, broken down. The kit didn't come with any assembly instructions, so off to the web I go, to try and figure out what's the next step. I'll write some more once I've made some progress putting together the kit.