Bluetooth on Radxa Rock

Because of some kernel memory allocations not aligned to 4 bytes, bluetooth until now did not work on radxa. Fortunately rapidkaju has found a fix:

Now you should be able bring up your bluetooth device:

see its detailed status:

to make the rock discoverable:

to scan the environment for discoverable devices:

Once you found something you like to connect to:

and have a look at the connections:

Then you can pair with:

Setup email server on Radxa Rock

and follow the installer
You can always change the config later with:

Make sure you force encryption with:
smtpd_tls_security_level = encrypt
smtpd_tls_auth_only = yes

and in

protocols = imap
disable_plaintext_auth = yes
ssl = required

Each user has its own email adress e.g. user@domain.com, but you can add some additional aliases here:

Make sure those aliases do not go to root or else you will get dovecot permission errors.
Then reload the alias database and postfix:

First check that the mx entry for your domain is set correctly:

Then check if your IMAP server is reachable:

Then you can check if your SMTP server is reachable:

You can also use these great MX Webtools to debug you mailserver.

If something doesn’t work have a look at:

I got some crazy sasl auth errors, which I could fix by:

and uncomment:

# Postfix smtp-auth
unix_listener /var/spool/postfix/private/dovecot-auth {
mode = 0666
user = postfix
}

VirtualBox Guest VM not responding to ping requests

Suppose you have installed guest OS (such as Windows, Ubuntu, etc) in VirtualBox and want to ping it from host OS then you might not be able to ping it, if Network adapter is configured as NAT mode adapter in VirtualBox for the VM.

To solve this problem. First shutdown your guest VM. Second, change the Guest VM’s network adapter settings of „Attached to“ from „NAT“ to „Bridged Adapter“.

Xbox One Kinect 2.0 USB3 Mod

This mod enables you to use a cheap Xbox One Kinect 2.0 on your computer without a special breakout box from the K4W2 developers program.

First remove the black rubber around the plug with a plier, then pull out the plug. This requires quite some force. Remove the two large black stickers and open the 8 t-10 torx security screws behind it. Take off the top cover. Detailed instructions to take apart the Kinect can be found at iFixit. Pull the new 12V wires through the plug and solder to +12v to pin 10 and ground to one of the large ground pins a proposed by Alexis Maldonado on the OpenKinect Group. As power adapter, I can recommend this (Universal Netzteil 12V 1000mA).

Kinect 2 Mod

You may want to fix everything with some hot glue. And voilà you have an amazing time of flight sensor for 60€. Now you can continue to the software side of getting the hacked Kinect 2.0 running.

Linaro 14.04 on Radxa Rock

If linaro 13.09 from the Radxa Rock Image doesn’t get new security updates anymore, it is time to move on to 14.04 Trusty Tahr a long term support version.

and replace the content with:

deb http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://ports.ubuntu.com/ubuntu-ports/ trusty universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty universe
deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates universe
deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://ports.ubuntu.com/ubuntu-ports/ trusty multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty multiverse
deb http://ports.ubuntu.com/ubuntu-ports/ trusty-updates multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://ports.ubuntu.com/ubuntu-ports/ trusty-backports main restricted universe multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports/ trusty-backports main restricted universe multiverse

deb http://ports.ubuntu.com/ubuntu-ports trusty-security main restricted
deb-src http://ports.ubuntu.com/ubuntu-ports trusty-security main restricted
deb http://ports.ubuntu.com/ubuntu-ports trusty-security universe
deb-src http://ports.ubuntu.com/ubuntu-ports trusty-security universe
deb http://ports.ubuntu.com/ubuntu-ports trusty-security multiverse
deb-src http://ports.ubuntu.com/ubuntu-ports trusty-security multiverse

then:

and when done: