<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>The Daily Nerdism</title><link>https://open-desk.org/</link><description>Recent content on The Daily Nerdism</description><generator>Hugo</generator><language>en-us</language><copyright>CC BY-SA 4.0</copyright><lastBuildDate>Mon, 11 Jan 2021 14:36:17 +0100</lastBuildDate><atom:link href="https://open-desk.org/index.xml" rel="self" type="application/rss+xml"/><item><title>Blogging, the third</title><link>https://open-desk.org/posts/welcome/</link><pubDate>Mon, 11 Jan 2021 14:36:17 +0100</pubDate><guid>https://open-desk.org/posts/welcome/</guid><description>&lt;p&gt;Or &amp;ldquo;Back to static content&amp;rdquo;.&lt;/p&gt;&#10;&lt;p&gt;This is still some kind of dump for things I want to document.&#10;I will do this whenever I can imagine some public interest in it.&lt;/p&gt;&#10;&lt;p&gt;My first approach to blogging used some hand written tool called &lt;a href="http://lab.sh/index.py/Projects/PyCo"&gt;PyCo&lt;/a&gt;.&#10;After havin some fun with this hand-crafted solution, I don&amp;rsquo;t want to maintain this cruft anymore and switched to &lt;a href="https://wordpress.org/"&gt;wordpress&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;Now, I&amp;rsquo;m following the trends again (quite late, I know) switch to &lt;a href="https://gohugo.io"&gt;hugo&lt;/a&gt;.&#10;Hugo is a static side generator alowing me to leverage some git infrastructure and CI facilities which PyCo was not aware of.&#10;But in the end, I&amp;rsquo;m back where I started.&lt;/p&gt;</description></item><item><title>Custom Linux on QNAP TS-673</title><link>https://open-desk.org/posts/linux-on-qnap-ts-673/</link><pubDate>Sun, 13 Jan 2019 18:50:20 +0100</pubDate><guid>https://open-desk.org/posts/linux-on-qnap-ts-673/</guid><description>&lt;p&gt;Long long time ago… &lt;a href="../linux-on-lenovo-emc-px6-300d"&gt;I installed a custom linux on my Lenovo EMC px6-300d&lt;/a&gt;.&#10;This machine served its purpose for almost 5 years.&#10;But now it’s somewhat aged and I feel like it is time to move on.&lt;/p&gt;&#10;&lt;p&gt;My new System, a &lt;a href="https://www.qnap.com/en/product/ts-673"&gt;QNAP TS-673&lt;/a&gt; is equipped with a AMD64 based CPU, 32GB of RAM, 6 HDD Bays and 4x GBE.&#10;But as usual, I’m not happy with the shipped software and want to have full control on the system without all that cloud-stuff and online-madness.&lt;/p&gt;</description></item><item><title>Linux on Lenovo-EMC px6-300d</title><link>https://open-desk.org/posts/linux-on-lenovo-emc-px6-300d/</link><pubDate>Sat, 04 Jan 2014 17:01:05 +0100</pubDate><guid>https://open-desk.org/posts/linux-on-lenovo-emc-px6-300d/</guid><description>&lt;p&gt;&lt;img src="./px6_case.png" alt=""&gt;&#10;Today I received my new storage solution / NAS / file server for my living room: a &lt;a href="http://shop.lenovo.com/de/de/servers/network-storage/lenovoemc/px6-300d/"&gt;Lenovo EMC px6-300d&lt;/a&gt;.&lt;/p&gt;&#10;&lt;p&gt;After booting it the first time, it comes up with a web interface.&#10;The interface looks nice but is sprinkled with non-free third-party apps like backup solutions, cloud storage and CCTV management.&lt;/p&gt;&#10;&lt;p&gt;The tech spec shows, that the main board is a Intel Atom on and the running OS is Linux-Based.&#10;Therefore I opened the case (just 3 normal screws) and removed the main board (4 normal screws).&lt;/p&gt;</description></item><item><title>Using a sparse file for portage tree</title><link>https://open-desk.org/posts/sparse-file-portage-tree/</link><pubDate>Wed, 18 Sep 2013 16:52:40 +0100</pubDate><guid>https://open-desk.org/posts/sparse-file-portage-tree/</guid><description>&lt;p&gt;As I’m running gentoo on my notebook I have to do a sync of the portage tree from time to time.&#10;The sync process uses rsync and touches a lot of small files, which leads to some performance impacts as I’m using btrfs on this system.&#10;A way to deal with this is using a sparse file containing a filesystem which can handle small files better than btrfs.&lt;/p&gt;&#10;&lt;p&gt;At first, the sparse file must be created:&lt;/p&gt;</description></item><item><title>Encrypted root on Raspberry Pi</title><link>https://open-desk.org/posts/encrypted-root-rpi/</link><pubDate>Tue, 10 Sep 2013 16:35:25 +0100</pubDate><guid>https://open-desk.org/posts/encrypted-root-rpi/</guid><description>&lt;p&gt;I’m a paranoid guy.&#10;Therefore all my disks, connections and mails are encrypted as much as possible.&lt;/p&gt;&#10;&lt;p&gt;While building a file storage and backup machine using one of my Raspberry Pis I was playing around with encrypted USB hard disks.&#10;While they are working very well on the Pi, I started thinking about encryption of the root partition.&lt;/p&gt;&#10;&lt;p&gt;On all my machines the root partition is encrypted and contains a folder with all the key required to decrypt all other hard disks.&#10;To do so, I install my system into the encryption container and create a initrd which is able to prompt for the password for the root partition and do the encryption before the kernel is loaded.&lt;/p&gt;</description></item><item><title>Mounting partitions from disk images</title><link>https://open-desk.org/posts/mounting-partitions-disk-images/</link><pubDate>Wed, 26 Jun 2013 16:33:19 +0100</pubDate><guid>https://open-desk.org/posts/mounting-partitions-disk-images/</guid><description>&lt;p&gt;For analysis and repairing it is sometimes required to mount disk images from visualization systems like KVM on a host system.&#10;These disk images contain multiple partitions and there own partition table like a real disk - therefore the can not be mounted directly.&lt;/p&gt;&#10;&lt;p&gt;&lt;code&gt;fdisk&lt;/code&gt; can be used to list the partitions in the disk image and shows the beginning of each partition:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;fdisk -l /path/to/disk.img&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;giving the following output:&lt;/p&gt;</description></item><item><title>Creating a customized Ubuntu Live CD for OpenNMS trainings</title><link>https://open-desk.org/posts/customized-ubuntu-live-cd-opennms/</link><pubDate>Fri, 22 Feb 2013 15:50:48 +0100</pubDate><guid>https://open-desk.org/posts/customized-ubuntu-live-cd-opennms/</guid><description>&lt;p&gt;For the OpenNMS training at Unix User Group Frankfurt, we have the idea to create a custom Ubuntu Live-CD with OpenNMS preinstalled.&#10;Such a CD would allow a quick start of the training and can be used from a CD, an USB stick and in a virtual machine.&#10;The Ubuntu Customization Kit allows easy creation of remastered Ubuntu Live-CDs and is available from the Ubuntu Repository.&lt;/p&gt;&#10;&lt;p&gt;&lt;img src="ulf.jpg" alt=""&gt;&lt;/p&gt;&#10;&lt;p&gt;At first we have to install uck:&lt;/p&gt;</description></item><item><title>Raspberry Pi and the TV grabber card</title><link>https://open-desk.org/posts/rpi-tv-grabber-card/</link><pubDate>Thu, 25 Oct 2012 15:25:14 +0100</pubDate><guid>https://open-desk.org/posts/rpi-tv-grabber-card/</guid><description>&lt;p&gt;The Raspberry Pi has two ports to get a picture from it.&#10;There is a HDMI port which is able to transport a 1080p image to a monitor or a beamer and there is a composite port for the good old TVs.&#10;The problem with the HDMI port is HDMI itself - HDMI does not allow any conversion into another signal format.&#10;The con for the composite is its bad signal and the low resolution.&lt;/p&gt;</description></item><item><title>Restoring a killed partition table</title><link>https://open-desk.org/posts/restoring-killed-partition-table/</link><pubDate>Sat, 15 Sep 2012 15:18:35 +0100</pubDate><guid>https://open-desk.org/posts/restoring-killed-partition-table/</guid><description>&lt;p&gt;While playing around with my Raspberry PI, I have managed to destroy my partition table of my notebook - ouch!&lt;/p&gt;&#10;&lt;p&gt;What happened: I was building a new boot image for my PI on my desktop box as it has much more power than my notebook.&#10;To copy the image to the SD card, I want to use my notebook, because my workstation has no SD card slot.&#10;As both boxes are using linux, I was going to try nbd - the Network Block Device, which allows to provide a block device over the network.&lt;/p&gt;</description></item><item><title>Sorting IP in BASH</title><link>https://open-desk.org/posts/sorting-ip-bash/</link><pubDate>Thu, 02 Aug 2012 15:12:05 +0100</pubDate><guid>https://open-desk.org/posts/sorting-ip-bash/</guid><description>&lt;p&gt;I was working on a little script to test if a bunch of hosts is reachable by ping.&lt;/p&gt;&#10;&lt;p&gt;The first version of the script was ready in a minute, but sending pings to hundred hosts in sequence takes some time.&#10;Especially if the hosts are down the ping takes a full second until timeout.&lt;/p&gt;&#10;&lt;p&gt;To call the pings in parallel is just wrapping the ping command in a &lt;code&gt;( ... ) &amp;amp;&lt;/code&gt;.&#10;But this will change the order of the output and the parent script ends before the child scripts do.&lt;/p&gt;</description></item><item><title>PyCo and git</title><link>https://open-desk.org/posts/pyco-git/</link><pubDate>Thu, 02 Aug 2012 15:07:05 +0100</pubDate><guid>https://open-desk.org/posts/pyco-git/</guid><description>&lt;p&gt;To use PyCo on a remote system with multible users sucks.&#10;You have to manage the user rights, provide ssh access and autors have to find the right directories and files.&lt;/p&gt;&#10;&lt;p&gt;Using git as a versioning system for a PyCo installation is very nice.&#10;But it would be much smarter to handle only the content of the installation in a repository, separated from the files of PyCo itsself.&lt;/p&gt;&#10;&lt;p&gt;I have a gitolite installation runinng on the same server running lab.sh.&lt;/p&gt;</description></item><item><title>Jump to Line</title><link>https://open-desk.org/posts/jump-to-line/</link><pubDate>Thu, 02 Aug 2012 15:03:36 +0100</pubDate><guid>https://open-desk.org/posts/jump-to-line/</guid><description>&lt;p&gt;It’s very common for shell tools to print out file names followed by a line number seperated by a colon.&#10;A common example is the gcc error message:&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;% gcc -c test.c&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;test.c: In function &amp;#34;main&amp;#34;:&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;test.c:176: error: &amp;#34;baz&amp;#34; undeclared (first use in this function)&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;test.c:176: error: (Each undeclared identifier is reported only once&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;test.c:176: error: for each function it appears in.)&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;As you can see, the error is in file test.c on line 176.&lt;/p&gt;</description></item><item><title>About</title><link>https://open-desk.org/about/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://open-desk.org/about/</guid><description>&lt;p&gt;I leverage computers and related technology for my daily live, to have fun and to provide my financial income. I&amp;rsquo;m part of the hacker culture and the Chaos Computer Club family and belive in the hacker ethos. I participate in the free and open-source software development and think that technology can be used for a greater good.&lt;/p&gt;&#10;&lt;h2 id="contact"&gt;Contact&lt;/h2&gt;&#10;&lt;p&gt;To email me, please use &lt;code&gt;fooker@lab.sh&lt;/code&gt;.&#10;I&amp;rsquo;m also reachable in mastodon via &lt;code&gt;fooker@chaos.social&lt;/code&gt; and IRC as &lt;code&gt;fooker&lt;/code&gt;.&lt;/p&gt;</description></item><item><title>Imprint</title><link>https://open-desk.org/imprint/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://open-desk.org/imprint/</guid><description>&lt;p&gt;Verantwortlich für den Inhalt dieser Seiten ist Dustin Frisch.&lt;/p&gt;&#10;&lt;h3 id="anschrift"&gt;Anschrift:&lt;/h3&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Dustin Frisch&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Rhönstraße 22&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;D-36037 Fulda&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;Germany&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="e-mail"&gt;E-Mail:&lt;/h3&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-fallback" data-lang="fallback"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;fooker@lab.sh&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h1 id="erklärung-zum-datenschutz-für-open-deskorg"&gt;Erklärung zum Datenschutz für open-desk.org&lt;/h1&gt;&#10;&lt;p&gt;Von allen Besuchern werden gespeichert und auf unbestimmte Zeit aufbewahrt:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Datum/Uhrzeit&lt;/li&gt;&#10;&lt;li&gt;die abgerufene Seite&lt;/li&gt;&#10;&lt;li&gt;Statuscode des Webservers&lt;/li&gt;&#10;&lt;li&gt;Browser/Betriebssystem&lt;/li&gt;&#10;&lt;li&gt;der Referer&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;Die IP-Adresse, von der aus die Seite abgerufen wurde, speichern wir nicht. Somit läßt sich anhand unserer Logdaten kaum ein Zusammenhang zu einzelnen Besuchern herstellen. Wir verwenden auch keine Cookies, um Benutzer zu identifizieren. Wir geben die geloggten Daten nicht an Dritte weiter. Wir versuchen, im Rahmen der üblichen Vorsichtsmaßnahmen zur Sicherung unseres Servers zu verhindern, daß Dritte von diesen Daten Kenntnis erlangen.&lt;/p&gt;</description></item></channel></rss>