<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Planet-Debian on Ryan Kavanagh&#39;s /dev/brain</title>
    <link>/tags/planet-debian/</link>
    <description>Recent content in Planet-Debian on Ryan Kavanagh&#39;s /dev/brain</description>
    <generator>Hugo</generator>
    <language>en-CA</language>
    <lastBuildDate>Wed, 20 Dec 2023 11:11:59 -0500</lastBuildDate>
    <atom:link href="/tags/planet-debian/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Battery charge start and stop threshold on OpenBSD</title>
      <link>/blog/2023-12-20-battery-charge-start-stop-threshold-on-openbsd/</link>
      <pubDate>Wed, 20 Dec 2023 11:11:59 -0500</pubDate>
      <guid>/blog/2023-12-20-battery-charge-start-stop-threshold-on-openbsd/</guid>
      <description>I often use my laptops as portable desktops: they are plugged into AC power and an external monitor/keyboard 95% of time. Unfortunately, continuous charging is hard on the battery. To mitigate this, ThinkPads have customizable start and stop charging thresholds, such that the battery will only start charging if its level falls below the start threshold, and it will stop charging as soon as it reaches the stop threshold. Suggested thresholds from Lenovo&amp;rsquo;s battery team can be found in this comment.</description>
    </item>
    <item>
      <title>Routable network addresses with OpenIKED and systemd-networkd</title>
      <link>/blog/2022-06-25-routable-network-addresses-openiked-systemd-networkd/</link>
      <pubDate>Sat, 25 Jun 2022 07:41:37 -0400</pubDate>
      <guid>/blog/2022-06-25-routable-network-addresses-openiked-systemd-networkd/</guid>
      <description>I&amp;rsquo;ve been using OpenIKED for some time now to configure my VPN. One of its features is that it can dynamically assign addresses on the internal network to clients, and clients can assign these addresses and routes to interfaces. However, these interfaces must exist before iked can start. Some months ago I switched my Debian laptop&amp;rsquo;s configuration from the traditional ifupdown to systemd-networkd. It took me some time to figure out how to have systemd-networkd create dummy interfaces on which iked can install addresses, but also not interfere with iked by trying to manage these interfaces.</description>
    </item>
    <item>
      <title>Writing BASIC-8 on the TSS/8</title>
      <link>/blog/2021-04-07-writing-basic-8-on-the-tss-8/</link>
      <pubDate>Wed, 07 Apr 2021 20:08:52 -0400</pubDate>
      <guid>/blog/2021-04-07-writing-basic-8-on-the-tss-8/</guid>
      <description>I recently discovered SDF&amp;rsquo;s PiDP-8. You can access it over SSH and watch the blinkenlights over its twitch stream. It runs TSS/8, a time-sharing operating system written in 1967 by Adrian van de Goor while a grad student here at CMU. I&amp;rsquo;ve been having fun tinkering with it, and I just wrote my first BASIC program1 since high school. It plots the graph of some user-specified univariate function. I don&amp;rsquo;t claim that it&amp;rsquo;s elegant or well-engineered, but it works!</description>
    </item>
    <item>
      <title>Static Comments in Hugo</title>
      <link>/blog/2021-03-12-static-comments-in-hugo/</link>
      <pubDate>Fri, 12 Mar 2021 13:32:34 -0500</pubDate>
      <guid>/blog/2021-03-12-static-comments-in-hugo/</guid>
      <description>I switched from Jekyll to Hugo last week for a variety of reasons. One thing that was missing was a port of the &amp;ldquo;jekyll-static-comments&amp;rdquo; plugin that I used to use. I liked it because it saved readers from being tracked by Disqus or other comments solutions, and it required no javascript.&#xA;To comment, users would email me their comment following a template attached to the bottom of each post. I then piped their email through a script to add it to the right post.</description>
    </item>
    <item>
      <title>Configuring OpenIKED VPNs for StrongSwan Clients</title>
      <link>/blog/2020-09-12-configuring-openiked-vpns-for-strongswan-clients/</link>
      <pubDate>Sat, 12 Sep 2020 17:42:00 -0400</pubDate>
      <guid>/blog/2020-09-12-configuring-openiked-vpns-for-strongswan-clients/</guid>
      <description>A few weeks ago I configured a road warrior VPN setup. The remote end is on a VPS running OpenBSD and OpenIKED, the VPN is an IKEv2 VPN using x509 authentication, and the local end is StrongSwan. I also configured an IKEv2 VPN between my VPSs. Here are the notes for how to do so.&#xA;In all cases, to use x509 authentication, you will need to generate a bunch of certificates and keys:</description>
    </item>
    <item>
      <title>Specifying a custom MTA path in caff</title>
      <link>/blog/2016-04-16-specifying-a-custom-mta-path-in-caff/</link>
      <pubDate>Sat, 16 Apr 2016 12:19:53 +0000</pubDate>
      <guid>/blog/2016-04-16-specifying-a-custom-mta-path-in-caff/</guid>
      <description>I recently had to sign someone&amp;rsquo;s GPG key. I&amp;rsquo;ve long used the caff tool from the signing-party package to help me with this. Unfortunately, I&amp;rsquo;m using a new laptop and hadn&amp;rsquo;t yet configured caff on it. Moreover, caff uses the system MTA by default, normally found at /usr/sbin/sendmail, and I hadn&amp;rsquo;t yet properly configured it to send mail to the outside world. Since I have multiple email accounts and use mutt as my mail client, I use msmtp as my SMTP client / sendmail drop-in.</description>
    </item>
    <item>
      <title>mutt-fetchbug&amp;#58; fetch BTS bug reports from mutt</title>
      <link>/blog/2012-01-05-mutt-fetchbug/</link>
      <pubDate>Thu, 05 Jan 2012 15:58:00 +0000</pubDate>
      <guid>/blog/2012-01-05-mutt-fetchbug/</guid>
      <description>I&amp;rsquo;ve been a longtime mutt user, but have gotten somewhat annoyed of having to open a new terminal when I want to read or reply to a Debian bug with mutt (using &amp;lsquo;bts show 123456&amp;rsquo;). How nice it would be to be able to fetch a bug report from within mutt! And so, ladies and gentlemen, I present to you mutt-fetchbug. It&amp;rsquo;s extensively based on Zack&amp;rsquo;s mutt-notmuch script (a nice interface between mutt and notmuch for searching mail, I highly recommend it).</description>
    </item>
  </channel>
</rss>
