- <item>
- <title>First release candidate of Debian Edu / Skolelinux based on Squeeze</title>
- <link>http://people.skolelinux.org/pere/blog/First_release_candidate_of_Debian_Edu___Skolelinux_based_on_Squeeze.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_release_candidate_of_Debian_Edu___Skolelinux_based_on_Squeeze.html</guid>
- <pubDate>Sun, 19 Feb 2012 23:10:00 +0100</pubDate>
- <description><p>One week delayed due to DVD build problems, we managed today to
-wrap up and publish the first release candidate for
-<a href="http://www.skolelinux.org/">Debian Edu / Skolelinux</a> based
-on Squeeze. The full announcement is
-<a href="http://lists.debian.org/debian-edu-announce/2012/02/msg00001.html">available</a>
-on the project announcement list. Check it out if you need a software
-solution for your school.</p>
-</description>
- </item>
-
- <item>
- <title>Skolelinux-intervju: Olav Dahlum</title>
- <link>http://people.skolelinux.org/pere/blog/Skolelinux_intervju__Olav_Dahlum.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Skolelinux_intervju__Olav_Dahlum.html</guid>
- <pubDate>Sat, 18 Feb 2012 10:40:00 +0100</pubDate>
- <description><p>I serien med intervjuer av folk i
-<a href="http://www.skolelinux.org/">Skolelinux</a>-miljøet, får vi nå
-høre fra et nyvalgt medlem i foreningen
-<a href="http://www.friprogramvareiskolen.no/">Fri programvare i
-Skolen</a>.</p>
-
-<p><strong>Hvem er du, og hva driver du med til daglig?</strong></p>
-
-<p>Jeg heter Olav Dahlum, og er frilans oversetter, tester,
-prosjektleder og bruker av fri og åpen programvare som
-LibreOffice. Jeg er også et av styremedlemmene i FRISK.</p>
-
-<p><strong>Hvordan kom du i kontakt med Skolelinux-prosjektet?</strong></p>
-
-<p>Jeg kom i kontakt med prosjektet i 2009, da jeg ble ansatt i
-stiftelsen Åpne kontorprogram på norsk for å oversette og teste den
-norske utgaven av OpenOffice.org. Arbeidet har hele tiden vært
-koordinert sammen med Skolelinux, og mange av de samme menneskene er
-involvert, så på den måten ble jeg en del av den utvidede
-familien.</p>
-
-<p><strong>Hva er fordelene med Skolelinux slik du ser det?</strong></p>
-
-<p>Skolelinux handler i likhet med utdanningssektoren om å dele
-kunnskap med andre, og det er dette som er hovedstyrken til
-prosjektet. Selv om Skolelinux hovedsaklig er involvert i utvikling
-av programvare, er det også et sted der man kan utfolde seg uavhengig
-av bakgrunn og ferdigheter.</p>
-
-<p><strong>Hva er ulempene med Skolelinux slik du ser det?</strong></p>
-
-<p>Liten utbredelse og manglende støtte fra leverandører som leverer
-pedagogisk programvare til skolebruk. Kunne kanskje hatt flere
-verktøy som letter administrasjonen ytterligere, slik at også mindre
-erfarne databrukere kan utføre lett vedlikehold og rutinejobber.</p>
-
-<p><strong>Hvilken fri programvare bruker du til daglig?</strong></p>
-
-<p>Jeg er nesten forpliktet til å si at jeg bruker LibreOffice... Jeg
-bruker forøvrig frie og åpne operativsystemer basert på
-operativsystemkjernen Linux, for tiden openSUSE 12,1 med KDE4. Men
-hvis jeg skal dra fram noen flere eksempler så er nok Mozilla Firefox
-og Thunderbird to av de jeg bruker mest. I tillegg er jeg en flittig
-bruker av OpenSSH, Irssi, Midnight Commander, Git, Subversion,
-Translation Toolkit og Super Maryo Chronicles (litt gøy skal man ha,
-og med to håndkontroller liggende er det ikke til å unngå).</p>
-
-<p><strong>Hvilken strategi tror du er den rette å bruke for å få
-skoler til å ta i bruk fri programvare?</strong></p>
-
-<p>Vi må få leverandører av pedagogisk programvare med på laget, men
-også utvikle vår egen tilpasset det norske markedet. Det er også
-mulig å involvere utdanningssektoren direkte i arbeidet, for eksempel
-gjennom studentprosjekter der elevene selv er med å utforme
-programvare direkte eller indirekte gjennom aktive bidrag. Dette gjør
-ikke bare samarbeidet tettere, men fokuset på standarder og friheten
-til å velge sin egen løsning vil kanskje stimulere interessen for
-framtidig deltakelse i bransjen. Vi som driver med fri og åpen
-programvare ønsker oss ikke rene konsumenter, men tenkende og
-selvstendige individer som kan være med å skape sin egen fremtid.</p>
-</description>
- </item>
-
- <item>
- <title>How to figure out which RAID disk to replace when it fail</title>
- <link>http://people.skolelinux.org/pere/blog/How_to_figure_out_which_RAID_disk_to_replace_when_it_fail.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_figure_out_which_RAID_disk_to_replace_when_it_fail.html</guid>
- <pubDate>Tue, 14 Feb 2012 21:25:00 +0100</pubDate>
- <description><p>Once in a while my home server have disk problems. Thanks to Linux
-Software RAID, I have not lost data yet (but
-<a href="http://comments.gmane.org/gmane.linux.raid/34532">I was
-close</a> this summer :). But once a disk is starting to behave
-funny, a practical problem present itself. How to get from the Linux
-device name (like /dev/sdd) to something that can be used to identify
-the disk when the computer is turned off? In my case I have SATA
-disks with a unique ID printed on the label. All I need is a way to
-figure out how to query the disk to get the ID out.</p>
-
-<p>After fumbling a bit, I
-<a href="http://www.cyberciti.biz/faq/linux-getting-scsi-ide-harddisk-information/">found
-that hdparm -I</a> will report the disk serial number, which is
-printed on the disk label. The following (almost) one-liner can be
-used to look up the ID of all the failed disks:</p>
-
-<blockquote><pre>
-for d in $(cat /proc/mdstat |grep '(F)'|tr ' ' "\n"|grep '(F)'|cut -d\[ -f1|sort -u);
-do
- printf "Failed disk $d: "
- hdparm -I /dev/$d |grep 'Serial Num'
-done
-</blockquote></pre>
-
-<p>Putting it here to make sure I do not have to search for it the
-next time, and in case other find it useful.</p>
-
-<p>At the moment I have two failing disk. :(</p>
-
-<blockquote><pre>
-Failed disk sdd1: Serial Number: WD-WCASJ1860823
-Failed disk sdd2: Serial Number: WD-WCASJ1860823
-Failed disk sde2: Serial Number: WD-WCASJ1840589
-</blockquote></pre>
-
-<p>The last time I had failing disks, I added the serial number on
-labels I printed and stuck on the short sides of each disk, to be able
-to figure out which disk to take out of the box without having to
-remove each disk to look at the physical vendor label. The vendor
-label is at the top of the disk, which is hidden when the disks are
-mounted inside my box.</p>
-
-<p>I really wish the check_linux_raid Nagios plugin for checking Linux
-Software RAID in the
-<a href="http://packages.qa.debian.org/n/nagios-plugins.html">nagios-plugins-standard</a>
-debian package would look up this value automatically, as it would
-make the plugin a lot more useful when my disks fail. At the moment
-it only report a failure when there are no more spares left (it really
-should warn as soon as a disk is failing), and it do not tell me which
-disk(s) is failing when the RAID is running short on disks.</p>
-</description>
- </item>
-
- <item>
- <title>Automatic proxy configuration with Debian Edu / Skolelinux</title>
- <link>http://people.skolelinux.org/pere/blog/Automatic_proxy_configuration_with_Debian_Edu___Skolelinux.html</link>
- <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Automatic_proxy_configuration_with_Debian_Edu___Skolelinux.html</guid>
- <pubDate>Mon, 13 Feb 2012 23:40:00 +0100</pubDate>
- <description><p>New in the Squeeze version of
-<a href="http://www.skolelinux.org/">Debian Edu / Skolelinux</a> is the
-ability for clients to automatically configure their proxy settings
-based on their environment. We want all systems on the client to use
-the WPAD based proxy definition fetched from <tt>http://wpad/wpad.dat</tt>, to
-allow sites to control the proxy setting from a central place and make
-sure clients do not have hard coded proxy settings. The schools can
-change the global proxy setting by editing
-<tt>tjener:/etc/debian-edu/www/wpad.dat</tt> and the change propagate
-to all Debian Edu clients in the network.</p>
-
-<p>The problem is that some systems do not understand the WPAD system.
-In other words, how do one get from a WPAD file like this (this is a
-simple one, they can run arbitrary code):</p>
-
-<blockquote><pre>
-function FindProxyForURL(url, host)
-{
- if (!isResolvable(host) ||
- isPlainHostName(host) ||
- dnsDomainIs(host, ".intern"))
- return "DIRECT";
- else
- return "PROXY webcache:3128; DIRECT";
-}
-</pre></blockquote>
-
-<p>to a proxy setting in the process environment looking like this:</p>
-
-<blockquote><pre>
-http_proxy=http://webcache:3128/
-ftp_proxy=http://webcache:3128/
-</pre></blockquote>
-
-<p>To do this conversion I developed a perl script that will execute
-the javascript fragment in the WPAD file and return the proxy that
-would be used for
-<tt><a href="http://www.debian.org/">http://www.debian.org/</a></tt>,
-and insert this extracted proxy URL in <tt>/etc/environment</tt> and
-<tt>/etc/apt/apt.conf</tt>. The perl script wpad-extract work just
-fine in Squeeze, but in Wheezy the library it need to run the
-javascript code is <a href="http://bugs.debian.org/631045">no longer
-able to build</a> because the C library it depended on is now a C++
-library. I hope someone find a solution to that problem before Wheezy
-is frozen. An alternative would be for us to rewrite wpad-extract to
-use some other javascript library currently working in Wheezy, but no
-known alternative is known at the moment.</p>
-
-<p>This automatic proxy system allow the roaming workstation (aka
-laptop) setup in Debian Edu/Squeeze to use the proxy when the laptop
-is connected to the backbone network in a Debian Edu setup, and to
-automatically use any proxy present and announced using the WPAD
-feature when it is connected to other networks. And if no proxy is
-announced, direct connections will be used instead.</p>
-
-<p>Silently using a proxy announced on the network might be a privacy
-or security problem. But those controlling DHCP and DNS on a network
-could just as easily set up a transparent proxy, and force all HTTP
-and FTP connections to use a proxy anyway, so I consider that
-distinction to be academic. If you are afraid of using the wrong
-proxy, you should avoid connecting to the network in question in the
-first place. In Debian Edu, the proxy setup is updated using dhcp and
-ifupdown hooks, to make sure the configuration is updated every time
-the network setup changes.</p>
-
-<p>The WPAD system is documented in a
-<a href="http://tools.ietf.org/html/draft-ietf-wrec-wpad-01">IETF
-draft</a> and a
-<a href="http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol">Wikipedia
-page</a> for those that want to learn more.</p>
-</description>
- </item>
-