Volk und Vaterland…

Posted on the January 9th, 2010 under Life by rmichel

…blabla. Wer nach der Ausbildung sofort einen Job gefunden hat der ihm Spass macht – Glückwunsch! Ich hatte auch das Glück ! Nur leider war da immer noch Artikel §5 des Wehrpflichtgesetzes. Da ich auch zurück gestellt wurde, konnte ich also bis zum 25. Lebensjahr gezogen werden :(

Also hab ich bei meinem Kreiswehrersatzamt mein Astma versucht geltend zumachen. Bin dann sogar nach Berlin gefahren (sind ja nur 600km Hin+Rück) zum Facharzt. Naja und heute kam dann endlich das Ergebnis

Sie werden nicht zum Wehrdienst herangezogen.

Gibts noch was bessers ? Jetzt kann man endlich das Jahr planen :D

ZTE MF637 unter Ubuntu

Posted on the January 9th, 2010 under HowTo, Linux by rmichel

Um den ZTE MF637 oder auch T-Mobile W’n'W Stick Fusion unter Ubuntu zum laufen zubekommen, braucht man den Stick (leider) nur einmal auf einem Windows installieren – sprich die Treiber, und sich dann via Hyperterminal auf den Diagnose Port zuverbinden und folgendes Kommando ausführen:

AT+ZCDRUN=8

Damit wird der Autostart vom Stick, also das virtuelle CD-ROM am Anfang, deaktiviert !

Geht mit 9.08, 9.10 usw.

Happy New Year to all my friends !

Posted on the January 1st, 2010 under Life by rmichel

Wish u a very Happy & Prosperous New Year 2010 !

Wish u a very Happy & Prosperous New Year 2010 !

DD-WRT PPPoE Passthrough (on WRT54G)

Posted on the December 29th, 2009 under HowTo, Linux by rmichel

For a PPPoE Passthrough on DD-WRT, enable jffs and do the following steps on a *nix-based system

cd /tmp;
wget http://kamikaze.openwrt.org/8.09.1/brcm-2.4/packages/rp-pppoe-relay_3.10-1_mipsel.ipk;
tar zxf rp-pppoe-relay_3.10-1_mipsel.ipk;
tar zxf data.tar.gz;
scp usr/sbin/pppoe-relay root@<ip_of_router>:/tmp/

Start the relay agent on the router

/tmp/pppoe-relay -S vlan1 -C br0

Now you can start your pppoe client on your notebook.

Tested with a WRT54G and DD-WRT v23 !

lvm is not a clvm ;)

Posted on the December 2nd, 2009 under Life by rmichel

LVM is not cluster aware so be very careful !

Steps to make changes on a (shared-) lvm:

  1. other nodes: # vgchange -an
  2. master node: make changes like # lvrename
  3. other nodes: # vgscan; vgchange -ay

Thats on only necessary if you have a shared storage like drbd or a SAN ;)

Benchmarking Tape drives

Posted on the November 26th, 2009 under Linux, Work by rmichel

Generally it is much better to create a ramdisk for this benchmark:
# mount -t tmpfs -o size=10G tmpfs /tmp/ramdisk;
or
# dd if=/dev/zero of=/dev/ram bs=1M count=10000;
# mkfs.ext3 /dev/ram;
# mount /dev/ram /tmp/ramdisk -o loop;

Normally your harddisk is to slow for a LTO3/4 or a Jaguar2/3 drive ;)

  1. Create a 5G or 10G file
    # dd if=/dev/urandom of=/tmp/ramdisk/urandom bs=1M count=5000;
  2. Now load the tape and start the backup
    # tar -cl -f- /tmp/ramdisk/urandom 2>/dev/null | mbuffer -L -s 256k -m 5G -P 85 > /dev/nstX;
    For Jaguar2/3 (IBM) tapedrives you can reach up to 150mb/s over a 2GBit FC HBA
  3. Now rewind the tape and restore
    # mt -f /dev/nstX rewind
    # < /dev/nstX mbuffer -L -s 256k -m 5G -p 25 | tar -x -f- 2>/dev/null;

Now check which is the best blocksize (-s 256k) for your drive. This must be the same for backup AND restore!

My results for a 2Gbit FC HBA, Jaguar2/3 drive and FC disk(s) on SLES10 SP2:
HDD -> Tape -> HDD (5G Cache, BS 256k): W 139mb/s peak 75mb/s avg R 137mb/s peak 84mb/s avg
RAM -> Tape -> RAM (1G Cache, BS 256k): W 139mb/s peak 126mb/s avg R 155mb/s peak 140mb/s avg

HDD -> Tape -> HDD (5G Cache, BS 512k): W 149mb/s peak 70mb/s avg R 137mb/s peak 84mb/s avg
RAM -> Tape -> RAM (1G Cache, BS 512k): W 149mb/s peak 131mb/s avg R 155mb/s peak 140mb/s avg

BS <256 or >512 jammed the drive.

For IBM tape drives exists the lin_tape driver which is only necessary for multipathing (or support from IBM *unverified* )

Das Problem von Linux…

Posted on the November 11th, 2009 under Linux by rmichel

Das Problem von Linux

Das Problem von Linux - found @ xkcd

Und leider stimmt das :(

Xenon Licht für Jedermann !

Posted on the October 20th, 2009 under Life by rmichel

Philips vs MTEC

Philips vs MTEC

Ich war auf der Suche nach einem Xenon ähnlichen Licht mit Straßenzulassung. Es gibt Xenon-Brenner für H4/H7 Sockel, aber leider haben die keine Straßen-Zulassung / Prüfzeichen – > illegal !

Es gibt von Philips ein Produkt mit dem Namen “Blue Vision” und auch eine paar mehr, alle relativ teuer (30 bis 50 Euro). Nach ein paar Stunden fand ich dann auch die MTEC SuperWhite mit einer Lichttemperatur von etwa 4350K. Laut Testberichten sollten die besser sein (Farbtechnisch) als die Konkurrenz und zusätzlich eine bessere Ausleuchtung der Straße bescheren. Nun ja bei eBay gibts die für rund 13 Euro (neu !) – kann man nichts falsch machen.

Nur wie das Bild oben zeigt, gibt es keine bessere Ausleuchtung, lediglich die Farbtemperatur kommt wirklich sehr gut an die von Xenon-Brennern ran. Ich werde mir überlegen, ob die Birnen drine bleiben oder wieder rauskommen.

Fazit: Optik 1a – aber man muss dran gewöhnen.

Xen virtualization with Intel-VT

Posted on the September 4th, 2009 under Linux, Work, XEN by rmichel

Hej,

for a training i needed some pcs with a virtualization technology preferably from Intel (VT). The easiest way is to buy some pc components and to build thereof a pc. After my last selfmade pc i’m a little bit impaired on that score. So i needed a pre-build pc with a intel cpu, gigabit lan and if it possible: small-sized. So is started my research with my best friend google ;)

After a while i found the transtec SENYO 610.

In the small configuration they have a

inside. But according to the Intel website both cpus didn’t support the Intel VT :( So i needed the big one and they have the following configuration

  • C2D T8300 / C2D T9500
  • 1 GB DDR2 RAM (up to 4GB RAM)
  • 160GB 5400rpm (up to 500GB)
  • Gigalan, Bluetooth, Wlan

So i order the big one with a C2D T8300, 4GB Ram and a 160GB (7200rpm) harddisk. Now i’m waiting for the postman :D

Mac OS X Advanced printer configuration

Posted on the July 13th, 2009 under Life, OSX by rmichel

To add a printer on a Mac, you can use the “Print & Fax”-dialog in the system preferences, but instead of this i preferred to use the CUPS interface :) Thats the easiest way to configure a windows printer (thats my mind) under Mac.

http://localhost:631/