Saturday, 11. April 2009
Donald - keine Ente! 
So, Gestern ist
Donald von der Gass zu Tomelloso :-) in Deutschland eingetroffen. Er ist mit vielen anderen Doggies im Transporter hergekommen. Als erste Amtshandlung habe ich ihn saubergemacht. Anschließend ging's in den Wald zum Joggen. "Donnie" ist ein echter Muskelprotz und wollte erstmal eine andere Route einschlagen - wir haben uns aber ganz schnell geeinigt, wo's langgeht und er lief eine Stunde lang brav neben mir.
Unsere
Chile Binks-Gabor zu Nasenhasuen :-) hat ihn anfangs ignoriert und war wohl etwas entsetzt, dass wir einfach so einen anderen Typ mit nach Hause genommen haben. Nach der ersten Nacht haben die beiden sich schon angefreundet: Als ich heute Morgen aufgestanden bin, kamen beide propellerschwänzelnd vor Freunde zu mir gelaufen. Als die bösen Küchengeräte anfingen zu brüllen, lagen die beiden gemeinsam auf einem Kissen dicht beieinander.
Derzeit versorge ich Donnies Schürfwunden mit Salbe, insbesondere auf der Nasenspitze ist er etwas verletzt und "nackt" - das stört aber nicht weiter und wird sicher von selbst heilen. Ich wundere mich aber über einen leichten eitrigen Schleim, der am linken Auge aus der Tränendrüse fließt - evtl. hat eine eine leichte Augenentzündung. Ich behalte das mal im Auge ....
Tuesday, 24. February 2009
Nachruf Podenca Lilly 
Unsere geliebte Podenca Lilly tot. Sie ist gestern um etwa 15 Uhr überfahren worden. Sie war erst zwei Jahre alt. Seit etwas über einem Jahr hat unsere "Himbeernase" unser Leben bereichert, die Wohnung aufgemischt und uns stets freudestrahlend begrüßt. Ihre quirlige Art hat immer ein Lächeln in unsere Gesichter gezaubert.
Wir vermissen Dich!
So fing Alles an …
Was ist ein PodencoSunday, 23. November 2008
Hapkido Schwarzgurtprüfung (1. Dan): Stefano 
Am Samstag, dem 22.11.2008, fand im Saarland eine Hapkido-Danprüfung statt. Prüfer waren Mark Klinger (6. Dan Hapkido) aus dem Saarland und Ivan de Wever (6. Dan Hapkido) aus Belgien. Es wurden die Themenbereiche Tritt-, Schlag und Hebelschule, Faust- und Fusstrittabwehr geprüft. Formenschule und Langstocktechniken waren ebenfalls ein Bestandteil der Prüfung und ein Bruchtest stelle den Abschluss der Prüfung dar.
Zum ersten Mal trägt einer meiner Schüler einen schwarzen Gürtel, deshalb war diese Prüfung auch für mich ein ganz besonderes Ereignis.
Ich wünsche den drei Prüflingen alles Gute und weiterhin viel sportlichen Erfolg!
Sunday, 02. November 2008
Dual Head Config on X11 with xrandr with radeon 9550 
To switch to a dual head config you can execute as user (not root!) the following:
xrandr --addmode VGA-0 1024x768
xrandr --addmode VGA-0 1280x1024
xrandr --addmode VGA-0 1920x1200
xrandr --output DVI-0 --mode 1920x1200
xrandr --output VGA-0 --mode 1920x1200
xrandr --output DVI-0 --left-of VGA-0 --output VGA-0
I use a "VGA compatible controller: ATI Technologies Inc RV350 AS Radeon 9550". Even glxgears runs smoothly with that old cheap AGP card .... ATI is currently probably the best choice for opensource users.
Tuesday, 30. September 2008
How to configure the second NIC on a VMWare ESX 
We already have one virtual port that bridges/switches to NIC1:
# esxcfg-vswitch -l
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch0 64 8 64 1500 vmnic0
PortGroup Name VLAN ID Used Ports Uplinks
VM Network 0 4 vmnic0
Service Console 0 1 vmnic0
We want to add a new virtual port that is bridged/switched to NIC2:
# esxcfg-vswitch -a vSwitch1
# esxcfg-vswitch -A
"Backup Network" vSwitch1
# esxcfg-vswitch -L vmnic1 vSwitch1
# esxcfg-vswif -a vswif1 -p
"Backup Network" -i 192.168.2.99 -n 255.255.255.0
['Vnic' warning] Generated New MAC address, xxxxx
for vswif1
Nothing to flush.
Then you get a second interface like this:
vswif1: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether xxxxx brd ff:ff:ff:ff:ff:ff
inet 192.168.2.99/24 brd 192.168.2.255 scope global vswif1
The result is as follows:
# esxcfg-vswitch -l
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch0 64 8 64 1500 vmnic0
PortGroup Name VLAN ID Used Ports Uplinks
VM Network 0 4 vmnic0
Service Console 0 1 vmnic0
Switch Name Num Ports Used Ports Configured Ports MTU Uplinks
vSwitch1 64 4 64 1500 vmnic1
PortGroup Name VLAN ID Used Ports Uplinks
Backup Network 0 1 vmnic1
Sunday, 24. August 2008
Ein neuer Gast auf dem Sofa 
Seit dem 23.8. haben wir einen neuen "Zweiti"....

Friday, 15. August 2008
Cisco Bandwidth Testing 
Have you ever wondered how to test the throughput of a Cisco Router? I tried to copy things with "copy tftp:/ /foo/bar null:", but Cisco's null-device is a bottleneck here.
I little search showed that Cisco implements a hidden command called "ttcp", at least with the bigger IOSse (SP=Service provider, IPplus) and recommends a Windows based client to test. Gnarf, I dont have Windows running here!
So I checked out, what Open-Source stuff exists, and found a Debian package called nttcp and after a little tryout I found that it works together:
On the Linux (server) side run:
# nttcp -p 5001 -v -i
On the Cisco CPE (client side) run:
test4m#ttcp
transmit or receive [receive]: transmit
Target IP address: a.b.c.d
perform tcp half close [n]:
send buflen [8192]:
send nbuf [2048]:
bufalign [16384]:
bufoffset [0]:
port [5001]:
sinkmode [y]:
buffering on writes [y]:
show tcp information at end [n]:
And you get a result like this:
ttcp-t: buflen=8192, nbuf=2048, align=16384/0, port=5001 tcp -> a.b.c.d
ttcp-t: connect
ttcp-t: 16777216 bytes in 37456 ms (37.456 real seconds) (~436 kB/s) +++
ttcp-t: 2048 I/O calls
ttcp-t: 0 sleeps (0 ms total) (0 ms average)
A result oif 436 kB/s for a 4 Meg bundle is not bad for that case: There are TCP headers of 40 byte and PPP Multilink headers of 6 byte in the game. The throughput in ttcp is measured "net", so the pipe must have more bandwidth ...
As a curious person I also measured on the Linux machine acting as TTCP server the throughput via the iptraf tool (See pictures attached). That's about 3850 kbits/s incl. TCP header but Multilink already demultiplexed.
BTW: If you ever need to send a break to the Cisco (i.e. to interrupt the TTCP command), you'll see that CTRL-C does not work. Instead press ALT-6-X on a Linux ssh, and the Cisco will receive a CTRL-C ...
Further Reading:
Network Performance Testing with TTCPMonday, 12. May 2008
How to set the PIN of an UMTS card (Linux OS)
I have re-worked my script to set the PIN of UMTS (or GRPS) card in bash.
It's designed to be rum from kppd or from a udev-rule and can be easily modified for additional AT-commands.
It reads the PIN from a file called ~/.simpin. If that does not exist, if continues reading /etc/simpin. Unless there is an argument given, tries to open /dev/ttyUSB0.
Currently the Version is Beta-1. Maybe I will add some features in the future, like multiple SIM cards (I think it's possible to get the CCID of a SIM with the AT command at!iccid? , at least with the Sierra card I own) or a collection of different APNs.
Sunday, 24. February 2008
Was ist ein Podenco? 
Über den Podenco: Eine tolle Website in deutsch über den Podenco Ibicenco
Podenco IbicencoDer Podencero ist ist Jäger mit einer Meute Podencos. Interessanterweise haben viele dieser Jäger gar keine Gewehr dabei - die Hunde jagen selbständig mit und mit "weicher" Schauze: Die Beute wird oft lebend zum Podencero apportiert!
Ein Podencos ist ein sehr eigensinniger Hund:
Ein wunderschönder Text über den Charakter einer Podencos (Podencos sind frei, auch an der Leine...) Off-Topic: Da meiner kurzen Erfahrung nach viele Hundehalter nicht wissen, dass einige für Menschen verträgliche (und leckere!) Nahrungsmittel für Hunde _giftig_ sind, weise ich an dieser Stelle auf folgende Info-Seiten hin:
Achtung giftig fuer Hunde (Galgo-Blog)
und
Hunderettungsforum gitiges Futter
Saturday, 19. January 2008
Postgresql: a little dump-script 
Hi,
I developed a really nice
script for dumping out MySQL DBs from via crontab and split the dump single databases.
It's time to do the same for PostgreSQL! The script will be based upon what my cleague gave me:
for i in $(psql -lAt |cut -d "|" -f 1|grep -v template0); do pg_dump $i |bzip2 > /var/lib/postgresql/DUMPDIR/$i-$(date +%Y-%m-%d-%H:%M).sql.bz2; done
Currently we that from the user postgres' user-cron. You can edit it as root-user with
# sudo -u postgres crontab -e