September 22, 2020

ngrok alternative: localtunnel + Caddy + Lets Encrypt

Sometimes you want to show localhost to the world or need real world access for testing or callback urls. Usually you’re using ngrok. Thats okay, i’ll do too. But also sometimes, you are a paranoid bastard and there’s no way you’re routing your data through alien infrastructure. This is where localtunnel kicks in. For wildcard subdomains, you’ll also need a wildcard subdomain dns entry and a loadbalancer/reverse proxy. This could be done using e. Read more

July 4, 2020

Git log/history in JSON or YAML format

You can use git pretty formats for creating YAML log (YAML instead of JSON, no messing around with trailing comma). Example: echo "commits:" git \ --no-pager log \ --since "7 days ago" \ --pretty=format:" - id: %h%n signer_key: '%GK'%n timestamp: '%at'%n subject: '%f'%n body: |%n %(trailers:separator=\n )" This shows all git commits from last 7 days with their signer key, timestamp, (sanitized) subject and the body as YAML. Read more

May 19, 2020

Setup nextcloud-spreed-signaling standalone server on Ubuntu

Thanks to struktur AG, which released the open source version of the standalone signaling server for Nextcloud Talk, you can now run your own version of the Talk High Performance Backend. Awesome work and good move! I’ve grabbed the sources immediately and built a HPB on one of my tiny VPS (VPS 200 G8 hosted by netcup). Notice: Your setup might differ a lot (or won’t apply at all as your’re using different OS, Webserver, …). Read more

September 20, 2019

Swift 3 with Ryzen 3500u, WD SSD and linux installation troubles

UPDATE 2019-12-29: Re-installed the notebook (needed dual-boot w/ Windows for Bios Update) and everything was working this time without any specific paramater using the same installer ISO (Ubunto 18.04.3) Unfortunately, i’ve spilled something on my notebook (Skylake HP Envy 13) which lead to an unusable keyboard grmlfpl I was quite curious about the new generation of mobile Ryzen processors (very happy with my gen desktop Ryzen), so the replacement is a Acer Swift 3 14 with an AMD Ryzen 3500u (SF314-41-R8HZ), which caused some headache in the beginning as i was not able to boot any linux installer. Read more

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