This guide leads you through all the necessary steps to setup your own Taskserver to sync your Taskwarrior-tasks.
Please follow the steps carefully and note all things you do differently.
default_ulimits = [ | |
"nproc=1024:2048", | |
"nofile=1024:2048", | |
] |
SolidRun provides different pre-baked images to get started with their ClearFog CN9130 devices. Most interesting is the Debian image, since it works with upstream kernels. The only real addition SolidRun made to the distribution are the device tree binaries, that have yet to find their way into mainline Linux.
Still, both devices aren't able to boot the image out of the box at the time of writing in mid July 2022.
Beginning with devices produced April 2022 or later, the units ship with a pre-programmed u-boot
boot loader on the SPI flash. The devices are also selected to use this boot method and the boot loader is prepared to look on all other media for something bootable. This is convenient, since you can just plug in a microSD card and boot the thing, move the image onto the embedded eMMC and it will fallback
reset sequence: turn off at least 5s, repeat until light flashes: 8s on, 2s off | |
Service [b8843add-0000-4aa1-8794-c3f462030bda] Unknown, ble_firmware_update? | |
Characteristic [b8843add-0004-4aa1-8794-c3f462030bda] | |
Characteristic [b8843add-0003-4aa1-8794-c3f462030bda] | |
Characteristic [b8843add-0002-4aa1-8794-c3f462030bda] | |
Characteristic [b8843add-0001-4aa1-8794-c3f462030bda] | |
Service [932c32bd-0000-47a2-835a-a8d455b859dd] light_control - startupConfiguration, combinedControl | |
Characteristic [932c32bd-0001-47a2-835a-a8d455b859dd] unk, 00 01 03 01 02 99 00 02 02 F4 01 03 02 01 00 | |
Characteristic [932c32bd-0002-47a2-835a-a8d455b859dd] Light state, 01/00 |
SPI stage 1 bootloader | |
SPI ID: c2:20:17:c2:20 | |
header found at offset 0x2000 | |
Image 1.2: address: 0xffffffffc0000000, header length: 192, data length: 359416 | |
Validating data... | |
Starting next bootloader at 0xffffffff81000000 | |
Board type: UBNT_E300 | |
U-Boot 2013.07 (UBNT Build Version: e302_001_3f6cf) (Aug 27 2018 - 07:21:15) |
#!/bin/sh | |
genscript() { | |
local PRIV=${1:?"No private key given"} | |
local PUB=${2:?"No public key given"} | |
local OTHER=${3:?"No peer public key given"} | |
local EP=${4:+"endpoint '$4':65534"} | |
local LL=$(echo $PUB | base64 -d | hexdump -n8 -e '"fe80:" 4/2 ":%04x" "/64\n"') | |
echo "ip link add dev wgadhoc type wireguard" |
Jumping to start of image at address 0xbfca0000 | |
U-Boot 2012.04.01 (UBNT Build Version: e200_002_80eda) (May 27 2019 - 06:34:56) | |
Skipping PCIe port 0 BIST, in EP mode, can't tell if clocked. | |
Skipping PCIe port 1 BIST, reset not done. (port not configured) | |
BIST check passed. | |
UBNT_E200 r1:0, r2:19, serial #: FCECDA05EB31 | |
MPR 13-00317-19 |
/dts-v1/; | |
/ { | |
compatible = "cavium,ubnt_e300"; | |
model = "cavium,ubnt_e300"; | |
interrupt-parent = <0x1>; | |
#address-cells = <0x2>; | |
#size-cells = <0x2>; | |
soc@0 { |
/dts-v1/; | |
/ { | |
compatible = "ubnt,e200"; | |
model = "ubnt,e200"; | |
interrupt-parent = <0x1>; | |
#address-cells = <0x2>; | |
#size-cells = <0x2>; | |
soc@0 { |
#!/bin/sh | |
# see https://en.wikipedia.org/wiki/Wake-on-LAN#Magic_packet | |
MAGIC="\xFF\xFF\xFF\xFF\xFF\xFF" | |
MAC=${1:?"No mac address"} | |
MACHEX="\x$(echo $MAC | sed -e 's/:/\\x/g')" | |
netmsg 255.255.255.255 $(printf "$MAGIC$MACHEX$MACHEX$MACHEX$MACHEX$MACHEX$MACHEX$MACHEX$MACHEX$MACHEX$MACHEX$MACHEX$MACHEX$MACHEX$MACHEX$MACHEX$MACHEX") |