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 1.st 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. After messing around with almost every kernel param back from the past (noacpi, noapic, nomodeset) and all other recommendations (rcu_nocbs=0-7, processor.max_cstate=5) it always printed something like nvme ncme0: controller is down; will reset. In the end, it was the WD SSDs fault and nvme_core.default_ps_max_latency_us=5500 did the trick! 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

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="0.0.0.0/0" (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="192.168.199.2/32" (192.168.199.0/24 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. Have fun! 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