<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Martijn&#39;s website</title>
    <link>https://mrtijn.nl/blog/</link>
    <description>Recent content on Martijn&#39;s website</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-us</language>
    <copyright>Copyright 2018 - 2022 Martijn, CC BY-SA 4.0</copyright>
    <lastBuildDate>Sun, 14 Aug 2022 12:00:00 +0200</lastBuildDate><atom:link href="https://mrtijn.nl/blog/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Automatically mount NFS shares over Wireguard at boot</title>
      <link>https://mrtijn.nl/blog/2022-08-14-mount-nfs-shares-via-wireguard/</link>
      <pubDate>Sun, 14 Aug 2022 12:00:00 +0200</pubDate>
      
      <guid>https://mrtijn.nl/blog/2022-08-14-mount-nfs-shares-via-wireguard/</guid>
      <description>I use Wireguard to remotely connect to some self-hosted services. One of these services is a simple fileserver via NFS. I however ran into a problem when I tried to automatically mount NFS shares over Wireguard via fstab. In this post, I will show what my problem was and how I fixed it.
Prerequisites I am assuming that you have a server and a client, which are connected via Wireguard. The client runs a Linux-distribution with systemd and automatically starts Wireguard at boot by use of the wg-quick@wg0.</description>
    </item>
    
    <item>
      <title>Console access via virsh console for Ubuntu guest VMs</title>
      <link>https://mrtijn.nl/blog/2020-07-30-virsh-console-access/</link>
      <pubDate>Thu, 30 Jul 2020 20:42:03 +0200</pubDate>
      
      <guid>https://mrtijn.nl/blog/2020-07-30-virsh-console-access/</guid>
      <description>Sometimes it&amp;rsquo;s a hassle to open up virt-manager for just running a quick command on a guest VM. Luckily, virsh has the console command to attach to the serial console of a guest. But because the serial console is not by default enabled on Ubuntu Server (at least, not as far as I know), you have to enable it manually.
For this, I created a small ttys0.service file:
[Unit] Description=Serial Console Service [Service] ExecStart=/sbin/getty -L 115200 ttyS0 screen-256color Restart=always [Install] WantedBy=multi-user.</description>
    </item>
    
    <item>
      <title>Creating a chrooted sftp-only ssh user</title>
      <link>https://mrtijn.nl/blog/2020-01-30-sftponly/</link>
      <pubDate>Thu, 30 Jan 2020 20:42:03 +0100</pubDate>
      
      <guid>https://mrtijn.nl/blog/2020-01-30-sftponly/</guid>
      <description>I wanted to set up an easy and secure way to use the storage on my server as a personal &amp;ldquo;cloud storage&amp;rdquo;. I also wanted it to be isolated from everything else on the server. To do this, I used a chrooted sftp-only ssh user. There are probably other ways to do something similar, but I went for this option because I didn&amp;rsquo;t need to install additional packages.
Prerequisites You only need a Linux server with ssh.</description>
    </item>
    
    <item>
      <title>How I Should Use GPG</title>
      <link>https://mrtijn.nl/blog/2018-10-22-how-i-should-use-gpg/</link>
      <pubDate>Mon, 22 Oct 2018 12:00:00 +0100</pubDate>
      
      <guid>https://mrtijn.nl/blog/2018-10-22-how-i-should-use-gpg/</guid>
      <description>GPG, and the OpenPGP protocol it implements, are both quite unforgiving. You can find plenty of best practices, usage tips and tutorials on how to use it, and you&amp;rsquo;ll find plenty of best practices that aren&amp;rsquo;t enforced by the program, bad defaults or outdated recommendations. I have no illusion that this one of many blog posts on GPG will change anything. I however hope that you&amp;rsquo;ll maybe learn a few things about GPG, which you can combine with abundantly available other sources.</description>
    </item>
    
    <item>
      <title>Actually using a RTL-SDR stick the way it was meant to be used</title>
      <link>https://mrtijn.nl/blog/2018-09-19-watching-dvb-t-tv-with-vlc/</link>
      <pubDate>Wed, 19 Sep 2018 16:00:00 +0200</pubDate>
      
      <guid>https://mrtijn.nl/blog/2018-09-19-watching-dvb-t-tv-with-vlc/</guid>
      <description>Watching DVB-T TV with VLC So a few days ago, I experienced the rare moment where I actually wanted to watch some TV. I however don&amp;rsquo;t own one, but I do have a computer and an RTL-SDR. I initially bought it to receive ADS-B data from airplanes, but it had recently just been laying around to collect dust. The device, which is based on the RTL2832U chip, is actually intended to be used as a DVB-T receiver.</description>
    </item>
    
  </channel>
</rss>
