May 2020

11 posts

iPad Pro USB-C Ethernet

· apple, networking

I’ve had an iPad Pro with the new Magic Keyboard and one of the things I've been wondering... Say I am stuck in a datacenter and I need to ssh through wired networking to a server -- sure I'll definitely rather use my Mac laptop, but just in case... But would it actually work?

The answer is... Yes -- but...

Synology "Operation Failed" manually updating package

· hardware, linux, software

Resilio Sync released an update last week and on Synology these package don't auto update. Time to manually update the packages again.

On my DS1515 (more RAM, more CPU) the manual update goes by fine (stop service, manual update, browse for file, upload, start service) but my DS216j, not so much.

Attempting to upload the file instantly fails with the useful error "Operation Failed".

0x04

· misc, networking

Almost 10 years after I registered 0x04.com, it's time to part ways.

0x04.com whois
old whois info -- created 29 Aug 2010.

Yesterday I finalised the sale of 0x04.com.

My company in Singapore was called 0x04 pte. ltd. and to avoid any confusion I've renamed to su1 pte. ltd. su1 standing for Superuser.one. 🤷‍♂️

NextDNS, EdgeOS and device names

· linux, networking, software

Noticed that NextDNS was reporting old hostnames in the logs. For example old device names (devices that changed hostnames), devices that were definitely no longer on the network, or IPs that were matched to the wrong hostnames.

The culprit is how EdgeOS deals with its hosts file. Basically it just keeps all the old hosts added and just adds a new line at the end of the file.

Air purifier

· hardware, misc

I live in Singapore. And haze is a thing. Thanks Indonesia and burning rain forests to create palm plantations. Needless to say, so far 2019 and 2020 haven't been great.

Anyhow I got myself a Novita air purifier ~2 years ago, and I stole received a Xiaomi purifier from Liyun.

HSBC

· misc

This is a rant.

I've dealt with quite a few (bad) banks over the course of my life across countries and businesses.

And I think HSBC is one of the worst.

For various reasons. But mostly for being stuck in another century.

And you'd expect a tiny (Belgian) bank to be horrible. Not one of the biggest banks in the world with branches in almost every country of the world.

Error! Bad return status for module build on kernel: 4.19.0-8-amd64 (x86_64)

· linux, networking, software

I was rebuilding my WireGuard Docker container today and this error started popping up:

Setting up dkms (2.6.1-4) ...
Setting up wireguard-dkms (1.0.20200429-1~bpo10+1) ...
Loading new wireguard-1.0.20200429 DKMS files...
It is likely that 4.19.0-8-cloud-amd64 belongs to a chroot's host
Building for 4.19.0-8-amd64 and 4.19.0-8-cloud-amd64
Building initial module for 4.19.0-8-amd64
Error! Bad return status for module build on kernel: 4.19.0-8-amd64 (x86_64)
Consult /var/lib/dkms/wireguard/1.0.20200429/build/make.log for more information.
dpkg: error processing package wireguard-dkms (--configure):
 installed wireguard-dkms package post-installation script subprocess returned error exit status 10
Setting up build-essential (12.6) ...
Setting up libalgorithm-diff-xs-perl (0.04-5+b1) ...
Setting up libalgorithm-merge-perl (0.08-3) ...
dpkg: dependency problems prevent configuration of wireguard:
 wireguard depends on wireguard-dkms (>= 0.0.20200121-2) | wireguard-modules (>= 0.0.20191219); however:
  Package wireguard-dkms is not configured yet.
  Package wireguard-modules is not installed.

dpkg: error processing package wireguard (--configure):
 dependency problems - leaving unconfigured
Processing triggers for systemd (241-7~deb10u3) ...
Processing triggers for libc-bin (2.28-10) ...
Errors were encountered while processing:
 wireguard-dkms
 wireguard
E: Sub-process /usr/bin/dpkg returned an error code (1)

The solution was to install bc. Seems like Debian is not pulling the right dependencies. I'll be adding it to my Dockerfile.