Autoraise for cwm(1)

This patch is work in progress The current patch works, windows are raised ± after the defined delay. But transient windows – like dialog boxes – will not stay on top. I’m working on this feature. Testing and feedback are welcome. OpenBSD comes along with a window manager called cwm(1). It is my preferred window…


How to build internal DNS with nsd & unbound

Introduction This post is about configuring a DNS infrastructure for the internal network using the two daemons nsd(8) and unbound(8). Both daemons are part of the OpenBSD base system, you don’t need to install any packages. NSD will be the authoritative name server for the internal DNS zone. Unbound will provide name resoultion services for…


Vim syntax file for httpd.conf

The httpd(8) daemon of OpenBSD is the default webserver in the base system. The syntax of its configuration file httpd.conf(5) is similar to the one of relayd(8). So it was easy to create the Vim syntax file for httpd.conf(5): httpd.vim Download the file and save it to ~/.vim/syntax/. For autodetection to work you can add…


Vim syntax file for relayd.conf

The relayd(8) daemon of OpenBSD is very useful for different purposes. I’ve started to play with relayd in my lab environment. One outcome of this is the Vim syntax file for relayd.conf(5): relayd.vim Download the and save it to ~/.vim/syntax/. For autodetection to work you can add the following line to ~/.vim/filetype.vim: au! BufRead,BufNewFile relayd.conf…


Vim syntax file for smtpd.conf

During holiday season I’ve modernized my mail server at home. Finally I’ve made the step from Postfix to OpenSMTPD. During the editing of smtpd.conf(5) I’ve missed the syntax highlighting for the file. So I took some time and wrote my own syntax file for Vim: smtpd.vim Download the file and save it to ~/.vim/syntax/. For…


Vim syntax file for snmpd.conf

This is my first attempt to create a Vim syntax file. Why snmpd.conf(5)? Because of its small set of keywords which gives me an easy start with Vim syntax files. Now that I have the impression that it is complete I want to share it with you. So here we go: snmpd.vim Download the file…


OpenBSD 5.9 arrived today


How to install OpenBSD and make yourself comfortable

Why should I write a how-to about installing OpenBSD? Everything you need to know is right in the FAQ of the project. Right, viagra generic it is. That’s why this post is not going to explain the basic installation of OpenBSD. But I write down some hints and tips about the first configuration steps you can…


How to backup MariaDB / MySQL

If you use filesystem tools to backup your system there is no guarantee that databases will be in a consistent state when the backup takes place. But consistency is the most important point if you take backups of databases. Else you might face bad surprises during a restore. Now how do you make sure you…


How to backup BSD systems

Backups are like umbrellas: The one day you forget it at home you will need it for sure. The rest of the year it adds weight to your bag, stuff but most of the time you will not need it. Years ago, when I started using BSD systems, this article about torture-testing backup software inspired me…