Flysky i6 and Crazybee Quickstart Guide

This is a newbie’s quickstart guide for the Flysky i6 transmitter (TX) and the Happymodel Crazybee flight controller (FC). The guide assumes that you have a fresh Crazybee-based whoop build or bind-and-fly (BNF) such as the UR/S/K65, Mobula6, or Moblite6.

We will bind the Flysky i6 to the receiver built into the Crazybee. Binding simply means pairing the Flysky i6 so that it will be able to control the Crazybee.

      1. Press and hold the bind button on the Crazybee and plug in the battery. Watch for a blinking red LED which indicates the Crazybee is in binding mode.
      2. Press and hold the bind button on the Flysky i6 and slide the power switch on. Watch for a solid red LED which indicates the Crazybee is now bound.
      3. Depending on your board and firmware version it may be a blinking red LED at the start and then solid red LED once bound or vice versa. That is, solid red LED at the start and then blinking red LED once bound. The key is to observe if the LED behavior changes when you bind on the transmitter.
      4. Power off both the Flysky i6 and the Beecore.

We will now assign radio channels to controls. Assigning channels allows controls to send radio signals when operated by the pilot. For this guide, we will simply assign Channel 5 to SwA and Channel 6 to SwC

        1. Power up the Flysky i6
        2. Select Functions setup
        3. Select Aux. channels
        4. Change Channel 5 source to SwA and Channel 6 to SwC. This assigns the switches for arming and selecting flight mode (angle/horizon/acro), respectively.

          If everything is correct, you should now be able to power up your quad, power up your transmitter, select flight mode using the mode switch (SwC), flip the arm switch (SwA), and take-off!

Xiaomi Enchen Boost Hair Clipper

One of the things you can do to avoid going out and minimize exposure during this pandemic is to cut your own hair. This is why hair clippers are becoming very popular and one of the most popular is the Xiaomi Enchen Boost.

Dovecot: Missing dh.pem

Yesterday, I upgraded my mail server’s operating system. After upgrading, I encountered the following error in dovecot:

config: Warning: please set ssl_dh=</etc/dovecot/dh.pem

What’s dh.pem? I found the answer in the Dovecot 2.3 upgrade documentation. Apparently, the ssl-parameters.dat file is now obsolete. You should use ssl_dh setting instead by adding: ssl_dh=</etc/dovecot/dh.pem to the configuration.

But how do you get dh.pem?

One way is to can convert an existing/old ssl-parameters.dat to dh.pem:

dd if=/var/lib/dovecot/ssl-parameters.dat bs=1 skip=88 | openssl dhparam -inform der > /etc/dovecot/dh.pem

Another way, which I found here, is to generate a new dh.pem:

openssl dhparam -out /etc/dovecot/dh.pem 4096 -days 3650

It takes a LOOONG time. But once the file is ready, just add it to /etc/dovecot/conf.d/10-ssl.conf

ssl_cert = </etc/letsencrypt/live/
ssl_key = </etc/letsencrypt/live/
ssl_dh = </etc/dovecot/dh.pem

Restart dovecot and you’re back in business.