New Hardware 2021

So I am finally running FreeBSD again on a Laptop.

The HW probe can be found here: https://bsd-hardware.info/?probe=6c208c85a5

Notable obstacles:

DRM: I have to run the 5.7-wip branch and add my pciid. (https://github.com/freebsd/drm-kmod/pull/135)

WLAN: There is no driver for the integrated wlan. After some help from dch@ I have now got an EDIMAX rtwm USB dongle which needs the following patch: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260952

Bike stat 2021

According to bikecitizen App I have done 1077.4km in 2021 and spend 2 days and 19 hours in the saddle.

Heatmap Vienna 2021

I track everyday tours when it is not raining. So additional, there are a few recreational tours I tracked with Strava, which unfortunately does not provide any yearly stats in the free tier.

2021 Last.fm stats

Artists:

  1. Imany
  2. Evridiki
  3. Anna Netrebko
  4. Amy MacDonald
  5. Franz Schubert
  6. Pyotr Ilich Tchaykovsky
  7. Таралеща
  8. Element of Crime
  9. Röya
  10. Giacomo Puccini

Tracks:

  1. Evridiki – Ziliaris Ouranos
  2. Era Rusi – Me Zemer Te Bardhe
  3. Dim Zach – Discomare Sex
  4. iio – At the End
  5. Romane – Ciao Bella
  6. Tuğba Yurt – Yol Arkadaşım
  7. Anna Coman – Run
  8. Imany – You will never know
  9. OneRepublic – Run

Side note: Classical Music is still not tagged consequently on Spotify, so thats why three classical composers are in my Top 10 artists.

The blog is back

After updating some ports suddently nothing worked…

  1. Caddy + Letsencrypt.
    Caddy again changed the syntax of the caddyfile without providing proper documentation or proper error messages

    I finally managed to get TLS working again but then struggled with PHP. So in the end I decided to switch to nginx/certbot.
    Let’s see how reliable this works. Most likely I broke certificate renewal for dovecot but this is less critical

  2. WordPress is a PITA
    • The sqlite integration does not support PHP 8, so I downgraded to PHP7.4.
    • WordPress again removed the old default theme, and the new default theme looks worse than the old one.
    • I couldn’t post, so I tried Tools->Site Health. Well this page uses deprecated functions that have been removed in php 7.0. So no site health for me.
    • The default editor isn’t able to save posts, and categories are also broken. (Install the classic editor to fix it)
    • Permalinks are broken. This could be a side effect of the migration to nginx. Will fix later

Pulseaudio/Bluetooth Automatically switch profile

My BT Headset connects with A2DP profile per default which is fine for listening to music. But for video calls we need a mic.

Of course you can switch the bluetooth profile manually within pavucontrol, but even better is modifying /etc/pulse/default.pa by adding auto_switch=2 to the line

load-module module-bluetooth-policy auto_switch=2

Restart pulseaudio with pulseaudio -k

End of the year Last.fm stats

So here are my Last.fm stats for 2020:

Tracks:

  1. Kim Chi Kat – You Think You Love Me
  2. Aylin Aslım – Senin Gibi
  3. Chi-li – Ангел на моём плече
  4. Stefan Valdobrev – Тази песен не е за любов
  5. Röya – Yaz Ayları
  6. Polina Gagarina – Спектакль окончен
  7. Edyta Geppbert – Spiewam Życie/Aide Jano
  8. Hande Yener – Biri Var
  9. Lili Ivanova – Za tebe biah
  10. Markscheider Kunst – Мумия

Artists:

  1. чи-ли
  2. Count Basic
  3. Hande Yener
  4. Marietta fafuti
  5. Nalyssa Green
  6. Aylin Aslım
  7. Jennifer Rush
  8. Hara
  9. Markscheider Kunst
  10. Ostava

KDE taskbar grouping not showing list

After a recent KDE upgrade, the taskbar grouping did not work anymore. Instead of e.g. a list of open files in gvim i had to click multiple times on the entry in the taskbar to cycle through the list of windows.

I couldn’t find the solution on google (most likely because I use the wrong terms to describe this feature) so here is a blog post to help people like me.

The solution: Right click -> Task Manager Settings -> Behaviour -> Clicking grouped Task -> Shows textual list.

Profanity IM cheat sheet

profanity IM is a nice XMPP client for the console.

Here is a list of commands, I can’t remember:

To answer a “authorization request” use

/sub allow user@jabber.service

This is article will be updated in case I have to lookup for another command….

UPC IPv6 prefix delegation and FreeBSD

Don’t believe the Connect-Box that you only get a /64 from UPC. Normal prefix delegation is possible, you just have to guess/experiment how big your prefix is. Here is my dhcp6c.conf

interface vr0 {
    send ia-pd 1;
    send ia-na 1;
#     send rapid-commit;
};

id-assoc na 1 {
};

id-assoc pd 1 {
 prefix ::/56 1800;

 prefix-interface vr1 {
   sla-len 4;
 };
};

My rtadvd.conf:

default:\
       :prefixlen#64:\

Some excerpts from my rc.conf:

ipv6_activate_all_interfaces="YES"
ipv6_cpe_wanif="vr0"
ipv6_gateway_enable="YES"
rtadvd_enable="YES"    
rtadvd_interfaces="vr1"