<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Zugschlusbeobachtungen (Entries tagged as hardware)</title>
    <link>http://blog.zugschlus.de/</link>
    <description>Das persönliche Blog von Marc Haber</description>
    <dc:language>en</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:mh+blog-zugschlus-de@zugschlus.de" />
    <generator>Serendipity 1.5.5 - http://www.s9y.org/</generator>
    <pubDate>Fri, 24 Sep 2010 11:42:26 GMT</pubDate>

    <image>
        <url>http://blog.zugschlus.de/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Zugschlusbeobachtungen - Das persönliche Blog von Marc Haber</title>
        <link>http://blog.zugschlus.de/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>BIOS Flash harmful</title>
    <link>http://blog.zugschlus.de/archives/905-BIOS-Flash-harmful.html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/905-BIOS-Flash-harmful.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=905</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=905</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Ich habe heute zum ersten Mal seit vielen Jahren einen Rechner mit einem BIOS-Update zerstört. Das noch unter DOS
laufende Flashprogramm ist bei &amp;#8220;Erasing Flash&amp;#8221; stehengeblieben und der Rechner wollte danach natürlich
nicht mehr booten. Glücklicherweise war das ein echt altes Supermicro-Schätzchen und der Kunde ist hinreichend
entspannt, dass er mir nur vorgeweint hat, dass das Heraussuchen der am wenigsten abgetakelten Büchse nun umsonst
gewesen war. Ich krieg jetzt eine neue alte Kiste.
&lt;/p&gt;
 &lt;p&gt;
Da die Maschine natürlich kein Diskettenlaufwerk hatte, hielt ich es für eine gute Idee, ein FreeDOS Floppyimage per
grub2 und memdisk von der Platte zu booten und das Flashprogramm dann von C:, einer 10-MB-FAT-Partition zu starten. War
wohl keine so gute solche.
&lt;/p&gt;
&lt;p&gt;
Jetzt könnte man den Server noch wiederbeleben, indem man ihm beim Booten eine richtige Diskette mit dem richtig
benannten BIOS-File ins richtige Laufwerk legt und zwei Tasten gedrückt hält. Das scheitert momentan am
Nichtvorhandensein eines richtigen, alten Diskettenlaufwerks und des dazugehörigen Mediums. Und andererseits dürfte es
kaum noch wirtschaftlich sein, noch mehr Zeit in diese Uraltbüchse zu stecken.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Thu, 23 Sep 2010 16:22:38 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/905-guid.html</guid>
    <category>bios</category>
<category>flash</category>
<category>grub2</category>
<category>hardware</category>
<category>memdisk</category>

</item>
<item>
    <title>Lebensverlängernde Maßnahmen am Notebook, heute: Verdreifachung des Plattenplatzes</title>
    <link>http://blog.zugschlus.de/archives/886-Lebensverlaengernde-Massnahmen-am-Notebook,-heute-Verdreifachung-des-Plattenplatzes.html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/886-Lebensverlaengernde-Massnahmen-am-Notebook,-heute-Verdreifachung-des-Plattenplatzes.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=886</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=886</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Das beste Notebook, das ich jemals besessen habe, ist seit knapp zwei Jahren im Vollausbau. Dachte ich. Nun ja, fast. Da
dort nur PATA-Festplatten hineinpassen, dachte ich bisher, bei 250 GB sei Schluß - denn es gab bis vor einiger Zeit
keine größeren 2,5-Zoll-PATA-Festplatten - jetzt gibt es eine 320-GB-Platte von WD, die auch den meisten &amp;#8220;bang
for the buck&amp;#8221; (lies: den niedrigsten per-Gigabyte-preis) haben. Aber irgendwie widerstrebt es mir, Geld in eine
Auslauftechnologie zu investieren, wie es PATA nun einmal ist.
&lt;/p&gt;
&lt;p&gt;
So ist auch der hier im Haus vorhandene Multibay-Rahmen für eine zweite PATA-Festplatte bisher nur bei Migrationen etc
zum Einsatz gekommen.
&lt;/p&gt;
 &lt;p&gt;
Nun ist mir in der Bucht neulich aufgefallen, dass es tatsächlich für diese fünf Jahre alte Notebookserie
Multibay-Rahmen gibt, in die man eine SATA-Platte hineinstecken kann. Und da diese Rahmen deutlich unter 30 Euro kosten,
sieht die Sache mit dem Einbau einer zweiten Platte nun gleich ganz anders aus.
&lt;/p&gt;
&lt;p&gt;
Also flugs so einen Rahmen und eine 500-GB-SATA-Platte (das ist derzeit die 2.5-Zoll-SATA-Plattengröße mit dem
niedrigsten Gigabytepreis) bestellt und eingebaut. Der eigentlich für die noch ältere Evo800-Generation gedachte
Rahmen hat zwar keine hundertprozentig zum nc8000 passende Blende, funktioniert aber auf Anhieb, und mit Hilfe &lt;a
href=&quot;http://blog.zugschlus.de/exit.php?url_id=2402&amp;amp;entry_id=886&quot;  onmouseover=&quot;window.status=&#039;http://www.sakana.fr/blog/2009/05/04/linux-sata-hot-plug-unplug/&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;externer Link zur Erklärung für SATA
Hotplug unter Linux&quot;&gt;dieses Blogartikels&lt;/a&gt; ist die ganze Konstruktion sogar hotplugfähig.
&lt;/p&gt;
&lt;p&gt;
So hat mein Uraltnotebook jetzt 750 GB Plattenspeicher, was selbst im Zeitalter von Virtualisierung auf dem Notebook und
größerer MP3-Sammlungen noch einige Zeit ausreichen dürfte. Und ich habe das gute Gefühl, dass die paar in die
Platte investierten Euro auch nach dem Ableben dieses Notebooks gut investiert sein werden, denn in einem USB- oder
e-SATA-Gehäuse kann diese Platte noch lange weiterleben.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Thu, 04 Feb 2010 23:39:10 +0100</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/886-guid.html</guid>
    <category>hardware</category>
<category>multibay</category>
<category>nc8000</category>
<category>notebook</category>
<category>pata</category>
<category>platten</category>
<category>sata</category>

</item>
<item>
    <title>On 250 GB in an old notebook</title>
    <link>http://blog.zugschlus.de/archives/775-On-250-GB-in-an-old-notebook.html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/775-On-250-GB-in-an-old-notebook.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=775</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=775</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
For some reason, this article written in late 2008 remained unpublished. It&amp;#8217;s therefore kind of outdated.
&lt;/p&gt;
&lt;p&gt;
When I took over my former work notebook (an hp nc 8000) from my (now former) company, one of the first things I did was
swapping its old 120 GB disk for a new 250 GB disk. 250 GB is the biggest disk one can get in the 2.5 form factor with a
PATA interface, and there is only one disk in the market, and it&amp;#8217;s made by WD.  So I didn&amp;#8217;t have much of a
choice and ordered one in mid August 2008. It has been working fine until it died this Friday, a mere three months after
buying it. This wrecked much of my Friday and the entire weekend for me since I spent the days being a data wrangler,
and without my main work tool.
&lt;/p&gt;
&lt;p&gt;
This disk death was the second one this week after having one 40 GB disk (purchased in 2001) die in my other notebook on
monday. I&amp;#8217;ve really had it with hardware for the time being.
&lt;/p&gt;
 &lt;p&gt;
The first sign of trouble was the notebook not waking properly waking up from suspend-to-disk on Friday morning; the
state was yet reached normally on Thursday night. I shrugged, did a hard reset and booted the device. This worked fine,
and I started working until strange noises emerged from the notebook, which prompted me to quickly do a backup, which
thankfully completed kind of successfully. During this backup, the 500 GB disk I use for backups complained about file
system errors, which earned me an extra two hours waiting for the 500 GB fsck, fortunately, with a successful result.
&lt;/p&gt;
&lt;p&gt;
I then called up Alternate, the vendor where I bought the disk a quarter of a year before, and asked them what to do
with the not-yet-dead disk. Unfortunately, they didn&amp;#8217;t prove helpful and gave me the choice of either sending in
the disk directly to WD, which would take at least a week, and of sending it in to them for replacement, which would
take at least a month. My offer to order and pay for a new disk now and get appropriate credit for the price paid for
the new disk after the bad disk was replaced was rejected. Sucks. Service is something different.
&lt;/p&gt;
&lt;p&gt;
I then proceeded to order a new disk from a different vendor, AV-Electronix, who have a really cool order monitoring
tool. Thirty minutes after I placed my order, I was informed that the disk was commissioned, and it was indeed delivered
not even 24 hours after placing the order. Impressive. This is the first time I have seen a real-time order monitoring
tool actually work.
&lt;/p&gt;
&lt;p&gt;
After the backup was done, I tried ruling out the notebook itself as a source of error (as the backup disk had been
acting up as well) and gave it a single memtest86 run, fortunately without bad results.
&lt;/p&gt;
&lt;p&gt;
Then I started WD&amp;#8217;s warranty procedures, which prove to be a major headache. Like most disk vendors, they offer a
tool (theirs is called Data Lifeguard Diagnostics) to determine the drive fitness. For some reason, I missed them
offering a bootable DOS .iso image with their Diagnostics tool and ended up installing Windows XP on a new spare hard
disk. After putting the old disk into the MultiBay adaptor, the Windows-based Diagnostics quickly came up with the
verdict &amp;#8220;fail&amp;#8221;, and I ordered an advance replacement. WD&amp;#8217;s web form just offers 30 characters for the
failure reason, so they only got a &amp;#8220;DLG extended test fail&amp;#8221;. A RMA number was quickly issued, and
we&amp;#8217;ll see when the replacement disk (which will boldly go into the Dreambox, replacing the 160 GB unit there) will
arrive.
&lt;/p&gt;
&lt;p&gt;
The next day, the ordered disk arrived, and I spent the rest of the day with a badblocks -vvw on the new disk. After
eight hours, I calculated that the badblocks scan won&amp;#8217;t finish before monday noon, and thankfully found out that
my grml at some time into the diagnostics fell back to PIO mode and disabled DMA. After re-enabling DMA, the speed
greatly increased, and the badblocks scan finished at sunday noon: No bad blocks found, as expected for a brand new
disk.
&lt;/p&gt;
&lt;p&gt;
While the badblocks scan executed, I found the bootable .iso of the DLG tool and re-executed it on the old disk
(&amp;#8220;fail&amp;#8221;) and the new disk after the badblocks scan finished. I had to leave for Tango Argentino Class while
the test was running on the old disk.
&lt;/p&gt;
&lt;p&gt;
The rest was easy, thanks to LVM: Have new disk in its final place, old disk in the multibay, boot grml, partition new
disk, create PV, expand VG, pvmove, reduce VG, remove old disk, send in old disk for replacement.
&lt;/p&gt;

 
    </content:encoded>

    <pubDate>Fri, 25 Dec 2009 13:03:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/775-guid.html</guid>
    <category>harddisk</category>
<category>hardware</category>
<category>notebook</category>
<category>service</category>

</item>
<item>
    <title>Notebooknetzteil</title>
    <link>http://blog.zugschlus.de/archives/815-Notebooknetzteil.html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/815-Notebooknetzteil.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=815</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=815</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Und wieder ist ein Notebooknetzteil an einem Kabelbruch verschieden. Ich weiß auch nicht, was ich falsch mache, aber
irgendwie krieg ich das immer wieder hin. Diesmal hatte sich der Ausfall schon durch Wackeleien angekündigt und ich bin
grad selbst schuld, dass ich nicht noch ein zweites eingepackt habe.
&lt;/p&gt;
&lt;p&gt;
So war das Notebook eben nach dem Einsteigen in Berlin Ostbahnhof nur noch für wenige Sekunden zu &amp;#8220;AC Adapter
plugged in&amp;#8221; zu bewegen und dann war Schicht. Endgültig. Auch fieses Wackeln am Kabel hat nicht geholfen.
&lt;/p&gt;
&lt;p&gt;
Auf diese Weise kamen die letzten Monat gekauften zwei Ersatzakkus zu erstmaligen Ehren; ein Akku reicht trotz
Vollausbau,Virtualbox und UMTS für respektable zweieinhalb Stunden, wenn man die Nerven hat, die Nachricht &amp;#8220;less
than 3 Minutes left, shut down *NOW*&amp;#8221; für die letzten 35 Minuten jedes Akkus beharrlich zu ignorieren.
&lt;/p&gt;
&lt;p&gt;
So hat das Notebook trotz &amp;#8220;kein Strom&amp;#8221; immerhin bis zum Signalhalt Zeppelinheim gehalten. Für den Rest der
Fahrt und diesen Artikel musste dann das wackere E90 ran. Ich sollte mir wirklich mal diese faltbare
Nokia-Bluetooth-Tastatur kaufen, die gibt&amp;#8217;s im Moment regelmäßig für die Hälfte des Neupreises in der Bucht.
&lt;/p&gt;
&lt;p&gt;
Dass man nach dem Akkuwechsel im Notebook leider auch das BIOS inklusive Bootreihenfolge und Systemuhr (aber exklusive
asset tags, wtf?) von Grund auf neu einstellen muss, ist allerdings lästig. Ebenso wie die Tatsache, dass man beim
nc8000 im BIOS die Uhr nicht mehr stellen kann und das Linux somit beim Booten sich erstmal auf den Weg macht, 250 GB
Platte zu fscken.
&lt;/p&gt;
  
    </content:encoded>

    <pubDate>Fri, 20 Mar 2009 12:49:05 +0100</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/815-guid.html</guid>
    <category>akku</category>
<category>hardware</category>
<category>netzteil</category>
<category>notebook</category>

</item>
<item>
    <title>Bildschirmschoner</title>
    <link>http://blog.zugschlus.de/archives/794-Bildschirmschoner.html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/794-Bildschirmschoner.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=794</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=794</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Nachdem der nette hp-Techniker das erste Mal das Display meines Notebook getauscht hat, weil sich in der Mitte ein
schönes Cluster dauerheller Pixel gebildet hatte, gab er mir den Tipp, ich solle doch etwas zwischen Tastatur und
Display legen, damit sich der Trackpoint nicht so ins Display drückt, habe ich mir einen Bildschirmschoner gebastelt:
Ein laminierter Karton im A4-Format war seitdem mein ständiger Begleiter und tatsächlich hat sich dieser Fehler am
Display nicht wiederholt.
&lt;/p&gt;
&lt;p&gt;
&lt;a class=&#039;serendipity_image_link&#039; href=&#039;http://blog.zugschlus.de/uploads/20090127157.jpg&#039;&gt;&lt;!-- s9ymdb:101 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;90&quot; height=&quot;68&quot; style=&quot;float: right; border: 0px; padding-left: 5px; padding-right: 5px;&quot; src=&quot;http://blog.zugschlus.de/uploads/20090127157.serendipityThumb.jpg&quot; alt=&quot;&quot;  /&gt;&lt;/a&gt;Nun ist dieser Karton inzwischen den
Weg alles Irdischen gegangen, und ich habe mir nun einen Zugschlus-Bildschirmschoner gebastelt. Den laminierten Karton
kennt man ja schon, die gelaserdruckte Zg2-Tafel zwischen Karton und Laminierfolie ist neu. Ich denke, das ist ganz
hübsch geworden.
&lt;/p&gt;
&lt;p&gt;
Und als Mauspad, auf dem die optische Minimaus prima funktioniert, taugt es auch noch.
&lt;/p&gt;
  
    </content:encoded>

    <pubDate>Mon, 02 Feb 2009 16:42:00 +0100</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/794-guid.html</guid>
    <category>hardware</category>
<category>notebook</category>

</item>
<item>
    <title>Klimaanlage, Alarmanlage, Löschanlage und USV an USB</title>
    <link>http://blog.zugschlus.de/archives/733-Klimaanlage,-Alarmanlage,-Loeschanlage-und-USV-an-USB.html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/733-Klimaanlage,-Alarmanlage,-Loeschanlage-und-USV-an-USB.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=733</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=733</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Viele Geräte der &amp;#8220;Haustechnik&amp;#8221; bzw. &amp;#8220;Infrastruktur&amp;#8221; (das können Klima, Lösch-, Alarmanlagen
oder USVs sein) melden Fehlerzustände mit einem potenzialfreien Alarmkontakt. Das klingt ziemlich hochtrabend, ist aber
in aller Regel nur ein simples Relais mit einem Schließerkontakt, das im Normalfall angezogen ist. Sprich, wenn
irgendwas passiert, fällt das Relais ab und der Kontakt geht auf. Bei dieser Schaltung werden auch Defekte im Relais
selbst oder Schäden an der Verkabelung erkannt; das ganze versagt also zur richtigen Seite.
&lt;/p&gt;
&lt;p&gt;
Ich habe in den letzten Monaten einige Zeit damit verbracht, ein Stück Hardware zu finden, was mir ermöglicht, den
Zustand eines potenzialfreien Alarmkontaktes in einen PC einzulesen und den Alarm mit Netzwerkmitteln (z.B. Nagios)
weiterzumelden.
&lt;/p&gt;
 &lt;p&gt;
Die zwei Rechner, an die ich das ankoppeln möchte, sind ein 1U-Server und ein Notebook. Beide Geräte haben gemeinsam,
dass sie keinen Gameport haben und auch PCI-Slots eher knapp sind (der Server hat zwar einen, der sollte aber für
andere Anwendungen frei bleiben). Bleibt die serielle Schnittstelle (die wohl in der nächsten Gerätegeneration auch
aussterben wird) und USB. Also USB.
&lt;/p&gt;
&lt;p&gt;
Als Ergebnis einer Diskussion im Usenet gab es die Empfehlung für das &lt;a
href=&quot;http://blog.zugschlus.de/exit.php?url=aHR0cDovL3d3dy5lbGVjdHJvbmljLXNvZnR3YXJlLXNob3AuY29tL3Byb2R1Y3RfaW5mby5waHA/cE5hbWU9dW5pdmVyc2VsbGVzLThrYW5hbC11c2ItaW50ZXJmYWNlLXAtMzYmY05hbWU9aGFyZHdhcmUtZGlnaXRhbC1pby1jLTJfMTI=&amp;amp;entry_id=733&quot;  onmouseover=&quot;window.status=&#039;http://www.electronic-software-shop.com/product_info.php?pName=universelles-8kanal-usb-interface-p-36&amp;amp;cName=hardware-digital-io-c-2_12&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot;
title=&quot;externer Link zum Webshop von ABACOM&quot;&gt;universelle 8-Kanal-USB-Interface&lt;/a&gt; aus dem Webshop von ABACOM, was knapp
fünfzig Euro kostet.
&lt;/p&gt;
&lt;p&gt;
Das Ding hat zehn Schraubklemmen (GND, Vcc, Port 1 bis Port8), wobei jeder Port als digitaler Ausgang, als digitaler
Eingang, analoger Eingang und Temperatureingang (die dazu passenden Fühler kosten extra) verwendet werden kann. Die
Digitalausgänge sind mit 25 mA pro Kanal belastbar, ob das für ein Relais reicht weiß ich nicht. Ich habe zu lange
keine ernsthafte Elektronik mehr betrieben.
&lt;/p&gt;
&lt;p&gt;
Besondere Treiber sind nicht nötig, das Ding wird beim Einstecken sofort erkannt und als serielle Schnittstelle
erreichbar:
&lt;blockquote&gt;&lt;pre&gt;
Jul  3 09:29:47 scyw00225 kernel: usb 4-4.1: new full speed USB device using ehci_hcd and address 20
Jul  3 09:29:47 scyw00225 kernel: usb 4-4.1: configuration #1 chosen from 1 choice
Jul  3 09:29:47 scyw00225 kernel: usb 4-4.1: New USB device found, idVendor=0403, idProduct=6001
Jul  3 09:29:47 scyw00225 kernel: usb 4-4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jul  3 09:29:47 scyw00225 kernel: usb 4-4.1: Product: DLP-IO8
Jul  3 09:29:47 scyw00225 kernel: usb 4-4.1: Manufacturer: DLP Design
Jul  3 09:29:47 scyw00225 kernel: usb 4-4.1: SerialNumber: 12345678
Jul  3 09:29:47 scyw00225 kernel: usbcore: registered new interface driver usbserial
Jul  3 09:29:47 scyw00225 kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
Jul  3 09:29:47 scyw00225 kernel: usbcore: registered new interface driver usbserial_generic
Jul  3 09:29:47 scyw00225 kernel: drivers/usb/serial/usb-serial.c: USB Serial Driver core
Jul  3 09:29:47 scyw00225 kernel: drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial
Device
Jul  3 09:29:47 scyw00225 kernel: ftdi_sio 4-4.1:1.0: FTDI USB Serial Device converter detected
Jul  3 09:29:47 scyw00225 kernel: drivers/usb/serial/ftdi_sio.c: Detected FT232RL
Jul  3 09:29:47 scyw00225 kernel: usb 4-4.1: FTDI USB Serial Device converter now attached to ttyUSB0
Jul  3 09:29:47 scyw00225 kernel: usbcore: registered new interface driver ftdi_sio
Jul  3 09:29:47 scyw00225 kernel: drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
&lt;/pre&gt;&lt;/blockquote&gt;
&lt;/p&gt;
&lt;p&gt;
Dann connected man mit 115k8n1 auf die neu erkannte serielle Schnittstelle und kann dort Einbuchstabenkommandos
hinschicken. Dabei wird durch das Kommando auch gleich der Port ausgewählt. Hier zum Beispiel die Kommandos für Port
1:
&lt;table&gt;
&lt;tr&gt;&lt;td&gt;1&lt;/td&gt;&lt;td&gt;Digitalausgang HIGH&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Q&lt;/td&gt;&lt;td&gt;Digitalausgang LOW&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;A&lt;/td&gt;&lt;td&gt;Digitaleingang abfragen&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;Z&lt;/td&gt;&lt;td&gt;Analogeingang abfragen&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;9&lt;/td&gt;&lt;td&gt;Temperatur abfragen&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;
&lt;/p&gt;
&lt;p&gt;
Das einzige was ich probiert habe ist der Digitaleingang. Der wird, wenn er in der Luft hängt, zuverlässig als LOW
erkannt, wobei ich natürlich nicht weiß, wie sich das verhält wenn da erstmal zwanzig Meter Anschlussleitung dran
hängen und irgendwas da hinein streut. Vielleicht nimmt man dafür am besten einen Pull-Down-Widerstand.
&lt;/p&gt;
&lt;p&gt;
Wenn man dem Gerät auf der seriellen Schnittstelle das &amp;#8220;A&amp;#8221; schickt, kommt sofort &amp;#8220;0&amp;#8221; oder (wenn
man den Eingang mit Vcc verbindet) &amp;#8220;1&amp;#8221; zurück. So soll es sein.
&lt;/p&gt;
&lt;p&gt;
Für den Anschluß eines Temperaturfühlers braucht&amp;#8217;s noch einen 4k7-Pullup-Widerstand.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Thu, 03 Jul 2008 11:09:14 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/733-guid.html</guid>
    <category>alarmierung</category>
<category>hardware</category>
<category>usb</category>

</item>
<item>
    <title>OL400e R.I.P.</title>
    <link>http://blog.zugschlus.de/archives/719-OL400e-R.I.P..html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/719-OL400e-R.I.P..html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=719</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=719</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Mein lieber 300-dpi-4-Seiten-Laserdrucker Oki OL400e, Du hast mich vierzehn Jahre meines Lebens begleitet. In vier
Jahren hättest Du den Führerschein machen können.
&lt;/p&gt;
&lt;p&gt;
Du warst damals, 1994, der erste Laserdrucker unter der magischen 800-Mark-Grenze für geringwertige Wirtschaftsgüter.
Du konnest vier Seiten in der Minute mit 300 dpi bedrucken, hattest einen unglaublich robusten Einzelblatteinzug (manche
Leute sagten, mit Dir könnte man sogar eine Wurstscheibe bedrucken) und einen sehr viel zickigeren Einzug aus der
Papierkassette. Wenn ich ehrlich bin, kann ich mich nicht mehr daran erinnern, wann Du zuletzt ein einzelnes Blatt
Papier aus der Kassette unfallfrei eingezogen hast.
&lt;/p&gt;
 &lt;p&gt;
Im Jahr 2003, vor dem Umzug nach Mannheim, hatte ich Dir noch eine neue Trommel spendiert. Seitdem drucktest Du wieder
wie am ersten Tag und ich tönte herum &amp;#8220;der hält nochmal zehn Jahre&amp;#8221;.
&lt;/p&gt;
&lt;p&gt;
Die Zeit in Wallstadt war für Dich eine Zeit der Faulheit. Du warst zwar angeschlossen, aber so gut wie nie
eingeschaltet und hast während der ganzen drei Jahre unterm Dach geschätzt drei Seiten gedruckt. Aber du hast sie
gedruckt.
&lt;/p&gt;
&lt;p&gt;
In Ilvesheim standest Du erstmal zehn Monate unterm Scanner oben auf dem Büro-Billy und wurdest nach der Fertigstellung
von Weave wieder angeschlossen und eingeschaltet. Die ersten Tage stankst Du zwar wie ein alter Toaster, aber gedruckt
hast Du. Zwar mit schwarzen horizontalen Streifen, so dass die Barcodes der H*rm*s-Paketscheine nur selten auf Anhieb
lesbar waren, aber Du drucktest.
&lt;/p&gt;
&lt;p&gt;
Beim Einschalten begannst Du schließlich, Dich immer öfter über einen angeblich offenen Deckel zu beschweren, obwohl
er stets fest geschlossen war. Deckel auf, Deckel zu, druckt.
&lt;/p&gt;
&lt;p&gt;
Doch das alles war einmal. Seit heute morgen stinkst Du nicht mehr, sondern meldest nur noch &amp;#8220;ERROR 71&amp;#8221;.
Nach dieser Fehlermeldung und Deiner Typenbezeichnung mit der führenden Suchmaschine suchend, führt zur erschreckenden
Erkenntnis: Deine Fixiereinheit ist hinüber.
&lt;/p&gt;
&lt;p&gt;
Eine Reparatur lohnt sich sicher nicht mehr. Ersatzteile gibt es selbst in der Ebucht nicht mehr, ein Gebrauchtgerät
als Ersatzteilspender auch nicht. Ich fürchte, Ich muss mich endgültig von Dir trennen.
&lt;/p&gt;
&lt;p&gt;
Und was noch viel schlimmer ist: Ich brauche einen neuen Drucker, und will am liebsten nichts ausgeben. Soll es wieder
ein Laser sein? Soll es ein Farbgerät sein? Soll es einen eingebauten Scanner haben und damit gleich auch als autarker
Kopierer taugen? Soll es ein neues oder ein Gebrauchtgerät sein?
&lt;/p&gt;
&lt;p&gt;
Auf eigenen Pfaden finde ich einen neuen hp-Schwarzweisslaser inklusive Verbrauchsmaterialien für 24000 Seiten für
unter dreihundert Euro - aber so viel drucke ich in fünfzig Jahren nicht. Ich weiß wirklich nicht was ich machen
soll.
&lt;/p&gt;
&lt;p&gt;
Du wirst mir fehlen, mein lieber Oki.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Wed, 11 Jun 2008 19:54:21 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/719-guid.html</guid>
    <category>computer</category>
<category>drucker</category>
<category>hardware</category>

</item>
<item>
    <title>Works with a more recent card as well</title>
    <link>http://blog.zugschlus.de/archives/706-Works-with-a-more-recent-card-as-well.html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/706-Works-with-a-more-recent-card-as-well.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=706</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=706</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Today, I had the opportunity to try my &lt;a
href=&quot;http://blog.zugschlus.de/exit.php?url_id=2318&amp;amp;entry_id=706&quot;  onmouseover=&quot;window.status=&#039;http://blog.zugschlus.de/archives/704-Automatic-initialization-of-a-Option-3G-Datacard.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;Link to the
other article in this blog&quot;&gt;UMTS initialization mechanism&lt;/a&gt; that I built this weekend with more recent hardware, a
newer Option Globetrotter 3G Express Card with Vodafone branding (reporting itself to be a &amp;#8220;Globetrotter HSDPA
Modem&amp;#8221; with Vendor ID 0xaf0 and Product ID 0x6701). To get the card connected to my test Notebook, a hp compaq
nc8000, I had a &amp;#8220;Expresscard in a PC card slot&amp;#8221; adapter and a passive &amp;#8220;Expresscard at a normal USB
port&amp;#8221; adapter. The USB adapter had cost about ten Euros, and I don&amp;#8217;t imagine the PC card adapter to be much
more expensive.
&lt;/p&gt;
 &lt;p&gt;
The later Option card is recognized as three USB-connected serial ports by the Option kernel driver
(CONFIG_USB_SERIAL_OPTION) as the older one is, and it works just fine. The only difference is that the udev rule needs
a different value for the ATTRS{modalias} setting. My umts-pin script complains about an &amp;#8220;illegal seek&amp;#8221;
after entering the PIN, but the card registers itself with the network nevertheless. Both gammu to send SMS and pppd for
IP connectivity worked out of the box.
&lt;/p&gt;
&lt;p&gt;
Especially the &amp;#8220;Expresscard-to-USB&amp;#8221; adapter setup is very sexy for setups where neither an Expresscard nor a
PC Card slot is available, and USB cables can be nice and long. So one could even mount the UMTS interface near the
window and pull a longer USB cable to the actual system. I decided on putting the UMTS interface into a notebook,
though, and mount the notebook near the window to be able to monitor the monitoring systems and send out SMS even when
the whole datacenter is without power (by virtue of the notebook having a built-in UPS).
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Tue, 03 Jun 2008 17:16:17 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/706-guid.html</guid>
    <category>debian-english</category>
<category>english</category>
<category>gsm</category>
<category>hardware</category>
<category>option-3g</category>
<category>udev</category>
<category>umts</category>
<category>vodafone</category>

</item>
<item>
    <title>hp Supportchat völlig unbrauchbar</title>
    <link>http://blog.zugschlus.de/archives/705-hp-Supportchat-voellig-unbrauchbar.html</link>
            <category>tech-rants</category>
    
    <comments>http://blog.zugschlus.de/archives/705-hp-Supportchat-voellig-unbrauchbar.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=705</wfw:comment>

    <slash:comments>5</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=705</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Ich möchte ein Notebook hp nc 8000 per Wake-on-LAN aufwecken, um sicherzustellen, dass es möglichst immer läuft.
Leider habe ich im BIOS keine Einstellung für Wake-on-LAN gefunden, und ein per etherwake oder wakeonlan gesendetes
magisches Paket wird ignoriert. Also versuche ich mal den hp-Supportchat, vielleicht bin ich ja nur zu doof zum suchen.
&lt;/p&gt;
 &lt;p&gt;
Ich bekomme innerhalb von wenigen Minuten Pavel K als Supportspezialisten zugewiesen, der zunächst nochmal den Typ und
die Seriennummer des Notebooks abfragt. Er antwortet dann, dass Wake on LAN beim nc8000 nicht unterstützt wird. Lüge
Nummer eins, denn schon in der Produktbeschreibung steht natürlich dass Wake on LAN unterstützt wird, und außerdem
funktioniert das bei unseren Notebooks in der Firma ja auch prima.
&lt;/p&gt;
&lt;p&gt;
Als nächstes versucht Pavel, mich mit einem BIOS-Update abzuspeisen und pastet mir den LInk auf das Bios F.0C vom 05.
März 2004. Wir erinnern uns, in &lt;a href=&quot;http://blog.zugschlus.de/exit.php?url_id=2316&amp;amp;entry_id=705&quot;  onmouseover=&quot;window.status=&#039;http://blog.zugschlus.de/archives/702-BIOS-Update-a-la-hp.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;link zu
einem anderen Artikel in diesem Blog&quot;&gt;diese Falle&lt;/a&gt; bin ich am Wochenende auch schon getappt. Ich weise Pavel darauf
hin und bitte ihn, mal das SP-Paket auszupacken und ins README zu gucken. Das aktuelle Bios F.18 ist bereits
installiert.
&lt;/p&gt;
&lt;p&gt;
Es folgt das Unvermeidliche: Er sagt, ich soll im Gerätemanager mal das und das nachgucken. Ich antworte ihm korrekt
und höflich, dass auf dem System Linux installiert ist, und er nutzt diese Gelegenheit, um sich final aus der Affäre
zu ziehen: Linux sei &amp;#8220;als Software&amp;#8221; auf dem nc8000 nicht unterstützt. Lüge Nummer zwei, denn hp ist im
Bereich Linux-Unterstützung sehr rührig.
&lt;/p&gt;
&lt;p&gt;
Meinen Hinweis auf die &amp;#8220;Linux auf dem nc8000&amp;#8221;-Webseite innerhalb des hp-Webangebots kommentiert er damit,
dass das nc8000 zwar für Linux zertifiziert, aber nicht supported sei. Ich gebe auf.
&lt;/p&gt;
&lt;p&gt;
Fazit: Die Unterstützung von Linux durch hp ist nach wie vor hauptsächlich ein Lippenbekenntnis, weil die Leute an der
vorderen Supportfront nicht ausgebildet sind oder anders lautende Dienstanweisungen haben. Linux ist immer noch die
finale Ausrede, sich mit &amp;#8220;nicht supported&amp;#8221; davonzustehlen.
&lt;/p&gt;
&lt;p&gt;
Und wie Wake-on-LAN funktioniert, weiss ich immer noch nicht.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Mon, 02 Jun 2008 12:24:31 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/705-guid.html</guid>
    <category>hardware</category>
<category>hp</category>
<category>netzwerk</category>
<category>notebook</category>
<category>support</category>
<category>wake-on-lan</category>

</item>
<item>
    <title>Automatic initialization of a Option 3G Datacard</title>
    <link>http://blog.zugschlus.de/archives/704-Automatic-initialization-of-a-Option-3G-Datacard.html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/704-Automatic-initialization-of-a-Option-3G-Datacard.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=704</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=704</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
For mobile UMTS/GSM, I have been using an Option 3G Data Card for two and a half years now. I blogged about getting the
card to work (in German, sorry) on Linux in &lt;a
href=&quot;http://blog.zugschlus.de/exit.php?url_id=2314&amp;amp;entry_id=704&quot;  onmouseover=&quot;window.status=&#039;http://blog.zugschlus.de/archives/114-UMTS-unter-Linux-funktioniert.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;link to a German blog
article&quot;&gt;July 2005&lt;/a&gt;. I never found the time - until now - to automate the card initialization so that I had been
using a horrible chat script for card initialization when the PPP connection was built.
&lt;/p&gt;
&lt;p&gt;
I recently took the time to automate this, so that the PIN is transmitted to the card automatically when the card is
plugged in. This article documents what I did.
&lt;/p&gt;
&lt;p&gt;
On a side note: Unfortunately, the vendors&amp;#8217; attitude towards Linux hasn&amp;#8217;t changed since 2005. Their Hotlines
still deny that their products can be used with Linux at all, and they surely do not publish any documentation that can
be of help. Otoh, Vodafone has published a software that supposedly aids usage of their products under Linux. I
haven&amp;#8217;t tried it yet since it is not packaged yet for Debian. Additionally, Vodafone support media and sales do
not seem to know about this effort, they still deny that their products work with Linux. Windows users happily install
proprietary software products that do little more than sending a handful of AT commands to the emulated USB modem and
hand over the connection to Windows&amp;#8217; PPP Stack. A very unsatisfying situation.
&lt;/p&gt;
&lt;p&gt;
Just for the record: Dear Vodafone DE, a week ago you missed the sale of a new USB UMTS interface because you
don&amp;#8217;t even document it on Linux. This motivated me to look into the drawer that holds the old, non-HSDPA PC cards
that have been decommissioned at the customers&amp;#8217; site and use an old, used device. Your fault.
&lt;/p&gt;
 &lt;p&gt;
But now back on topic: For a data center monitoring system, I want to send out alerts as text message (for German
speakers: SMS - we have a rather strange vocabulary for mobile communications), and am reluctant to do so via IP: IP is
one of the things that can fail, so it is preferred to directly inject the text messages into the network of the
operator that provides service to the recipients of the text messages. Fortunately, most of the recipients are in the
same network.
&lt;/p&gt;
&lt;p&gt;
After evaluating current hardware solutions that could be plugged directly into the &amp;#8220;real&amp;#8221; server doing the
monitoring and running into the wall of non-support provided by the network operators and hardware vendors, I decided on
taking things a little further and to build an Ethernet-Connected text message device. An old hp compaq nc8000 (no, not
mine, mine still works fine and is in daily use) and an old, first generation Option Datacard 3G will be mounted near
the datacenter&amp;#8217;s windows and equipped with Debian and Nagios. That way, the text message device can itself monitor
the monitoring system and even send out a warning message when the data center goes out of power: It has a built-in
UPS.
&lt;/p&gt;
&lt;p&gt;
But now back on topic: For the text messages to go out reliably, it is necessary that the UMTS card is initialized
automatically when the system comes up. A great opportunity to finally address this issue for Linux, on customers&amp;#8217;
expense **grins**.
&lt;/p&gt;
&lt;p&gt;
UMTS card initialization is done in two steps: First, when the card is plugged in, the virtual OHCI host port appears.
Initialization of the virtual OHCI happens automatically. Most documentation on the web says that you now need to load
an appropriately parametrized usbserial module, and I did it this way for years, but that&amp;#8217;s not necessary any
more. CONFIG_USB_SERIAL_OPTION is a dedicated kernel module for the Option 3G data card, which gets automatically loaded
if it is available.
&lt;/p&gt;
&lt;p&gt;
If you don&amp;#8217;t have the Option module for some reason, you still need the following udev rule to automatically load
the generic USB serial module. I figured that out yesterday before I learned about the Option module in a comment made
to the original version of this article.
&lt;blockquote&gt;&lt;pre&gt;
SUBSYSTEM==&amp;#8220;usb&amp;#8221;, \
   SYSFS{idProduct}==&amp;#8220;5000&amp;#8221;, SYSFS{idVendor}==&amp;#8220;0af0&amp;#8221;, \
   ACTION==&amp;#8220;add&amp;#8221;, \
   RUN+=&amp;#8220;/sbin/modprobe usbserial vendor=0x$attr{idVendor} product=0x$attr{idProduct}&amp;#8221;

SUBSYSTEM==&amp;#8220;usb&amp;#8221;, \
   SYSFS{idProduct}==&amp;#8220;5000&amp;#8221;, SYSFS{idVendor}==&amp;#8220;0af0&amp;#8221;, \
   ACTION==&amp;#8220;remove&amp;#8221;, \
   RUN+=&amp;#8220;/sbin/modprobe -r usbserial&amp;#8221;
&lt;/pre&gt;&lt;/blockquote&gt;
Unfortunately, the usbserial and option modules stay around after the card is pulled. This doesn&amp;#8217;t hurt though.
&lt;/p&gt;
&lt;p&gt;
Next, we see three virtual serial interfaces, which we can detect via udev, and assign &amp;#8220;speaking&amp;#8221; device
names and transmit the PIN. This goes into /etc/udev/rules.d/50-option3g.rules:
&lt;blockquote&gt;&lt;pre&gt;
SUBSYSTEM==&amp;#8220;tty&amp;#8221;, SUBSYSTEMS==&amp;#8220;usb&amp;#8221;, DRIVERS==&amp;#8220;option&amp;#8221;, \
   ATTRS{bInterfaceNumber}==&amp;#8220;00&amp;#8221;, \
   ATTRS{modalias}==&amp;#8220;usb:v0AF0p5000d0000dc00dsc00dp00icFFiscFFipFF&amp;#8221;, \
   SYMLINK=&amp;#8220;UMTS-DATA&amp;#8221;

SUBSYSTEM==&amp;#8220;tty&amp;#8221;, SUBSYSTEMS==&amp;#8220;usb&amp;#8221;, DRIVERS==&amp;#8220;option&amp;#8221;, \
   ATTRS{bInterfaceNumber}==&amp;#8220;02&amp;#8221;, \
   ATTRS{modalias}==&amp;#8220;usb:v0AF0p5000d0000dc00dsc00dp00icFFiscFFipFF&amp;#8221;, \
   RUN+=&amp;#8220;/usr/local/sbin/umts-pin --device %k --symlink UMTS-CONTROL&amp;#8221;
&lt;/pre&gt;&lt;/blockquote&gt;
I am not sure what the modalias attribute identifies, but it looks like it identifies the hardware model: An identical
Option Datacard 3G, plugged into the other PC Card Slot gets properly initialized as well.
&lt;/p&gt;
&lt;p&gt;
These two udev stanzas do two different things: First, they make sure that the new devices are symlinked to
/dev/UMTS-DATA and /dev/UMTS-CONTROL, suggesting the intended use of the interface. The second virtual interface of the
3G Data Card does not seem to be useable at all, and you cannot build an actual data connection over the third. So, we
baptize the first interface /dev/UMTS-DATA and ignore the second. The third gets called /dev/UMTS-CONTROL.
&lt;/p&gt;
&lt;p&gt;
Now to the real magic: &lt;a href=&quot;http://blog.zugschlus.de/exit.php?url_id=2353&amp;amp;entry_id=704&quot;  onmouseover=&quot;window.status=&#039;http://blog.zugschlus.de/uploads/umts-pin.txt&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;Link to the actual
script&quot;&gt;/usr/local/sbin/umts-pin&lt;/a&gt; is a perl script that sends the PIN to the Card. %k gets expanded to the device
name of the device that has just been detected, so umts-pin gets called with &amp;#8220;--device ttyUSB2&amp;#8221;. Please note
that this udev stanza does not have a SYMLINK clause, but instead umts-pin creates the symlink after sending the PIN to
keep other processes from trying to grab the device before it was properly initialized.
&lt;/p&gt;
&lt;p&gt;
It makes use of Cosimo Streppone&amp;#8217;s Device::Modem module (Device::Gsm is not yet packaged for Debian and might be
of better use here) to talk to the UMTS device. Unfortunately, I have not yet fully understood the logging and answer
processing features of Device::Modem, so the implementation might look a little clumsy. I hope that it can be clearly
understood anyway.
&lt;/p&gt;
&lt;p&gt;
The actual PIN is read from a configuration file in an apache-like format, which is by default looked for in
/etc/umts/pin.conf:
&lt;blockquote&gt;&lt;pre&gt;
&amp;lt;pin&amp;gt;
        &amp;lt;default&amp;gt;
                pin xyzw
        &amp;lt;/default&amp;gt;
&amp;lt;/pin&amp;gt;
&lt;/pre&gt;&lt;/blockquote&gt;
The reason I settled for this rather complex configuration file format is that the ultimate goal is to automatically
detect which of my SIMs is currently inserted in the UMTS card and to automatically send the correct PIN. I
haven&amp;#8217;t been successful in doing so since I didn&amp;#8217;t find an AT command yet to get the UMTS card to divulge
the SIM serial number or the IMSI &lt;u&gt;before&lt;/u&gt; the PIN is transmitted to the SIM. So currently, the only things that
are supported are the &amp;#8220;default&amp;#8221; stanza and an identically formatted &amp;#8220;override&amp;#8221; stanza which
takes precedence over the default stanza if present.
&lt;/p&gt;
&lt;p&gt;
If the first attempt to send the PIN fails, the script tries again ten seconds later. On my test system, this happens
about once in twenty times. That must be some weird timing issue. So, if you have the wrong PIN configured, you&amp;#8217;ll
need the PUK after plugging in the card for the second time, since the first try will eat two of your three attempts.
Beware.
&lt;/p&gt;
&lt;p&gt;
If you feel uncomfortable with all this scripting and the &amp;#8220;quality&amp;#8221; of my code, you can also use
gammu&amp;#8217;s entersecuritycode function. I discovered this after my PIN script was already written, and gammu currently
forces you to expose the PIN on the command line (see &lt;a href=&quot;http://blog.zugschlus.de/exit.php?url_id=2317&amp;amp;entry_id=704&quot;  onmouseover=&quot;window.status=&#039;http://bugs.debian.org/484102&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;external link to
the Debian BTS&quot;&gt;#484102&lt;/a&gt;), and of course my script&amp;#8217;s PIN handling is vastly superior **grins**.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sun, 01 Jun 2008 11:17:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/704-guid.html</guid>
    <category>debian-english</category>
<category>english</category>
<category>gsm</category>
<category>hardware</category>
<category>option-3g</category>
<category>udev</category>
<category>umts</category>
<category>vodafone</category>

</item>
<item>
    <title>Meldungen, die Sie vor neun Uhr morgens nicht lesen wollen</title>
    <link>http://blog.zugschlus.de/archives/693-Meldungen,-die-Sie-vor-neun-Uhr-morgens-nicht-lesen-wollen.html</link>
            <category>Freie Software</category>
    
    <comments>http://blog.zugschlus.de/archives/693-Meldungen,-die-Sie-vor-neun-Uhr-morgens-nicht-lesen-wollen.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=693</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=693</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
&lt;quote&gt;&lt;pre&gt;
grub&gt; root (hd0,1)

Error 21: Selected disk does not exist
&lt;/pre&gt;&lt;/quote&gt;
&lt;/p&gt;
&lt;p&gt;
Glücklicherweise hat sich herausgestellt, dass grub lediglich - wenn ohne root-Rechte gestartet - eher irreführende
Fehlermeldungen absondert. Die Platte war natürlich dort wo sie erwartet wurde.
&lt;/p&gt;
  
    </content:encoded>

    <pubDate>Mon, 26 May 2008 08:52:45 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/693-guid.html</guid>
    <category>booten</category>
<category>fehlermeldungen</category>
<category>grub</category>
<category>hardware</category>
<category>platte</category>

</item>
<item>
    <title>Neue Hardware, neues Glück</title>
    <link>http://blog.zugschlus.de/archives/692-Neue-Hardware,-neues-Glueck.html</link>
            <category>Meta</category>
    
    <comments>http://blog.zugschlus.de/archives/692-Neue-Hardware,-neues-Glueck.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=692</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=692</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
&lt;a href=&quot;http://blog.zugschlus.de/exit.php?url_id=2308&amp;amp;entry_id=692&quot;  onmouseover=&quot;window.status=&#039;http://blog.zugschlus.de/archives/691-Blogausfaelle-in-Vergangenheit-und-Zukunft.html&#039;;return true;&quot; onmouseout=&quot;window.status=&#039;&#039;;return true;&quot; title=&quot;Link zu einem
anderen Artikel&quot;&gt;Die Blogausfälle&lt;/a&gt; haben jetzt hoffentlich ein Ende. Einer der anderen Nutzer dieses Servers hat
nochmal gemeckert, und dann ging es plötzlich ganz schnell. &amp;#8220;Kulanterweise&amp;#8221; wollte man dann doch die
Hardware tauschen. Wir sollen ein Backup machen, die Maschine ins Rescuesystem stellen und im Frontend auf
&amp;#8220;Neuinstallation&amp;#8221; klicken.
&lt;/p&gt;
&lt;p&gt;
Die Eingabemaske hatte plötzlich eine neue Checkbox &amp;#8220;Hardwaretausch&amp;#8221;, der gegen 13:30 Uhr am Freitag
betätigt wurde. Gegen 17.00 Uhr war der Host dann komplett down und kurz vor Mitternacht kam die Meldung, &amp;#8220;Ihr
Server wurde neu installiert&amp;#8221;. Was stimmte: Neue Hardware, neue Platte und ein neu installiertes Debian 4.0, das
unbesehen sofort wieder runterflog und durch das Backup ersetzt wurde.
&lt;/p&gt;
&lt;p&gt;
Das Restore selbst hat dann nur 45 Minuten gedauert, aber als es fertig war war der Zugschlus schon im Bett, so dass der
Normalbetrieb erst nach 20 Stunden Downtime heute morgen wieder aufgenommen werden konnte.
&lt;/p&gt;
 &lt;p&gt;
Da auf ivanova auch das Backport-Repository liegt, aus dem ich meine anderen Serversysteme mit Software versorge, war
ich irgendwie den Freitag nachmittag über ziemlich gehandicapped. Gegen 21.00 Uhr dachte ich mir &amp;#8220;das wird heute
nichts mehr&amp;#8221;, und da ich die letzten ssh-Security-Updates aber noch verteilen wollte und das Wochenende mit Ball,
Tanzturnier (als Zuschauer), dem traditionellen, 39ten Semesterendfrühstück und einer Einladung zu einer
Geburtstagsfeier eh in Stress ausartet, musste ich mir Alternativen einfallen lassen.
&lt;/p&gt;
&lt;p&gt;
Die Alternative wurde schließlich dadurch realisiert, dass ich auf dem Server, auf dem das Backup von ivanova gelandet
war, kurzerhand einen apache verpasst habe, der das entsprechende Verzeichnis aus ivanovas Backup gepublished hat und
den Hostnamen umdelegiert habe. So war ich dann schon um kurz vor halb zwei im Bett **gähn**
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sat, 17 May 2008 10:27:37 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/692-guid.html</guid>
    <category>blog</category>
<category>hardware</category>
<category>meta</category>
<category>rootserver</category>

</item>
<item>
    <title>Blogausfaelle in Vergangenheit und Zukunft</title>
    <link>http://blog.zugschlus.de/archives/691-Blogausfaelle-in-Vergangenheit-und-Zukunft.html</link>
            <category>Meta</category>
    
    <comments>http://blog.zugschlus.de/archives/691-Blogausfaelle-in-Vergangenheit-und-Zukunft.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=691</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=691</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Wie Euch sicher aufgefallen ist, war dieses Blog in den letzten Tagen öfter mal nicht erreichbar. Die Ursache hierfür
ist eine Festplatte, die ihr baldiges Ableben angekündigt hat, und ein Serververmieter, der dies nicht verstehen
möchte.
&lt;/p&gt;
&lt;p&gt;
Wir erhöhen also die Backupfrequenz und warten darauf, dass die Platte komplett den Löffel abgibt. Leider wird es bis
dahin noch mehrfach zu &amp;#8220;read only&amp;#8221; remounteten Filesystemen kommen. Viel mehr als &amp;#8220;in dieser Situation
rebooten und warten bis der Mist das nächste Mal passiert&amp;#8221; kann man leider nicht tun. Ich bin derzeit nicht
zuversichtlich, dass der Serververmieter noch das Licht sehen wird.
&lt;/p&gt;
 &lt;p&gt;
Das System faselt im Syslog alle paar Minuten von &amp;#8220;smartd[1490]: Device: /dev/hda, 49 Currently unreadable
(pending) sectors&amp;#8221;, einmal hatten wir sogar schon das gefürchtete &amp;#8220;Device: /dev/hda, FAILED SMART
self-check. BACK UP DATA NOW!&amp;#8221;. (Leider) hat die Platte danach alle manuell gestarteten SMART-Selbsttests
bestanden, und der Serververmieter scheint mir zu unterstellen, dass ich mir die Logs aus der Nase gezogen habe und aus
Spaß 120 GB sichere und wieder zurückspiele - denn er will den Fehler partout selbst sehen. Das kann ich im Augenblick
nicht bieten, und so bleibt die Platte ungetauscht.
&lt;/p&gt;
&lt;p&gt;
Bis zum nächsten Ausfall hoffe ich, dass ich auch mal wieder etwas Content zu liefern in der Lage bin, hier
geht&amp;#8217;s im Moment ordentlich rund.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Thu, 15 May 2008 14:42:53 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/691-guid.html</guid>
    <category>blog</category>
<category>hardware</category>
<category>meta</category>
<category>rootserver</category>

</item>
<item>
    <title>unbürokratischer Tausch defekter Supermarkt-USB-Sticks</title>
    <link>http://blog.zugschlus.de/archives/690-unbuerokratischer-Tausch-defekter-Supermarkt-USB-Sticks.html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/690-unbuerokratischer-Tausch-defekter-Supermarkt-USB-Sticks.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=690</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=690</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
Zu Weihnachten hat mir meine Liebste einen 2-GB-USB-Stick geschenkt. Das ist für meinen Bedarf viel zu groß, und so
habe ich den Stick erst Anfang April ausgepackt und das erste mal benutzt. Glücklicherweise für unwichtige Daten, denn
die Daten sind kaputt.
&lt;/p&gt;
 &lt;p&gt;
Moment, da war doch was. Kurz das c&amp;#8217;t-Onlineinhaltsverzeichnis bemüht, das Heft 1/2008 aus dem Archiv gezogen,
und, richtig auf Seite 24 steht&amp;#8217;s (&amp;#8220;Geschreddert statt gespeichert&amp;#8221;): Mein Bluemedia-Stick ist einer
aus der Serie, die real im Dezember verkauft hat, und die mit den ihnen anvertrauten Daten eher, äh, unzuverlässig
umgehen. In dem Artikel steht auch, betroffene Kunden könnten die Sticks unbürokratisch tauschen.
&lt;/p&gt;
&lt;p&gt;
Nur leider lässt sich real nicht beim Wort nehmen; der real-Markt in Neu-Edingen lässt mich auflaufen: &amp;#8220;Ohne
Kassenbon, und nach fünf Monaten, sorry, da können wir beim besten Willen nichts machen. Ich weiß ja nichtmal mehr,
was Sie damals dafür bezahlt haben.&amp;#8221; Auch der Hinweis, dass Weihnachtsgeschenke üblicherweise nicht mit
Kassenbons übergeben werden und dass ja selbst in der Zeitung steht, dass real die defekte Ware
&amp;#8220;unbürokratisch&amp;#8221; tauscht, lässt den mittelalterlichen Mitarbeiter nicht erweichen. Ich habe ihm den
defekten Stick geschenkt; ich kann damit sicher nichts mehr anfangen.
&lt;/p&gt;
&lt;p&gt;
Wir interpretieren also: Die Pressestelle sagt &amp;#8220;wir tauschen unbürokratisch&amp;#8221;; im Markt wird mit dem Fall
umgegangen wie mit einer hundsnormalen Reklamation. So lesen sich dann die Dinge unterschiedlich. Schade.
&lt;/p&gt;
&lt;p&gt;
Und die Moral von der Geschicht: Finger weg von Supermarktbilligware. Zuerst ist es Müll, und dann zickt Dich der
Verkäufer an. Und dabei ist die zuverlässigere und besser designte Markenware (z.B. der Sandisk Cruzer Micro, der dank
einziehbarem USB-Anschluß ohne Kappe auskommt) gar nicht mal soooo viel teurer.
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sat, 03 May 2008 20:03:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/690-guid.html</guid>
    <category>einkauf</category>
<category>hardware</category>
<category>usb-stick</category>

</item>
<item>
    <title>Was ist der Unterschied zwischen E und kein E?</title>
    <link>http://blog.zugschlus.de/archives/689-Was-ist-der-Unterschied-zwischen-E-und-kein-E.html</link>
            <category>Computer und Netze</category>
    
    <comments>http://blog.zugschlus.de/archives/689-Was-ist-der-Unterschied-zwischen-E-und-kein-E.html#comments</comments>
    <wfw:comment>http://blog.zugschlus.de/wfwcomment.php?cid=689</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://blog.zugschlus.de/rss.php?version=2.0&amp;type=comments&amp;cid=689</wfw:commentRss>
    

    <author>mh+blog-zugschlus-de@zugschlus.de (Marc 'Zugschlus' Haber)</author>
    <content:encoded>
    &lt;p&gt;
408.000 pixel.
&lt;/p&gt;
&lt;p&gt;
Ich habe auf meinem Schreibtisch seit dem letzten Sommer einen LG L2000C stehen. Das ist ein 20-Zoll-TFT im 4:3-Format
mit der Auflösung 1600x1200 und einem wunderbaren MVA-Panel. Seitdem dieser Monitor hier steht, stehe ich beim A**t auf
der Warteliste für ein zweites Gerät.
&lt;/p&gt;
&lt;p&gt;
Vor zwei Wochen haben sie mich informiert, dass ein Vorführgerät freigeworden ist und es mir für einen sehr
günstigen Pries angeboten. Ich schlug sofort zu.
&lt;/p&gt;
&lt;p&gt;
Heute wurde das lang ersehnte Paket nun reingetragen. Auf der Rechnung steht L2000C; geliefert wurde jedoch ein L2000CE.
Und wohin schlägt sich dieser eine Buchstabe nun nieder?
&lt;/p&gt;
 &lt;p&gt;
Richtig: In einem TN-Panel mit 1440x1050 Punkten Auflösung. Das ist immerhin fast eine halbe Million Pixel weniger, und
da der Sinn der Aktion eindeutig war, zwei identische Monitore auf dem Bildschirm stehen zu haben, kommt jetzt erstmal
der gebrauchte HP wieder auf die rechte Tischhälfte, und der L2000CE geht zurück zum Händler.
&lt;/p&gt;
&lt;p&gt;
Schaunmermal, wie kulant sich der A**t zeigt. 
&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sat, 03 May 2008 17:56:26 +0200</pubDate>
    <guid isPermaLink="false">http://blog.zugschlus.de/archives/689-guid.html</guid>
    <category>einkauf</category>
<category>hardware</category>
<category>monitor</category>
<category>tft</category>

</item>

</channel>
</rss>