February 3, 2019

Setting up wireless roaming using 802.11r fast transition on OpenWRT

Ages ago, i was setting up 802.11r the complicated way using all the r0kh and r1kh lists across all access points, which worked well but was a little pita to setup. After creating a little helper, i just discovered that recent OpenWRT builds can cope with the option ft_psk_generate_local to dynamically create the RADIUS keys and stuff. Even with Luci support, just enable 802.11r Fast Transition and Generate PMK locally, set a Mobility Domain (same across all AP’s per SSID) and a NAS ID (unique, i’d still prefer the BSSID w/o the colons) and it works out of the box. Read more

November 29, 2018

Setting up a wireguard server running on an OpenWRT router

The blog post from casept was almost working for me, except for one little thing to mention in section You’ll also need to set the client up on your server uci add_list network.@wireguard_wg0[-1].allowed_ips="" (obviously) is replacing the existing default route, which renders internet unusable ;) As we’re routing the clients traffic anyway, we can just allow the single host address like uci add_list network.@wireguard_wg0[-1].allowed_ips="" ( as WireGuards subnet in this example). Read more

November 25, 2018

Debian repository hosting using Gitlab Pages

If you’re eagerly building your own software and packages (or like me, do some packaging for others), you’ll need somw sort of webspace to make them available to the public. And if you’re using Gitlab CI (and you should) to build you packages, you can easily add some steps to let Gitlab Pages take care of the repo hosting. Here’s an example project which just downloads some random packages and then create the repo. Read more

July 27, 2018

Setup cron or systemd timers for Nextcloud preview generator app

If you’re using the fantastic Nextcloud and like to feel comfortable browsing all your auto-uploaded photos like once upon a time you did in some proprietary Picasa or so, you can benefit from Preview Generator, which will take care of pre-rendering the thumbnails. As it states you must add some cron magic to get it working and the Nextcloud folks asked for a tutorial, here’s how to do it with cron or (my preference) with systemd timers. Read more

May 31, 2018

Performing planned Proxmox Sheepdog cluster maintenance

Let’s assume you might not following the Ceph hype for whatever reasons or experiences. And also you might have found a working solution with Sheepdog for clustered block storage. And you’re probably using Proxmox, where Sheepdog is very well integrated (uses existing Corosync cluster). Well done ;) Proxmox sometimes ships Corosync updates, which means the Corosync cluster service will be restarted. As Sheepdog relies on it, it might get confused and dazed. Read more