Posts tagged as linux
Debian Status I
2010-09-02 by , tagged as
Currently, the following packages are maintained by myself:
Packages overview for Stefan Bauer
As a first step, i just send my declaration to become a official debian maintainer to debian-maint list and two of my current sponsors advocated me on this process. I'm just waiting till my pgp-key get imported to the debian-maintainer keyring package. Recently i started my work on a well used and well known package -> ca-certificates. Hopefully after a first review by the current maintainer i will take over the maintenance of this package as well. My further plans are to move to git to host my packages.
Debian maintainer update
2010-06-25 by , tagged as
I just took over 2 packages and maintain them now as well. It's mpt-status - a tool to get the status of HW Raid controllers and the library packages openmotif (they are required to run the citrix ICA-client for example).
sata 150/300 drive performance notes
2010-03-17 by , tagged as
This is a short overview how the linux kernel deal with sata drives and how performance can be increasedAll new disk controllers can be run in either ATA or AHCI mode. AHCI-Mode is often called RAID-mode in the appropriate section of the computers BIOS. Using a 2.6.26 kernel (debians default one in lenny) and the disk-controller in ATA-mode will force the kernel to use the old ata_piix module/driver to access the harddrives. As this is an old way to access the harddrives for the sake of compatibility - the throughput is not very impressive. In my case on a HP DL320 G6, the read/write performance is between 20-30mb/sec on a raid5.
The AHCI-mode (Advanced Hardware Control Interface) is a general way to use newwer chipsets through the same driver. A big advantage by using AHCI is to be able to use NCQ on disks as well as hotplugging drives on supported chipsets. In my case, after switching to AHCI-mode in bios, the write/read performance was pushed to 50-60mb/sec on my raid5 set.
backup:~# dmesg | grep ahci
[ 2.366458] ahci 0000:00:1f.2: version 3.0
[ 3.374702] ahci 0000:00:1f.2: AHCI 0001.0200 32 slots 4 ports 1.5 Gbps
0xf impl RAID mode [ 3.374706] ahci 0000:00:1f.2: flags: 64bit ncq sntf ilck stag pm led
clo pmp pio slum part [ 3.378007] scsi0 : ahci
[ 3.378007] scsi1 : ahci
[ 3.378007] scsi2 : ahci
[ 3.378007] scsi3 : ahci
Further informations can be found here:
kernel.org ATA-wiki
work for debian
2010-03-03 by , tagged as
Due to plenty of spare time currently, i adopted another 2 packages in debian. scli - a collection of SNMP command line management tools and IPsec tools for Linux
*plong* long time no update
2010-02-02 by , tagged as
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.
Creating Bind DNS-Entries with regular dyndns-clients in routers
2009-12-30 by , tagged as
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" > /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
ITK-Forum in Mühldorf
2009-10-28 by , tagged as
Today i was at the ITK-Forum in Mühldorf. We had a litle booth in the basement of the Haberkasten. We had the chance to show a few advantages of linux including linux as a primary domain controller and linux as a dansguardian content filter. Furthermore we provided free CaCert assurances for everybody. Hopefully there will be some space on the next event to provide some linux talks as well.