How to set up Navidrome for MP3 Streaming on a RaspberryPi

Recently I noticed that I hardly ever listen my MP3 music collection – mainly because I don’t like my music players (both on mobile and on the desktop). So, let’s look for a nicer player!

I had only two constraints: 1) it should be able to use the files from OneDrive and 2) it should be able to cache them (in case of no connectivity). And as I went through the candidates, I stumbled across Navidrome:

Navidrome allows you to enjoy your music collection from anywhere, by making it available through a modern Web UI and through a wide range of third-party compatible mobile apps, for both iOS and Android devices.

Navidrome also supports Playlists and Internet-Radio! Nice. So why not let it run on a RaspberryPi at home and make it available through my VPN? But would I have enough RAM left? I just tried!

Continue reading How to set up Navidrome for MP3 Streaming on a RaspberryPi

How to selfhost Peertube

I’ve been thinking about selfhosting my videos for quite a while now. Sure, Youtube is the de-facto-standard. But honestly, I don’t perform on ANY platform that is steered by an algorithm, and I simply dislike the way those monopolies can “dictate” what is seen and can be seen. Elena Rossini recently wrote a nice post about it, that nails it quite well. I know: I don’t pay for it, so what should I expect …

Anyways! I hesitated for quite a while to rent a VPS, install Peertube, maybe according databases, redirect a subdomain, keep it maintained … ah well … or maybe just not.

But – also thank you to Elena Rossini (@_elena@mastodon.social) – I got aware of YunoHost:

YunoHost is an operating system aiming to simplify server administration and therefore democratize self-hosting while making sure it stays reliable, secure, ethical and lightweight. It is a copylefted libre software project maintained exclusively by volunteers. Technically, it can be seen as a distribution based on Debian GNU/Linux and can be installed on many kinds of hardware.

And I must admit that I really liked the setup procedure! It’s well described in the Yunohost Documentation and worked like a charm.

If you are afraid of self-hosting any application listed in the YunoHost App-StoreDON’T be afraid. VPCs/VPSs are really cheap to get as well … I chose a tiny VPC from Strato for example.

See the result on https://video.franzgraf.de/

Give it a try! Self-hosting might be easier than you think.

How to add SSH public key authentication in Linux

It’s pretty easy, but every time I have to look up the right permissions for .ssh and the authorized_keys file. The solution is described on StackOverflow and the OpenSSH FAQ:

mkdir ~/.ssh
touch ~/.ssh/authorized_keys
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys

# now paste the user's public key here:
cat > ~/.ssh/authorized_keys

done.

RaspberryPi System upgrade vs. Fresh install

Recently I noticed that one of my RaspberryPIs was running a rather old version of Raspian. I thought it might be a good idea to upgrade and followed the instructions from Upgrade Raspberry Pi OS to the Latest Version (2024) – RaspberryTips.

Continue reading RaspberryPi System upgrade vs. Fresh install

How to enable automatic updates on Linux / RaspberryPi

I just noticed that I haven’t logged on to one of my RaspberryPIs for quite a while and also didn’t update it. Instead of hacking some root crontab, a quick search brought this thread in the Raspi forums up: crontab update – Raspberry Pi Forums and unattended upgrades – How do I enable automatic updates? – Ask Ubuntu

To keep the Raspberry Pi updated, I just use the following:

sudo apt install unattended-upgrades apt-listchanges
sudo dpkg-reconfigure -plow unattended-upgrades

Documentation can be found here: Package management | Ubuntu

How to reduce AdTracking with Fritz!Box filter lists for mobile devices

Problem: I am using Pi-Hole on my network to block quite a few ADs and trackers. However, the blocking does not work reliably on Android devices on our WiFi (This thread suggests that this also concerns Apple devices – but we don’t have any at home, though).

I noticed this when I was researching some cycling products and my wife suddenly started getting cycling ADs in her Facebook stream on her tablet. We don’t share devices or accounts or anything – but we do share the same network and therefore the IP of our router.

Continue reading How to reduce AdTracking with Fritz!Box filter lists for mobile devices

How to remove “AMD Software Adrenalin Edition” from Context Menu in Windows 11

Problem: After installing the AMD Adrenalin Software, a new entry appeared in the Explorer Context Menu. What I find super annoying is that it dows nothing else than opening the Adrenalin Software. There is no Context at all. So: get rid of it.

Continue reading How to remove “AMD Software Adrenalin Edition” from Context Menu in Windows 11

How to fix: Logitech Pebble Keys 2 K380s does not pair with Bluetooth

Problem: I bought a new wireless Logitech Pebble Keys 2 K380s Keyboard but it refused to connect to the PC. Unfortunately, I do not (yet) own a Logitech Bolt, so I wanted / needed to connect via Bluetooth. With the Phone it was able to connect.

Continue reading How to fix: Logitech Pebble Keys 2 K380s does not pair with Bluetooth

How to fix slow network speed with Windows 11 to local NAS via Samba / SMB Share

Problem: I replaced my Windows 10 computer with a new Windows 11 one. On W10 I usually see a throughput to my Synology NAS of close to 1 Gbit/sec. On W11 the throughput was ways slower: I only got ~300 Mbit/sec when copying to/from the Samba Share.

Continue reading How to fix slow network speed with Windows 11 to local NAS via Samba / SMB Share

How to Opt Out of Google’s Page Annotation on iOS

Google’s new Page Annotation feature for its iOS browser automatically changes your website and adds to Google Search results. These auto-added links are not marked as “added by Google” and thus make the links look like I added them myself.

Continue reading How to Opt Out of Google’s Page Annotation on iOS