<?xml version="1.0"?>
<rss version="2.0">
<channel>
  <title>Darwin&#039;s Theories - OpenBSD category</title>
  <link>http://theories.darwinsys.com:80/categories/openbsd/</link>
  <description>Call it a Blog if you like -- Ian</description>
  <language>en</language>
  <copyright>Ian Darwin</copyright>
  <lastBuildDate>Wed, 18 Jun 2008 16:48:00 GMT</lastBuildDate>
  <generator>Pebble (http://pebble.sourceforge.net)</generator>
  <docs>http://backend.userland.com/rss</docs>
  
  
  <item>
    <title>KDE4 - First Impressions</title>
    <link>http://theories.darwinsys.com:80/2008/02/02/1201994893139.html</link>
    
      
        <description>
          As most readers know I use the UNIX operating system, particularly &lt;a href=&#034;http://www.openbsd.org/&#034;&gt;OpenBSD&lt;/a&gt;, on all my computers. On desktops I flit about between several &amp;quot;&lt;a href=&#034;http://en.wikipedia.org/wiki/Desktop_environment&#034;&gt;desktop environments&lt;/a&gt;&amp;quot; or user interface systems. OpenBSD&#039;s default is a simple window manager called fvwm, but it also provides an extreme minimalist window manager called &lt;a href=&#034;http://www.openbsd.org/cgi-bin/man.cgi?query=cwm&amp;amp;apropos=0&amp;amp;sektion=1&#034;&gt;cwm&lt;/a&gt;. When I want a full-function GUI, I use &lt;a href=&#034;http://www.kde.org/&#034;&gt;KDE&lt;/a&gt;, one of the two mainstream UNIX desktops (the other is &lt;a href=&#034;http://www.gnome.org/&#034;&gt;GNOME&lt;/a&gt;). I find KDE more intuitive than GNOME, and I also like the fact that its default configuration only has one icon/menu panel (GNOME has two, which is a nightmare on the 1280x800 laptop that is my main desktop), and it&#039;s at the bottom, with a start menu at the left (like that other OS from Redmond, which I have to use at some client sites). Linux founder Linus Torvalds agrees with my sentiment; his &amp;quot;&lt;a href=&#034;http://www.osnews.com/story/12956&#034;&gt;Just Use KDE&lt;/a&gt;&amp;quot; comment a while back attracted a lot of attention.&lt;br /&gt;
&lt;br /&gt;
I&#039;ve used KDE 3 for several years on OpenBSD, so it&#039;s natural to expect a new major release. And indeed, KDE &lt;a href=&#034;http://www.kde.org/announcements/4.0/&#034;&gt;4.0 was released in January 2008&lt;/a&gt;. And (thanks to work by Marc Espie) KDE 4 is now working on OpenBSD (although, because it&#039;s so new and because it can&#039;t easily co-exist with KDE 3, KDE 4 will probably not be included in the upcoming OpenBSD 4.3 release).&lt;br /&gt;
&lt;br /&gt;
KDE4 is nothing if not innovative. The new desktop shell, Plasma, tries to move away from the old desktop-as-directory paradigm using more dynamic features, which you can &lt;a href=&#034;http://plasma.kde.org/cms/1029&#034;&gt;read about here&lt;/a&gt;. It supports widgets, similar to those on Mac OS X but which can be written in any of half a dozen modern languages, not just JavaScript. The &lt;a href=&#034;http://www.kde.org/announcements/4.0/desktop.php&#034;&gt;graphical effects&lt;/a&gt; are also quite impressive. Plus, it&#039;s faster at some operations; opening a file chooser on a large directory used to be painful, but is now quite fast.&lt;br /&gt;
&lt;br /&gt;
&lt;img width=&#034;500&#034; height=&#034;313&#034; src=&#034;http://www.darwinsys.com/images/kde4.png&#034; alt=&#034;1280x800 screenshot&#034; /&gt;&lt;br /&gt;
&lt;br /&gt;
So why do I say &amp;quot;almost ready for prime time&amp;quot;? First, I&#039;m seeing some instability - Plasma disappears every so often and has to be restarted, for example, or kwin crashes and gets restarted - but these might be because the KDE developers are only coding for Linux, not for portability (though parts of KDE4 - not including Plasma - can also run on &lt;a href=&#034;http://windows.kde.org/&#034;&gt;MS-Windows&lt;/a&gt; and &lt;a href=&#034;http://mac.kde.org&#034;&gt;Mac OS&lt;/a&gt;). However, more significant is that the system just doesn&#039;t feel &amp;quot;finished&amp;quot;. Many of the optimizations and features (especially configuration) that we took for granted in 3.5 are not in 4.0 yet. For example:&lt;br /&gt;
&lt;ul&gt;
    &lt;li&gt;The &amp;quot;pager&amp;quot; feature that lets you have multiple virtual desktops. It seems to work almost exactly as in 3.5, with the annoying exception that you cannot get the page miniatures to display their names, only their numbers. The UI for &amp;quot;Configure Desktops&amp;quot; lets you assign names, but the UI for &amp;quot;Pager Settings&amp;quot; has only a checkbox for &amp;quot;Display the Desktop Number&amp;quot;, nothing for &amp;quot;Display Desktop Name&amp;quot;.&lt;/li&gt;
    &lt;li&gt;Start Buttons. I like single buttons to start common applications. KDE3 had a very nice Konsole (terminal program) control applet for the task bar, for example. The &amp;quot;widgets&amp;quot; that have taken the place of Panel Applets currently consist of a much smaller set (8 or 10 instead of 30 or so), and don&#039;t appear to be installable on the panel. As it turns out, for programs, you can find the program in the menu, then right-click, and select Add to Panel. And for Widgets the same as I found out by searching forum sites: you can drag Widgets directly from the Add Widgets dialog to the Panel (but not from the Desktop to the Panel), and not all Widgets yet work correctly in the Panel. For programs, you can also select Add To Favorites, which puts it in the first section of the K Menu. &lt;br /&gt;
    &lt;/li&gt;
    &lt;li&gt;For Programs or Widgets installed in the Panel, you have far less control over how the panel is laid out. This may be a conscious choice (see &lt;a href=&#034;http://liquidat.wordpress.com/2007/11/30/&#034;&gt;Decisions&lt;/a&gt;); if so it flies in the face of the desire for ultimate configurability.&lt;/li&gt;
    &lt;li&gt;Gratuitous changes to Konsole (the terminal program; I must admit that at heart I&#039;m sometimes a command-line guy) mean that my &amp;quot;terminal striping&amp;quot; - commands that put the system I&#039;m logged into, and the current directory - don&#039;t work. I presume it&#039;s just a different set of escape sequences, but why change it?&lt;/li&gt;
    &lt;li&gt;Clock - can&#039;t have a sub-list of selected timezones, have to pick from the entire list every time you move (painful for road warriors).&lt;/li&gt;
    &lt;li&gt;Kopete, the Instant Messaging client, doesn&#039;t have IRC support (even though it did in 3.5.8, and even though the Kopete developers hang around on an IRC channel named #kopete :-);&amp;nbsp; &lt;a href=&#034;http://websvn.kde.org/trunk/KDE/kdenetwork/kopete/protocols/irc/&#034;&gt;the code has only had one commit in the last month&lt;/a&gt;.&lt;br /&gt;
    &lt;/li&gt;
    &lt;li&gt;Migration Wizard - there isn&#039;t one, though one has been discussed at the &lt;a href=&#034;https://wiki.ubuntu.com/HaraldSitter/KdeFour/MigrationWizard&#034;&gt;Ubuntu Forum&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
The first release of anything as big as KDE is bound to have some issues, and it does. Others agree with me; see KDE developer &lt;a href=&#034;http://aseigo.blogspot.com/2008/01/talking-bluntly.html&#034;&gt;Aaron Siego&#039;s blog&lt;/a&gt;, and also &lt;a href=&#034;http://kde-apps.org/poll/index.php?poll=222&amp;amp;forumpage=0&#034;&gt;this poll&lt;/a&gt; (when I viewed it on 2008-02-03, results were 12% &amp;quot;Works Great&amp;quot;, 48% &amp;quot;Works but buggy&amp;quot;, and 40% &amp;quot;still too buggy&amp;quot;). I&#039;m hoping that 4.0.1 will correct some of these, and that the rest will come without too much delay (4.1). I quite like KDE 4, have been using it for a few days, and look forward to being able to deploy it as my standard desktop when it&#039;s fully ready.
        </description>
      
      
    
    
    
    <category>Open Source Software</category>
    
    <category>OpenBSD</category>
    
    <comments>http://theories.darwinsys.com:80/2008/02/02/1201994893139.html#comments</comments>
    <guid isPermaLink="true">http://theories.darwinsys.com:80/2008/02/02/1201994893139.html</guid>
    <pubDate>Sat, 02 Feb 2008 23:28:13 GMT</pubDate>
  </item>
  
  <item>
    <title>Thecus Back To Life</title>
    <link>http://theories.darwinsys.com:80/2007/11/26/1196120820000.html</link>
    
      
        <description>
          The &lt;a href=&#034;http://www.thecus.com/products_over.php?cid=11&amp;amp;pid=1&#034;&gt;Thecus N2100&lt;/a&gt; whose untimely demise I blogged recently is now, I&#039;m happy to report, back to life, thanks to some help from the folks at Thecus in Taiwan. I&#039;m putting some finishing touches on the &lt;a href=&#034;http://www.openbsd.org/cgi-bin/cvsweb/src/distrib/notes/armish/prep&#034;&gt;OpenBSD install notes&lt;/a&gt; that should be ready in a few days.
        </description>
      
      
    
    
    
    <category>Software Industry</category>
    
    <category>Open Source Software</category>
    
    <category>OpenBSD</category>
    
    <comments>http://theories.darwinsys.com:80/2007/11/26/1196120820000.html#comments</comments>
    <guid isPermaLink="true">http://theories.darwinsys.com:80/2007/11/26/1196120820000.html</guid>
    <pubDate>Mon, 26 Nov 2007 23:47:00 GMT</pubDate>
  </item>
  
  <item>
    <title>IPv6 or Bust, and, Farewell IPv6 Samurai</title>
    <link>http://theories.darwinsys.com:80/2007/10/31/1193848380000.html</link>
    
      
        <description>
          In case you&#039;ve been off-net for the last ten years, you should know that the Internet is running out of IP addresses - the telephone numbers of the Internet - at an alarming rate, and will reach the failure point within three or four years.&amp;nbsp; IP is the Internet Protocol, the software that figures out how to get your Web, Email, VOIP or other data from computer A to computer B through a changing mesh of other computers, routers, and links.&amp;nbsp; The designers of the current version of IP - IPv4 - were good designers but never anticipated the commercial success of the internet technology, nor did they envision internet-connected televisions, heating/cooling controls, and home networks in every home.&amp;nbsp; The result is the impending doom of &amp;quot;Sorry, you can&#039;t have Internet service, we&#039;re all out of addresses.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The stop-gap solution of Network Address Translation (NAT, which some Linux people rebrand as &amp;quot;IP Masquerading&amp;quot;), only goes so far.&amp;nbsp; Many of the protocols involved do not work over NAT. This is not the answer.&lt;br /&gt;
&lt;br /&gt;
The long-term solution is IPv6 (&lt;a href=&#034;http://arstechnica.com/articles/paedia/IPv6.ars&#034;&gt;longer article on IPv6&lt;/a&gt;). Don&#039;t ask what happened to IPv5;&amp;nbsp; for that matter, don&#039;t ask what happened to IPv3. But I digress.&amp;nbsp; IPv6 allows 128 bits of addressing, compared to IPv4&#039;s 32 bits.&amp;nbsp; IPv4 thus allows just over four billion connections, and the Internet has estimated three billion already, growing about 170 million per year.&amp;nbsp; IPV6, however, allows trillions of trillions of addresses.&amp;nbsp; Write the number one (1). Now write seventy seven zeroes after it.&amp;nbsp; That&#039;s how many connections IPV6 allows, more or less.&amp;nbsp; While there are already more people on the planet than IPv4 addresses, there will never, ever be 1.15 * 10^77 people on this planet.&amp;nbsp; Should our insane population growth bring us to 10 billion people, the survivors will be able to allocate 1.15 * 10^67 IPv6 addresses each.&amp;nbsp; If they still have electricity to run their computers, that is.&lt;br /&gt;
&lt;br /&gt;
So, how do we get from IPv4 to IPv6? That has a lot to do with politics, economics, and technology.&amp;nbsp; First, we know that the herd mentality leads humanity to keep running in the wrong direction even when the cliff is pointed out to us, trying to veer away only at the abyss.&amp;nbsp; Just look at how we are continuing to mis-manage the environment, the oceans, the future of the planet.&amp;nbsp; Second, end users don&#039;t know or care about the problem, so they will not push their ISPs to support it. And some ISPs will say it&#039;s not their problem until users start asking for it, though some of the more sensible ones already have it up and running.&lt;br /&gt;
&lt;br /&gt;
Sadly, the reality is there may not be a push to adopt IPV6 until the year 2011, when people can&#039;t get service.&amp;nbsp; Then, of course, it will be done hurriedly, and poorly, and with no thought for security.&amp;nbsp; But there are some pushing for its adoption; in fact IPv6 has been available for almost a decade (as soon as the Internet started becoming popular, some of its stewards realized that the address pool was too small).&amp;nbsp; My own experience is with &lt;a href=&#034;http://www.openbsd.org/&#034;&gt;OpenBSD&lt;/a&gt;, the leadingly secure UNIX O/S, which has supported IPV6 for years.&amp;nbsp; A man called Itojun - officially Jun-ichiro Itoh Hagino - worked tirelessly within a project called KAME to prepare a V6 implementation that would work in the BSD family of operating systems.&amp;nbsp; The Kame IPv6 is now in OpenBSD, NetBSD, FreeBSD, and even Mac OS.&amp;nbsp; Similar code is in Linux. And there is support in modern Microsoft systems. If you want to geekishly try it out before your ISP has it available, there are several &amp;quot;&lt;a href=&#034;http://www.google.com/search?q=ipv6+tunnel+broker&#034;&gt;tunnel brokers&lt;/a&gt;&amp;quot;; the one I&#039;m using is &lt;a href=&#034;http://www.sixxs.net/&#034;&gt;SIXXS&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
As recently as a few months ago, Itojun pointed out that the current IPv6 standards committee had re-introduced a stupidity from IPv4 known as &amp;quot;source routing&amp;quot;. Imagine the long-distance abuses possible if you were able to dictate to the phone company that &amp;quot;I want this phone call from New York to Boston to go via London, Istanbul, Beijing, Hawaii, but bill me only for the New York to Boston trip&amp;quot;, and the phone system obeyed you without asking for administrative confirmation. Source Routing basically allows you to do this with Internet data.&amp;nbsp; Itojun constructed a (carefully controlled!) test that was able to bring part of the internet to a standstill for a few seconds by routing traffic around and around and around...&lt;br /&gt;
&lt;br /&gt;
So why do I mention Itojun, when the IPv6 story is much bigger?&amp;nbsp; I found out yesterday that he passed away in Japan at the age of 37.&amp;nbsp; Others are better able to eulogize him (
&lt;a href=&#034;http://www.securityfocus.com/archive/1/483015/30/0/threaded&#034;&gt;bugtraq&lt;/a&gt;,
&lt;a href=&#034;http://undeadly.org/cgi?action=article&amp;sid=20071030220114&#034;&gt;undeadly&lt;/a&gt;,
&lt;a href=&#034;http://www.sixxs.net/news/2007/#inmemoriamdrjunichiroitojunitohhaginotheipv6samurai-1029&#034;&gt;sixxs&lt;/a&gt;)
than I, who only met Itojun once or twice at OpenBSD gatherings.&amp;nbsp; But he will be missed, and an important voice in the move towards saving the Internet from itself has been forever silenced.
        </description>
      
      
    
    
    
    <category>Software Industry</category>
    
    <category>Open Source Software</category>
    
    <category>Politics</category>
    
    <category>OpenBSD</category>
    
    <category>Internet</category>
    
    <comments>http://theories.darwinsys.com:80/2007/10/31/1193848380000.html#comments</comments>
    <guid isPermaLink="true">http://theories.darwinsys.com:80/2007/10/31/1193848380000.html</guid>
    <pubDate>Wed, 31 Oct 2007 16:33:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Flying Thecus has hard landing...</title>
    <link>http://theories.darwinsys.com:80/2007/06/14/1181870460000.html</link>
    
      
        <description>
          The &lt;a href=&#034;http://theories.darwinsys.com/2007/05/12/1179020340000.html&#034;&gt;Thecus&lt;/a&gt; N2100 sits idle in a corner, because the vendor changed the software in a way that breaks the ability to install most open-source OSes.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
The OpenBSD install, like many others, depends on setting certain firmware commands to be saved in the flash memory, and executed at boot time. This worked nicely on the versions of Thecus that the OpenBSD support was developed for, but in current versions (1.93+, including mine) Thecus modified the firmware to still save these commands, but to ignore them at boot time and use their &amp;quot;standard&amp;quot; ones.&amp;nbsp; They also removed the source code of previous versions from their web site, making it very difficult for even advanced developers to figure out how to revert this unfortunate change. They have also refused to provide information on how to fix it, saying I must contact my reseller (since I bought it used, there is no reseller).&amp;nbsp; I have been told that other open source projects are having similar problems, so it&#039;s not just OpenBSD that&#039;s affected.&lt;br /&gt;
&lt;br /&gt;
Until Thecus changes this code back, so it actually honors the fconfig boot script settings, I can not advise buying this unit. If you want a small standalone unit, consider Soekris instead.
        </description>
      
      
    
    
    
    <category>Open Source Software</category>
    
    <category>OpenBSD</category>
    
    <comments>http://theories.darwinsys.com:80/2007/06/14/1181870460000.html#comments</comments>
    <guid isPermaLink="true">http://theories.darwinsys.com:80/2007/06/14/1181870460000.html</guid>
    <pubDate>Fri, 15 Jun 2007 01:21:00 GMT</pubDate>
  </item>
  
  <item>
    <title>Flying Thecus Eats Cereal, err, Gets Serial</title>
    <link>http://theories.darwinsys.com:80/2007/06/13/1181788500000.html</link>
    
      
        <description>
          The &lt;a href=&#034;http://www.thecus.com/products_over.php?cid=1&amp;amp;pid=1&#034;&gt;Thecus&lt;/a&gt; I &lt;a href=&#034;http://theories.darwinsys.com/2007/05/12/1179020340000.html&#034;&gt;wrote about previously&lt;/a&gt; is partly up and running.&amp;nbsp; The &lt;a href=&#034;http://www.openbsd.org/&#034;&gt;OpenBSD&lt;/a&gt; install, unlike that for Debian, requires use of a serial console. The serial port was designed into these devices primarily for debugging, not what a consumer appliance needs.&amp;nbsp; So nowadays the manufacturer saves a few pennies on each unit by not soldering the internal connector in place.&amp;nbsp; But at least the holes are there.&amp;nbsp; The older units have a 10-pin header (with one pin removed) on the back of the disk circuit board.&amp;nbsp; The newer ones only have a set of 9 holes for you to solder in your own header.&amp;nbsp; Since mine came sans header, I just installed one.&amp;nbsp; I used a right-angle header since the ribbon cable I had was straight, so the angled header leaves more room for air flow at the back of the unit.&amp;nbsp; Connect a ribbon cable, plug the other end into a computer&#039;s serial port, and boot; you should see some textual chatter. Right?&amp;nbsp; Right in theory. But not necessarily in practice. In fact, it&#039;s about 50-50...&lt;br /&gt;
&lt;br /&gt;
The ribbon cable that connects from the header on the disk board to the serial cable or the serial port on the computer is of the same type as used on older i386 PCs, but there are two different types of 10-pin IDC to DB-9M ribbon cable in use, which look identical (the differences are hidden inside the DB-9 connector).&amp;nbsp; Trust the &amp;quot;pee cee&amp;quot; industry to devise two totally different and incompatible cables and not provide a standard marking for them.&amp;nbsp; Details on these cables have been &lt;a href=&#034;http://www.openbsd.org/cgi-bin/cvsweb/src/distrib/notes/armish/prep&#034;&gt;committed to the OpenBSD installation document&lt;/a&gt; for the Armish.&lt;br /&gt;
&lt;br /&gt;
So now I can see bootup messages, and interact with &amp;quot;RedBoot&amp;quot;, the firmware boot loader these machines use.&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;RedBoot(tm) bootstrap and debug environment [ROM]&lt;br /&gt;
Red Hat certified release, version 1.93 - built 17:25:00, Feb&amp;nbsp; 6 2007&lt;br /&gt;
&lt;br /&gt;
Platform: THECUS N2100 (IOP80219)&lt;br /&gt;
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.&lt;br /&gt;
&lt;br /&gt;
RAM: 0x00000000-0x08000000, 0x0004b890-0x07fd1000 available, total: 128 MB&lt;br /&gt;
FLASH: 0xf0000000 - 0xf1000000, 128 blocks of 0x00020000 bytes each.&lt;br /&gt;
== Executing boot script in 3.000 seconds - enter ^C to abort&lt;br /&gt;
^C&lt;br /&gt;
RedBoot&amp;gt; &lt;br /&gt;
&lt;/blockquote&gt;&lt;br /&gt;
The next step was to install a hard drive as per the vendor documentation and OpenBSD as per those notes. These both went smoothly. The last step will be to make it automatically boot up when powered on...
        </description>
      
      
    
    
    
    <category>OpenBSD</category>
    
    <comments>http://theories.darwinsys.com:80/2007/06/13/1181788500000.html#comments</comments>
    <guid isPermaLink="true">http://theories.darwinsys.com:80/2007/06/13/1181788500000.html</guid>
    <pubDate>Thu, 14 Jun 2007 02:35:00 GMT</pubDate>
  </item>
  
  </channel>
</rss>
