<?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/"
      xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
>
<channel>
     

<itunes:subtitle>Hanno's blog</itunes:subtitle>
<itunes:author>Hanno's blog</itunes:author>
<itunes:summary></itunes:summary>
<itunes:image href="http://hboeck.de/itunes.jpg" />
<itunes:category text="Technology" />                
                
    <title>Hanno's blog - Gentoo</title>
    <link>http://blog.hboeck.de/</link>
    <description></description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.7-rc3 - http://www.s9y.org/</generator>
    <pubDate>Thu, 07 Feb 2013 14:08:46 GMT</pubDate>

    <image>
        <url>http://blog.hboeck.de/templates/hanno/img/s9y_banner_small.png</url>
        <title>RSS: Hanno's blog - Gentoo - </title>
        <link>http://blog.hboeck.de/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>How to configure your HTTPS server</title>
    <link>http://blog.hboeck.de/archives/814-How-to-configure-your-HTTPS-server.html</link>
            <category>Computer culture</category>
            <category>Cryptography</category>
            <category>Gentoo</category>
            <category>Linux</category>
    
    <comments>http://blog.hboeck.de/archives/814-How-to-configure-your-HTTPS-server.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=814</wfw:comment>

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

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    Yesterday, we had a meeting at &lt;a href=&quot;http://cacertberlin.wikihoster.net/whn/1._SSL-Stammtisch&quot;&gt;CAcert Berlin&lt;/a&gt; where I had a little talk about how to almost-perfectly configure your HTTPS server. Motivation for that was the very nice &lt;a href=&quot;https://www.ssllabs.com/ssltest/&quot;&gt;Qualys SSL Server test&lt;/a&gt;, which can remote-check your SSL configuration and tell you a bunch of things about it.&lt;br /&gt;
&lt;br /&gt;
While playing with that, I &lt;a href=&quot;https://fancyssl.hboeck.de/&quot;&gt;created a test setup&lt;/a&gt; which passes with 100 points in the Qualys test. However, you will hardly be able to access that page, which is mainly due to it&#039;s exclusive support for TLS 1.2. All major browsers fail. Someone from the audience told me that the iPhone browser was successfully able to access the page. To safe the reputation of free software, someone else found out that the Midori browser is also capable of accessing it. I&#039;ve described what I did there on the page itself and you may also read it &lt;a href=&quot;http://fancynossl.hboeck.de/&quot;&gt;here via http&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Here are my slides &lt;a href=&quot;http://int21.de/slides/slides_https.odp&quot;&gt;&quot;SSL, X.509, HTTPS - How to configure your HTTPS server&quot; as ODP&lt;/a&gt;, &lt;a href=&quot;http://int21.de/slides/slides_https.pdf&quot;&gt;as PDF&lt;/a&gt; and &lt;a href=&quot;http://www.slideshare.net/hannob/ssl-x509-https-how-to-configure-your-https-server&quot;&gt;on Slideshare&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
And some links mentioned in the slides:&lt;br /&gt;
&lt;a href=&quot;https://factorable.net/&quot;&gt;Check SSL and SSH weak keys due to broken random numbers&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.eff.org/observatory&quot;&gt;EFF SSL Observatory&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.eff.org/sovereign-keys&quot;&gt;Sovereign Keys proect&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Some great talks on the mentioned topics by others:&lt;br /&gt;
&lt;a href=&quot;http://media.ccc.de/browse/congress/2012/29c3-5275-en-facthacks_h264.html&quot;&gt;Facthacks Talk 29c3&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://media.ccc.de/browse/congress/2008/25c3-3023-en-making_the_theoretical_possible.html&quot;&gt;MD5 considered harmful today - Creating a rogue CA Certificate&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://media.ccc.de/browse/congress/2010/27c3-4121-en-is_the_ssliverse_a_safe_place.html&quot;&gt;Is the SSLiverse a safe place?&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update:&lt;/b&gt; As people seem to find these browser issue interesting: It&#039;s been pointed out that the iPad Browser also works. Opera with TLS 1.2 enabled seems to work for some people, but not for me (maybe Windows-only). luakit and epiphany also work, but they don&#039;t check certificates at all, so that kind of doesn&#039;t count. 
    </content:encoded>

    <pubDate>Sat, 19 Jan 2013 11:45:11 +0100</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/814-guid.html</guid>
    <category>ca</category>
<category>cacert</category>
<category>certificate</category>
<category>cryptography</category>
<category>encryption</category>
<category>https</category>
<category>security</category>
<category>ssl</category>
<category>tls</category>
<category>x509</category>

</item>
<item>
    <title>Ancient streamed audio formats</title>
    <link>http://blog.hboeck.de/archives/802-Ancient-streamed-audio-formats.html</link>
            <category>Computer culture</category>
            <category>English</category>
            <category>Gentoo</category>
            <category>Linux</category>
            <category>Music</category>
    
    <comments>http://blog.hboeck.de/archives/802-Ancient-streamed-audio-formats.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=802</wfw:comment>

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

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    I&#039;ve promised that I&#039;ll dig into some old file formats and check how well they can be accessed on today&#039;s systems with free software.&lt;br /&gt;
&lt;br /&gt;
Today, I&#039;ll start with audio formats. To begin, in general there are two kinds of audio formats. Streamed audio formats start with a more or less raw audio stream, apply some encoding and sometimes (lossless or lossy) compression. There are also tracker audio formats. They have internal information on tone pitches and instruments. Most really old computer audio files are tracker formats (like the popular C64 SID format). This blog post will be about streamed audio formats and I&#039;ll save the tracked ones for a later one.&lt;br /&gt;
&lt;br /&gt;
The file formats I&#039;ve chosen are more or less random, the main criteria being that I once stepped over them and still remember that. There&#039;s a hughe collection of all kinds of &lt;a href=&quot;http://samples.mplayerhq.hu/&quot;&gt;media file samples on the mplayer server&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The single most important project regarding exotic audio or video formats is &lt;a href=&quot;http://ffmpeg.org/&quot;&gt;ffmpeg&lt;/a&gt;, a library that does despite its name much more than decoding mpeg. All major free software media players use ffmpeg.&lt;br /&gt;
&lt;br /&gt;
The file formats I&#039;ve investigated:&lt;ul&gt;&lt;li&gt;Some of the very first files distributing music through the Internet I remember were real audio files (extension .ra or .rm) from the german punk band WIZO. Real audio has a whole bunch of variants, scanning through some of my old backups, most of them used either AC-3 or Real Audio 2.0 as their codec. Thanks to Waybach Machine, you can still &lt;a href=&quot;http://web.archive.org/web/19980118151216/http://www.punk.de/downl.html&quot;&gt;find the WIZO downloads&lt;/a&gt; (Raum der Zeit - Techno is AC-3, the others are RealAudio 2.0).&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://de.wikipedia.org/wiki/TwinVQ&quot;&gt;vqf (or TwinVQ)&lt;/a&gt; was once announced having better quality than MP3 and was discussed as its successor. However, it seems it is almost completely distinct today, I didn&#039;t find anything at all (except &lt;a href=&quot;http://samples.mplayerhq.hu/vqf/&quot;&gt;in the above mentioned sample collection&lt;/a&gt;) in vqf format for download.&lt;/li&gt;&lt;li&gt;&lt;a href=&quot;http://www.monkeysaudio.com/&quot;&gt;Monkey&#039;s audio&lt;/a&gt;, extension .ape, is a lossless audio codec, which is itself licensed under some kind of noncommercial-use-only license that doesn&#039;t qualify as free software. It&#039;s not really old, as it&#039;s still being developed, but I added it as another example of an uncommon format.&lt;/li&gt;&lt;li&gt;Shorten (extension shn) is an old lossless audio format, which was often used by the &lt;a href=&quot;http://etree.org/&quot;&gt;etree&lt;/a&gt; project that collects recordings of concerts. Today, it is mostly deprecated by flac, but the old recordings are still available.&lt;/li&gt;&lt;li&gt;voc: The popular dos floppy copying program &lt;a href=&quot;http://www.moenk.de/pages/vgacopy.html&quot;&gt;vgacopy&lt;/a&gt; had sound before I had a soundcard - it used the pc speaker to play .voc files it had shipped. It&#039;s a format used by some Creative software for their SoundBlaster. It&#039;s a more-or-less raw audio format like wav.&lt;/li&gt;&lt;/ul&gt;ffmpeg is able to decode and play all of these audio codecs. But what I found out was that this doesn&#039;t necessarily mean every application using ffmpeg can do this as well. I&#039;ve tested &lt;a href=&quot;http://www.mplayerhq.hu/design7/news.html&quot;&gt;mplayer&lt;/a&gt;, &lt;a href=&quot;http://www.xine-project.org/&quot;&gt;xine&lt;/a&gt;, &lt;a href=&quot;http://www.videolan.org/&quot;&gt;vlc&lt;/a&gt;, &lt;a href=&quot;http://audacious-media-player.org/&quot;&gt;audacious&lt;/a&gt; and &lt;a href=&quot;http://projects.gnome.org/totem/&quot;&gt;totem&lt;/a&gt; (based on &lt;a href=&quot;http://gstreamer.freedesktop.org/&quot;&gt;gstreamer&lt;/a&gt;). Although there are quite many free software media players - both for audio and video - out there, this should cover pretty much everything. Most media players use xine, vlc or gstreamer indirectly.&lt;br /&gt;
&lt;br /&gt;
&lt;table border=&quot;1&quot;&gt;&lt;tr&gt;&lt;td&gt;&amp;#160;&lt;/td&gt;&lt;td&gt;&lt;b&gt;mplayer&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;xine&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;vlc&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;audacious&lt;/b&gt;&lt;/td&gt;&lt;td&gt;&lt;b&gt;totem/gstreamer&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;ra AC3&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;text-decoration:line-through&quot;&gt;&lt;a href=&quot;https://bugs.xine-project.org/show_bug.cgi?id=461&quot;&gt;No&lt;/a&gt;&lt;/span&gt; Yes&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;td&gt;No&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;ra 2.0&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;td&gt;No&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://trac.videolan.org/vlc/ticket/5807&quot;&gt;No&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;td&gt;No&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;vqf&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://bugs.xine-project.org/show_bug.cgi?id=447&quot;&gt;No&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;td&gt;No&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;ape&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://bugs.xine-project.org/show_bug.cgi?id=141&quot;&gt;No&lt;/a&gt;&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://trac.videolan.org/vlc/ticket/5767&quot;&gt;No&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;shn&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;http://trac.videolan.org/vlc/ticket/632&quot;&gt;No&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td&gt;&lt;b&gt;voc&lt;/b&gt;&lt;/td&gt;&lt;td&gt;Yes&lt;/td&gt;&lt;td&gt;Scratchy&lt;/td&gt;&lt;td&gt;Scratchy&lt;/td&gt;&lt;td&gt;No&lt;/td&gt;&lt;td&gt;&lt;a href=&quot;https://bugzilla.gnome.org/show_bug.cgi?id=667657&quot;&gt;No&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;br /&gt;
Shorten playback has some problems, seeking often does not work, but this seems to be a limitation of the format itself. If I found feature requests for those formats, I&#039;ve linked them, I also opened a bunch of them myself.&lt;br /&gt;
&lt;br /&gt;
Conclusion: ffmpeg does a really fine job in playing all the obscure audio streaming formats. However, not every player that&#039;s based on ffmpeg plays every format ffmpeg can play. mplayer is the only player that succeeds with everything, probably because mplayer&#039;s devleopment is very tightly related to ffmpeg&#039;s development.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update:&lt;/b&gt; I forgot to mention &lt;a href=&quot;http://libav.org/&quot;&gt;libav&lt;/a&gt;. It is a fork of ffmpeg. However, there&#039;s not that much to say, as ffmpeg and libav are still quite similar in their codec support. audacious does not support libav yet, all other apps just produce the same result. 
    </content:encoded>

    <pubDate>Wed, 28 Mar 2012 01:17:00 +0200</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/802-guid.html</guid>
    <category>ape</category>
<category>audacious</category>
<category>ffmpeg</category>
<category>fileformats</category>
<category>gstreamer</category>
<category>libav</category>
<category>monkeysaudio</category>
<category>mplayer</category>
<category>realaudio</category>
<category>retro</category>
<category>retrocomputing</category>
<category>shn</category>
<category>shorten</category>
<category>totem</category>
<category>vlc</category>
<category>voc</category>
<category>vqf</category>
<category>xine</category>

</item>
<item>
    <title>Free rar unpacking code</title>
    <link>http://blog.hboeck.de/archives/794-Free-rar-unpacking-code.html</link>
            <category>Copyright</category>
            <category>English</category>
            <category>Gentoo</category>
            <category>Linux</category>
    
    <comments>http://blog.hboeck.de/archives/794-Free-rar-unpacking-code.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=794</wfw:comment>

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

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    One of the few pieces of non-free software I always needed on my system is a rar unpacker. Despite that there are very good free alternatives for high-compression archivers like &lt;a href=&quot;http://www.7-zip.org/&quot;&gt;7-zip&lt;/a&gt; or &lt;a href=&quot;http://tukaani.org/xz/&quot;&gt;tar.xz&lt;/a&gt;, many people seem to like relying on a proprietary format like rar and it&#039;s in widespread use.&lt;br /&gt;
&lt;br /&gt;
Years ago, someone came up with a &lt;a href=&quot;http://hboeck.de/archives/22-Free-Software.html &quot;&gt;GPLed rar unpacker&lt;/a&gt;, but sadly, that was never updated to support the rar version 3 format. Its development is stalled.&lt;br /&gt;
&lt;br /&gt;
For that reason, some time back I suggested to the Free Software Foundation to add a free rar unpacking tool to their list of high priority projects - they did so. Happily I recently read that &lt;a href=&quot;http://www.fsf.org/blogs/licensing/free-rarv3-extraction&quot;&gt;they&#039;ve removed it&lt;/a&gt;. There&#039;s &lt;a href=&quot;http://wakaba.c3.cx/s/apps/unarchiver.html&quot;&gt;The Unarchiver&lt;/a&gt; now, based on an old amiga library. It supports a whole bunch of formats - including rar v3. It&#039;s mainly a MacOS application, but it also provides a command line tool that can be compiled in Linux.&lt;br /&gt;
&lt;br /&gt;
It needs objective C, the gnustep-base libraries and it took me some time to get it to compile properly. For the Gentoo-users: I already committed an ebuild, just run &quot;emerge unar&quot;.&lt;span style=&quot;text-decoration:line-through&quot;&gt;emerge TheUnarchiver&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update:&lt;/b&gt; Changed ebuild name to unar, as that&#039;s the name upstream uses for the command line version now. 
    </content:encoded>

    <pubDate>Sat, 08 Oct 2011 20:03:10 +0200</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/794-guid.html</guid>
    <category>compression</category>
<category>freesoftware</category>
<category>linux</category>
<category>rar</category>
<category>theunarchiver</category>
<category>unar</category>

</item>
<item>
    <title>The sad state of the Linux Desktop</title>
    <link>http://blog.hboeck.de/archives/787-The-sad-state-of-the-Linux-Desktop.html</link>
            <category>English</category>
            <category>Gentoo</category>
            <category>Linux</category>
    
    <comments>http://blog.hboeck.de/archives/787-The-sad-state-of-the-Linux-Desktop.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=787</wfw:comment>

    <slash:comments>59</slash:comments>
    <wfw:commentRss>http://blog.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=787</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    &lt;!-- s9ymdb:333 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;300&quot; height=&quot;353&quot;  src=&quot;http://blog.hboeck.de/uploads/tux.png&quot;  alt=&quot;Tux&quot; /&gt;Some days ago it was reported that Microsoft declared it considers &lt;a href=&quot;http://www.zdnet.com/blog/bott/microsoft-declares-victory-over-linux-names-apple-and-google-main-rivals/3756&quot;&gt;Linux on the desktop no longer a threat&lt;/a&gt; for its business. Now I usually wouldn&#039;t care that much what Microsoft is saying, but in this case, I think, they&#039;re very right – and thererfore I wonder why this hasn&#039;t raised any discussions in the free software community (at least I haven&#039;t seen one – if it has and I missed it, please provide links in the comments). So I&#039;d like to make a start.&lt;br /&gt;
&lt;br /&gt;
A few years ago, I can remember that I was pretty optimistic about a Linux-based Desktop (and I think many shared my views). It seemed with advantages like being able to provide a large number of high quality applications for free and having proven to be much more resilient against security threats it was just a matter of time. I had the impression that development was often going into the right direction, just to name one example freedesktop.org was just starting to try to unify the different Linux desktop environments and make standards so KDE applications work better under GNOME and vice versa.&lt;br /&gt;
&lt;br /&gt;
Today, my impression is that everything is in a pretty sad state. Don&#039;t get me wrong: Free software plays an important role on Desktops – and that&#039;s really good. Major web browsers are based on free software, applications like VLC are very successful. But the basis – the operating system – is usually a non-free one.&lt;br /&gt;
&lt;br /&gt;
I recently was looking for netbooks. Some years ago, Asus came out with the Eee PC, a small and cheap laptop which ran Linux by default – one year later they provided a version with Windows as an alternative. Today, you won&#039;t find a single Netbook with Linux as the default OS. I read more often than not in recent years that public authorities &lt;a href=&quot;http://www.golem.de/1105/83460.html&quot;&gt;trying to get along with Linux have failed&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I think I made my point; the Linux Desktop is in a sad state – I&#039;d like to discuss why this is the case and how we (the free software community) can change it. I won&#039;t claim that I have the definite answer for the cause. I think it&#039;s a mix of things, I&#039;d like to start with some points:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Some people seem to see Desktop environments more as a playground for creative ideas than something other people want to use on a daily basis in a stable way. This is pretty much true for KDE 4 – the KDE team abandoned a well-working Desktop environment KDE 3.5 for something that isn&#039;t stable even today and suffers from a lot of regressions. They permanently invent new things like Akonadi and make them mandatory even for people who don&#039;t care about them – I seriously don&#039;t have an idea what it does, except throwing strange error messages at me. I switched to GNOME, but what I heard about GNOME 3 doesn&#039;t make me feel that it&#039;s much better there (I haven&#039;t tested it yet and I hope that, unlike the KDE-team, GNOME learns from that and supports 2.x until version 3 is in a state working equally well). I think Ubuntu&#039;s playing with the Unity Desktop go in the same direction: We found something cool, we&#039;ll use it, we don&#039;t care that we&#039;ll piss of a bunch of our users. In contrast to that, I have the impression that what I named above – the idea that we can integrate different desktop environments better by standards – isn&#039;t seen as important as it used to be. (I know this part may provoke flames, I hope this won&#039;t hide the other points I made)&lt;/li&gt;&lt;li&gt;The driver problem. I still encounter it to be one of the biggest obstacles and it hasn&#039;t changed a bit for years. You just can&#039;t buy a piece of hardware and use it. It usually is “somehow possible”, but the default is that it requires a lot of extra geeky work that the average user will never manage. I think there&#039;s no easy solution to that, as it would require cooperation from hardware vendors (and with diminishing importance of the Linux Desktop this is likely getting harder). But a lot of things are also self-made. In 2006, Eric Raymond wrote an essay &lt;a href=&quot;http://catb.org/~esr/writings/cups-horror.html&quot;&gt;how crappy CUPS is&lt;/a&gt; – I think it hasn&#039;t improved since then. How often have I read Ubuntu bug reports that go like this: “My printer worked in version [last version], but it doesn&#039;t work in [current version]” - “Me too.” - “Me too.” - “Me too” - no reply from any developer. One point that this shares with the one above is the caring about regressions, which I think should be a top priority, but obviously, many in the free software community don&#039;t seem to think so. (if you don&#039;t know the word: something is called a regression if something worked in an older version of a software, but no longer works in the current version)&lt;/li&gt;&lt;li&gt;The market around us has changed. Back then, we were faced with a “Windows or nothing” situation we wanted to change to a “Windows or Linux” situation. Today, we&#039;re faced with “Windows or MacOS X”. Sure, MacOS existed back then, but it only got a relevant market share in recent years (and many current or former free software developers use MacOS X now). Competition makes products better, so Windows today is not Windows back then. Our competitors just got better.&lt;/li&gt;&lt;li&gt;The desktop is loosing share. This is a point often made, with mobile phones, tablets, gaming consoles and other devices taking over tasks that were done with desktop computers in the past. This is certainly true for some degree, but I think it&#039;s also often overestimated. Desktop computers still play an important role and I&#039;m sure they will continue to do so for a long time. The discussion how free software performs on other devices (and how free Android is) is an interesting one, too, but I won&#039;t go into it for now, as I want to talk about the Desktop here.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;
Okay, I&#039;ve started the discussion, I&#039;d like others to join. Please remember: It&#039;s not my goal to flame or to blame anyone – my goal is to discuss how we can make the Linux desktop successful again. 
    </content:encoded>

    <pubDate>Sun, 21 Aug 2011 21:30:02 +0200</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/787-guid.html</guid>
    <category>desktop</category>
<category>freesoftware</category>
<category>gnome</category>
<category>kde</category>
<category>linux</category>
<category>microsoft</category>

</item>
<item>
    <title>Visa</title>
    <link>http://blog.hboeck.de/archives/781-Visa.html</link>
            <category>English</category>
            <category>Gentoo</category>
            <category>Politics</category>
    
    <comments>http://blog.hboeck.de/archives/781-Visa.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=781</wfw:comment>

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

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    &lt;!-- s9ymdb:325 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;300&quot; height=&quot;201&quot;  src=&quot;http://blog.hboeck.de/uploads/visum-russland.jpg&quot;  alt=&quot;Russian visa&quot; /&gt;For our trip, we needed a couple of visa. I haven&#039;t applied myself for a visa any time before, so this was quite new to me. This was the most troublesome part of our travel preparations.&lt;br /&gt;
&lt;br /&gt;
What I learned about getting visa:&lt;br /&gt;
- Every country has different rules for visa.&lt;br /&gt;
- You cannot apply for several visa at once - they take your passport. That means you have to add all the waiting times and cannot apply for more than one at once (this may seem trivial if you know the procedure, but I didn&#039;t).&lt;br /&gt;
- The information on the consulates webpages is often incomplete or inaccurate. (For example, if you have a 30 day visa: Does that mean 30 days starting from your entry to the country? Or 30 days starting from a fixed date you have to know in advance? Pretty relevant if you plan your trip.)&lt;br /&gt;
- If you phone a consulate, they won&#039;t answer. If you email a consulate, they won&#039;t answer.&lt;br /&gt;
- You cannot expect that anyone in the consulate is able to speak to you in a language you understand.&lt;br /&gt;
- You cannot expect that information you got from people in the consulate is correct.&lt;br /&gt;
- Usually, the best way to get information is searching the internet for people who have done the same thing before. There are specialized companies that arrange your visa, but the information you get from them is also often inaccurate.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- s9ymdb:327 --&gt;&lt;img class=&quot;serendipity_image_left&quot; width=&quot;300&quot; height=&quot;225&quot;  src=&quot;http://blog.hboeck.de/uploads/visa-belarus.jpg&quot;  alt=&quot;Belarus visa&quot; /&gt;In the end, we applied for 6 different visa (Russia, Mongolia, Belarus, China, Kazakhstan, Azerbaijan), although we didn&#039;t use them all in the end (see previous blog entry).&lt;br /&gt;
The most difficult part was the russian one. That was, in the end, the reason we couldn&#039;t make the trip the way we wanted to (taking the transsiberian train for both directions with stops). They have a kind of bizzare regulation regarding invitations: You need an invitation to apply for a russian tourist visa. This has evolved a market for agencies that arrange invitations. That means you pay them that they do a fake booking in a hotel you will never see in reality and get an invitation from them.&lt;br /&gt;
Another anecdote: When asking for the &quot;two-way&quot;-problem in the embassy, they gave us a contact to a travel agency that will help us. This travel agency suggested we could get two passports and thus apply for two visa - that would&#039;ve been illegal according to russian law. I had no intention in seeing a russian jail from inside, so I refused to choose that option.&lt;br /&gt;
&lt;br /&gt;
You see, it&#039;s a pretty complex issue. But there&#039;s one thing one should mention, too: It&#039;s not the russian (or other countries) authorities that are to blame here. Russia is very willing to relax its visa rules. They &lt;a href=&quot;http://en.rian.ru/russia/20100602/159272859.html&quot;&gt;even suggested several times to abbadon the visa requirement for EU citizens at all&lt;/a&gt;. They just have one requirement: The regulation should be relaxed for their citizens, too. Everything I&#039;ve heared suggests that russians trying to get a visa for Germany and other EU countries face more difficulties than the other way round. It&#039;s the EU that is blocking here.&lt;br /&gt;
&lt;br /&gt;
If you want visa regulations to be relaxed, you&#039;d better not only blame other countries regulations. You should also ask how regulation is the other way round. Looking at the current political debate in the EU, I don&#039;t have much hope that the situation will improve soon.&lt;br /&gt;
&lt;br /&gt;
(the pictures are from Wikimedia Commons &lt;a href=&quot;http://commons.wikimedia.org/wiki/File:Visum_Russland_2008rev.jpg?uselang=de&quot;&gt;here (Russia)&lt;/a&gt; and &lt;a href=&quot;http://commons.wikimedia.org/wiki/File:Wiza_bia%C5%82oruska.JPG&quot;&gt;here (Belarus)&lt;/a&gt; and are public domain) 
    </content:encoded>

    <pubDate>Fri, 15 Jul 2011 22:56:36 +0200</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/781-guid.html</guid>
    <category>asia</category>
<category>azerbaijan</category>
<category>belarus</category>
<category>china</category>
<category>kazakhstan</category>
<category>mongolia</category>
<category>russia</category>
<category>travel</category>
<category>trip2011</category>
<category>visa</category>

</item>
<item>
    <title>Goodbye 3DBD3B20, welcome BBB51E42</title>
    <link>http://blog.hboeck.de/archives/750-Goodbye-3DBD3B20,-welcome-BBB51E42.html</link>
            <category>Cryptography</category>
            <category>English</category>
            <category>Gentoo</category>
            <category>Linux</category>
            <category>Security</category>
    
    <comments>http://blog.hboeck.de/archives/750-Goodbye-3DBD3B20,-welcome-BBB51E42.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=750</wfw:comment>

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

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    Having used my PGP key &lt;a href=&quot;http://pgp.mit.edu:11371/pks/lookup?op=get&amp;amp;search=0xAF6424B13DBD3B20&quot;&gt;3DBD3B20&lt;/a&gt; for almost eight years, it&#039;s finally time for a new one: &lt;span style=&quot;text-decoration: line-through;&quot;&gt;4F9F43A9&lt;/span&gt;. The old primary key was a 1024 bit DSA key, which had two drawbacks:&lt;br /&gt;
1. 1024 bit keys for DLP or factoring based algorithms are &lt;a href=&quot;http://media.ccc.de/browse/congress/2003/20C3-546-1024_bit_RSA_ist_unsicher.html&quot;&gt;considered insecure&lt;/a&gt;.&lt;br /&gt;
2. It&#039;s impossible to set the used hash algorithm to &lt;a href=&quot;http://www.debian-administration.org/users/dkg/weblog/48&quot;&gt;anything beyond SHA-1&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
My new key has 4096 bits key size (&lt;a href=&quot;http://lists.gnupg.org/pipermail/gnupg-announce/2009q3/000294.html&quot;&gt;2048 bit is the default of GnuPG since 2.0.13&lt;/a&gt; and should be fairly enough, but I wanted some extra security) and the default hash algorithm preference is SHA-256. I had to make a couple of decisions for my name in the key:&lt;br /&gt;
1. I&#039;m usually called Hanno, but my real/official name is Johannes.&lt;br /&gt;
2. My surname has a special character (ö) in it, which can be represented as oe.&lt;br /&gt;
&lt;br /&gt;
In my previous keys, I&#039;ve mixed this. I decided against this for the new key, because both my inofficial prename Hanno and my umlaut-converted surname Boeck are part of my mail adress, so people should still be able to find my key if they&#039;re searching for that.&lt;br /&gt;
&lt;br /&gt;
Another decision was the time I wanted my key to be valid. I&#039;ve decided to give it an expiration date, but a fairly long one: 10 years from now.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve signed my new key with my old key, so if you&#039;ve signed my old one, you should be able to verify the new one. I leave it up to you if you decide to sign my new key or if you want to re-new the signing procedure. I&#039;ll start from scratch and won&#039;t sign any keys I&#039;ve signed with the old key automatically with the new one. If you want to key-sign with me, you may find me on the 27C3 within the next days.&lt;br /&gt;
&lt;br /&gt;
My old key will be valid for a while, at some time in the future I&#039;ll probably revoke it.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update:&lt;/b&gt; I just found out that having a key without SHA-1 is trickier than I thought. The self-signatures were still SHA-1. I could re-do the self-signatures and revoke the old ones, but that&#039;d clutter the key with a lot of useless cruft and as the new key wasn&#039;t around long and didn&#039;t get any signatures I couldn&#039;t get easily again, I decided to start over again: The new key is &lt;a href=&quot;http://pgp.mit.edu:11371/pks/lookup?op=get&amp;amp;search=0xA5880072BBB51E42&quot;&gt;BBB51E42&lt;/a&gt; and the other one will be revoked.&lt;br /&gt;
I&#039;ll write another blog entry to document how you can create your own SHA-256 only key. 
    </content:encoded>

    <pubDate>Sun, 26 Dec 2010 18:16:16 +0100</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/750-guid.html</guid>
    <category>cryptography</category>
<category>datenschutz</category>
<category>encryption</category>
<category>gnupg</category>
<category>gpg</category>
<category>key</category>
<category>pgp</category>
<category>privacy</category>
<category>schlüssel</category>
<category>security</category>
<category>sha1</category>
<category>sha2</category>
<category>verschlüsselung</category>

</item>
<item>
    <title>overheatd - is your CPU too hot?</title>
    <link>http://blog.hboeck.de/archives/745-overheatd-is-your-CPU-too-hot.html</link>
            <category>Code</category>
            <category>English</category>
            <category>Gentoo</category>
            <category>Linux</category>
    
    <comments>http://blog.hboeck.de/archives/745-overheatd-is-your-CPU-too-hot.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=745</wfw:comment>

    <slash:comments>13</slash:comments>
    <wfw:commentRss>http://blog.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=745</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    &lt;i&gt;&lt;b&gt;Update:&lt;/b&gt; I got some nice hints in the comments. &lt;a href=&quot;http://www.linux.it/~malattia/wiki/index.php/Cpufreqd&quot;&gt;cpufreqd&lt;/a&gt; also includes this functionality and is probably the much more advanced solution. Also, I got a hint to &lt;a href=&quot;http://www.linux-phc.org/&quot;&gt;linux-PHC&lt;/a&gt;, which allows undervolting a CPU and thus also saves energy.&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
I recently quite often had the problem that &lt;a href=&quot;http://www.int21.de/t61/&quot;&gt;my system&lt;/a&gt; suddenly was shutting down. The reason was that when my processor got beyond 100 °C, my kernel decided that it&#039;s better to do so. I don&#039;t really know what caused this, but anyway, I needed a solution.&lt;br /&gt;
&lt;br /&gt;
So i hacked together &lt;a href=&quot;http://www.int21.de/overheatd/&quot;&gt;overheatd&lt;/a&gt;. A very effective way of cooling down a CPU is reducing its speed / frequency. Pretty much any modern CPU can do that and on Linux this can be controlled via the cpufreq interface. I wrote a little daemon that simply checks every 5 seconds (adjustable) if the temperature is over a certain treshold (90 °C default, also adjustable) and if yes, it sets cpufreq to the powersave governor (which means lowest speed possible). When the temperature is below or at 90 °C again, it&#039;s set back to the (default) ondemand governor. It also works for more than one CPU (I have a dual core), though it&#039;s very likely that it has bugs as soon as one goes beyond 10 CPUs - but I have no way to test this. Feel free to report bugs.&lt;br /&gt;
&lt;br /&gt;
This could be made more sophisticated (not going to the lowest frequency but step by step to lower frequencies), but it does its job quite well for now. It might be a good idea to support something like this directly in the kernel (I wonder why that isn&#039;t the case already - it&#039;s pretty obvious), but that would probably involve a skilled kernel-hacker. 
    </content:encoded>

    <pubDate>Fri, 22 Oct 2010 23:15:29 +0200</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/745-guid.html</guid>
    <category>cpu</category>
<category>cpufreq</category>
<category>linux</category>
<category>overheatd</category>
<category>overheating</category>

</item>
<item>
    <title>Free and open source developers meeting (FOSDEM)</title>
    <link>http://blog.hboeck.de/archives/732-Free-and-open-source-developers-meeting-FOSDEM.html</link>
            <category>Code</category>
            <category>Computer culture</category>
            <category>Copyright</category>
            <category>English</category>
            <category>Gentoo</category>
            <category>Life</category>
            <category>Linux</category>
    
    <comments>http://blog.hboeck.de/archives/732-Free-and-open-source-developers-meeting-FOSDEM.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=732</wfw:comment>

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

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    &lt;!-- s9ymdb:270 --&gt;&lt;img class=&quot;serendipity_image_right&quot; width=&quot;300&quot; height=&quot;225&quot;  src=&quot;http://blog.hboeck.de/uploads/fosdem2010.jpg&quot;  alt=&quot;FOSDEM talk&quot; /&gt;After reading a lot about interesting stuff happening at this years &lt;a href=&quot;http://www.fosdem.org/&quot;&gt;FOSDEM&lt;/a&gt;, I decided very short term to go there. The FOSDEM in Brussels is probably one of the biggest (if not the biggest at all) meetings of free software developers. Unlike similar events (like several Linuxtag-events in Germany), it&#039;s focus is mainly on developers, so the talks are more high level.&lt;br /&gt;
&lt;br /&gt;
My impressions from FOSDEM so far: There are much more people compared when I was here a few years ago, so it seems the number of free software developers is inceasing (which is great). The interest focus seems to be to extend free software to other areas. Embedded devices, the BIOS, open hardware (lot&#039;s of interest in 3D-printers).&lt;br /&gt;
&lt;br /&gt;
Yesterday morning, there was a quite interesting talk by &lt;a href=&quot;http://www.cl.cam.ac.uk/~rnc1/&quot;&gt;Richard Clayton&lt;/a&gt; about Phishing, Scam etc. with lots of statistics and info about the supposed business models behind it. Afterwards I had a nice chat with some developers from &lt;a href=&quot;http://openinkpot.org/&quot;&gt;OpenInkpot&lt;/a&gt;. There was a big interest in the &lt;a href=&quot;http://www.coreboot.org/&quot;&gt;Coreboot&lt;/a&gt;-talk, so I (and many others) just didn&#039;t get in because it was full.&lt;br /&gt;
&lt;br /&gt;
Later Gentoo-developer &lt;a href=&quot;http://blogs.gentoo.org/betelgeuse&quot;&gt;Petteri Räty&lt;/a&gt; gave a talk about &quot;How to be a good upstream&quot; and I&#039;d suggest every free software developer to have a look on that (I&#039;ll put the link here later).&lt;br /&gt;
&lt;br /&gt;
I&#039;ve just attended a rather interesting talk about 3D-printers like &lt;a href=&quot;http://reprap.org/&quot;&gt;RepRap&lt;/a&gt; and &lt;a href=&quot;http://makerbot.com/&quot;&gt;MakerBot&lt;/a&gt;.&lt;img src=&quot;http://vg04.met.vgwort.de/na/458b95b832d64331b78253f847821853&quot; width=&quot;1&quot; height=&quot;1&quot; alt=&quot;&quot;/&gt; 
    </content:encoded>

    <pubDate>Sun, 07 Feb 2010 10:34:05 +0100</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/732-guid.html</guid>
    <category>fosdem fosdem2010 freesoftware linux reprap makerb</category>

</item>
<item>
    <title>SSL-Certificates with SHA256 signature</title>
    <link>http://blog.hboeck.de/archives/730-SSL-Certificates-with-SHA256-signature.html</link>
            <category>Cryptography</category>
            <category>English</category>
            <category>Gentoo</category>
            <category>Linux</category>
            <category>Security</category>
    
    <comments>http://blog.hboeck.de/archives/730-SSL-Certificates-with-SHA256-signature.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=730</wfw:comment>

    <slash:comments>14</slash:comments>
    <wfw:commentRss>http://blog.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=730</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    At least since 2005 it&#039;s &lt;a href=&quot;http://www.schneier.com/blog/archives/2005/02/sha1_broken.html&quot;&gt;well known&lt;/a&gt; that the cryptographic hash function SHA1 is seriously flawed and it&#039;s only a matter of time until it will be broken. However, it&#039;s still widely used and it can be expected that it&#039;ll be used long enough to allow real world attacks (as it happened with &lt;a href=&quot;http://events.ccc.de/congress/2008/Fahrplan/events/3023.en.html&quot;&gt;MD5 before&lt;/a&gt;). The NIST (the US National Institute of Standards and Technology) suggests not to use SHA1 after 2010, the german BSI (Bundesamt für Sicherheit in der Informationstechnik) says they should&#039;ve been fadet out by the end of 2009.&lt;br /&gt;
&lt;br /&gt;
The probably most widely used encryption protocol is SSL. It is a protocol that can operate on top of many other internet protocols and is for example widely used for banking accounts.&lt;br /&gt;
&lt;br /&gt;
As SSL is a pretty complex protocol, it needs hash functions at various places, here I&#039;m just looking at one of them. The signatures created by the certificate authorities. Every SSL certificate is signed by a CA, even if you generate SSL certificates yourself, they are self-signed, meaning that the certificate itself is it&#039;s own CA. From what I know, despite the suggestions mentioned above no big CA will give you certificates signed with anything better than SHA1. You can check this with:&lt;br /&gt;
&lt;b&gt;openssl x509 -text -in [your ssl certificate]&lt;/b&gt;&lt;br /&gt;
Look for &quot;Signature Algorithm&quot;. It&#039;ll most likely say sha1WithRSAEncryption. If your CA is good, it&#039;ll show sha256WithRSAEncryption. If your CA is really bad, it may show md5WithRSAEncryption.&lt;br /&gt;
&lt;br /&gt;
When asking for SHA256 support, you often get the answer that the software still has problems, it&#039;s not ready yet. When asking for more information I never got answers. So I tried it myself. On an up-to-date apache webserver with mod_ssl, it was no problem to install a SHA256 signed certificate based on a SHA256 signed test CA. All browsers I&#039;ve tried (Firefox 3.6, Konqueror 4.3.5, Opera 10.10, IE8 and even IE6) had no problem with it. You can check it out at &lt;a href=&quot;https://sha2.hboeck.de/&quot;&gt;https://sha2.hboeck.de/&lt;/a&gt;. You will get a certificate warning (obviously, as it&#039;s signed by my own test CA), but you&#039;ll be able to view the page. If you want to test it without warnings, you can also &lt;a href=&quot;http://sha2.hboeck.de/sha2.crt&quot;&gt;import the CA certificate&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
I&#039;d be interested if this causes any problems (on server or on client side), so please leave a comment if you are aware of any incompatibilities.&lt;img src=&quot;http://vg06.met.vgwort.de/na/9134fb07c35147c389e6d15c267b2a60&quot; width=&quot;1&quot; height=&quot;1&quot; alt=&quot;&quot;/&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update:&lt;/b&gt; By request in the comments, I&#039;ve also created a &lt;a href=&quot;https://sha512.hboeck.de/&quot;&gt;SHA512 testcase&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update 2:&lt;/b&gt; StartSSL wrote me that they tried providing SHA256-certificates about a year ago and had too many problems - it wasn&#039;t very specific but they mentioned that earlier Windows XP and Windows 2003 Server versions may have problems. 
    </content:encoded>

    <pubDate>Mon, 01 Feb 2010 23:23:34 +0100</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/730-guid.html</guid>
    <category>ca</category>
<category>cryptography</category>
<category>hash</category>
<category>md5</category>
<category>security</category>
<category>sha1</category>
<category>sha2</category>
<category>sha256</category>
<category>ssl</category>

</item>
<item>
    <title>BIOS update by extracting HD image from ISO</title>
    <link>http://blog.hboeck.de/archives/726-BIOS-update-by-extracting-HD-image-from-ISO.html</link>
            <category>English</category>
            <category>Gentoo</category>
            <category>Linux</category>
    
    <comments>http://blog.hboeck.de/archives/726-BIOS-update-by-extracting-HD-image-from-ISO.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=726</wfw:comment>

    <slash:comments>8</slash:comments>
    <wfw:commentRss>http://blog.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=726</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    Today I faced an interesting Linux problem that made me learn a couple of things I&#039;d like to share. At first, we found an issue on a Thinkpad X301 notebook that was fixed in a newer BIOS version. So we wanted to do a BIOS update. Lenovo provides BIOS updates either for Windows or as bootable ISO CD-images. But the device had no CD-drive and only Linux installed. First we tried &lt;a href=&quot;http://unetbootin.sourceforge.net/&quot;&gt;unetbootin&lt;/a&gt;, a tool to create bootable USB sticks out of ISO-Images. That didn&#039;t work.&lt;br /&gt;
So I had a deeper look at the ISO. What puzzled me was that when mounting it as a loopback device, there were no files on it. After some research I learned that there are different ways to create bootable CDs and one of them is the El Torito extension. It places an image of a harddisk on the CD, when booting, the image is loaded into memory and an OS can be executed (this probably only works for quite simple OSes like DOS, the Lenovo BIOS Upgrade disk is based on PC-DOS). There&#039;s a small PERL-script called &lt;a href=&quot;http://userpages.uni-koblenz.de/~krienke/ftp/noarch/geteltorito&quot;&gt;geteltorito&lt;/a&gt; that is able to extract such images from ISO files.&lt;br /&gt;
It&#039;s possible to boot such harddisk images with grub and &lt;a href=&quot;http://syslinux.zytor.com/wiki/index.php/MEMDISK&quot;&gt;memdisk&lt;/a&gt; (part of syslinux). Install syslinux, place the file memdisk into /boot (found in /usr/lib/syslinux/ or /usr/share/syslinux/) and add something like this to your grub config:&lt;br /&gt;
&lt;div class=&quot;box&quot;&gt;title HD Image&lt;br /&gt;
root (hd0,0)&lt;br /&gt;
kernel /boot/memdisk&lt;br /&gt;
initrd /boot/image.img&lt;/div&gt;&lt;br /&gt;
Or for grub2:&lt;br /&gt;
&lt;div class=&quot;box&quot;&gt;menuentry &quot;HD Image&quot; {&lt;br /&gt;
set root=(hd0,2)&lt;br /&gt;
linux16 /boot/memdisk&lt;br /&gt;
initrd16 /boot/hdimage.img&lt;br /&gt;
}&lt;/div&gt;&lt;br /&gt;
Now you can select bios update in your boot menu and it should boot the BIOS upgrade utility.&lt;br /&gt;
&lt;br /&gt;
(Note that this does not work for all Lenovo BIOS updates, only for those using an El Torito harddisk image - you can mount your iso with &lt;b&gt;mount -o loop [path_to_iso] [mount_path]&lt;/b&gt; to check, if there are any files, this method is not for you) 
    </content:encoded>

    <pubDate>Thu, 14 Jan 2010 21:16:17 +0100</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/726-guid.html</guid>
    <category>bios</category>
<category>eltorito</category>
<category>freesoftware</category>
<category>grub</category>
<category>iso</category>
<category>linux</category>
<category>memdisk</category>
<category>syslinux</category>
<category>thinkpad</category>

</item>
<item>
    <title>Gentoo is dangerous for children</title>
    <link>http://blog.hboeck.de/archives/705-Gentoo-is-dangerous-for-children.html</link>
            <category>Computer culture</category>
            <category>English</category>
            <category>Gentoo</category>
            <category>Politics</category>
    
    <comments>http://blog.hboeck.de/archives/705-Gentoo-is-dangerous-for-children.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=705</wfw:comment>

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

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    &lt;a href=&quot;http://blog.scherbaum.info/2009/05/22/achtung-gentoo-ist-jugendgefahrdend-frei-ab-14/&quot;&gt;Tobias Scherbaum already blogged this&lt;/a&gt;, but only in german, so I&#039;m writing this again for the Planet Gentoo readers.&lt;br /&gt;
&lt;br /&gt;
A german webpage called jugendschutzprogramm.de provides filters for webpages potentially dangerous for children. Now some people noticed that this page considers quite a lot dangerous.&lt;br /&gt;
&lt;br /&gt;
Both gentoo.de and gentoo.org are considered only suitable for people over 14. So if you ever thought about installing Gentoo on the PC of a kid, think again what you might do to that kid.&lt;br /&gt;
&lt;br /&gt;
Beside, my blog is even more dangerous: It&#039;s blocked by default.&lt;br /&gt;
&lt;br /&gt;
The page is supported by a couple of companies providing pornographic content. Interesting enough, it&#039;s also supported by a big german Newspaper (BILD) that regularly has pornographic images on their frontpage. However, their page is considered harmless.&lt;br /&gt;
&lt;br /&gt;
But what&#039;s really frightening is that jugendschutzprogramm.de is part of &lt;a href=&quot;http://en.wikipedia.org/wiki/Internet_Content_Rating_Association&quot;&gt;ICRA&lt;/a&gt;, an international system by big content and internet providers. It&#039;s even supported by the european union.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update:&lt;/b&gt; Page has XSS, maybe someone wants to play with it?&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;lt;form action=&quot;http://jugendschutzprogramm.de/webmaster/label-generator.php&quot; method=&quot;post&quot;&amp;gt;&lt;br /&gt;
&amp;lt;input name=&quot;URL&quot; value=&#039;&quot;&amp;gt;&amp;lt;script&amp;gt;alert(1)&amp;lt;/script&amp;gt;&#039; type=&quot;text&quot;&amp;gt;&lt;br /&gt;
&amp;lt;input name=&quot;submit&quot; type=&quot;submit&quot;&amp;gt;&lt;br /&gt;
&amp;lt;/form&amp;gt;&lt;/i&gt; 
    </content:encoded>

    <pubDate>Sat, 23 May 2009 12:46:05 +0200</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/705-guid.html</guid>
    <category>censorship</category>
<category>freedomofspeech</category>
<category>gentoo</category>
<category>politics</category>
<category>zensur</category>

</item>
<item>
    <title>USB hard drives with SMART</title>
    <link>http://blog.hboeck.de/archives/703-USB-hard-drives-with-SMART.html</link>
            <category>English</category>
            <category>Gentoo</category>
            <category>Linux</category>
    
    <comments>http://blog.hboeck.de/archives/703-USB-hard-drives-with-SMART.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=703</wfw:comment>

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

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    A common way to check the health state of a hard disk is SMART. It gives various informations about occuring errors. In Linux, there&#039;s the &lt;a href=&quot;http://smartmontools.sourceforge.net/&quot;&gt;smartmontools&lt;/a&gt; package containing tools to read SMART data of hard drives (smartctl -a /dev/[hddevice] gives you a bunch of information).&lt;br /&gt;
&lt;br /&gt;
I found it always frustrating that SMART didn&#039;t work with USB drives. It&#039;s a standard bound to IDE/ATA. Although common USB-drives are internally IDE/SATA, sending the SMART commands to the drive requires proprietary extensions. But now, the smartmontools-developers have included support for some USB drives. It worked with the USB HDs I had available for testing.&lt;br /&gt;
&lt;br /&gt;
There&#039;s no release yet containing the USB-support. If you&#039;re on Gentoo, you can fetch a live-CVS ebuild &lt;a href=&quot;https://svn.hboeck.de/overlay/sys-apps/smartmontools/&quot;&gt;here&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Thu, 07 May 2009 21:08:18 +0200</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/703-guid.html</guid>
    <category>harddisk</category>
<category>linux</category>
<category>smart</category>
<category>smartmontools</category>
<category>usb</category>

</item>
<item>
    <title>Filling the proprietary gaps: Real Video (RV30/RV40) support in ffmpeg</title>
    <link>http://blog.hboeck.de/archives/676-Filling-the-proprietary-gaps-Real-Video-RV30RV40-support-in-ffmpeg.html</link>
            <category>Copyright</category>
            <category>English</category>
            <category>Gentoo</category>
            <category>Linux</category>
            <category>Movies</category>
    
    <comments>http://blog.hboeck.de/archives/676-Filling-the-proprietary-gaps-Real-Video-RV30RV40-support-in-ffmpeg.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=676</wfw:comment>

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

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    The free software projects for media playing did a good job in the past on supporting a wide variety of formats. From the common to many very obscure formats, current versions of the free software mediaplayers were usually able to play them. Today it&#039;s even common to suggest vlc for Windows users if they can&#039;t play unusual media formats.&lt;br /&gt;
&lt;br /&gt;
Though there were a few exceptions, the most notable probably the long-time missing support for many of the Real formats. While these are rarely used today, many archived videos in the Internet still rely on it. For example, many german television stations provide real video files on their webpages.&lt;br /&gt;
&lt;br /&gt;
Recently and without much public notion, ffmpeg first got &lt;a href=&quot;http://multimedia.cx/eggs/baby-got-rv40/&quot;&gt;support for RV40&lt;/a&gt;, some weeks later also for RV30. This fills a long time gap in free software support for video formats. ffmpeg is used by all major free software video players (vlc, xine, mplayer), so you should get the support within some time in all of them. For now, it&#039;s quite easy to &lt;a href=&quot;http://www.mplayerhq.hu/design7/dload.html&quot;&gt;checkout mplayer from subversion and build it on your own&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Want something to try out? Here&#039;s a &lt;a href=&quot;http://desertplanetcom.virtual27.nebula.fi/videos/Desert_Planet_in_Germany_2006.rmvb&quot;&gt;video from Desert Planet&lt;/a&gt; in real format.&lt;br /&gt;
&lt;br /&gt;
The only gap I know of a format that really got usage in the wild and that is not yet supported by free software is WMA3. 
    </content:encoded>

    <pubDate>Thu, 25 Dec 2008 15:38:07 +0100</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/676-guid.html</guid>
    <category>codecs</category>
<category>ffmpeg</category>
<category>freesoftware</category>
<category>realmedia</category>
<category>realvideo</category>
<category>rv30</category>
<category>rv40</category>
<category>video</category>

</item>
<item>
    <title>Interview on FSFE webpage</title>
    <link>http://blog.hboeck.de/archives/673-Interview-on-FSFE-webpage.html</link>
            <category>Computer culture</category>
            <category>Copyright</category>
            <category>English</category>
            <category>Gentoo</category>
            <category>Linux</category>
            <category>Politics</category>
    
    <comments>http://blog.hboeck.de/archives/673-Interview-on-FSFE-webpage.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=673</wfw:comment>

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

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    As an FSFE fellow, I got interviewed for their webpage.&lt;br /&gt;
&lt;br /&gt;
You can &lt;a href=&quot;http://fsfe.org/en/fellows/ciaran/fellowship_interviews/fellowship_interview_with_johannes_hanno_boeck&quot;&gt;read it here&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Wed, 17 Dec 2008 17:28:21 +0100</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/673-guid.html</guid>
    <category>freesoftware</category>
<category>fsf</category>
<category>fsfe</category>

</item>
<item>
    <title>Lenovo, Linux and Windows refunding</title>
    <link>http://blog.hboeck.de/archives/658-Lenovo,-Linux-and-Windows-refunding.html</link>
            <category>Copyright</category>
            <category>English</category>
            <category>Gentoo</category>
            <category>Linux</category>
    
    <comments>http://blog.hboeck.de/archives/658-Lenovo,-Linux-and-Windows-refunding.html#comments</comments>
    <wfw:comment>http://blog.hboeck.de/wfwcomment.php?cid=658</wfw:comment>

    <slash:comments>12</slash:comments>
    <wfw:commentRss>http://blog.hboeck.de/rss.php?version=2.0&amp;type=comments&amp;cid=658</wfw:commentRss>
    

    <author>nospam@example.com (Hanno Böck)</author>
    <content:encoded>
    Recently &lt;a href=&quot;http://www.pro-linux.de/news/2008/13167.html&quot;&gt;there were some News&lt;/a&gt; that Lenovo does not like Linux any more. This was supported by comments &lt;a href=&quot;http://lenovoblogs.com/insidethebox/?p=154#comment-51923&quot;&gt;like this at Lenovoblogs&lt;/a&gt; (by a Lenovo engineer):&lt;br /&gt;
&lt;br /&gt;
»Again, what’s the incentive for us to start providing all of this intellectual property for free to the Linux community? You may say it drives support for Linux on ThinkPads and people would buy more ThinkPads as a result. I think that’s a dubious assertion at best.«&lt;br /&gt;
(the subject was driver support for switchable graphics on modern thinkpads and brings up some common urban legends about linux and driver support)&lt;br /&gt;
&lt;br /&gt;
Sadly, I experienced one more place where Lenovo seems to shift away from a Linux friendly viewpoint: I tried to return the windows license of my new Thinkpad with a pre-made form by Lenovo itself (I got this from someone else by eMail, not from Lenovo directly). In the net, you can find tons of reports that it was easy for people to get money back for their windows licenses by Lenovo.&lt;br /&gt;
&lt;br /&gt;
Though what I got was this:&lt;br /&gt;
»Leider können wir Ihrem Wunsch nach Rückerstattung der Kosten für das auf Ihrem Lenovo Produkt vorinstallierte Microsoft-Betriebssystem nicht entsprechen, da das Betriebssystem aus unserer Sicht einen integralen Bestandteil des jeweiligen Lenovo Produkts darstellt.«&lt;br /&gt;
(rough translation: We won&#039;t refund your windows-license, because we think it&#039;s an integral part of the product)&lt;br /&gt;
&lt;br /&gt;
I find it hard to understand why Lenovo makes this shift. When running around on linux conferences in recent months, the number of thinkpads is hughe. While many other vendors shift to a much more free software friendly behaviour (think of AMD/ATI), Lenovo seems to go the different direction. It&#039;s especially strange because Lenovo is probably one of the few vendors that has a notable market share in the linux community.&lt;br /&gt;
&lt;br /&gt;
By the way, I welcome any hints how I should continue with the windows refunding. I&#039;d prefer not to capitulate yet (like I did with my last laptop by Samsung), and I assume the law is clearly on my side.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update:&lt;/b&gt; As some of you asked, &lt;a href=&quot;http://www.nabble.com/attachment/15199878/0/Lizenzrckgabe%20Windows%20V5.pdf&quot;&gt;here is the form by Lenovo&lt;/a&gt;, though you&#039;ll probably just get the same reply I got.&lt;br /&gt;
&lt;br /&gt;
Probably interesting, &lt;a href=&quot;http://www.microsoft.com/about/legal/useterms/&quot;&gt;here you can find all EULAs&lt;/a&gt; from Microsoft. They are quite clear on the subject and say that you MUST return the windows license to the vendor if you don&#039;t agree to the EULA.&lt;br /&gt;
&lt;br /&gt;
In the meantime, I wrote several messages about the issue to various people and instutitions. The &lt;a href=&quot;http://wiki.fsfe.org/Windows-Tax_Refund&quot;&gt;FSFE is also working on the subject&lt;/a&gt;. 
    </content:encoded>

    <pubDate>Mon, 06 Oct 2008 13:17:04 +0200</pubDate>
    <guid isPermaLink="false">http://blog.hboeck.de/archives/658-guid.html</guid>
    <category>freesoftware</category>
<category>ibm</category>
<category>lenovo</category>
<category>license</category>
<category>linux</category>
<category>windows</category>
<category>windowsrefund</category>

</item>

</channel>
</rss>
