]> pere.pagekite.me Git - homepage.git/blobdiff - blog/archive/2013/06/06.rss
Generated.
[homepage.git] / blog / archive / 2013 / 06 / 06.rss
index e7ae709911d83bdf703daa15f2431da17148ab41..630638ad8f4d11f21c24c5c78f6d65c6cd2ed6b1 100644 (file)
@@ -6,6 +6,380 @@
                 <link>http://people.skolelinux.org/pere/blog/</link>
 
        
                 <link>http://people.skolelinux.org/pere/blog/</link>
 
        
+       <item>
+               <title>Automatically locate and install required firmware packages on Debian (Isenkram 0.4)</title>
+               <link>http://people.skolelinux.org/pere/blog/Automatically_locate_and_install_required_firmware_packages_on_Debian__Isenkram_0_4_.html</link>        
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Automatically_locate_and_install_required_firmware_packages_on_Debian__Isenkram_0_4_.html</guid>
+                <pubDate>Tue, 25 Jun 2013 11:50:00 +0200</pubDate>
+               <description>&lt;p&gt;It annoys me when the computer fail to do automatically what it is
+perfectly capable of, and I have to do it manually to get things
+working.  One such task is to find out what firmware packages are
+needed to get the hardware on my computer working.  Most often this
+affect the wifi card, but some times it even affect the RAID
+controller or the ethernet card.  Today I pushed version 0.4 of the
+&lt;a href=&quot;http://packages.qa.debian.org/isenkram&quot;&gt;Isenkram package&lt;/a&gt;
+including a new script isenkram-autoinstall-firmware handling the
+process of asking all the loaded kernel modules what firmware files
+they want, find debian packages providing these files and install the
+debian packages.  Here is a test run on my laptop:&lt;/p&gt;
+
+&lt;p&gt;&lt;pre&gt;
+# isenkram-autoinstall-firmware 
+info: kernel drivers requested extra firmware: ipw2200-bss.fw ipw2200-ibss.fw ipw2200-sniffer.fw
+info: fetching http://http.debian.net/debian/dists/squeeze/Contents-i386.gz
+info: locating packages with the requested firmware files
+info: Updating APT sources after adding non-free APT source
+info: trying to install firmware-ipw2x00
+firmware-ipw2x00
+firmware-ipw2x00
+Preconfiguring packages ...
+Selecting previously deselected package firmware-ipw2x00.
+(Reading database ... 259727 files and directories currently installed.)
+Unpacking firmware-ipw2x00 (from .../firmware-ipw2x00_0.28+squeeze1_all.deb) ...
+Setting up firmware-ipw2x00 (0.28+squeeze1) ...
+# 
+&lt;/pre&gt;&lt;/p&gt;
+
+&lt;p&gt;When all the requested firmware is present, a simple message is
+printed instead:&lt;/p&gt;
+
+&lt;p&gt;&lt;pre&gt;
+# isenkram-autoinstall-firmware 
+info: did not find any firmware files requested by loaded kernel modules.  exiting
+# 
+&lt;/pre&gt;&lt;/p&gt;
+
+&lt;p&gt;It could use some polish, but it is already working well and saving
+me some time when setting up new machines. :)&lt;/p&gt;
+
+&lt;p&gt;So, how does it work?  It look at the set of currently loaded
+kernel modules, and look up each one of them using modinfo, to find
+the firmware files listed in the module meta-information.  Next, it
+download the Contents file from a nearby APT mirror, and search for
+the firmware files in this file to locate the package with the
+requested firmware file.  If the package is in the non-free section, a
+non-free APT source is added and the package is installed using
+&lt;tt&gt;apt-get install&lt;/tt&gt;.  The end result is a slightly better working
+machine.&lt;/p&gt;
+
+&lt;p&gt;I hope someone find time to implement a more polished version of
+this script as part of the hw-detect debian-installer module, to
+finally fix &lt;a href=&quot;http://bugs.debian.org/655507&quot;&gt;BTS report
+#655507&lt;/a&gt;.  There really is no need to insert USB sticks with
+firmware during a PXE install when the packages already are available
+from the nearby Debian mirror.&lt;/p&gt;
+</description>
+       </item>
+       
+       <item>
+               <title>The value of a good distro wide test suite...</title>
+               <link>http://people.skolelinux.org/pere/blog/The_value_of_a_good_distro_wide_test_suite___.html</link>        
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_value_of_a_good_distro_wide_test_suite___.html</guid>
+                <pubDate>Sat, 22 Jun 2013 07:00:00 +0200</pubDate>
+               <description>&lt;p&gt;In the &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu /
+Skolelinux&lt;/a&gt; project, we include a post-installation test suite,
+which check that services are running, working, and return the
+expected results.  It runs automatically just after the first boot on
+test installations (using test ISOs), but not on production
+installations (using non-test ISOs).  It test that the LDAP service is
+operating, Kerberos is responding, DNS is replying, file systems are
+online resizable, etc, etc.  And it check that the PXE service is
+configured, which is the topic of this post.&lt;/p&gt;
+
+&lt;p&gt;The last week I&#39;ve fixed the DVD and USB stick ISOs for our Debian
+Edu Wheezy release.  These ISOs are supposed to be able to install a
+complete system without any Internet connection, but for that to
+happen all the needed packages need to be on them.  Thanks to our test
+suite, I discovered that we had forgotten to adjust our PXE setup to
+cope with the new names and paths used by the netboot d-i packages.
+When Internet connectivity was available, the installer fall back to
+using wget to fetch d-i boot images, but when offline it require
+working packages to get it working.  And the packages changed name
+from debian-installer-6.0-netboot-$arch to
+debian-installer-7.0-netboot-$arch, we no longer pulled in the
+packages during installation.  Without our test suite, I suspect we
+would never have discovered this before release.  Now it is fixed
+right after we got the ISOs operational.&lt;/p&gt;
+
+&lt;p&gt;Another by-product of the test suite is that we can ask system
+administrators with problems getting Debian Edu to work, to run the
+test suite using &lt;tt&gt;/usr/sbin/debian-edu-test-install&lt;/tt&gt; and see if
+any errors are detected.  This usually pinpoint the subsystem causing
+the problem.&lt;/p&gt;
+
+&lt;p&gt;If you want to help us help kids learn how to share and create,
+please join us on
+&lt;a href=&quot;irc://irc.debian.org/%23debian-edu&quot;&gt;#debian-edu on
+irc.debian.org&lt;/a&gt; and the
+&lt;a href=&quot;http://lists.debian.org/debian-edu/&quot;&gt;debian-edu@&lt;/a&gt; mailing
+list.&lt;/p&gt;
+</description>
+       </item>
+       
+       <item>
+               <title>Debian Edu interview: Victor Nițu</title>
+               <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Victor_Ni_u.html</link>        
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Victor_Ni_u.html</guid>
+                <pubDate>Mon, 17 Jun 2013 10:50:00 +0200</pubDate>
+               <description>&lt;p&gt;The &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu and
+Skolelinux&lt;/a&gt; distribution have users and contributors all around the
+globe.  And a while back, an enterprising young man showed up on
+&lt;a href=&quot;irc://irc.debian.org/%23debian-edu&quot;&gt;our IRC channel
+#debian-edu&lt;/a&gt; and started asking questions about how Debian Edu
+worked.  We answered as good as we could, and even convinced him to
+help us with translations.  And today I managed to get an interview
+with him, to learn more about him.&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;I&#39;m a 25 year old free software enthusiast, living in Romania,
+which is also my country of origin. Back in 2009, at a New Year&#39;s Eve
+party, I had a very nice &lt;strike&gt;beer&lt;/strike&gt; discussion with a
+friend, when we realized we have no organised Debian community in our
+country. A few days later, we put together the infrastructure for such
+community and even gathered a nice Debian-ish crowd. Since then, I
+began my quest as a free software hacker and activist and I am
+constantly trying to cover as much ground as possible on that
+field.&lt;/p&gt;
+
+&lt;p&gt;A few years ago I founded a small web development company, which
+provided me the flexible schedule I needed so much for my
+activities. For the last 13 months, I have been the Technical Director
+of &lt;a href=&quot;http://ceata.org/&quot;&gt;Fundația Ceata&lt;/a&gt;, which is a free
+software activist organisation endorsed by the FSF and the FSFE, and
+the only one we have in our country.&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux / Debian Edu
+project?&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;The idea of participating in the Debian Edu project was a surprise
+even to me, since I never used it before I began getting involved in
+it. This year I had a great opportunity to deliver a talk on
+educational software, and I knew immediately where to look. It was a
+love at first sight, since I was previously involved with some of the
+technologies the project incorporates, and I rapidly found a lot of
+ways to contribute.&lt;/p&gt;
+
+&lt;p&gt;My first contributions consisted in translating the installer and
+configuration dialogs, then I found some bugs to squash (I still
+haven&#39;t fixed them yet though), and I even got my eyes on some other
+areas where I can prove myself helpful. Since the appetite for free
+software in my country is pretty low, I&#39;ll be happy to be the first
+one around here advocating for the project&#39;s adoption in educational
+environments, and maybe even get my hands dirty in creating a flavour
+for our own needs. I am not used to make very advanced plannings, so
+from now on, time will tell what I&#39;ll be doing next, but I think I
+have a pretty consistent starting point.&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux/Debian
+Edu?&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;Not a long time ago, I was in the position of configuring and
+maintaining a LDAP server on some Debian derivative, and I must say it
+took me a while. A long time ago, I was maintaining a bigger
+Samba-powered infrastructure, and I must say I spent quite a lot of
+time on it. I have similar stories about many of the services included
+with Skolelinux, and the main advantage I see about it is the
+out-of-the box availability of them, making it quite competitive when
+it comes to managing a school&#39;s network, for example.&lt;/p&gt;
+
+&lt;p&gt;Of course, there is more to say about Skolelinux than the
+availability of the software included, its flexibility in various
+scenarios is something I can&#39;t wait to experiment &quot;into the wild&quot; (I
+only played with virtual machines so far). And I am sure there is a
+lot more I haven&#39;t discovered yet about it, being so new within the
+project.&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux / Debian
+Edu?&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;As usual, when it comes to Debian Blends, I see as the biggest
+disadvantage the lack of a numerous team dedicated to the
+project. Every day I see the same names in the changelogs, and I have
+a constantly fear of the bus factor in this story.  I&#39;d like to see
+Debian Edu advertised more as an entry point into the Debian
+ecosystem, especially amongst newcomers and students. IMHO there are a
+lot low-hanging fruits in terms of bug squashing, and enough
+opportunities to get the feeling of the Debian Project&#39;s dynamics. Not
+to mention it&#39;s a very fun blend to work on!&lt;/p&gt;
+
+&lt;p&gt;Derived from the previous statement, is the delay in catching up
+with the main Debian release and documentation. This is common though
+to all blends and derivatives, but it&#39;s an issue we can all work
+on.&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;I can hardly imagine myself spending a day without Vim, since my
+daily routine covers writing code and hacking configuration files. I
+am a fan of the Awesome window manager (but I also like the
+Enlightenment project a lot!),
+&lt;a href=&quot;http://www.claws-mail.org/‎&quot;&gt;Claws Mail&lt;/a&gt; due to its ease of
+use and very configurable behaviour. Recently I fell in love with
+&lt;a href=&quot;https://launchpad.net/redshift&quot;&gt;Redshift&lt;/a&gt;, which helps me
+get through the night without headaches. Of course, there is much more
+stuff in this bag, but I&#39;ll need a blog on my own for doing this!&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
+get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;Well, on this field, I cannot do much more than experiment right
+now. So, being far from having a recipe for success, I can only assume
+that:&lt;/p&gt;
+
+&lt;ul&gt;
+
+&lt;li&gt;schools would like to get rid of proprietary software&lt;/li&gt;
+
+&lt;li&gt;students will love the openness of the system, and will want to
+    experiment with it - maybe we need to harvest the native curiosity
+    of teenagers more?&lt;/li&gt;
+
+&lt;li&gt;there is no &quot;right one&quot; when it comes to strategies, but it would
+    be useful to have some success stories published somewhere, so
+    other can get some inspiration from them (I know I&#39;d promote
+    them!)&lt;/li&gt;
+
+&lt;li&gt;more active promotion - talks, conferences, even small school
+    lectures can do magical things if they encounter at least one
+    person interested. Who knows who that person might be? ;-)&lt;/li&gt;
+
+&lt;/ul&gt;
+
+&lt;p&gt;I also see some problems in getting Skolelinux into schools; for
+example, in our country we have a great deal of corruption issues, so
+it might be hard(er) to fight against proprietary solutions. Also,
+people who relied on commercial software for all their lives, would be
+very hard to convert against their will.&lt;/p&gt;
+</description>
+       </item>
+       
+       <item>
+               <title>Debian Edu interview: Jonathan Carter</title>
+               <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Jonathan_Carter.html</link>        
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Jonathan_Carter.html</guid>
+                <pubDate>Wed, 12 Jun 2013 09:50:00 +0200</pubDate>
+               <description>&lt;p&gt;There is a certain cross-over between the
+&lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux
+project&lt;/a&gt; and &lt;a href=&quot;http://www.edubuntu.org/&quot;&gt;the Edubuntu
+project&lt;/a&gt;, and for example the LTSP packages in Debian are a joint
+effort between the projects.  One person with a foot in both camps is
+Jonathan Carter, which I am now happy to present to you.&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;I&#39;m a South-African free software geek who lives in Cape Town. My
+days vary quite a bit since I&#39;m involved in too many things. As I&#39;m
+getting older I&#39;m learning how to focus a bit more :)&lt;/p&gt;
+
+&lt;p&gt;I&#39;m also an Edubuntu contributor and I love when there are
+opportunities for the Edubuntu and Debian Edu projects to benefit from
+each other.&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux / Debian Edu
+project?&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;I&#39;ve been somewhat familiar with the project before, but I think my
+first direct exposure to the project was when I met Petter
+[Reinholdtsen] and Knut [Yrvin] at the Edubuntu summit in 2005 in
+London. They provided great feedback that helped the bootstrapping of
+Edubuntu. Back then Edubuntu (and even Ubuntu) was still very new and
+it was great getting input from people who have been around longer. I
+was also still very excitable and said yes to everything and to this
+day I have a big todo list backlog that I&#39;m catching up with. I think
+over the years the relationship between Edubuntu and Debian-Edu has
+been gradually improving, although I think there&#39;s a lot that we could
+still improve on in terms of working together on packages. I&#39;m sure
+we&#39;ll get there one day.&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux / Debian
+Edu?&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;Debian itself already has so many advantages. I could go on about
+it for pages, but in essence I love that it&#39;s a very honest project
+that puts its users first with no hidden agendas and also produces
+very high quality work.&lt;/p&gt;
+
+&lt;p&gt;I think the advantage of Debian Edu is that it makes many common
+set-up tasks simpler so that administrators can get up and running
+with a lot less effort and frustration. At the same time I think it
+helps to standardise installations in schools so that it&#39;s easier for
+community members and commercial suppliers to support.&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux / Debian
+Edu?&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;I had to re-type this one a few times because I&#39;m trying to
+separate &quot;disadvantages&quot; from &quot;areas that need improvement&quot; (which is
+what I originally rambled on about)&lt;/p&gt;
+
+&lt;p&gt;The biggest disadvantage I can think of is lack of manpower. The
+project could do so much more if there were more good contributors. I
+think some of the problems are external too. Free software and free
+content in education is a no-brainer but it takes some time to catch
+on. When you&#39;ve been working with the same proprietary eco-system for
+years and have gotten used to it, it can be hard to adjust to some
+concepts in the free software world. It would be nice if there were
+more Debian Edu consultants across the world. I&#39;d love to be one
+myself but I&#39;m already so over-committed that it&#39;s just not possible
+currently.&lt;/p&gt;
+
+&lt;p&gt;I think the best short-term solution to that large-scale problem is
+for schools to be pro-active and share their experiences and grow
+their skills in-house. I&#39;m often saddened to see how much money
+educational institutions spend on 3rd party solutions that they don&#39;t
+have access to after the service has ended and they could&#39;ve gotten so
+much more value otherwise by being more self-sustainable and
+autonomous.&lt;/p&gt;
+
+&lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;My main laptop dual-boots between Debian and Windows 7. I was
+Windows free for years but started dual-booting again last year for
+some games which help me focus and relax (Starcraft II in
+particular). Gaming support on Linux is improving in leaps and bounds
+so I suppose I&#39;ll soon be able to regain that disk space :)&lt;/p&gt;
+
+&lt;p&gt;Besides that I rely on Icedove, Chromium, Terminator, Byobu, irssi,
+git, Tomboy, KVM, VLC and LibreOffice. Recently I&#39;ve been torn on
+which desktop environment I like and I&#39;m taking some refuge in Xfce
+while I figure that out. I like tools that keep things simple. I enjoy
+Python and shell scripting. I went to an Arduino workshop recently and
+it was awesome seeing how easy and simple the IDE software was to get
+up and running in Debian compared to the users running Windows and OS
+X.&lt;/p&gt;
+
+&lt;p&gt;I also use mc which some people frown upon slightly. I got used to
+using Norton Commander in the early 90&#39;s and it stuck (I think the
+people who sneer at it is just jealous that they don&#39;t know how to use
+it :p)
+
+&lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
+get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
+
+&lt;p&gt;I think trying to force it is unproductive. I also think that in
+many cases it&#39;s appropriate for schools to use non-free systems and I
+don&#39;t think that there&#39;s any particular moral or ethical problem with
+that.&lt;/p&gt;
+
+&lt;p&gt;I do think though that free software can already solve so so many
+problems in educational institutions and it&#39;s just a shame not taking
+advantage of that.&lt;/p&gt;
+
+&lt;p&gt;I also think that some curricula need serious review. For example,
+some areas of the world rely heavily on very specific versions of MS
+Office, teaching students to parrot menu items instead of learning the
+general concepts. I think that&#39;s very unproductive because firstly, MS
+Office&#39;s interface changes drastically every few years and on top of
+that it also locks in a generation to a product that might not be the
+best solution for them.&lt;/p&gt;
+
+&lt;p&gt;To answer your question, I believe that the right strategy is to
+educate and inform, giving someone the information they require to
+make a decision that would work for them.&lt;/p&gt;
+</description>
+       </item>
+       
        <item>
                <title>Fixing the Linux black screen of death on machines with Intel HD video</title>
                <link>http://people.skolelinux.org/pere/blog/Fixing_the_Linux_black_screen_of_death_on_machines_with_Intel_HD_video.html</link>        
        <item>
                <title>Fixing the Linux black screen of death on machines with Intel HD video</title>
                <link>http://people.skolelinux.org/pere/blog/Fixing_the_Linux_black_screen_of_death_on_machines_with_Intel_HD_video.html</link>        
@@ -106,6 +480,12 @@ developers did to handle this, and this can give a clue to the KDE
 developers?  Or you know where in KDE the screen brightness is changed
 during login?  If so, please update the BTS report (or get in touch if
 you do not know how to update BTS).&lt;/p&gt;
 developers?  Or you know where in KDE the screen brightness is changed
 during login?  If so, please update the BTS report (or get in touch if
 you do not know how to update BTS).&lt;/p&gt;
+
+&lt;p&gt;Update 2013-07-19: The correct fix for this machine seem to be
+acpi_backlight=vendor, to disable ACPI backlight support completely,
+as the ACPI information on the machine is trash and it is better to
+leave it to the intel video driver to control the screen
+backlight.&lt;/p&gt;
 </description>
        </item>
        
 </description>
        </item>