Stefan Bauer - linux - because it works

longtime linux user and opensource fanatic

*plong* long time no update

2010-02-02 by Stefan Bauer, tagged as contact, linux, privat
Long time no update - here is one. After a few month of patience i finally migrated the web and mailserver from our local linux user group to my server. Through this movement & migration i've been also able to setup ipv6 support and fix the old mailman archive.

Linux User Group Traunstein/Salzburg

My consulting company will held a talk about linux and the chances of using opensource software for business purpose. You're welcome to join the meeting on 12. März 2010 / 15:30 - 18:00 Uhr at the local Volkshochschule Traunreut. Please drop me a note about your interest so that i can put you on the guest list.

http://www.cubewerk.de/veranstaltung.html

Right now i'm examining different makefiles for software-packages i maintain in debian. As a next step to keep up with the package generation without having deeper coding skills, i decided to get a book about GNU's make language.

the old plzk.de archive

2009-12-30 by Stefan Bauer, tagged as archiv
The old plzk.de archiv is available at the following address: http://www.plzk.de/archiv

Creating Bind DNS-Entries with regular dyndns-clients in routers

2009-12-30 by Stefan Bauer, tagged as linux
Today came a message on debian-user-german up if there is a way to create BIND-compliant DNS-Updates with regulars dyndns-clients from routers. The Idea behind this is to get rid of dyndns.org services and provide an independend way to maintain dynamic dns entries for boxes without a static ip-address without the need of dyndns providers. The goal was to create a text file which could be used as input for nsupdate with cron to run it frequently.

As this was a quick and dirty hack, ideas to improve the current setup are greatly appreciated.

Server side requirements:

Working Bind setup
Apache with cgi capabilites
perl
nsupdate

Router-requirments:

The router must be able to let the user specify a special update-url for dyndns-updates. In my case i used a FRITZ!Box Fon WLAN 7113


Specify the following URL as an UPDATE-Url in your routers dyndns-setup:

http://hostname.tld/cgi-bin/dns.cgi?user=<username>&pass=<pass>&hostname=<domain>&myip=<ipaddr>

Most routers provide fields to specify username and password as well as the domain. On my fritzbox the variables (marked in <variable>) get replaced at runtime.

username is stefan in this example
pass = supersecret
hostname = dyndnstest.plzk.de
ipaddr get replaced by the current ip-address of the routers wan-interface

On the serverside, use the following perl snippet in your cgi-bin directory and call it dns.cgi:

#!/usr/bin/perl -w

# if the router sends a correct update string
if ($ENV{QUERY_STRING} =~ /username=(.*?)&pass=(.*?)hostname=(.*?)&myip=(.*)/) {

# and the supplied username & password is correct as well
if ($1 eq 'stefan' and $2 eq 'supersecret') {

# then confirm the update with an OK (good)
print print $3 IN A $4 good";


# add a nsupdate-compliant line to a temporary file
# can be used afterwards with nsupdate /tmp/zonetest
# this can be done automatically by a cronjob

`/bin/echo "update add $3 600 IN A $4" &gt; /tmp/zonetest`;
}
}
else
{

# if something went wrong, reply with a temporary error (911)
print "a problem occured - 911";


If we setup everything correctly, the client sends the following string to the webserver

91.8.21.139 - - [29/Dec/2009:19:45:08 +0100] "GET /cgi-bin/dns.cgi?user=stefan&pass=supersecret&hostname=dyndnstest.plzk.de&myip=91.8.21.139 HTTP/1.1" 200 23 "-" "Fritz!Box DDNS"

Right after that, we have a new entry in /tmp/zonetest

# more /tmp/zonetest
update add dyndnstest.plzk.de 600 IN A 91.8.21.139

which could be now used with nsupdate to update the zone-informations for the domain *.plzk.de

creating cd-covers with lightscribe technics

2009-12-17 by Stefan Bauer, tagged as hardware
Today i received my new SATA LG-DVD burner with lightscribe capabilities. I just created a debian 5.0 boot-cd with a nice lightscribe cover. Please see the result here:
http://www.plzk.de/archiv/pics/lightscribe.jpg

this and that

2009-12-07 by Stefan Bauer, tagged as privat
If everything went well, i will be for a couple of days in the capital city of austria over the holidays. It's just around 3 hours of driving one way on the A1 highway which starts right after the A8 ends close to Salzburg.

I'm going to learn e-guitar now!

2009-11-24 by Stefan Bauer, tagged as music, privat
Last week i decided to try to learn to play the e-guitar. I bought an e-guitar with all the equipment at musicstore.de Hopefully the stuff will arrive soon at my place and i can dive into. Here are the parts i ordered:

Jack-Danny-LS100-WH-White Guitar
Peavey Vypyr 15 amplifier

New car radio with bluetooth

2009-11-10 by Stefan Bauer, tagged as privat
Today i could afford a new Alpine CDE-103BT car radio with bluetooth. The main facts are

USB-Connector
MP3/WMA/AAC
Hands-free equipment to use my cell phone in free-speech mode

Right now i'm pretty happy with it as it's a big advantage to have the hands free while driving and be able to dial people through the radio itself. Unfortunately i'ma bit picky about the voice-quality so i'm still undecided where i will place the microphone in my car.

New courses for 2010 - VHS-Trostberg

2009-11-05 by Stefan Bauer, tagged as business
My new courses at the VHS-Trostberg will be available here soon for 2010.

Creditcard received - passport ready

2009-11-05 by Stefan Bauer, tagged as privat
Today i received my Barclaycard creditcard (visa). Fortunately i also got a call today, that my passport is ready to get picked up at the local authority. USA here i come!

Fachinformatiker für Systemintegration - Abschlussprüfung

2009-11-04 by Stefan Bauer, tagged as business, privat
I'm doing in 2010 for fun the final examination for the Fachinformatiker für Systemintegration in munich. It costs less than 100EUR for external attendees at the IHK Munich. For the ones who are interested why i did it for fun - here comes the answer. After more than 10 years of experience in this business, i just want to see how challenging such a test could be.