Skip to content

Author: halfgaar

http://www.halfgaar.net/

Halfgaar is Wiebe. Wiebe is a contributing author on this weblog. He also has a lot of stuff (such as long, in-depth articles) on his personal website.

Wiebe works at YTEC, where he is a senior developer of customer-specific tailor-made software (“klantspecifieke maatwerk software“) for clients in a few select markets: wholesale, printing and healthcare.

Making Coyote Linux work with KPN ADSL

The Dutch ISP KPN gives you a modem+router to access the internet. The router they give you is a custom version of an Alcatel Speedtouch (model varies) and is extremely limited. I don't use any VOIP services, so I replaced that router with a Speedtouch 546 (which supports DHCP spoofing) so that I can use my own Coyote Linux based router. Read More »

Creating a DRBD device

This post is no longer up-to-date. See this one. Read More »

Finding out the UUID of partitions

Often, Linux software configurations define partitions by there UUID as opposed to their /dev device. You can find out what the UUID is with: Read More »

Iptables rule to block access to our IMAP server

When migrating to Zimbra, I don't want people to fiddle with their mail when I'm doing it, so I disable IMAP access from anything but the virtual machine instance in which Zimbra is running. I do that with this: Read More »

Disabling Zimbra’s spam learning

Zimbra learns ham and spam by sending it to certain mailboxes. For our setup, this doesn't work (easily), because our server is configured to always send mail to another SMTP server and not do any local delivery. I did that, because our zimbra server is not actually on the domain it thinks. Read More »

Quickly removing and adding bootscripts in Debian

Debian still uses the System V init scripts, which are very clumsy to use. Here are two Debian commands you might need often: Read More »

My time compared to UTC

I always forget what my timedifference is with UTC, so here it is: In winter I'm UTC+1 In summer I'm UTC+2 Read More »

Using Fetchmail to deliver to another SMTP host and user

If you want to fetch mail from several accounts and relay them to another SMTP host and user, you can use fetchmail. Define a .fetchmailrc like this: Read More »

Preventing NameVirtualHost *:80 has no VirtualHosts

I often get the "NameVirtualHost *:80 has no VirtualHosts" on my webservers. It seems that every version of every distro has different requirements. My existing Debian config was fine, until I upgraded to Lenny. With fiddling, I determined the solution: Read More »

Sending SMS notifications of md device failure

I just wrote a script to send sms from a unix machine and I thought it would be a good idea to add an sms notification to mdadm. Therefore I wrote this script, called handle-md-event.sh: Read More »