<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Sven and the Art of Computer Maintenance</title><link>https://kiljan.org/</link><description>Recent content on Sven and the Art of Computer Maintenance</description><generator>Hugo</generator><language>en-us</language><copyright>Sven Kiljan</copyright><lastBuildDate>Mon, 07 Apr 2025 17:00:00 +0200</lastBuildDate><atom:link href="https://kiljan.org/index.xml" rel="self" type="application/rss+xml"/><item><title>Arch Linux RISC-V on a Milk-V Mars</title><link>https://kiljan.org/2025/04/07/arch-linux-risc-v-on-a-milk-v-mars/</link><pubDate>Mon, 07 Apr 2025 17:00:00 +0200</pubDate><guid>https://kiljan.org/2025/04/07/arch-linux-risc-v-on-a-milk-v-mars/</guid><description>&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>&lt;a href="https://en.wikipedia.org/wiki/RISC-V">RISC-V&lt;/a> is an interesting departure from x86 and ARM CPU architectures. It has a lot of potential due to it being royalty free and having some thought out technical principles on which it is based. Whether RISC-V will be able to earn itself a significant market share next to the two giants has yet to be determined. It has a good start, though. Last year the Raspberry Pi Foundation &lt;a href="https://riscv.org/ecosystem-news/2024/08/raspberry-pi-launch-new-rp2350-microcontroller-and-pico-2-development-board-with-risc-v-support/">introduced the RP2350&lt;/a> as an affordable RISC-V microcontroller together with a development board (Pico 2). While this is a small step for a (&lt;a href="https://hackaday.com/2024/09/20/raspberry-pi-rp2350-e9-erratum-redefined-as-input-mode-leakage-current/">buggy&lt;/a>) microcontroller, backing by an organization like the Raspberry Pi Foundation is a large step for RISC-V as a whole. There are also other (mostly Chinese) organizations who develop RISC-V microcontrollers and system on chips (SoCs). While the future of RISC-V is uncertain, it cannot be said that no attempt is made to make something out of it.&lt;/p></description></item><item><title>Replace a Lenovo ThinkPad X220's BIOS with an open-source UEFI-capable firmware</title><link>https://kiljan.org/2024/04/07/replace-a-lenovo-thinkpad-x220s-bios-with-an-open-source-uefi-capable-firmware/</link><pubDate>Sun, 07 Apr 2024 19:00:00 +0100</pubDate><guid>https://kiljan.org/2024/04/07/replace-a-lenovo-thinkpad-x220s-bios-with-an-open-source-uefi-capable-firmware/</guid><description>&lt;h1 id="introduction">Introduction&lt;/h1>
&lt;p>There are many guides on the internet that deal with replacing the firmware of older ThinkPad notebooks with &lt;a href="https://www.coreboot.org/">coreboot&lt;/a>. However, most of these guides use &lt;a href="https://www.seabios.org/">SeaBIOS&lt;/a> as a payload for coreboot, which limits the notebook to booting operating systems exclusively using a legacy BIOS. This is quite a downgrade from the X220&amp;rsquo;s original firmware, since the X220 was part of the first generation of ThinkPad notebooks that could boot UEFI natively.&lt;/p></description></item><item><title>Arch Linux ARM on a Raspberry Pi 5 Model B</title><link>https://kiljan.org/2023/11/24/arch-linux-arm-on-a-raspberry-pi-5-model-b/</link><pubDate>Fri, 24 Nov 2023 00:00:00 +0100</pubDate><guid>https://kiljan.org/2023/11/24/arch-linux-arm-on-a-raspberry-pi-5-model-b/</guid><description>&lt;p>&lt;img src="img/pi-5-8gb-alarm.png" alt="Raspberry Pi 5 8 GB with Arch Linux ARM">&lt;/p>
&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>&lt;a href="https://source.denx.de/u-boot/u-boot">U-Boot&lt;/a> does not support &lt;a href="https://www.raspberrypi.com/news/introducing-raspberry-pi-5/">the recently released&lt;/a> &lt;a href="https://www.raspberrypi.com/products/raspberry-pi-5/">Raspberry Pi 5&lt;/a>. In turn, &lt;a href="https://archlinuxarm.org/">Arch Linux ARM&lt;/a> does not support the Raspberry Pi 5 since &lt;a href="https://en.wikipedia.org/wiki/ARM_Cortex-A76#Design">the Pi 5&amp;rsquo;s CPU cores only support booting in 64-bit mode&lt;/a> and Arch Linux ARM&amp;rsquo;s aarch64 Raspberry Pi image relies on U-Boot.&lt;/p>
&lt;p>It is possible to get &lt;a href="https://archlinuxarm.org/">Arch Linux ARM&lt;/a> up and running on a Raspberry Pi 5 by removing U-Boot and replacing the mainline kernel with a directly booting kernel from the Raspberry Pi foundation. Automatic updates will even work since the replacement kernel &lt;a href="https://archlinuxarm.org/packages/aarch64/linux-rpi">is available as an official Arch Linux ARM package&lt;/a>. Sweet!&lt;/p></description></item><item><title>Chromecast casting support across IP networks</title><link>https://kiljan.org/2023/02/27/chromecast-casting-support-across-ip-networks/</link><pubDate>Mon, 27 Feb 2023 13:37:00 +0100</pubDate><guid>https://kiljan.org/2023/02/27/chromecast-casting-support-across-ip-networks/</guid><description>&lt;p>There can be situations in which you want to support &amp;lsquo;casting&amp;rsquo; across different network segments (VLANs) to a Google Chromecast, an Android TV television or media player, or any other device with &lt;a href="https://www.google.com/chromecast/built-in/">Chromecast built-in&lt;/a>. One example is guests in a guest wireless network, who want to cast something to media devices in a separate media network.&lt;/p>
&lt;p>Documentation about this is available here and there, but rarely is everything needed available in a single location. In this short reference, I note it all. Of course, protocols can be updated and Google can change how casting works since they indirectly control all endpoints. Please notify me if something is inaccurate or missing.&lt;/p></description></item><item><title>VPN as WAN for guest network on OpenWRT - 2021 edition</title><link>https://kiljan.org/2021/12/14/vpn-as-wan-for-guest-network-on-openwrt-2021-edition/</link><pubDate>Tue, 14 Dec 2021 13:37:00 +0100</pubDate><guid>https://kiljan.org/2021/12/14/vpn-as-wan-for-guest-network-on-openwrt-2021-edition/</guid><description>&lt;h2 id="table-of-contents">Table of contents&lt;/h2>
&lt;p>Use this to quickly jump to a section.
&lt;nav id="TableOfContents">
 &lt;ul>
 &lt;li>&lt;a href="#table-of-contents">Table of contents&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#introduction">Introduction&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#prerequisites">Prerequisites&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#install-required-packages">Install required packages&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#create-a-guest-network">Create a guest network&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#configure-guest-network-routing">Configure guest network routing&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#configure-a-vpn-interface">Configure a VPN interface&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#configure-the-firewall">Configure the firewall&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#restart-interfaces">Restart interfaces&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#test-the-connection">Test the connection&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#ipv6">Add IPv6 support&lt;/a>&lt;/li>
 &lt;/ul>
&lt;/nav>
&lt;/p>
&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>This is an updated guide for newer OpenWRT versions. Everything was tested with OpenWRT 21.02. This update was created due to popular demand. The essence has not changed, but the new major OpenWRT version has some changes and a quirk here and there with the new GUI. An OpenWRT upgrade from 19.x to 21.x should work without issue if the original guide was followed. If not, I recommend to start with this guide and a fresh OpenWRT configuration.&lt;/p></description></item><item><title>Arch Linux ARM on a Pinebook Pro</title><link>https://kiljan.org/2021/06/20/arch-linux-arm-on-a-pinebook-pro/</link><pubDate>Sun, 20 Jun 2021 16:00:00 +0100</pubDate><guid>https://kiljan.org/2021/06/20/arch-linux-arm-on-a-pinebook-pro/</guid><description>&lt;p>&lt;img src="img/pbp.png" alt="Pinebook Pro">&lt;/p>
&lt;p>Those who monitor my blog might note that I have mentioned &lt;a href="https://archlinuxarm.org/">Arch Linux ARM&lt;/a> a time or two. This Linux distribution is very flexible, which is why I like to use it on many different devices&lt;/p>
&lt;p>&lt;a href="https://www.pine64.org/">PINE64&lt;/a> released the &lt;a href="https://www.pine64.org/pinebook-pro/">Pinebook Pro&lt;/a> late 2019. It is an ARM-powered notebook running &lt;a href="https://wiki.pine64.org/wiki/Pinebook_Pro_Software_Release">many different Linux and BSD distributions&lt;/a>. I managed to order one just before they were &lt;a href="https://www.pine64.org/availability-and-shipping-status/">out of stock due to global component shortages&lt;/a>.&lt;/p></description></item><item><title>Pinebook Pro eMMC factory image</title><link>https://kiljan.org/2021/06/07/pinebook-pro-emmc-factory-image/</link><pubDate>Mon, 07 Jun 2021 00:00:00 +0100</pubDate><guid>https://kiljan.org/2021/06/07/pinebook-pro-emmc-factory-image/</guid><description>&lt;p>&lt;img src="img/pbp1.png" alt="The ix2-200&amp;rsquo;s serial connector">&lt;/p>
&lt;h2 id="pinebook-pro-emmc-factory-image">Pinebook Pro eMMC factory image&lt;/h2>
&lt;p>While there are &lt;a href="https://wiki.pine64.org/index.php/Pinebook_Pro#Pinebook_Pro_images">many images&lt;/a> available for the &lt;a href="https://www.pine64.org/pinebook-pro/">Pinebook Pro&lt;/a>, I could not find a stock image easily. This might be useful to restore a Pinebook Pro to a state that provides an out-of-the-box experience.&lt;/p>
&lt;p>This image was provided with a Pinebrook Pro that came from the May 2021 batch, and was made by extracting it from its 64 GB eMMC module without booting the device. Unless the device was intercepted and modified during shipment, this should be the same image as what was written to the eMMC module in the factory. The operating system it contains is Manjaro ARM. Based on the used kernel version, this image was probably made between &lt;a href="https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/commit/4818597d824a6f296bf86483047c8165ccc41007">10 June 2020&lt;/a> and &lt;a href="https://gitlab.manjaro.org/manjaro-arm/packages/core/linux/-/commit/e5a7db75088ca4d6b7036564e877ebb456cae36stockf">17 June 2020&lt;/a>.&lt;/p></description></item><item><title>64-bit Arch Linux ARM on a Raspberry Pi 4 Model B with 8 GB of RAM (May 2021 update)</title><link>https://kiljan.org/2021/05/28/64-bit-arch-linux-arm-on-a-raspberry-pi-4-model-b-with-8-gb-of-ram-may-2021-update/</link><pubDate>Fri, 28 May 2021 00:00:00 +0100</pubDate><guid>https://kiljan.org/2021/05/28/64-bit-arch-linux-arm-on-a-raspberry-pi-4-model-b-with-8-gb-of-ram-may-2021-update/</guid><description>&lt;p>&lt;img src="img/pi-4-8gb-alarm.png" alt="Raspberry Pi 4 8 GB with Arch Linux ARM">&lt;/p>
&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>In a &lt;a href="https://kiljan.org/2021/02/20/64-bit-arch-linux-arm-on-a-raspberry-pi-4-model-b-with-8-gb-of-ram/">previous article&lt;/a> I explained how to install the 64-bit (&amp;lsquo;aarch64&amp;rsquo;) version of Arch Linux ARM on a Raspberry Pi 4 Model B with 8 GB of RAM in a way that works around several problems. Recently I was contacted by someone who told me that his Raspberry Pi 4 did not boot with the linked U-Boot package from Ubuntu. Officially there is currently &lt;a href="https://www.raspberrypi.org/documentation/hardware/raspberrypi/revision-codes/README.md">only one revision of the 8 GB model&lt;/a>, but I suspect that there can be minor differences in the same revision that might be troublesome for booting. In addition, I suspect that some of the problems can occur with other newer Raspberry Pi 4 models that are of the same revision with less memory.&lt;/p></description></item><item><title>Installing Arch Linux ARM on an Iomega ix2-200</title><link>https://kiljan.org/2021/04/22/installing-arch-linux-arm-on-an-iomega-ix2-200/</link><pubDate>Thu, 22 Apr 2021 20:00:00 +0100</pubDate><guid>https://kiljan.org/2021/04/22/installing-arch-linux-arm-on-an-iomega-ix2-200/</guid><description>&lt;h2 id="2022-02-28-update">2022-02-28 update&lt;/h2>
&lt;p>With great sadness I was told that Arch Linux ARM &lt;a href="https://archlinuxarm.org/forum/viewtopic.php?f=3&amp;amp;t=15721">dropped support for ARMv5 and ARMv6&lt;/a>. The Kirkwood platform which the ix2-200 is based on is not supported anymore. This guide will remain online, but consider its contents deprecated and obsolete.&lt;/p>
&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>This is an updated version of the &lt;a href="https://kiljan.org/2016/11/15/installing-arch-linux-arm-on-an-iomega-ix2-200/">original 2016 guide&lt;/a>, which really needed an update after more than four years. Some memory and file addresses are invalid due to the increase in size of kernel and initramfs images. Furthermore, the old guide had some rough edges that I smoothed over in this new version. Also, some links were broken that should be fixed.&lt;/p></description></item><item><title>Integrating a Signal TLS Proxy in an existing site using HAProxy</title><link>https://kiljan.org/2021/04/11/integrating-a-signal-tls-proxy-in-an-existing-site-using-haproxy/</link><pubDate>Sun, 11 Apr 2021 00:00:00 +0100</pubDate><guid>https://kiljan.org/2021/04/11/integrating-a-signal-tls-proxy-in-an-existing-site-using-haproxy/</guid><description>&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>&lt;a href="https://signal.org/blog/help-iran-reconnect/">Due to censorship issues&lt;/a>, the Signal messaging service client was given the option of &lt;a href="https://signal.org/blog/help-iran-reconnect/">using a proxy&lt;/a> to connect to Signal&amp;rsquo;s servers. A &lt;a href="https://github.com/signalapp/Signal-TLS-Proxy">reference implementation using NGINX with the name &amp;lsquo;Signal TLS Proxy&amp;rsquo;&lt;/a> is provided by the Signal Technology Foundation. An overview of normal Signal client-server connection:&lt;/p>
&lt;p>&lt;img src="img/Signal%20connection.png" alt="Signal connection">&lt;/p>
&lt;p>And an overview of a connection through a Signal TLS Proxy:&lt;/p>
&lt;p>&lt;img src="img/Signal%20TLS%20Proxy%20connection.png" alt="Signal TLS Proxy connection">&lt;/p>
&lt;p>First the user must be made aware of the Signal TLS Proxy offered by innocentservice.example. This can be done by (ideally securely) sending a URL to the user out of band. When the user visits the URL on the device, the Signal client will interrupt the connection (no data is sent), configure the included hostname as a proxy, and test whether a connection can be made. If successful, the configuration is kept.&lt;/p></description></item><item><title>64-bit Arch Linux ARM on a Raspberry Pi 4 Model B with 8 GB of RAM</title><link>https://kiljan.org/2021/02/20/64-bit-arch-linux-arm-on-a-raspberry-pi-4-model-b-with-8-gb-of-ram/</link><pubDate>Sat, 20 Feb 2021 00:00:00 +0100</pubDate><guid>https://kiljan.org/2021/02/20/64-bit-arch-linux-arm-on-a-raspberry-pi-4-model-b-with-8-gb-of-ram/</guid><description>&lt;p>&lt;img src="img/pi-4-8gb-alarm.png" alt="Raspberry Pi 4 8 GB with Arch Linux ARM">&lt;/p>
&lt;h2 id="update---2021-05-28">Update - 2021-05-28&lt;/h2>
&lt;p>These instructions are deprecated, but might still be relevant for anyone on Arch Linux ARM who wants to switch over to the Raspberry Pi Foundation&amp;rsquo;s kernel. New instructions can be found &lt;a href="https://kiljan.org/2021/05/28/64-bit-arch-linux-arm-on-a-raspberry-pi-4-model-b-with-8-gb-of-ram-may-2021-update/">here&lt;/a>.&lt;/p>
&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>In May 2020, the Raspberry Pi Foundation launched the &lt;a href="https://www.raspberrypi.org/blog/8gb-raspberry-pi-4-on-sale-now-at-75/">Raspberry Pi 4 Model B with 8 GB of RAM&lt;/a>, which shortly afterwards replaced the now unavailable 1 GB model. Everyone rejoiced, for more memory is (almost) always better.&lt;/p></description></item><item><title>Extending the functionality of a Denon AV receiver</title><link>https://kiljan.org/2021/01/10/extending-the-functionality-of-a-denon-av-receiver/</link><pubDate>Sun, 10 Jan 2021 22:00:00 +0100</pubDate><guid>https://kiljan.org/2021/01/10/extending-the-functionality-of-a-denon-av-receiver/</guid><description>&lt;p>&lt;img src="img/denon-avr.png" alt="Denon AVR-X2700H">&lt;/p>
&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>Recently I designed and implemented a full home cinema. It included a TV, media playing devices, a large number of speakers (front, rear, ceiling, subwoofer) and an audio/video receiver (AVR) to drive the speakers. Everything is controlled by a single Logitech Harmony infrared remote control (something with which &lt;a href="https://kiljan.org/2019/03/30/controlling-android-tv-and-kodi-with-logitech-harmony-and-flirc/">I have had some experience with in the past&lt;/a>).&lt;/p>
&lt;p>Everything worked great, except for one part. The used subwoofer was part of a Logitech Z-5500 speaker set. It is used with &lt;a href="https://www.ebay.com/itm/Logitech-Z-5500-Subwoofer-A-V-Reciever-Pre-out-Adapter-PID-R001-R199-R636/262612778467">an adapter&lt;/a> that makes it work with any receiver that has a subwoofer pre-out output, instead of the stock control pod. It has its own powered amplifier, but it can only be turned on and off by (un)plugging the power or by switching a small power switch on the back of the device. When it is turned on, it consumes around 40W of power. Keeping the device on when it is not used is unacceptable due to the high energy cost, and turning the device on and off manually is uncomfortable.&lt;/p></description></item><item><title>Installing a PinePhone from scratch</title><link>https://kiljan.org/2021/01/09/installing-a-pinephone-from-scratch/</link><pubDate>Sat, 09 Jan 2021 22:00:00 +0100</pubDate><guid>https://kiljan.org/2021/01/09/installing-a-pinephone-from-scratch/</guid><description>&lt;p>The &lt;a href="https://www.pine64.org/pinephone/">PINE64 PinePhone&lt;/a> is a smartphone running GNU/Linux (and anything else that can run on an &lt;a href="https://linux-sunxi.org/A64">AllWinner A64&lt;/a> system on a chip). In April 2020 I ordered the PinePhone. I have played with the device quite a bit since I received it in July 2020.&lt;/p>
&lt;p>An &lt;a href="https://pine64.com/product/pinephone-community-edition-3gb-32gb-mainboard-special-offer-for-braveheart-and-ubports-owners/">upgrade program&lt;/a> was available, in which the mainboard could be replaced with the latest revision. Improvements include more memory (3 GB instead of 2 GB), more eMMC storage (32 GB instead of 16 GB) and &lt;a href="https://wiki.pine64.org/wiki/PinePhone_v1.2#Known_issues">fixes for several hardware bugs&lt;/a>. The program just concerns buying and shipping the new mainboard. It is the user who actually has to replace the mainboard.&lt;/p></description></item><item><title>VPN as WAN for guest network on OpenWRT</title><link>https://kiljan.org/2020/03/27/vpn-as-wan-for-guest-network-on-openwrt/</link><pubDate>Fri, 27 Mar 2020 00:00:00 +0100</pubDate><guid>https://kiljan.org/2020/03/27/vpn-as-wan-for-guest-network-on-openwrt/</guid><description>&lt;h2 id="table-of-contents">Table of contents&lt;/h2>
&lt;p>Use this to quickly jump to a section.
&lt;nav id="TableOfContents">
 &lt;ul>
 &lt;li>&lt;a href="#table-of-contents">Table of contents&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#please-note">Please note&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#introduction">Introduction&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#prerequisites">Prerequisites&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#install-required-packages">Install required packages&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#create-a-guest-network">Create a guest network&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#configure-guest-network-routing">Configure guest network routing&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#configure-a-vpn-interface">Configure a VPN interface&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#configure-the-firewall">Configure the firewall&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#restart-interfaces">Restart interfaces&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#test-the-connection">Test the connection&lt;/a>&lt;/li>
 &lt;li>&lt;a href="#ipv6">Add IPv6 support&lt;/a>&lt;/li>
 &lt;/ul>
&lt;/nav>
&lt;/p>
&lt;h2 id="please-note">Please note&lt;/h2>
&lt;p>This guide is for older OpenWRT versions (19.x). See &lt;a href="https://kiljan.org/2021/12/14/vpn-as-wan-for-guest-network-on-openwrt-2021-edition/">this newer guide&lt;/a> for OpenWRT 21.x.&lt;/p>
&lt;h2 id="introduction">Introduction&lt;/h2>
&lt;p>There are scenarios in which an outgoing VPN connection from a router is quite useful. Some examples:&lt;/p></description></item><item><title>Clonezilla Live, legacy BIOS and UEFI USB boot</title><link>https://kiljan.org/2019/12/24/clonezilla-live-legacy-bios-and-uefi-usb-boot/</link><pubDate>Tue, 24 Dec 2019 00:00:00 +0100</pubDate><guid>https://kiljan.org/2019/12/24/clonezilla-live-legacy-bios-and-uefi-usb-boot/</guid><description>&lt;h2 id="summary">Summary&lt;/h2>
&lt;p>Clonezilla Live is a wonderful GNU/Linux distribution which allows you to easily backup and restore images of disks. For the old-timers, think of a open source version of Norton/Symantec Ghost. All kinds of operating systems can be easily backed up (&amp;lsquo;imaged&amp;rsquo;) and restored. It can do this for systems that boot using a &lt;a href="https://en.wikipedia.org/wiki/BIOS">legacy BIOS&lt;/a> and for systems that boot using &lt;a href="https://en.wikipedia.org/wiki/Unified_Extensible_Firmware_Interface">UEFI&lt;/a>.&lt;/p>
&lt;p>A limitation of &lt;a href="https://clonezilla.org/liveusb.php">Clonezilla Live&amp;rsquo;s installation instructions for USB&lt;/a> is that it instructs on creating a bootable USB medium that only boots on either legacy BIOS or UEFI systems. With a bit of effort it is possible to create a USB medium that can boot both systems, and of which its excess storage can be used for storing Clonezilla images.&lt;/p></description></item><item><title>Arch Linux ARM network boot on Raspberry Pi 4</title><link>https://kiljan.org/2019/11/16/arch-linux-arm-network-boot-on-raspberry-pi-4/</link><pubDate>Sat, 16 Nov 2019 00:00:00 +0100</pubDate><guid>https://kiljan.org/2019/11/16/arch-linux-arm-network-boot-on-raspberry-pi-4/</guid><description>&lt;h2 id="foreword">Foreword&lt;/h2>
&lt;p>In this post I explain the ins and outs of network booting a Raspberry Pi 4 Model B (Pi 4B). I did this earlier &lt;a href="https://kiljan.org/2019/03/09/arch-linux-arm-remote-boot-on-raspberry-pi/">for older Raspberry Pi models&lt;/a>. The new boot procedure of the Pi 4B is unlike its predecessors, and this warrants a new post. The new boot process will be explained, and a configuration will be offered that will allow network booting of both older and newer Raspberry Pis in a single network.&lt;/p></description></item><item><title>Offer an existing site as an onion service</title><link>https://kiljan.org/2019/05/25/offer-an-existing-site-as-an-onion-service/</link><pubDate>Sat, 25 May 2019 00:00:00 +0100</pubDate><guid>https://kiljan.org/2019/05/25/offer-an-existing-site-as-an-onion-service/</guid><description>&lt;p>&lt;a href="https://www.torproject.org/">Tor&lt;/a> can be used to connect to the onion network. Through this network it is possible to visit normal web sites, but also (web) services within the onion network itself. Visiting the onion network is not that exciting. Just install &lt;a href="https://www.torproject.org/download/">Tor Browser&lt;/a> and be on your merry way.&lt;/p>
&lt;p>As with Tor users, services within the network can be offered anonymously. This is a short piece about offering an existing web service within the onion network. You can read a good explanation on how hidden services work &lt;a href="https://www.torproject.org/docs/onion-services.html.en">on the official Tor Project site&lt;/a>.&lt;/p></description></item><item><title>Controlling Android TV and Kodi with Logitech Harmony and Flirc</title><link>https://kiljan.org/2019/03/30/controlling-android-tv-and-kodi-with-logitech-harmony-and-flirc/</link><pubDate>Sat, 30 Mar 2019 00:00:00 +0100</pubDate><guid>https://kiljan.org/2019/03/30/controlling-android-tv-and-kodi-with-logitech-harmony-and-flirc/</guid><description>&lt;p>This is a short post about controlling Android TV using a Logitech Harmony infrared remote control and a Flirc USB.&lt;/p>
&lt;p>Last Christmas I gifted an &lt;a href="https://www.nvidia.com/en-us/shield/">Nvidia Shield TV&lt;/a>. The Shield TV is an &lt;a href="https://www.android.com/tv/">Android TV&lt;/a> device, which in this case would mostly be used for playing media through &lt;a href="https://kodi.tv/">Kodi&lt;/a> and &lt;a href="https://www.netflix.com/">Netflix&lt;/a>.&lt;/p>
&lt;p>The lucky recipient of the gift uses a &lt;a href="https://www.logitech.com/en-us/harmony-universal-remotes">Logitech Harmony&lt;/a> universal infrared remote control. As the latest revision of the Shield TV (&amp;lsquo;16GB, 2017&amp;rsquo;) lacks an infrared receiver, a &lt;a href="https://flirc.tv/flirc-usb">Flirc USB&lt;/a> was included. Flirc receives infrared commands and converts them to keypresses by emulating human interface devices, such as keyboards and game controllers.&lt;/p></description></item><item><title>Arch Linux ARM network boot on Raspberry Pi</title><link>https://kiljan.org/2019/03/09/arch-linux-arm-network-boot-on-raspberry-pi/</link><pubDate>Sat, 09 Mar 2019 00:00:00 +0100</pubDate><guid>https://kiljan.org/2019/03/09/arch-linux-arm-network-boot-on-raspberry-pi/</guid><description>&lt;h2 id="foreword">Foreword&lt;/h2>
&lt;p>In this post I explain the ins and outs of network booting Raspberry Pis. Some Raspberry Pi models can do this without local persistent storage, and most other modelsc can boot with a minimum of data from an SD card. The operating system used is Arch Linux ARM. After booting the system and as long as it has a network connection to a server hosting the Pi&amp;rsquo;s file system, it can be used as any other Pi that was booted from an SD card.&lt;/p></description></item><item><title>Arch Linux quick start guide</title><link>https://kiljan.org/2019/02/24/arch-linux-quick-start-guide/</link><pubDate>Sun, 24 Feb 2019 00:00:00 +0100</pubDate><guid>https://kiljan.org/2019/02/24/arch-linux-quick-start-guide/</guid><description>&lt;p>Installing Arch Linux is not really that lengthy as &lt;a href="https://wiki.archlinux.org/index.php/installation_guide">the wiki&lt;/a> makes it seem to be. What makes the official installation guide daunting is that it tries to keep track of every little aspect that could be relevant in obscure or rare situations. It provides a good reference manual for those who already have some experience with Arch Linux, but this puts those who lack experience in an uncomfortable position. To learn more about the installation process to understand the official guide better it is required to finish an installation at least once.&lt;/p></description></item><item><title>OpenVPN configuration stacking</title><link>https://kiljan.org/2019/02/23/openvpn-configuration-stacking/</link><pubDate>Sat, 23 Feb 2019 00:00:00 +0100</pubDate><guid>https://kiljan.org/2019/02/23/openvpn-configuration-stacking/</guid><description>&lt;p>Recently I had to work around some network filtering systems. One of the tools I use is &lt;a href="https://openvpn.net/community/">OpenVPN&lt;/a>. What makes OpenVPN great is its flexibility. Either host the server yourself or use one from a third-party VPN provider, of which &lt;a href="https://thatoneprivacysite.net/vpn-comparison-chart/">most support OpenVPN&lt;/a>.&lt;/p>
&lt;p>An issue with having many (third-party) OpenVPN configuration files is that they are not personalized. Sometimes you really need to add some additional options to increase security, but editing many files to allow easy switching of VPN end-points is never fun.&lt;/p></description></item><item><title>Let's Encrypt certificates in Arch Linux</title><link>https://kiljan.org/2018/12/28/lets-encrypt-certificates-in-arch-linux/</link><pubDate>Fri, 28 Dec 2018 00:00:00 +0100</pubDate><guid>https://kiljan.org/2018/12/28/lets-encrypt-certificates-in-arch-linux/</guid><description>&lt;p>In this post a brief overview is given for requesting and automated renewal of (free!) &lt;a href="https://letsencrypt.org/">Let&amp;rsquo;s Encrypt&lt;/a> SSL/TLS certificates in Arch Linux and Arch Linux ARM. Such certificates can be useful for web, mail and a plethora of different web services that can be secured with SSL/TLS.&lt;/p>
&lt;p>This guide solely covers requesting and maintaining SSL/TLS certificates, and not the configuration of software that uses these certificates. Note that the method used in this guide is one of many. I opted to use Certbot without a certificate installer since it is the least complex solution, without requiring Certbot to run its own web server and without dynamically changing configuration files of other web server software.&lt;/p></description></item><item><title>A reference guide to ZFS on Arch Linux</title><link>https://kiljan.org/2018/09/23/a-reference-guide-to-zfs-on-arch-linux/</link><pubDate>Sun, 23 Sep 2018 00:00:00 +0100</pubDate><guid>https://kiljan.org/2018/09/23/a-reference-guide-to-zfs-on-arch-linux/</guid><description>&lt;p>&lt;img alt="OpenZFS logo" src="img/Openzfs.svg" style="width: auto; height: 200px;" hspace="40px" />&lt;img alt="Arch Linux logo" src="img/Archlinux-vert-dark.svg" style="width: auto; height: 181px;" hspace="40px" />&lt;/p>
&lt;p>Using ZFS in Linux is not as simple as other file systems. The &lt;a href="http://zfsonlinux.org/">ZFS on Linux&lt;/a> code is not integrated in the Linux kernel due to license issues. Therefore, native support by distributions is missing.&lt;/p>
&lt;p>This does not mean that it is hard to add support for ZFS to an existing installation. On the contrary. In this guide it is shown that &lt;a href="#addzfstoarch">durable ZFS support can be added to Arch Linux&lt;/a> with a few simple commands. In addition, a &lt;a href="#cheatsheet">cheat sheet&lt;/a> is provided to ease ZFS management.&lt;/p></description></item><item><title>Setting up a lightweight authentication back end</title><link>https://kiljan.org/2017/12/22/setting-up-a-lightweight-authentication-back-end/</link><pubDate>Fri, 22 Dec 2017 00:00:00 +0100</pubDate><guid>https://kiljan.org/2017/12/22/setting-up-a-lightweight-authentication-back-end/</guid><description>&lt;p>Most self-hosted web services can authenticate against a back end server using &lt;a href="https://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol">LDAP&lt;/a> or &lt;a href="https://en.wikipedia.org/wiki/Kerberos_(protocol)">Kerberos&lt;/a>. Hosting a server to handle authentication using these protocols can be a daunting task for the uninitiated. This guide explains how to configure &lt;a href="https://en.wikipedia.org/wiki/Samba_(software)">Samba&lt;/a> as a back end authentication server to allow each user to authenticate against multiple services with a single account. The authentication server will run &lt;a href="https://en.wikipedia.org/wiki/Active_Directory#Domain_Services">Active Directory Domain Services&lt;/a> as a domain controller to enable authentication over LDAP and Kerberos. This guide will also explain how to configure &lt;a href="https://nextcloud.com/">Nextcloud&lt;/a> to authenticate users using LDAP. Users will be able to login and change their passwords through Nextcloud&amp;rsquo;s web interface. The same (changed) password would also be usable for other (web) services.&lt;/p></description></item><item><title>Routing traffic through OpenVPN using a local SOCKS proxy</title><link>https://kiljan.org/2017/11/15/routing-traffic-through-openvpn-using-a-local-socks-proxy/</link><pubDate>Wed, 15 Nov 2017 00:00:00 +0100</pubDate><guid>https://kiljan.org/2017/11/15/routing-traffic-through-openvpn-using-a-local-socks-proxy/</guid><description>&lt;p>OpenVPN can be used with an obfuscation proxy, such as obfsproxy or obfs4, to avoid identification of VPN traffic through deep packet inspection. In this post I explain a connectivity problem that client-side OpenVPN faces when such a proxy is approached as a local SOCKS proxy by OpenVPN. A solution is provided, of course.&lt;/p>
&lt;hr>
&lt;p>An open-source product I like to work with is &lt;a href="https://openvpn.net/index.php/open-source.html">OpenVPN&lt;/a>. It allows network-savvy people to build robust virtual private network connections across the Internet and any other networks that use the TCP/IP protocol. Secured traffic can include just site-to-site communication, but an OpenVPN client can also be configured to route all other traffic to other (Internet) servers through the VPN. This is useful if one is in an untrustworthy environment. An example is the use of a wireless network which might be vulnerable to the &lt;a href="https://en.wikipedia.org/wiki/KRACK">KRACK attack&lt;/a>. Alternatively, one might use a wireless card using 802.1x authentication, and one of the used RSA private keys might be stored in a device vulnerable to &lt;a href="https://en.wikipedia.org/wiki/ROCA_vulnerability">ROCA&lt;/a>. Or maybe it is just that the only available wireless connection is unencrypted. And even if the wireless connection might be completely secure, you might not want to trust the man-in-the-middle that connects the other side of it to the Internet.&lt;/p></description></item><item><title>Maintaining SSL/TLS is hard...</title><link>https://kiljan.org/2017/07/17/maintaining-ssl/tls-is-hard.../</link><pubDate>Mon, 17 Jul 2017 00:00:00 +0100</pubDate><guid>https://kiljan.org/2017/07/17/maintaining-ssl/tls-is-hard.../</guid><description>&lt;p>Not even experts are safe from the many pitfalls that exist in implementations. Qualys, known for their &lt;a href="https://www.ssllabs.com/">Qualys SSL Labs Vulnerability Scanner&lt;/a> (used in &lt;a href="https://kiljan.org/thesis">my research&lt;/a>), allowed the expiration of their blog&amp;rsquo;s certificate.&lt;/p>
&lt;p>&lt;img src="img/Qualys-TLS-certificate-expiration.png" alt="Qualys&amp;rsquo; SSL/TLS certificate expired today.">&lt;/p>
&lt;p>The relevant site:
&lt;a href="https://blog.qualys.com/">https://blog.qualys.com/&lt;/a>&lt;/p>
&lt;p>Qualys &lt;a href="https://www.ssllabs.com/ssltest/analyze.html?d=blog.qualys.com&amp;amp;hideResults=on">rates&lt;/a> their own site with a &amp;lsquo;T&amp;rsquo; for &amp;rsquo;not trustworthy&amp;rsquo;:&lt;/p>
&lt;p>&lt;img src="img/Qualys-TLS-certificate-expiration---Confirmed-by-Qualys.png" alt="">&lt;/p>
&lt;p>See &lt;a href="https://letsencrypt.org/">Let&amp;rsquo;s Encrypt&lt;/a> for free SSL/TLS certificates and methods to automatically update them on your servers before they expire. It is expected that wildcard certificates will be supported by Let&amp;rsquo;s Encrypt &lt;a href="https://letsencrypt.org/2017/07/06/wildcard-certificates-coming-jan-2018.html">in 2018&lt;/a>. There will not be an excuse for having invalid certificates anymore, not even (or especially?) for Qualys.&lt;/p></description></item><item><title>My doctoral thesis is available online</title><link>https://kiljan.org/2017/05/14/my-doctoral-thesis-is-available-online/</link><pubDate>Sun, 14 May 2017 00:00:00 +0100</pubDate><guid>https://kiljan.org/2017/05/14/my-doctoral-thesis-is-available-online/</guid><description>&lt;p>See &amp;lsquo;PhD thesis&amp;rsquo; in the menu bar at the top of this page.&lt;/p></description></item><item><title>Installing Arch Linux ARM on an Iomega ix2-200</title><link>https://kiljan.org/2016/11/15/installing-arch-linux-arm-on-an-iomega-ix2-200/</link><pubDate>Tue, 15 Nov 2016 00:00:00 +0100</pubDate><guid>https://kiljan.org/2016/11/15/installing-arch-linux-arm-on-an-iomega-ix2-200/</guid><description>&lt;h2 id="2021-04-22-update">2021-04-22 update&lt;/h2>
&lt;p>This version of the guide is obsolete. Look &lt;a href="https://kiljan.org/2021/04/22/installing-arch-linux-on-an-iomega-ix2-200-2-2021-update/">here for the 2021 version&lt;/a>, which contains some necessary fixes since this was published.&lt;/p>
&lt;h2 id="2020-02-11-update">2020-02-11 update&lt;/h2>
&lt;p>Jens Rommel contacted me and notified me of an issue with recent larger Linux boot files, also referred to &lt;a href="https://archlinuxarm.org/forum/viewtopic.php?f=53&amp;amp;t=13477#p60790">in this post on the Arch Linux ARM forum&lt;/a>. Thanks!&lt;/p>
&lt;p>Systems might not be bootable when updated due to this issue. The remediation requires changes to the load addresses and entry points of the kernel and initramfs images. These changes have been incorporated in this guide. Existing systems can run these commands to update the boot loader (make sure package &lt;code>uboot-tools is installed&lt;/code>)`:&lt;/p></description></item><item><title>Talk at SECRYPT 2016</title><link>https://kiljan.org/2016/07/27/talk-at-secrypt-2016/</link><pubDate>Wed, 27 Jul 2016 00:00:00 +0100</pubDate><guid>https://kiljan.org/2016/07/27/talk-at-secrypt-2016/</guid><description>&lt;p>I gave a talk at the the 13th International Conference on Security and Cryptography (SECRYPT 2016). The subject was my paper, titled &amp;lsquo;User-friendly Manual Transfer of Authenticated Online Banking Transaction Data&amp;rsquo;. The presentation slides can be downloaded &lt;a href="https://kiljan.org/downloads/talks/2016-07-26%20-%20User-friendly%20Manual%20Transfer%20of%20Authenticated%20Online%20Banking%20Transaction%20Data.pdf">here&lt;/a>.&lt;/p>
&lt;p>Once again, I thank my fellow authors &lt;a href="http://www.open.ou.nl/hvr/">Harald Vranken&lt;/a> and &lt;a href="http://www.cs.ru.nl/M.vanEekelen/">Marko van Eekelen&lt;/a> for their valuable contribution.&lt;/p></description></item><item><title>Use your own email server with Ghost</title><link>https://kiljan.org/2016/07/18/use-your-own-email-server-with-ghost/</link><pubDate>Mon, 18 Jul 2016 00:00:00 +0100</pubDate><guid>https://kiljan.org/2016/07/18/use-your-own-email-server-with-ghost/</guid><description>&lt;p>There are a lot of examples on the Internet for configuring &lt;a href="https://ghost.org/">Ghost&lt;/a>&amp;rsquo;s mail functionality. The examples I encountered assume that a service is used for which Ghost&amp;rsquo;s &lt;a href="https://github.com/nodemailer/nodemailer">NodeMailer&lt;/a> contains built-in settings. Ghost&amp;rsquo;s &lt;a href="http://support.ghost.org/mail/">support page for configuring the internal email client&lt;/a> only notes examples for Mailgun, Amazon&amp;rsquo;s Simple Email Service and Google&amp;rsquo;s Gmail.&lt;/p>
&lt;p>Here I present templates for Ghost&amp;rsquo;s configuration to use your own mail server.&lt;/p>
&lt;p>&lt;code>config.js&lt;/code> (Ghost 0.x):&lt;/p>
&lt;pre tabindex="0">&lt;code> mail: {
 from: &amp;#39;My Ghost Site Name &amp;lt;address@domain.ext&amp;gt;&amp;#39;,
 transport: &amp;#39;SMTP&amp;#39;,
 options: {
 host: &amp;#39;hostnameoripofmailserver&amp;#39;,
 port: 465, // 25 or 587 for plain text/STARTTLS, 465 for SSL/TLS
 secureConnection: true, // true for SSL/TLS, false for everything else
 ignoreTLS: false, // set to true to force plain text when STARTTLS is supported
 auth: {
 user: &amp;#39;usernameofmailaccount&amp;#39;,
 pass: &amp;#39;passwordofmailaccount&amp;#39;
 }
 }
 },
&lt;/code>&lt;/pre>&lt;p>&lt;code>config.production.json&lt;/code> (Ghost 1.x):&lt;/p></description></item><item><title>Speaking at SAI 2016</title><link>https://kiljan.org/2016/07/15/speaking-at-sai-2016/</link><pubDate>Fri, 15 Jul 2016 00:00:00 +0100</pubDate><guid>https://kiljan.org/2016/07/15/speaking-at-sai-2016/</guid><description>&lt;p>I will be presenting the paper &amp;lsquo;Towards a Virtual Bank for Evaluating Security Aspects with Focus on User Behavior&amp;rsquo; at &lt;a href="http://saiconference.com/Computing2016">SAI Computing Conference 2016&lt;/a>. The presentation will be today in room 16 of CentrEd at ExCeL in London, between 15:30 and 17:30 (UTC +1).&lt;/p>
&lt;p>A big thanks goes out to my co-authors (and (co-)promoters) &lt;a href="http://www.open.ou.nl/hvr/">Harald Vranken&lt;/a> and &lt;a href="http://www.cs.ru.nl/M.vanEekelen/">Marko van Eekelen&lt;/a>.&lt;/p>
&lt;p>The slides for this talk can be downloaded &lt;a href="https://kiljan.org/downloads/talks/2016-06-15%20-%20Towards%20a%20Virtual%20Bank%20for%20Evaluating%20Security%20Aspects%20with%20Focus%20on%20User%20Behavior.pdf">here&lt;/a>.&lt;/p></description></item><item><title>About</title><link>https://kiljan.org/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kiljan.org/about/</guid><description>&lt;h2 id="this-site">This site&lt;/h2>
&lt;p>Sven and the Art of Computer Maintenance is the personal site of Sven Kiljan. Here I publish what interests me either professionally or personally.&lt;/p>
&lt;p>This site can be accessed in several ways.&lt;/p>
&lt;ul>
&lt;li>On the World Wide Web: &lt;a href="https://kiljan.org">https://kiljan.org&lt;/a>&lt;/li>
&lt;li>As an onion service: &lt;a href="http://kiljan2obelssdyrdiifv5kkw2ytlwcx7lwzzuekkmgyiixsqv7utxyd.onion">http://kiljan2obelssdyrdiifv5kkw2ytlwcx7lwzzuekkmgyiixsqv7utxyd.onion&lt;/a>&lt;/li>
&lt;/ul>
&lt;h2 id="my-work">My work&lt;/h2>
&lt;p>The best way to describe my profession is as a blend of information science and information security.&lt;/p>
&lt;p>Previously I worked at &lt;a href="https://www.redteam-security.nl/">RedTeam Cyber Security&lt;/a>. RedTeam is a company specialized in information security services for small and medium-sized enterprises, as well as providing security expertise for larger companies. Through RedTeam I worked for different clients such as &lt;a href="https://www.achmea.nl/">Achmea&lt;/a> (the largest insurance company in the Netherlands) and &lt;a href="https://www.tennet.eu/">Tennet&lt;/a> (the Dutch national electricity transmission system operator).&lt;/p></description></item><item><title>PhD thesis</title><link>https://kiljan.org/thesis/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://kiljan.org/thesis/</guid><description>&lt;p>Since 2012 I have been part of the Research Program on Safety and Security of Online Banking (in Dutch: Kennisprogramma Veiligheid Digitaal Betalingsverkeer) as a PhD candidate. The final product of four years of research is my doctoral thesis, with which I received my doctorate (PhD) after its defense.&lt;/p>
&lt;p>The thesis is titled &amp;lsquo;Exploring, Expanding and Evaluating Usable Security in Online Banking&amp;rsquo;, and is available in PDF. Click the cover below to either view or download it, depending on how your browser is configured.&lt;/p></description></item></channel></rss>