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“.

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:

i2c on Radxa Rock

Download and flash this image, it has i2c support already baked in.
Otherwise compile your own kernel with i2c support.

Install i2c tools and add you user to the i2c group:

Connect according to the schematics:

radxa i2c

Then you are good to go:

Tonerreset Brother MFC-7320

Wenn auch Ihr Brother MFC-7320 die neue Rebuilt Patrone nicht akzeptiert sondern „Toner leer“ anzeigt führen Sie am besten einen Tonerreset durch:

  1. Schalten Sie Ihren Brother MFC-7320 ein
  2. Öffnen Sie die Frontklappe
  3. Drücken Sie die Taste Storno
  4. Es erscheint die Anzeige „Trommel ersetzen?“ 1. JA 2. NEIN
  5. Drücken Sie die Sterntaste
  6. Drücken Sie sofort die Taste 0 zweimal hintereinander
  7. Schließen Sie die Frontklappe

Fhem auf Radxa Rock installieren

Der Fhem Server ist nun zum Beispiel erreichbar unter:
http://radxa:8083/fhem

Gleich mal ein:

und schon ist man auf dem neuesten Stand und kann die Geschwindigkeit des Rock voll auskosten.

Jetzt noch ein altes Backup importieren:

Run AT commands on 3G Modems with OSX

  1. Open a terminal window and find your 3G Modem with 
  2. Run 
  3. Now you can send AT commands to your 3G Modem e.g. type ATI to get more information about the device or AT^U2DIAG=0 to get rid of the annoying flashdrive of Huawei modems. Other useful AT commands for Huawei modems can be found here.
  4. To close the session, press the key combination Ctrl+a and then Ctrl+\