]> pere.pagekite.me Git - homepage.git/blob - blog/tags/english/english.rss
5fda984320c7b7879507bd8d74aaf1bb44f41fab
[homepage.git] / blog / tags / english / english.rss
1 <?xml version="1.0" encoding="utf-8"?>
2 <rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/'>
3 <channel>
4 <title>Petter Reinholdtsen - Entries tagged english</title>
5 <description>Entries tagged english</description>
6 <link>http://people.skolelinux.org/pere/blog/</link>
7
8
9 <item>
10 <title>Nikita version 0.5 released - updated free software archive API server</title>
11 <link>http://people.skolelinux.org/pere/blog/Nikita_version_0_5_released___updated_free_software_archive_API_server.html</link>
12 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Nikita_version_0_5_released___updated_free_software_archive_API_server.html</guid>
13 <pubDate>Mon, 2 Mar 2020 19:00:00 +0100</pubDate>
14 <description>&lt;p&gt;Today, after many months of development, a new release of
15 &lt;ahref=&quot;https://gitlab.com/OsloMet-ABI/nikita-noark5-core/&quot;&gt;Nikita
16 Noark 5 core project&lt;/a&gt; was finally
17 &lt;ahref=&quot;https://lists.nuug.no/pipermail/nikita-noark/2020-March/000519.html&quot;&gt;announced
18 on the project mailing list&lt;/a&gt;. The Nikita free software solution is
19 an implementation of the Norwegian archive standard Noark 5 used by
20 government offices in Norway. These were the changes in version 0.5
21 since version 0.4, see the email link above for links to a demo
22 site:&lt;/p&gt;
23
24 &lt;ul&gt;
25
26 &lt;li&gt;Updated to Noark 5 versjon 5.0 API specification.
27 &lt;ul&gt;
28 &lt;li&gt;Changed formatting of _links from [] to {} to match IETF draft
29 on JSON HAL.&lt;/li&gt;
30 &lt;li&gt;Merged Registrering og Basisregistrering in version 4 to
31 combined Registrering.&lt;/li&gt;
32 &lt;li&gt;DokumentObjekt is now subtype of ArkivEnhet.&lt;/li&gt;
33 &lt;li&gt;Introducing new entity Arkivnotat.&lt;/li&gt;
34 &lt;li&gt;Changed all relation keys to use /v5/ instead of /v4/.&lt;/li&gt;
35 &lt;li&gt;Corrected to use new official relation keys when possible.&lt;/li&gt;
36 &lt;li&gt;Renamed Sakspart to Part and connect it to Mappe, Registrering
37 and Dokumentbeskrivelse instead of only Saksmappe.&lt;/li&gt;
38 &lt;li&gt;Moved Korrespondansepart connection from Journalpost to
39 Registrering.&lt;/li&gt;
40 &lt;li&gt;Moved Part and Korrespondansepart from package sakarkiv to
41 arkivstruktur.&lt;/li&gt;
42 &lt;li&gt;Renamed presedensstatus to presedensStatus.&lt;/li&gt;
43 &lt;li&gt;Use new JSON content-type &quot;application/vnd.noark5+json&quot;.&lt;/li&gt;
44 &lt;li&gt;Updated prepopulated format list to use PRONOM codes.&lt;/li&gt;
45 &lt;li&gt;Implemented endpoint for system information.&lt;/li&gt;
46 &lt;li&gt;Implemented national identifiers for both file and record.&lt;/li&gt;
47 &lt;li&gt;Implemented comments.&lt;/li&gt;
48 &lt;li&gt;implemented sign off.&lt;/li&gt;
49 &lt;li&gt;implemented conversion.&lt;/li&gt;
50 &lt;/ul&gt;&lt;/li&gt;
51 &lt;li&gt;Improved/implemented OData search and paging support for more entities.&lt;/li&gt;
52 &lt;li&gt;No longer exposes attribute Dokumentobjekt.referanseDokumentfil,
53 one should use the relation in _links instead.&lt;/li&gt;
54 &lt;li&gt;Corrected relation keys under
55 https://rel.arkivverket.no/noark5/v5/api/administrasjon/, replacing
56 &#39;administrasjon&#39; with &#39;admin&#39;.&lt;/li&gt;
57 &lt;li&gt;Fixed several security and stability issues discovered by Coverity.&lt;/li&gt;
58 &lt;li&gt;Corrected handling ETag errors, now return code 409.&lt;/li&gt;
59 &lt;li&gt;Improved handling of Kryssreferanse.&lt;/li&gt;
60 &lt;li&gt;Changed internal database model to use UUID/SystemID as primary keys
61 in tables.&lt;/li&gt;
62 &lt;li&gt;Changed internal database table names to use package prefix.&lt;/li&gt;
63 &lt;li&gt;Changed time zone handling for date and datetime attributes, to be
64 more according to the new definition in the API specification.&lt;/li&gt;
65 &lt;li&gt;Change revoke-token to only drop token on POST requests, not GET.&lt;/li&gt;
66 &lt;li&gt;Updated to newer Spring version.&lt;/li&gt;
67 &lt;li&gt;Changed primary key and URL component for metadata code lists to
68 use the &#39;kode&#39; value instead of a SystemID.&lt;/li&gt;
69 &lt;li&gt;Corrected implementation of Part and Sakspart.&lt;/li&gt;
70 &lt;li&gt;Changed instance lists with subtypes (like .../registrering/ and
71 .../mappe/) to include the attributes and _links entries for the
72 subtype in the supertype lists.&lt;/li&gt;
73 &lt;li&gt;Adjusted _links relations to make it possible to figure out the
74 entity of an instance using the self-&gt;href-&gt;relation key lookup
75 method.&lt;/li&gt;
76 &lt;li&gt;Fixed several end points to make sure GET, PUT, POST and DELETE
77 match each other.&lt;/li&gt;
78 &lt;li&gt;Updated DELETE endpoints to work with UUID based entity
79 identifiers.&lt;/li&gt;
80 &lt;li&gt;Restructured code to use more common URL related constants in entry
81 point values and replace @RequestMapping with method specific
82 annotations.&lt;/li&gt;
83 &lt;li&gt;Added first unit test code.&lt;/li&gt;
84 &lt;li&gt;Updated web GUI to work with the updated API.&lt;/li&gt;
85 &lt;li&gt;Changed integer fields, enforce them as numeric.&lt;/li&gt;
86 &lt;li&gt;Rewrote and simplify metadata handling to use common service and
87 controller code instead of duplicating for each type.&lt;/li&gt;
88 &lt;li&gt;Implemented the remaining metadata types.&lt;/li&gt;
89 &lt;li&gt;Changed Country list source from Wikipedia to Debian iso-codes and
90 updated the list of Countries.&lt;/li&gt;
91 &lt;li&gt;Many many corrections and improvements.&lt;/li&gt;
92
93 &lt;/ul&gt;
94
95 &lt;p&gt;If free and open standardized archiving API sound interesting to
96 you, please contact us on IRC
97 (&lt;a href=&quot;irc://irc.freenode.net/%23nikita&quot;&gt;#nikita on
98 irc.freenode.net&lt;/a&gt;) or email
99 (&lt;a href=&quot;https://lists.nuug.no/mailman/listinfo/nikita-noark&quot;&gt;nikita-noark
100 mailing list&lt;/a&gt;).&lt;/p&gt;
101
102 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
103 activities, please send Bitcoin donations to my address
104 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
105 </description>
106 </item>
107
108 <item>
109 <title>Blockchain and IoT articles accepted into Records Management Journal</title>
110 <link>http://people.skolelinux.org/pere/blog/Blockchain_and_IoT_articles_accepted_into_Records_Management_Journal.html</link>
111 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Blockchain_and_IoT_articles_accepted_into_Records_Management_Journal.html</guid>
112 <pubDate>Thu, 27 Feb 2020 09:05:00 +0100</pubDate>
113 <description>&lt;p&gt;On Tuesday, two scietific articles we have been working on for a
114 while, was finally accepted for publication into
115 &lt;a href=&quot;https://www.emerald.com/insight/publication/issn/0956-5698&quot;&gt;Records
116 Management Journal&lt;/a&gt;. Still waiting for the assigned DOI urls to
117 start working, but you can have a look at the LaTeX originals here.&lt;/p&gt;
118
119 &lt;p&gt;The first article is
120 &quot;&lt;a href=&quot;http://people.skolelinux.org/pere/blog/images/2020-02-25-rmj-iot-record-keeping.pdf&quot;&gt;A
121 record-keeping approach to managing IoT-data for government
122 agencies&lt;/a&gt;&quot; (&lt;a href=&quot;https://doi.org/10.1108/RMJ-09-2019-0050&quot;&gt;DOI
123 10.1108/RMJ-09-2019-0050&lt;a/&gt;) by Thomas Sødring, Petter Reinholdtsen
124 and David Massey, and sketches some approaches for storing measurement
125 data (aka Internet of Things sensor data) in a archive, thus providing
126 a well defined mechanism for screening and deletion of the information &lt;/p&gt;
127
128 &lt;p&gt;The second article is
129 &quot;&lt;a href=&quot;http://people.skolelinux.org/pere/blog/images/2020-02-25-rmj-block-chain-record-keeping.pdf&quot;&gt;Publishing
130 and using record-keeping structural information in a blockchain&lt;/a&gt;&quot;
131 (&lt;a href=&quot;https://doi.org/10.1108/RMJ-09-2019-0056&quot;&gt;DOI
132 10.1108/RMJ-09-2019-0056&lt;/a&gt;) by Thomas Sødring, Petter Reinholdtsen
133 and Svein Ølnes, where we describe a way for third parties to validate
134 authenticity and thus improve trust in the records kept in a
135 archive.&lt;/p&gt;
136
137 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
138 activities, please send Bitcoin donations to my address
139 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
140
141 &lt;p&gt;&lt;strong&gt;Update 2020-04-26&lt;/strong&gt;: Initially managed to swap the
142 DOI numbers. Fixed it.&lt;/p&gt;
143 </description>
144 </item>
145
146 <item>
147 <title>When terms and policy turn users away</title>
148 <link>http://people.skolelinux.org/pere/blog/When_terms_and_policy_turn_users_away.html</link>
149 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/When_terms_and_policy_turn_users_away.html</guid>
150 <pubDate>Sat, 7 Dec 2019 21:15:00 +0100</pubDate>
151 <description>&lt;p&gt;When asked to accept terms of use and privacy policies that state
152 it will to remove rights I otherwise had or accept unreasonable terms
153 undermining my privacy, I choose away the service. I simply do not
154 have the conscience to accept terms I have no indention of upholding.
155 But how are the system and service providers to know how many people
156 they scared away? Normally I just quietly walk away. But today, I
157 tried a new approach. I sent the following email (removing the
158 specifics, as I am not out to take the specific service in question)
159 to the service provider I decided to not use, to at least give them
160 one data point on how many users are unhappy with their terms:&lt;/p&gt;
161
162 &lt;blockquote&gt;
163 From: Petter Reinholdtsen
164 &lt;br&gt;Subject: When terms of use turn users away
165 &lt;br&gt;To: [contact@some.site]
166 &lt;br&gt;Date: Sat, 07 Dec 2019 16:30:56 +0100
167
168 &lt;p&gt;Dear [Site Owner],&lt;/p&gt;
169
170 &lt;p&gt;I was eager to test the system, as it seemed like a fun and
171 interesting application of [some] technology, but after reading the
172 terms of use and privacy policy on &amp;lt;URL:
173 https://www.[some.site]/terms-of-use &amp;gt; and &amp;lt;URL:
174 https://www.[some.site]/privacy-policy &amp;gt; I want you to know that I
175 decided to turn away. There were several provisions in the terms and
176 policy turning me off, but the final term that convinced me was being
177 asked to sign away my right to reverse engineer.&lt;/p&gt;
178
179 &lt;p&gt;--
180 &lt;br&gt;Happy hacking
181 &lt;br&gt;Petter Reinholdtsen&lt;/p&gt;
182 &lt;/blockquote&gt;
183
184 &lt;p&gt;I do not expect much to come out of it, but sharing it here in case
185 others want to give something similar a try too. If companies
186 discover their terms scare away enough people, perhaps they will be
187 improved...&lt;/p&gt;
188
189 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
190 activities, please send Bitcoin donations to my address
191 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
192 </description>
193 </item>
194
195 <item>
196 <title>What would it cost to store all 2018 phone calls in Norway?</title>
197 <link>http://people.skolelinux.org/pere/blog/What_would_it_cost_to_store_all_2018_phone_calls_in_Norway_.html</link>
198 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/What_would_it_cost_to_store_all_2018_phone_calls_in_Norway_.html</guid>
199 <pubDate>Mon, 25 Nov 2019 20:15:00 +0100</pubDate>
200 <description>&lt;p&gt;Four years ago, I did a back of the envelope calculation on
201 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/What_would_it_cost_to_store_all_phone_calls_in_Norway_.html&quot;&gt;how
202 much it would cost to store audio recordings of all the phone calls in
203 Norway&lt;/a&gt;, and came up with NOK 2.1 million / EUR 250 000 for the
204 year 2013. It is time to repeat the calculation using updated
205 numbers. The calculation is based on how much data storage is needed
206 for each minute of audio, how many minutes all the calls in Norway
207 sums up to, multiplied by the cost of data storage.&lt;/p&gt;
208
209 &lt;p&gt;The number of phone call minutes for 2018 was fetched from
210 &lt;a href=&quot;https://ekomstatistikken.nkom.no/&quot;&gt;the NKOM statistics
211 site&lt;/a&gt;, and for 2018, land line calls are listed as 434 238 000
212 minutes, while mobile phone calls are listed with 7 542 006 000
213 minutes. The total number of minutes is thus 7 976 244 000. For
214 simplicity, I decided to ignore any advantages in audio compression the
215 last four years, and continue to assume 60 Kbytes/min as the last
216 time.&lt;/p&gt;
217
218 &lt;p&gt;Storage prices still varies a lot, but as last time, I decide to
219 take a reasonable big and cheap hard drive, and double its price to
220 include the surrounding costs into account. A 10 TB disk cost less
221 than 4500 NOK / 450 EUR these days, and doubling it give 9000 NOK per
222 10 TB.&lt;/p&gt;
223
224 &lt;p&gt;So, with the parameters in place, lets update the old table
225 estimating cost for calls in a given year:&lt;/p&gt;
226
227 &lt;table border=&quot;1&quot;&gt;
228 &lt;tr&gt;&lt;th&gt;Year&lt;/th&gt;&lt;th&gt;Call minutes&lt;/th&gt;&lt;th&gt;Size&lt;/th&gt;&lt;th&gt;Price in NOK / EUR&lt;/th&gt;&lt;/tr&gt;
229 &lt;tr&gt;&lt;td&gt;2005&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;24 000 000 000&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;1.3 PiB&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;1 170 000 / 117 000&lt;/td&gt;&lt;/tr&gt;
230
231 &lt;tr&gt;&lt;td&gt;2012&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;18 000 000 000&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;1.0 PiB&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;900 000 / 90 000&lt;/td&gt;&lt;/tr&gt;
232
233 &lt;tr&gt;&lt;td&gt;2013&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;17 000 000 000&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;950 TiB&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;855 000 / 85 500&lt;/td&gt;&lt;/tr&gt;
234
235 &lt;tr&gt;&lt;td&gt;2018&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;7 976 244 000&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;445 TiB&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;401 100 / 40 110&lt;/td&gt;&lt;/tr&gt;
236 &lt;/table&gt;
237
238 &lt;p&gt;Both the cost of storage and the number of phone call minutes have
239 dropped since the last time, bringing the cost down to a level where I
240 guess even small organizations can afford to store the audio recording
241 from every phone call taken in a year in Norway. Of course, this is
242 just the cost of buying the storage equipment. Maintenance, need to
243 be included as well, but the volume of a single year is about a single
244 rack of hard drives, so it is not much more than I could fit in my own
245 home. Wonder how much the electricity bill would raise if I had that
246 kind of storage? I doubt it would be more than a few tens of thousand
247 NOK per year.&lt;/p&gt;
248 </description>
249 </item>
250
251 <item>
252 <title>Norwegian movies that might be legal to share on the Internet</title>
253 <link>http://people.skolelinux.org/pere/blog/Norwegian_movies_that_might_be_legal_to_share_on_the_Internet.html</link>
254 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Norwegian_movies_that_might_be_legal_to_share_on_the_Internet.html</guid>
255 <pubDate>Sun, 1 Sep 2019 11:10:00 +0200</pubDate>
256 <description>&lt;p&gt;While working on identifying and counting movies that can be
257 legally shared on the Internet, I also looked at the Norwegian movies
258 listed in IMDb. So far I have identified 54 candidates published
259 before 1940 that might no longer be protected by norwegian copyright
260 law. Of these, only 29 are available at least in part from the
261 Norwegian National Library. It can be assumed that the remaining 25
262 movies are lost. It seem most useful to identify the copyright status
263 of movies that are not lost. To verify that the movie is really no
264 longer protected, one need to verify the list of copyright holders and
265 figure out if and when they died. I&#39;ve been able to identify some of
266 them, but for some it is hard to figure out when they died.&lt;/p&gt;
267
268 &lt;/p&gt;This is the list of 29 movies both available from the library and
269 possibly no longer protected by copyright law. The year range
270 (1909-1979 on the first line) is year of publication and last year
271 with copyright protection.&lt;/p&gt;
272
273 &lt;pre&gt;
274 1909-1979 ( 70 year) NSB Bergensbanen 1909 - http://www.imdb.com/title/tt0347601/
275 1910-1980 ( 70 year) Bjørnstjerne Bjørnsons likfærd - http://www.imdb.com/title/tt9299304/
276 1910-1980 ( 70 year) Bjørnstjerne Bjørnsons begravelse - http://www.imdb.com/title/tt9299300/
277 1912-1998 ( 86 year) Roald Amundsens Sydpolsferd (1910-1912) - http://www.imdb.com/title/tt9237500/
278 1913-2006 ( 93 year) Roald Amundsen på sydpolen - http://www.imdb.com/title/tt0347886/
279 1917-1987 ( 70 year) Fanden i nøtten - http://www.imdb.com/title/tt0346964/
280 1919-2018 ( 99 year) Historien om en gut - http://www.imdb.com/title/tt0010259/
281 1920-1990 ( 70 year) Kaksen på Øverland - http://www.imdb.com/title/tt0011361/
282 1923-1993 ( 70 year) Norge - en skildring i 6 akter - http://www.imdb.com/title/tt0014319/
283 1925-1997 ( 72 year) Roald Amundsen - Ellsworths flyveekspedition 1925 - http://www.imdb.com/title/tt0016295/
284 1925-1995 ( 70 year) En verdensreise, eller Da knold og tott vaskede negrene hvite med 13 sæpen - http://www.imdb.com/title/tt1018948/
285 1926-1996 ( 70 year) Luftskibet &#39;Norge&#39;s flugt over polhavet - http://www.imdb.com/title/tt0017090/
286 1926-1996 ( 70 year) Med &#39;Maud&#39; over Polhavet - http://www.imdb.com/title/tt0017129/
287 1927-1997 ( 70 year) Den store sultan - http://www.imdb.com/title/tt1017997/
288 1928-1998 ( 70 year) Noahs ark - http://www.imdb.com/title/tt1018917/
289 1928-1998 ( 70 year) Skjæbnen - http://www.imdb.com/title/tt1002652/
290 1928-1998 ( 70 year) Chefens cigarett - http://www.imdb.com/title/tt1019896/
291 1929-1999 ( 70 year) Se Norge - http://www.imdb.com/title/tt0020378/
292 1929-1999 ( 70 year) Fra Chr. Michelsen til Kronprins Olav og Prinsesse Martha - http://www.imdb.com/title/tt0019899/
293 1930-2000 ( 70 year) Mot ukjent land - http://www.imdb.com/title/tt0021158/
294 1930-2000 ( 70 year) Det er natt - http://www.imdb.com/title/tt1017904/
295 1930-2000 ( 70 year) Over Besseggen på motorcykel - http://www.imdb.com/title/tt0347721/
296 1931-2001 ( 70 year) Glimt fra New York og den Norske koloni - http://www.imdb.com/title/tt0021913/
297 1932-2007 ( 75 year) En glad gutt - http://www.imdb.com/title/tt0022946/
298 1934-2004 ( 70 year) Den lystige radio-trio - http://www.imdb.com/title/tt1002628/
299 1935-2005 ( 70 year) Kronprinsparets reise i Nord Norge - http://www.imdb.com/title/tt0268411/
300 1935-2005 ( 70 year) Stormangrep - http://www.imdb.com/title/tt1017998/
301 1936-2006 ( 70 year) En fargesymfoni i blått - http://www.imdb.com/title/tt1002762/
302 1939-2009 ( 70 year) Til Vesterheimen - http://www.imdb.com/title/tt0032036/
303 &lt;/pre&gt;
304
305 To be sure which one of these can be legally shared on the Internet,
306 in addition to verifying the right holders list is complete, one need
307 to verify the death year of these persons:
308
309 &lt;pre&gt;
310 Bjørnstjerne Bjørnson (dead 1910) - http://www.imdb.com/name/nm0085085/
311 Gustav Adolf Olsen (missing death year) - http://www.imdb.com/name/nm0647652/
312 Gustav Lund (missing death year) - http://www.imdb.com/name/nm0526168/
313 John W. Brunius (dead 1937) - http://www.imdb.com/name/nm0116307/
314 Ola Cornelius (missing death year) - http://www.imdb.com/name/nm1227236/
315 Oskar Omdal (dead 1927) - http://www.imdb.com/name/nm3116241/
316 Paul Berge (missing death year) - http://www.imdb.com/name/nm0074006/
317 Peter Lykke-Seest (dead 1948) - http://www.imdb.com/name/nm0528064/
318 Roald Amundsen (dead 1928) - https://www.imdb.com/name/nm0025468/
319 Sverre Halvorsen (dead 1936) - http://www.imdb.com/name/nm1299757/
320 Thomas W. Schwartz (missing death year) - http://www.imdb.com/name/nm2616250/
321 &lt;/pre&gt;
322
323 &lt;p&gt;Perhaps you can help me figuring death year of those missing it, or
324 right holders if some are missing in IMDb? It would be nice to have a
325 definite list of Norwegian movies that are legal to share on the
326 Internet.&lt;/p&gt;
327
328 &lt;/p&gt;This is the list of 25 movies not available from the library and
329 possibly no longer protected by copyright law:&lt;/p&gt;
330
331 &lt;pre&gt;
332 1907-2009 (102 year) Fiskerlivets farer - http://www.imdb.com/title/tt0121288/
333 1912-2018 (106 year) Historien omen moder - http://www.imdb.com/title/tt0382852/
334 1912-2002 ( 90 year) Anny - en gatepiges roman - http://www.imdb.com/title/tt0002026/
335 1916-1986 ( 70 year) The Mother Who Paid - http://www.imdb.com/title/tt3619226/
336 1917-2018 (101 year) En vinternat - http://www.imdb.com/title/tt0008740/
337 1917-2018 (101 year) Unge hjerter - http://www.imdb.com/title/tt0008719/
338 1917-2018 (101 year) De forældreløse - http://www.imdb.com/title/tt0007972/
339 1918-2018 (100 year) Vor tids helte - http://www.imdb.com/title/tt0009769/
340 1918-2018 (100 year) Lodsens datter - http://www.imdb.com/title/tt0009314/
341 1919-2018 ( 99 year) Æresgjesten - http://www.imdb.com/title/tt0010939/
342 1921-2006 ( 85 year) Det nye year? - http://www.imdb.com/title/tt0347686/
343 1921-1991 ( 70 year) Under Polarkredsens himmel - http://www.imdb.com/title/tt0012789/
344 1923-1993 ( 70 year) Nordenfor polarcirkelen - http://www.imdb.com/title/tt0014318/
345 1925-1995 ( 70 year) Med &#39;Stavangerfjord&#39; til Nordkap - http://www.imdb.com/title/tt0016098/
346 1926-1996 ( 70 year) Over Atlanterhavet og gjennem Amerika - http://www.imdb.com/title/tt0017241/
347 1926-1996 ( 70 year) Hallo! Amerika! - http://www.imdb.com/title/tt0016945/
348 1926-1996 ( 70 year) Tigeren Teodors triumf - http://www.imdb.com/title/tt1008052/
349 1927-1997 ( 70 year) Rød sultan - http://www.imdb.com/title/tt1017979/
350 1927-1997 ( 70 year) Søndagsfiskeren Flag - http://www.imdb.com/title/tt1018002/
351 1930-2000 ( 70 year) Ro-ro til fiskeskjær - http://www.imdb.com/title/tt1017973/
352 1933-2003 ( 70 year) I kongens klær - http://www.imdb.com/title/tt0024164/
353 1934-2004 ( 70 year) Eventyret om de tre bukkene bruse - http://www.imdb.com/title/tt1007963/
354 1934-2004 ( 70 year) Pål sine høner - http://www.imdb.com/title/tt1017966/
355 1937-2007 ( 70 year) Et mesterverk - http://www.imdb.com/title/tt1019937/
356 1938-2008 ( 70 year) En Harmony - http://www.imdb.com/title/tt1007975/
357 &lt;/pre&gt;
358
359 &lt;p&gt;Several of these movies completely lack right holder information in
360 IMDb and elsewhere. Without access to a copy of the movie, it is
361 often impossible to get the list of people involved in making the
362 movie, making it impossible to figure out the correct copyright
363 status.&lt;/p&gt;
364
365 &lt;p&gt;Not listed here are the movies still protected by copyright law.
366 Their copyright terms varies from 79 to 144 years, according to the
367 information I have available so far. One of the non-lost movies might
368 change status next year,
369 &lt;a href=&quot;https://www.imdb.com/title/tt1008007/&quot;&gt;Mustads Mono from 1920&lt;/a&gt;.
370 The next one might be
371 &lt;a href=&quot;https://www.imdb.com/title/tt0347215/&quot;&gt;Hvor isbjørnen ferdes
372 from 1935&lt;/a&gt; in 2024.&lt;/p&gt;
373
374 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
375 activities, please send Bitcoin donations to my address
376 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
377 </description>
378 </item>
379
380 <item>
381 <title>Legal to share more than 16,000 movies listed on IMDB?</title>
382 <link>http://people.skolelinux.org/pere/blog/Legal_to_share_more_than_16_000_movies_listed_on_IMDB_.html</link>
383 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Legal_to_share_more_than_16_000_movies_listed_on_IMDB_.html</guid>
384 <pubDate>Sat, 10 Aug 2019 12:00:00 +0200</pubDate>
385 <description>&lt;p&gt;The recent announcement of from the New York Public Library on its
386 results in
387 &lt;a href=&quot;https://www.vice.com/en_us/article/kz4e3e/millions-of-books-are-secretly-in-the-public-domain-you-can-download-them-free&quot;&gt;identifying
388 books published in the USA that are now in the public domain&lt;/a&gt;,
389 inspired me to update the scripts I use to track down movies that are
390 in the public domain. This involved updating the script used to
391 extract lists of movies believed to be in the public domain, to work
392 with the latest version of the source web sites. In particular the
393 new edition of the &lt;a href=&quot;https://retrofilmvault.com/&quot;&gt;Retro Film
394 Vault&lt;/a&gt; web site now seem to list all the films available from that
395 distributor, bringing the films identified there to more than 12.000
396 movies, and I was able to connect 46% of these to IMDB titles.&lt;/p&gt;
397
398 &lt;p&gt;The new total is 16307 IMDB IDs (aka films) in the public domain or
399 creative commons licensed, and unknown status for 31460 movies
400 (possibly duplicates of the 16307).&lt;/p&gt;
401
402 &lt;p&gt;The complete data set is available from
403 &lt;a href=&quot;https://github.com/petterreinholdtsen/public-domain-free-imdb&quot;&gt;a
404 public git repository&lt;/a&gt;, including the scripts used to create it.&lt;/p&gt;
405
406 &lt;p&gt;Anyway, this is the summary of the 28 collected data sources so
407 far:&lt;/p&gt;
408
409 &lt;p&gt;&lt;pre&gt;
410 2361 entries ( 50 unique) with and 22472 without IMDB title ID in free-movies-archive-org-search.json
411 2363 entries ( 146 unique) with and 0 without IMDB title ID in free-movies-archive-org-wikidata.json
412 299 entries ( 32 unique) with and 93 without IMDB title ID in free-movies-cinemovies.json
413 88 entries ( 52 unique) with and 36 without IMDB title ID in free-movies-creative-commons.json
414 3190 entries ( 1532 unique) with and 13 without IMDB title ID in free-movies-fesfilm-xls.json
415 620 entries ( 24 unique) with and 283 without IMDB title ID in free-movies-fesfilm.json
416 1080 entries ( 165 unique) with and 651 without IMDB title ID in free-movies-filmchest-com.json
417 830 entries ( 13 unique) with and 0 without IMDB title ID in free-movies-icheckmovies-archive-mochard.json
418 19 entries ( 19 unique) with and 0 without IMDB title ID in free-movies-imdb-c-expired-gb.json
419 7410 entries ( 7101 unique) with and 0 without IMDB title ID in free-movies-imdb-c-expired-us.json
420 1205 entries ( 41 unique) with and 0 without IMDB title ID in free-movies-imdb-pd.json
421 163 entries ( 22 unique) with and 88 without IMDB title ID in free-movies-infodigi-pd.json
422 158 entries ( 103 unique) with and 0 without IMDB title ID in free-movies-letterboxd-looney-tunes.json
423 113 entries ( 4 unique) with and 0 without IMDB title ID in free-movies-letterboxd-pd.json
424 182 entries ( 71 unique) with and 0 without IMDB title ID in free-movies-letterboxd-silent.json
425 248 entries ( 85 unique) with and 0 without IMDB title ID in free-movies-manual.json
426 158 entries ( 4 unique) with and 64 without IMDB title ID in free-movies-mubi.json
427 85 entries ( 1 unique) with and 23 without IMDB title ID in free-movies-openflix.json
428 520 entries ( 22 unique) with and 244 without IMDB title ID in free-movies-profilms-pd.json
429 343 entries ( 14 unique) with and 10 without IMDB title ID in free-movies-publicdomainmovies-info.json
430 701 entries ( 16 unique) with and 560 without IMDB title ID in free-movies-publicdomainmovies-net.json
431 74 entries ( 13 unique) with and 60 without IMDB title ID in free-movies-publicdomainreview.json
432 698 entries ( 16 unique) with and 118 without IMDB title ID in free-movies-publicdomaintorrents.json
433 5506 entries ( 2941 unique) with and 6585 without IMDB title ID in free-movies-retrofilmvault.json
434 16 entries ( 0 unique) with and 0 without IMDB title ID in free-movies-thehillproductions.json
435 110 entries ( 2 unique) with and 29 without IMDB title ID in free-movies-two-movies-net.json
436 73 entries ( 20 unique) with and 131 without IMDB title ID in free-movies-vodo.json
437 16307 unique IMDB title IDs in total, 12509 only in one list, 31460 without IMDB title ID
438 &lt;/pre&gt;&lt;/p&gt;
439
440 &lt;p&gt;New this time is a list of all the identified IMDB titles, with
441 title, year and running time, provided in free-complete.json. this
442 file also indiciate which source is used to conclude the video is free
443 to distribute.&lt;/p&gt;
444
445 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
446 activities, please send Bitcoin donations to my address
447 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
448 </description>
449 </item>
450
451 <item>
452 <title>Teach kids to protect their privacy - the EDRi way</title>
453 <link>http://people.skolelinux.org/pere/blog/Teach_kids_to_protect_their_privacy___the_EDRi_way.html</link>
454 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Teach_kids_to_protect_their_privacy___the_EDRi_way.html</guid>
455 <pubDate>Thu, 4 Jul 2019 19:10:00 +0200</pubDate>
456 <description>&lt;p&gt;Childs need to learn how to guard their privacy too. To help them,
457 &lt;a href=&quot;https://edri.org/&quot;&gt;European Digital Rights (EDRi)&lt;/a&gt; created
458 a colorful booklet providing information on several privacy related topics,
459 and tips on how to protect ones privacy in the digital age.&lt;/p&gt;
460
461 &lt;p&gt;The 24 page booklet titled Digital Defenders is
462 &lt;a href=&quot;https://edri.org/digital-defenders-help-kids-defend-their-privacy-around-europe&quot;&gt;available
463 in several languages&lt;/a&gt;. Thanks to the valuable contributions from
464 members of &lt;a href=&quot;https://efn.no/&quot;&gt;the Electronic Foundation Norway
465 (EFN)&lt;/a&gt; and others, it is also available in Norwegian Bokmål.
466 If you would like to have it available in your language too,
467 &lt;a href=&quot;https://hosted.weblate.org/projects/efn/privacy4kids/&quot;&gt;contribute
468 via Weblate&lt;/a&gt; and get in touch.&lt;/p&gt;
469
470 &lt;p&gt;But a funny, well written and good looking PDF do not have much
471 impact, unless it is read by the right audience. To increase the
472 chance of kids reading it, I am currently assisting EFN in getting
473 copies printed on paper to distribute on the street and in class
474 rooms. Print the booklet was made possible thanks to a small et of
475 great sponsors. Thank you very much to each and every one of them! I
476 hope to have the printed booklet ready to hand out on Tuesday, when
477 &lt;a href=&quot;https://www.nuug.no/&gt;&quot;&gt;the Norwegian Unix Users Group&lt;/a&gt; is
478 organizing &lt;a href=&quot;https://wiki.nuug.no/sommerfest2019&quot;&gt;its yearly
479 barbecue for geeks and free software zealots in the Oslo area&lt;/a&gt;. If
480 you are nearby, feel free to come by and check out the party and the
481 booklet.&lt;/p&gt;
482
483 &lt;p&gt;If the booklet prove to be a success, it would be great to get
484 more sponsoring and distribute it to every kid in the country. :)&lt;/p&gt;
485
486 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
487 activities, please send Bitcoin donations to my address
488 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
489 </description>
490 </item>
491
492 <item>
493 <title>Jami/Ring, finally functioning peer to peer communication client</title>
494 <link>http://people.skolelinux.org/pere/blog/Jami_Ring__finally_functioning_peer_to_peer_communication_client.html</link>
495 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Jami_Ring__finally_functioning_peer_to_peer_communication_client.html</guid>
496 <pubDate>Wed, 19 Jun 2019 08:50:00 +0200</pubDate>
497 <description>&lt;p&gt;Some years ago, in 2016, I
498 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Experience_and_updated_recipe_for_using_the_Signal_app_without_a_mobile_phone.html&quot;&gt;wrote
499 for the first time about&lt;/a&gt; the Ring peer to peer messaging system.
500 It would provide messaging without any central server coordinating the
501 system and without requiring all users to register a phone number or
502 own a mobile phone. Back then, I could not get it to work, and put it
503 aside until it had seen more development. A few days ago I decided to
504 give it another try, and am happy to report that this time I am able
505 to not only send and receive messages, but also place audio and video
506 calls. But only if UDP is not blocked into your network.&lt;/p&gt;
507
508 &lt;p&gt;The Ring system changed name earlier this year to
509 &lt;a href=&quot;https://en.wikipedia.org/wiki/Jami_(software)&quot;&gt;Jami&lt;/a&gt;. I
510 tried doing web search for &#39;ring&#39; when I discovered it for the first
511 time, and can only applaud this change as it is impossible to find
512 something called Ring among the noise of other uses of that word. Now
513 you can search for &#39;jami&#39; and this client and
514 &lt;a href=&quot;https://jami.net/&quot;&gt;the Jami system&lt;/a&gt; is the first hit at
515 least on duckduckgo.&lt;/p&gt;
516
517 &lt;p&gt;Jami will by default encrypt messages as well as audio and video
518 calls, and try to send them directly between the communicating parties
519 if possible. If this proves impossible (for example if both ends are
520 behind NAT), it will use a central SIP TURN server maintained by the
521 Jami project. Jami can also be a normal SIP client. If the SIP
522 server is unencrypted, the audio and video calls will also be
523 unencrypted. This is as far as I know the only case where Jami will
524 do anything without encryption.&lt;/p&gt;
525
526 &lt;p&gt;Jami is available for several platforms: Linux, Windows, MacOSX,
527 Android, iOS, and Android TV. It is included in Debian already. Jami
528 also work for those using F-Droid without any Google connections,
529 while Signal do not.
530 &lt;a href=&quot;https://git.jami.net/savoirfairelinux/ring-project/wikis/technical/Protocol&quot;&gt;The
531 protocol&lt;/a&gt; is described in the Ring project wiki. The system uses a
532 distributed hash table (DHT) system (similar to BitTorrent) running
533 over UDP. On one of the networks I use, I discovered Jami failed to
534 work. I tracked this down to the fact that incoming UDP packages
535 going to ports 1-49999 were blocked, and the DHT would pick a random
536 port and end up in the low range most of the time. After talking to
537 the developers, I solved this by enabling the dhtproxy in the
538 settings, thus using TCP to talk to a central DHT proxy instead of
539
540 peering directly with others. I&#39;ve been told the developers are
541 working on allowing DHT to use TCP to avoid this problem. I also ran
542 into a problem when trying to talk to the version of Ring included in
543 Debian Stable (Stretch). Apparently the protocol changed between
544 beta2 and the current version, making these clients incompatible.
545 Hopefully the protocol will not be made incompatible in the
546 future.&lt;/p&gt;
547
548 &lt;p&gt;It is worth noting that while looking at Jami and its features, I
549 came across another communication platform I have not tested yet. The
550 &lt;a href=&quot;https://en.wikipedia.org/wiki/Tox_(protocol)&quot;&gt;Tox protocol&lt;/a&gt;
551 and &lt;a href=&quot;https://tox.chat/&quot;&gt;family of Tox clients&lt;/a&gt;. It might
552 become the topic of a future blog post.&lt;/p&gt;
553
554 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
555 activities, please send Bitcoin donations to my address
556 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
557 </description>
558 </item>
559
560 <item>
561 <title>More sales number for my Free Culture paper editions (2019-edition)</title>
562 <link>http://people.skolelinux.org/pere/blog/More_sales_number_for_my_Free_Culture_paper_editions__2019_edition_.html</link>
563 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/More_sales_number_for_my_Free_Culture_paper_editions__2019_edition_.html</guid>
564 <pubDate>Tue, 11 Jun 2019 16:05:00 +0200</pubDate>
565 <description>&lt;p&gt;The first book I published,
566 &lt;a href=&quot;http://www.free-culture.cc/&quot;&gt;Free Culture by Lawrence
567 Lessig&lt;/a&gt;, is still selling a few copies. Not a lot, but enough to
568 have contributed slightly over $500 to the &lt;a
569 href=&quot;https://creativecommons.org/&quot;&gt;Creative Commons Corporation&lt;/a&gt;
570 so far. All the profit is sent there. Most books are still sold via
571 Amazon (83 copies), with Ingram second (49) and Lulu (12) and Machette (7) as
572 minor channels. Bying directly from Lulu bring the largest cut to
573 Creative Commons. The English Edition sold 80 copies so far, the
574 French 59 copies, and Norwegian only 8 copies. Nothing impressive,
575 but nice to see the work we put down is still being appreciated. The
576 ebook edition is available for free from
577 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;Github&lt;/a&gt;.&lt;/p&gt;
578
579 &lt;table border=&quot;0&quot;&gt;
580 &lt;tr&gt;&lt;th rowspan=&quot;2&quot; valign=&quot;bottom&quot;&gt;Title / language&lt;/th&gt;
581 &lt;th colspan=&quot;7&quot;&gt;Quantity&lt;/th&gt;&lt;/tr&gt;
582 &lt;tr&gt;
583 &lt;th&gt;2016 jan-jun&lt;/th&gt;
584 &lt;th&gt;2016 jul-dec&lt;/th&gt;
585 &lt;th&gt;2017 jan-jun&lt;/th&gt;
586 &lt;th&gt;2017 jul-dec&lt;/th&gt;
587 &lt;th&gt;2018 jan-jun&lt;/th&gt;
588 &lt;th&gt;2018 jul-dec&lt;/th&gt;
589 &lt;th&gt;2019 jan-may&lt;/th&gt;
590 &lt;/tr&gt;
591
592 &lt;tr&gt;
593 &lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-22645082.html&quot;&gt;Culture Libre / French&lt;/a&gt;&lt;/td&gt;
594 &lt;td align=&quot;right&quot;&gt;3&lt;/td&gt;
595 &lt;td align=&quot;right&quot;&gt;6&lt;/td&gt;
596 &lt;td align=&quot;right&quot;&gt;19&lt;/td&gt;
597 &lt;td align=&quot;right&quot;&gt;11&lt;/td&gt;
598 &lt;td align=&quot;right&quot;&gt;7&lt;/td&gt;
599 &lt;td align=&quot;right&quot;&gt;6&lt;/td&gt;
600 &lt;td align=&quot;right&quot;&gt;7&lt;/td&gt;
601 &lt;/tr&gt;
602
603 &lt;tr&gt;
604 &lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-22441576.html&quot;&gt;Fri kultur / Norwegian&lt;/a&gt;&lt;/td&gt;
605 &lt;td align=&quot;right&quot;&gt;7&lt;/td&gt;
606 &lt;td align=&quot;right&quot;&gt;1&lt;/td&gt;
607 &lt;td align=&quot;right&quot;&gt;0&lt;/td&gt;
608 &lt;td align=&quot;right&quot;&gt;0&lt;/td&gt;
609 &lt;td align=&quot;right&quot;&gt;0&lt;/td&gt;
610 &lt;td align=&quot;right&quot;&gt;0&lt;/td&gt;
611 &lt;td align=&quot;right&quot;&gt;0&lt;/td&gt;
612 &lt;/tr&gt;
613
614 &lt;tr&gt;
615 &lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-22440520.html&quot;&gt;Free Culture / English&lt;/a&gt;&lt;/td&gt;
616 &lt;td align=&quot;right&quot;&gt;14&lt;/td&gt;
617 &lt;td align=&quot;right&quot;&gt;27&lt;/td&gt;
618 &lt;td align=&quot;right&quot;&gt;16&lt;/td&gt;
619 &lt;td align=&quot;right&quot;&gt;9&lt;/td&gt;
620 &lt;td align=&quot;right&quot;&gt;3&lt;/td&gt;
621 &lt;td align=&quot;right&quot;&gt;7&lt;/td&gt;
622 &lt;td align=&quot;right&quot;&gt;3&lt;/td&gt;
623 &lt;/tr&gt;
624
625 &lt;tr&gt;
626 &lt;td&gt;Total&lt;/td&gt;
627 &lt;td align=&quot;right&quot;&gt;24&lt;/td&gt;
628 &lt;td align=&quot;right&quot;&gt;34&lt;/td&gt;
629 &lt;td align=&quot;right&quot;&gt;35&lt;/td&gt;
630 &lt;td align=&quot;right&quot;&gt;20&lt;/td&gt;
631 &lt;td align=&quot;right&quot;&gt;10&lt;/td&gt;
632 &lt;td align=&quot;right&quot;&gt;13&lt;/td&gt;
633 &lt;td align=&quot;right&quot;&gt;10&lt;/td&gt;
634 &lt;/tr&gt;
635
636 &lt;/table&gt;
637
638 &lt;p&gt;It is fun to see the French edition being more popular than the
639 English one.&lt;/p&gt;
640
641 &lt;p&gt;If you would like to translate and publish the book in your native
642 language, I would be happy to help make it happen. Please get in
643 touch.&lt;/p&gt;
644 </description>
645 </item>
646
647 <item>
648 <title>Official MIME type &quot;text/vnd.sosi&quot; for SOSI map data</title>
649 <link>http://people.skolelinux.org/pere/blog/Official_MIME_type__text_vnd_sosi__for_SOSI_map_data.html</link>
650 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Official_MIME_type__text_vnd_sosi__for_SOSI_map_data.html</guid>
651 <pubDate>Tue, 4 Jun 2019 09:20:00 +0200</pubDate>
652 <description>&lt;p&gt;Just 15 days ago,
653 &lt;ahref=&quot;http://people.skolelinux.org/pere/blog/MIME_type__text_vnd_sosi__for_SOSI_map_data.html&quot;&gt;I
654 mentioned&lt;/a&gt; my submission to IANA to register an official MIME type
655 for the SOSI vector map format. This morning, just an hour ago, I was
656 notified that
657 &lt;a href=&quot;https://www.iana.org/assignments/media-types/text/vnd.sosi&quot;&gt;the
658 MIME type &quot;text/vnd.sosi&quot;&lt;/a&gt; is registered for this format. In
659 addition to this registration, my
660 &lt;a href=&quot;https://github.com/file/file/blob/master/magic/Magdir/sosi&quot;&gt;file(1)
661 patch for a pattern matching rule for SOSI files&lt;/a&gt; has been accepted
662 into the official source of that program (pending a new release), and
663 I&#39;ve been told by the team behind
664 &lt;a href=&quot;https://www.nationalarchives.gov.uk/PRONOM/&quot;&gt;PRONOM&lt;/a&gt; that
665 the SOSI format will be included in the next release of PRONOM, which
666 they plan to release this summer around July.&lt;/p&gt;
667
668 &lt;p&gt;I am very happy to see all of this fall into place, for use by
669 &lt;a href=&quot;https://github.com/arkivverket/noark5-tjenestegrensesnitt-standard/&quot;&gt;the
670 Noark 5 Tjenestegrensesnitt&lt;/a&gt; implementations.&lt;/p&gt;
671
672 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
673 activities, please send Bitcoin donations to my address
674 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
675 </description>
676 </item>
677
678 <item>
679 <title>The space rover coquine, or how I ended up on the dark side of the moon</title>
680 <link>http://people.skolelinux.org/pere/blog/The_space_rover_coquine__or_how_I_ended_up_on_the_dark_side_of_the_moon.html</link>
681 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_space_rover_coquine__or_how_I_ended_up_on_the_dark_side_of_the_moon.html</guid>
682 <pubDate>Sun, 2 Jun 2019 23:55:00 +0200</pubDate>
683 <description>&lt;p&gt;A while back a college and friend from Debian and the Skolelinux /
684 Debian Edu project approached me, asking if I knew someone that might
685 be interested in helping out with a technology project he was running
686 as a teacher at &lt;a href=&quot;https://www.ecolefrancodanoise.dk/&quot;&gt;L&#39;école
687 franco-danoise&lt;/a&gt; - the Danish-French school and kindergarden. The
688 kids were building robots, rovers. The story behind it is to build a
689 rover for use
690 &lt;a href=&quot;http://blog.ecolefrancodanoise.dk/first-week-on-the-dark-side&quot;&gt;on
691 the dark side of the moon&lt;/a&gt;, and remote control it. As travel cost
692 was a bit high for the final destination, and they wanted to test the
693 concept first, he was looking for volunteers to host a rover for the
694 kids to control in a foreign country. I ended up volunteering as a
695 host, and last week the rover arrived. It took a while to arrive
696 after &lt;a href=&quot;http://blog.ecolefrancodanoise.dk/model-moms&quot;&gt;it was
697 built and shipped&lt;/a&gt;, because of customs confusion. Luckily we were
698 able fix it quickly with help from my colleges at work.&lt;/p&gt;
699
700 &lt;p&gt;This is what it looked like when the rover arrived. Note the cute
701 eyes looking up on me from the wrapping&lt;/p&gt;
702
703 &lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2019-06-02-robot-dark-side-of-moon-esken-med-det-rare-i.jpeg&quot; width=&quot;32%&quot; style=&quot;clear:left&quot;/&gt;
704 &lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2019-06-02-robot-dark-side-of-moon-den-ser-meg.jpeg&quot; width=&quot;32%&quot; style=&quot;clear:left&quot;/&gt;
705 &lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2019-06-02-robot-dark-side-of-moon-en-skrue-loes.jpeg&quot; width=&quot;32%&quot; style=&quot;clear:left&quot;/&gt;
706
707 &lt;p style=&quot;text-align:left&quot;&gt;Once the robot arrived, we needed to track
708 down batteries and figure out how to build custom firmware for it with
709 the appropriate wifi settings. I asked a friend if I could get two
710 18650 batteries from his pile of Tesla batteries (he had them from the
711 wrack of a crashed Tesla), so now the rover is running on Tesla
712 batteries.&lt;/p&gt;
713
714 &lt;p&gt;Building
715 &lt;a href=&quot;https://gitlab.com/ecolefrancodanoise/arduino-efd/&quot;&gt;the rover
716 firmware&lt;/a&gt; proved a bit harder, as the code did not work out of the
717 box with the Arduino IDE package in Debian Buster. I suspect this is
718 due to a unsolved
719 &lt;a href=&quot;https://github.com/arduino/Arduino/pull/2703&quot;&gt; license problem
720 with arduino&lt;/a&gt; blocking Debian from upgrading to the latest version.
721 In the end we gave up debugging why the IDE failed to find the
722 required libraries, and ended up using the Arduino Makefile from the
723 &lt;a href=&quot;https://tracker.debian.org/pkg/arduino-mk&quot;&gt;arduino-mk Debian
724 package&lt;/a&gt; instead. Unfortunately the camera library is missing from
725 the Arduino environment in Debian, so we disabled the camera support
726 for the first firmware build, to get something up and running. With
727 this reduced firmware, the robot could be controlled via the
728 controller server, driving around and measuring distance using its
729 internal acoustic sensor.&lt;/p&gt;
730
731 &lt;p&gt;Next, With some help from my friend in Denmark, which checked in the
732 camera library into the gitlab repository for me to use, we were able
733 to build a new and more complete version of the firmware, and the
734 robot is now up and running. This is what the &quot;commander&quot; web page
735 look like after taking a measurement and a snapshot:&lt;/p&gt;
736
737 &lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2019-06-02-robot-dark-side-of-moon-commander.png&quot; width=&quot;40%&quot; border=&quot;1&quot; align=&quot;center&quot;/&gt;
738
739 &lt;p&gt;If you want to learn more about this project, you can check out the
740 &lt;a href=&quot;https://hackaday.io/project/164082-the-dark-side-challenge&quot;&gt;The
741 Dark Side Challenge&lt;/a&gt; Hackaday web pages.&lt;/p&gt;
742
743 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
744 activities, please send Bitcoin donations to my address
745 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
746 </description>
747 </item>
748
749 <item>
750 <title>Nikita version 0.4 released - free software archive API server</title>
751 <link>http://people.skolelinux.org/pere/blog/Nikita_version_0_4_released___free_software_archive_API_server.html</link>
752 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Nikita_version_0_4_released___free_software_archive_API_server.html</guid>
753 <pubDate>Wed, 22 May 2019 11:30:00 +0200</pubDate>
754 <description>&lt;p&gt;This morning, a new release of
755 &lt;a href=&quot;https://gitlab.com/OsloMet-ABI/nikita-noark5-core/&quot;&gt;Nikita
756 Noark 5 core project&lt;/a&gt; was
757 &lt;a href=&quot;https://lists.nuug.no/pipermail/nikita-noark/2019-May/000468.html&quot;&gt;announced
758 on the project mailing list&lt;/a&gt;. The Nikita free software solution is
759 an implementation of the Norwegian archive standard Noark 5 used by
760 government offices in Norway. These were the changes in version 0.4
761 since version 0.3, see the email link above for links to a demo site:&lt;/p&gt;
762
763 &lt;ul&gt;
764
765 &lt;li&gt;Roll out OData handling to all endpoints where applicable&lt;/li&gt;
766 &lt;li&gt;Changed the relation key for &quot;ny-journalpost&quot; to the official one.&lt;/li&gt;
767 &lt;li&gt;Better link generation on outgoing links.&lt;/li&gt;
768 &lt;li&gt;Tidy up code and make code and approaches more consistent throughout
769 the codebase&lt;/li&gt;
770 &lt;li&gt;Update rels to be in compliance with updated version in the
771 interface standard&lt;/li&gt;
772 &lt;li&gt;Avoid printing links on empty objects as they can&#39;t have links&lt;/li&gt;
773 &lt;li&gt;Small bug fixes and improvements&lt;/li&gt;
774 &lt;li&gt;Start moving generation of outgoing links to @Service layer so access
775 control can be used when generating links&lt;/li&gt;
776 &lt;li&gt;Log exception that was being swallowed so it&#39;s traceable&lt;/li&gt;
777 &lt;li&gt;Fix name mapping problem&lt;/li&gt;
778 &lt;li&gt;Update templated printing so templated should only be printed if it
779 is set true. Requires more work to roll out across entire
780 application.&lt;/li&gt;
781 &lt;li&gt;Remove Record-&gt;DocumentObject as per domain model of n5v4&lt;/li&gt;
782 &lt;li&gt;Add ability to delete lists filtered with OData&lt;/li&gt;
783 &lt;li&gt;Return NO_CONTENT (204) on delete as per interface standard&lt;/li&gt;
784 &lt;li&gt;Introduce support for ConstraintViolationException exception&lt;/li&gt;
785 &lt;li&gt;Make Service classes extend NoarkService&lt;/li&gt;
786 &lt;li&gt;Make code base respect X-Forwarded-Host, X-Forwarded-Proto and
787 X-Forwarded-Port&lt;/li&gt;
788 &lt;li&gt;Update CorrespondencePart* code to be more in line with Single
789 Responsibility Principle&lt;/li&gt;
790 &lt;li&gt;Make package name follow directory structure&lt;/li&gt;
791 &lt;li&gt;Make sure Document number starts at 1, not 0&lt;/li&gt;
792 &lt;li&gt;Fix isues discovered by FindBugs&lt;/li&gt;
793 &lt;li&gt;Update from Date to ZonedDateTime&lt;/li&gt;
794 &lt;li&gt;Fix wrong tablename&lt;/li&gt;
795 &lt;li&gt;Introduce Service layer tests&lt;/li&gt;
796 &lt;li&gt;Improvements to CorrespondencePart&lt;/li&gt;
797 &lt;li&gt;Continued work on Class / Classificationsystem&lt;/li&gt;
798 &lt;li&gt;Fix feature where authors were stored as storageLocations&lt;/li&gt;
799 &lt;li&gt;Update HQL builder for OData&lt;/li&gt;
800 &lt;li&gt;Update OData search capability from webpage&lt;/li&gt;
801
802 &lt;/ul&gt;
803
804 &lt;p&gt;If free and open standardized archiving API sound interesting to
805 you, please contact us on IRC
806 (&lt;a href=&quot;irc://irc.freenode.net/%23nikita&quot;&gt;#nikita on
807 irc.freenode.net&lt;/a&gt;) or email
808 (&lt;a href=&quot;https://lists.nuug.no/mailman/listinfo/nikita-noark&quot;&gt;nikita-noark
809 mailing list&lt;/a&gt;).&lt;/p&gt;
810
811 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
812 activities, please send Bitcoin donations to my address
813 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
814 </description>
815 </item>
816
817 <item>
818 <title>MIME type &quot;text/vnd.sosi&quot; for SOSI map data</title>
819 <link>http://people.skolelinux.org/pere/blog/MIME_type__text_vnd_sosi__for_SOSI_map_data.html</link>
820 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/MIME_type__text_vnd_sosi__for_SOSI_map_data.html</guid>
821 <pubDate>Mon, 20 May 2019 08:35:00 +0200</pubDate>
822 <description>&lt;p&gt;As part of my involvement in the work to
823 &lt;a href=&quot;https://github.com/arkivverket/noark5-tjenestegrensesnitt-standard&quot;&gt;standardise
824 a REST based API for Noark 5&lt;/a&gt;, the Norwegian archiving standard, I
825 spent some time the last few months to try to register a
826 &lt;a href=&quot;https://www.iana.org/assignments/media-types/&quot;&gt;MIME type&lt;/a&gt;
827 and &lt;a href=&quot;https://www.nationalarchives.gov.uk/PRONOM/&quot;&gt;PRONOM
828 code&lt;/a&gt; for the SOSI file format. The background is that there is a
829 set of formats approved for long term storage and archiving in Norway,
830 and among these formats, SOSI is the only format missing a MIME type
831 and PRONOM code.&lt;/p&gt;
832
833 &lt;p&gt;What is SOSI, you might ask? To quote Wikipedia: SOSI is short for
834 Samordnet Opplegg for Stedfestet Informasjon (literally &quot;Coordinated
835 Approach for Spatial Information&quot;, but more commonly expanded in
836 English to Systematic Organization of Spatial Information). It is a
837 text based file format for geo-spatial vector information used in
838 Norway. Information about the SOSI format can be found in English
839 from &lt;a href=&quot;https://en.wikipedia.org/wiki/SOSI&quot;&gt;Wikipedia&lt;/a&gt;. The
840 specification is available in Norwegian from
841 &lt;a href=&quot;https://www.kartverket.no/geodataarbeid/Standarder/SOSI/&quot;&gt;the
842 Norwegian mapping authority&lt;/a&gt;. The SOSI standard, which originated
843 in the beginning of nineteen eighties, was the inspiration and formed the
844 basis for the XML based
845 &lt;a href=&quot;https://en.wikipedia.org/wiki/Geography_Markup_Language&quot;&gt;Geography
846 Markup Language&lt;/a&gt;.&lt;/p&gt;
847
848 &lt;p&gt;I have so far written
849 &lt;a href=&quot;https://github.com/file/file/pull/67&quot;&gt;a pattern matching
850 rule&lt;/a&gt; for the file(1) unix tool to recognize SOSI files, submitted
851 a request to the PRONOM project to have a PRONOM ID assigned to the
852 format (reference TNA1555078202S60), and today send a request to IANA
853 to register the &quot;text/vnd.sosi&quot; MIME type for this format (referanse
854 &lt;a href=&quot;https://tools.iana.org/public-view/viewticket/1143144&quot;&gt;IANA
855 #1143144&lt;/a&gt;). If all goes well, in a few months, anyone implementing
856 the Noark 5 Tjenestegrensesnitt API spesification should be able to
857 use an official MIME type and PRONOM code for SOSI files. In
858 addition, anyone using SOSI files on Linux should be able to
859 automatically recognise the format and web sites handing out SOSI
860 files can begin providing a more specific MIME type. So far, SOSI
861 files has been handed out from web sites using the
862 &quot;application/octet-stream&quot; MIME type, which is just a nice way of
863 stating &quot;I do not know&quot;. Soon, we will know. :)&lt;/p&gt;
864
865 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
866 activities, please send Bitcoin donations to my address
867 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
868 </description>
869 </item>
870
871 <item>
872 <title>PlantUML for text based UML diagram modelling - nice free software</title>
873 <link>http://people.skolelinux.org/pere/blog/PlantUML_for_text_based_UML_diagram_modelling___nice_free_software.html</link>
874 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/PlantUML_for_text_based_UML_diagram_modelling___nice_free_software.html</guid>
875 <pubDate>Mon, 25 Mar 2019 09:35:00 +0100</pubDate>
876 <description>&lt;p&gt;As part of my involvement with the
877 &lt;a href=&quot;https://gitlab.com/OsloMet-ABI/nikita-noark5-core/&quot;&gt;Nikita
878 Noark 5 core project&lt;/a&gt;, I have been proposing improvements to the
879 API specification created by &lt;a href=&quot;https://www.arkivverket.no/&quot;&gt;The
880 National Archives of Norway&lt;/a&gt; and helped migrating the text from a
881 version control system unfriendly binary format (docx) to Markdown in
882 git. Combined with the migration to a public git repository (on
883 github), this has made it possible for anyone to suggest improvement
884 to the text.&lt;/p&gt;
885
886 &lt;p&gt;The specification is filled with UML diagrams. I believe the
887 original diagrams were modelled using Sparx Systems Enterprise
888 Architect, and exported as EMF files for import into docx. This
889 approach make it very hard to track changes using a version control
890 system. To improve the situation I have been looking for a good text
891 based UML format with associated command line free software tools on
892 Linux and Windows, to allow anyone to send in corrections to the UML
893 diagrams in the specification. The tool must be text based to work
894 with git, and command line to be able to run it automatically to
895 generate the diagram images. Finally, it must be free software to
896 allow anyone, even those that can not accept a non-free software
897 license, to contribute.&lt;/p&gt;
898
899 &lt;p&gt;I did not know much about free software UML modelling tools when I
900 started. I have used dia and inkscape for simple modelling in the
901 past, but neither are available on Windows, as far as I could tell. I
902 came across a nice
903 &lt;a href=&quot;https://modeling-languages.com/text-uml-tools-complete-list/&quot;&gt;list
904 of text mode uml tools&lt;/a&gt;, and tested out a few of the tools listed
905 there. &lt;a href=&quot;http://plantuml.com/&quot;&gt;The PlantUML tool&lt;/a&gt; seemed
906 most promising. After verifying that the packages
907 &lt;a href=&quot;https://tracker.debian.org/pkg/plantuml&quot;&gt;is available in
908 Debian&lt;/a&gt; and found &lt;a href=&quot;https://github.com/plantuml/plantuml&quot;&gt;its
909 Java source&lt;/a&gt; under a GPL license on github, I set out to test if it
910 could represent the diagrams we needed, ie the ones currently in
911 &lt;a href=&quot;https://github.com/arkivverket/noark5-tjenestegrensesnitt-standard/&quot;&gt;the
912 Noark 5 Tjenestegrensesnitt specification&lt;/a&gt;. I am happy to report
913 that it could represent them, even thought it have a few warts here
914 and there.&lt;/p&gt;
915
916 &lt;p&gt;After a few days of modelling I completed the task this weekend. A
917 temporary link to the complete set of diagrams (original and from
918 PlantUML) is available in
919 &lt;a href=&quot;https://github.com/arkivverket/noark5-tjenestegrensesnitt-standard/issues/76&quot;&gt;the
920 github issue discussing the need for a text based UML format&lt;/a&gt;, but
921 please note I lack a sensible tool to convert EMF files to PNGs, so
922 the &quot;original&quot; rendering is not as good as the original was in the
923 publised PDF.&lt;/p&gt;
924
925 &lt;p&gt;Here is an example UML diagram, showing the core classes for
926 keeping metadata about archived documents:&lt;/p&gt;
927
928 &lt;pre&gt;
929 @startuml
930 skinparam classAttributeIconSize 0
931
932 !include media/uml-class-arkivskaper.iuml
933 !include media/uml-class-arkiv.iuml
934 !include media/uml-class-klassifikasjonssystem.iuml
935 !include media/uml-class-klasse.iuml
936 !include media/uml-class-arkivdel.iuml
937 !include media/uml-class-mappe.iuml
938 !include media/uml-class-merknad.iuml
939 !include media/uml-class-registrering.iuml
940 !include media/uml-class-basisregistrering.iuml
941 !include media/uml-class-dokumentbeskrivelse.iuml
942 !include media/uml-class-dokumentobjekt.iuml
943 !include media/uml-class-konvertering.iuml
944 !include media/uml-datatype-elektronisksignatur.iuml
945
946 Arkivstruktur.Arkivskaper &quot;+arkivskaper 1..*&quot; &lt;-o &quot;+arkiv 0..*&quot; Arkivstruktur.Arkiv
947 Arkivstruktur.Arkiv o--&gt; &quot;+underarkiv 0..*&quot; Arkivstruktur.Arkiv
948 Arkivstruktur.Arkiv &quot;+arkiv 1&quot; o--&gt; &quot;+arkivdel 0..*&quot; Arkivstruktur.Arkivdel
949 Arkivstruktur.Klassifikasjonssystem &quot;+klassifikasjonssystem [0..1]&quot; &lt;--o &quot;+arkivdel 1..*&quot; Arkivstruktur.Arkivdel
950 Arkivstruktur.Klassifikasjonssystem &quot;+klassifikasjonssystem [0..1]&quot; o--&gt; &quot;+klasse 0..*&quot; Arkivstruktur.Klasse
951 Arkivstruktur.Arkivdel &quot;+arkivdel 0..1&quot; o--&gt; &quot;+mappe 0..*&quot; Arkivstruktur.Mappe
952 Arkivstruktur.Arkivdel &quot;+arkivdel 0..1&quot; o--&gt; &quot;+registrering 0..*&quot; Arkivstruktur.Registrering
953 Arkivstruktur.Klasse &quot;+klasse 0..1&quot; o--&gt; &quot;+mappe 0..*&quot; Arkivstruktur.Mappe
954 Arkivstruktur.Klasse &quot;+klasse 0..1&quot; o--&gt; &quot;+registrering 0..*&quot; Arkivstruktur.Registrering
955 Arkivstruktur.Mappe --&gt; &quot;+undermappe 0..*&quot; Arkivstruktur.Mappe
956 Arkivstruktur.Mappe &quot;+mappe 0..1&quot; o--&gt; &quot;+registrering 0..*&quot; Arkivstruktur.Registrering
957 Arkivstruktur.Merknad &quot;+merknad 0..*&quot; &lt;--* Arkivstruktur.Mappe
958 Arkivstruktur.Merknad &quot;+merknad 0..*&quot; &lt;--* Arkivstruktur.Dokumentbeskrivelse
959 Arkivstruktur.Basisregistrering -|&gt; Arkivstruktur.Registrering
960 Arkivstruktur.Merknad &quot;+merknad 0..*&quot; &lt;--* Arkivstruktur.Basisregistrering
961 Arkivstruktur.Registrering &quot;+registrering 1..*&quot; o--&gt; &quot;+dokumentbeskrivelse 0..*&quot; Arkivstruktur.Dokumentbeskrivelse
962 Arkivstruktur.Dokumentbeskrivelse &quot;+dokumentbeskrivelse 1&quot; o-&gt; &quot;+dokumentobjekt 0..*&quot; Arkivstruktur.Dokumentobjekt
963 Arkivstruktur.Dokumentobjekt *-&gt; &quot;+konvertering 0..*&quot; Arkivstruktur.Konvertering
964 Arkivstruktur.ElektroniskSignatur -[hidden]-&gt; Arkivstruktur.Dokumentobjekt
965 @enduml
966 &lt;/pre&gt;
967
968 &lt;p&gt;&lt;a href=&quot;http://plantuml.com/class-diagram&quot;&gt;The format&lt;/a&gt; is quite
969 compact, with little redundant information. The text expresses
970 entities and relations, and there is little layout related fluff. One
971 can reuse content by using include files, allowing for consistent
972 naming across several diagrams. The include files can be standalone
973 PlantUML too. Here is the content of
974 &lt;tt&gt;media/uml-class-arkivskaper.iuml&lt;/tt&gt;:&lt;/p&gt;
975
976 &lt;pre&gt;
977 @startuml
978 class Arkivstruktur.Arkivskaper &lt;Arkivenhet&gt; {
979 +arkivskaperID : string
980 +arkivskaperNavn : string
981 +beskrivelse : string [0..1]
982 }
983 @enduml
984 &lt;/pre&gt;
985
986 &lt;p&gt;This is what the complete diagram for the PlantUML notation above
987 look like:&lt;/p&gt;
988
989 &lt;p&gt;&lt;img width=&quot;80%&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2019-03-25-noark5-plantuml-diagrameksempel.png&quot;&gt;&lt;/p&gt;
990
991 &lt;p&gt;A cool feature of PlantUML is that the generated PNG files include
992 the entire original source diagram as text. The source (with include
993 statements expanded) can be extracted using for example
994 &lt;tt&gt;exiftool&lt;/tt&gt;. Another cool feature is that parts of the entities
995 can be hidden after inclusion. This allow to use include files with
996 all attributes listed, even for UML diagrams that should not list any
997 attributes.&lt;/p&gt;
998
999 &lt;p&gt;The diagram also show some of the warts. Some times the layout
1000 engine place text labels on top of each other, and some times it place
1001 the class boxes too close to each other, not leaving room for the
1002 labels on the relationship arrows. The former can be worked around by
1003 placing extra newlines in the labes (ie &quot;\n&quot;). I did not do it here
1004 to be able to demonstrate the issue. I have not found a good way
1005 around the latter, so I normally try to reduce the problem by changing
1006 from vertical to horizontal links to improve the layout.&lt;/p&gt;
1007
1008 &lt;p&gt;All in all, I am quite happy with PlantUML, and very impressed with
1009 how quickly its lead developer responds to questions. So far I got an
1010 answer to my questions in a few hours when I send an email. I
1011 definitely recommend looking at PlantUML if you need to make UML
1012 diagrams. Note, PlantUML can draw a lot more than class relations.
1013 Check out the documention for a complete list. :)&lt;/p&gt;
1014
1015 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1016 activities, please send Bitcoin donations to my address
1017 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1018 </description>
1019 </item>
1020
1021 <item>
1022 <title>Release 0.3 of free software archive API system Nikita announced</title>
1023 <link>http://people.skolelinux.org/pere/blog/Release_0_3_of_free_software_archive_API_system_Nikita_announced.html</link>
1024 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Release_0_3_of_free_software_archive_API_system_Nikita_announced.html</guid>
1025 <pubDate>Sun, 24 Mar 2019 14:30:00 +0100</pubDate>
1026 <description>&lt;p&gt;Yesterday, a new release of
1027 &lt;a href=&quot;https://gitlab.com/OsloMet-ABI/nikita-noark5-core/&quot;&gt;Nikita
1028 Noark 5 core project&lt;/a&gt; was
1029 &lt;a href=&quot;https://lists.nuug.no/pipermail/nikita-noark/2019-March/000451.html&quot;&gt;announced
1030 on the project mailing list&lt;/a&gt;. The free software solution is an
1031 implementation of the Norwegian archive standard Noark 5 used by
1032 government offices in Norway. These were the changes in version 0.3
1033 since version 0.2.1 (from NEWS.md):&lt;/p&gt;
1034
1035 &lt;ul&gt;
1036 &lt;li&gt;Improved ClassificationSystem and Class behaviour.&lt;/li&gt;
1037 &lt;li&gt;Tidied up known inconsistencies between domain model and hateaos links.&lt;/li&gt;
1038 &lt;li&gt;Added experimental code for blockchain integration. &lt;/li&gt;
1039 &lt;li&gt;Make token expiry time configurable at upstart from properties file.&lt;/li&gt;
1040 &lt;li&gt;Continued work on OData search syntax.&lt;/li&gt;
1041 &lt;li&gt;Started work on pagination for entities, partly implemented for Saksmappe.&lt;/li&gt;
1042 &lt;li&gt;Finalise ClassifiedCode Metadata entity.&lt;/li&gt;
1043 &lt;li&gt;Implement mechanism to check if authentication token is still
1044 valid. This allow the GUI to return a more sensible message to the
1045 user if the token is expired.&lt;/li&gt;
1046 &lt;li&gt;Reintroduce browse.html page to allow user to browse JSON API using
1047 hateoas links.&lt;/li&gt;
1048 &lt;li&gt;Fix bug in handling file/mappe sequence number. Year change was
1049 not properly handled.&lt;/li&gt;
1050 &lt;li&gt;Update application yml files to be in sync with current development.&lt;/li&gt;
1051 &lt;li&gt;Stop &#39;converting&#39; everything to PDF using libreoffice. Only
1052 convert the file formats doc, ppt, xls, docx, pptx, xlsx, odt, odp
1053 and ods.&lt;/li&gt;
1054 &lt;li&gt;Continued code style fixing, making code more readable.&lt;/li&gt;
1055 &lt;li&gt;Minor bug fixes.&lt;/li&gt;
1056
1057 &lt;/ul&gt;
1058
1059 &lt;p&gt;If free and open standardized archiving API sound interesting to
1060 you, please contact us on IRC
1061 (&lt;a href=&quot;irc://irc.freenode.net/%23nikita&quot;&gt;#nikita on
1062 irc.freenode.net&lt;/a&gt;) or email
1063 (&lt;a href=&quot;https://lists.nuug.no/mailman/listinfo/nikita-noark&quot;&gt;nikita-noark
1064 mailing list&lt;/a&gt;).&lt;/p&gt;
1065
1066 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1067 activities, please send Bitcoin donations to my address
1068 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1069 </description>
1070 </item>
1071
1072 <item>
1073 <title>Websocket from Kraken in Valutakrambod</title>
1074 <link>http://people.skolelinux.org/pere/blog/Websocket_from_Kraken_in_Valutakrambod.html</link>
1075 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Websocket_from_Kraken_in_Valutakrambod.html</guid>
1076 <pubDate>Fri, 1 Feb 2019 22:25:00 +0100</pubDate>
1077 <description>&lt;p&gt;Yesterday, the Kraken virtual currency exchange announced
1078 &lt;a href=&quot;https://blog.kraken.com/post/2019/websockets-public-api-launching-soon/&quot;&gt;their
1079 Websocket service&lt;/a&gt;, providing a stream of exchange updates to its
1080 clients. Getting updated rates quickly is a good idea, so I used
1081 their &lt;a href=&quot;https://www.kraken.com/en-us/help/websocket-api&quot;&gt;API
1082 documentation&lt;/a&gt; and added Websocket support to the Kraken service in
1083 Valutakrambod today. The python library can now get updates
1084 from Kraken several times per second, instead of every time the
1085 information is polled from the REST API.&lt;/p&gt;
1086
1087 &lt;p&gt;If this sound interesting to you, the code for valutakrambod is
1088 available from
1089 &lt;a href=&quot;http://github.com/petterreinholdtsen/valutakrambod&quot;&gt;github&lt;/a&gt;.
1090 Here is example output from the example client displaying rates in a
1091 curses view:&lt;/p&gt;
1092
1093 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
1094 Name Pair Bid Ask Spr Ftcd Age
1095 BitcoinsNorway BTCEUR 2959.2800 3021.0500 2.0% 36 nan nan
1096 Bitfinex BTCEUR 3087.9000 3088.0000 0.0% 36 37 nan
1097 Bitmynt BTCEUR 3001.8700 3135.4600 4.3% 36 52 nan
1098 Bitpay BTCEUR 3003.8659 nan nan% 35 nan nan
1099 Bitstamp BTCEUR 3008.0000 3010.2300 0.1% 0 1 1
1100 Bl3p BTCEUR 3000.6700 3010.9300 0.3% 1 nan nan
1101 Coinbase BTCEUR 2992.1800 3023.2500 1.0% 34 nan nan
1102 Kraken+BTCEUR 3005.7000 3006.6000 0.0% 0 1 0
1103 Paymium BTCEUR 2940.0100 2993.4400 1.8% 0 2688 nan
1104 BitcoinsNorway BTCNOK 29000.0000 29360.7400 1.2% 36 nan nan
1105 Bitmynt BTCNOK 29115.6400 29720.7500 2.0% 36 52 nan
1106 Bitpay BTCNOK 29029.2512 nan nan% 36 nan nan
1107 Coinbase BTCNOK 28927.6000 29218.5900 1.0% 35 nan nan
1108 MiraiEx BTCNOK 29097.7000 29741.4200 2.2% 36 nan nan
1109 BitcoinsNorway BTCUSD 3385.4200 3456.0900 2.0% 36 nan nan
1110 Bitfinex BTCUSD 3538.5000 3538.6000 0.0% 36 45 nan
1111 Bitpay BTCUSD 3443.4600 nan nan% 34 nan nan
1112 Bitstamp BTCUSD 3443.0100 3445.0500 0.1% 0 2 1
1113 Coinbase BTCUSD 3428.1600 3462.6300 1.0% 33 nan nan
1114 Gemini BTCUSD 3445.8800 3445.8900 0.0% 36 326 nan
1115 Hitbtc BTCUSD 3473.4700 3473.0700 -0.0% 0 0 0
1116 Kraken+BTCUSD 3444.4000 3445.6000 0.0% 0 1 0
1117 Exchangerates EURNOK 9.6685 9.6685 0.0% 36 22226 nan
1118 Norgesbank EURNOK 9.6685 9.6685 0.0% 36 22226 nan
1119 Bitstamp EURUSD 1.1440 1.1462 0.2% 0 1 2
1120 Exchangerates EURUSD 1.1471 1.1471 0.0% 36 22226 nan
1121 BitcoinsNorway LTCEUR 1.0009 22.6538 95.6% 35 nan nan
1122 BitcoinsNorway LTCNOK 259.0900 264.9300 2.2% 35 nan nan
1123 BitcoinsNorway LTCUSD 0.0000 29.0000 100.0% 35 nan nan
1124 Norgesbank USDNOK 8.4286 8.4286 0.0% 36 22226 nan
1125 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
1126
1127 &lt;p&gt;Yes, I notice the strange negative spread on Hitbtc. I&#39;ve seen the
1128 same on Kraken. Another strange observation is that Kraken some times
1129 announce trade orders a fraction of a second in the future. I really
1130 wonder what is going on there.&lt;/p&gt;
1131
1132 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1133 activities, please send Bitcoin donations to my address
1134 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1135 </description>
1136 </item>
1137
1138 <item>
1139 <title>Debian now got everything you need to program Micro:bit</title>
1140 <link>http://people.skolelinux.org/pere/blog/Debian_now_got_everything_you_need_to_program_Micro_bit.html</link>
1141 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_now_got_everything_you_need_to_program_Micro_bit.html</guid>
1142 <pubDate>Tue, 22 Jan 2019 17:20:00 +0100</pubDate>
1143 <description>&lt;p&gt;I am amazed and very pleased to discover that since a few days ago,
1144 everything you need to program the &lt;a href=&quot;https://microbit.org/&quot;&gt;BBC
1145 micro:bit&lt;/a&gt; is available from the Debian archive. All this is
1146 thanks to the hard work of Nick Morrott and the Debian python
1147 packaging team. The micro:bit project recommend the mu-editor to
1148 program the microcomputer, as this editor will take care of all the
1149 machinery required to injekt/flash micropython alongside the program
1150 into the micro:bit, as long as the pieces are available.&lt;/p&gt;
1151
1152 &lt;p&gt;There are three main pieces involved. The first to enter Debian
1153 was
1154 &lt;a href=&quot;https://tracker.debian.org/pkg/python-uflash&quot;&gt;python-uflash&lt;/a&gt;,
1155 which was accepted into the archive 2019-01-12. The next one was
1156 &lt;a href=&quot;https://tracker.debian.org/pkg/mu-editor&quot;&gt;mu-editor&lt;/a&gt;, which
1157 showed up 2019-01-13. The final and hardest part to to into the
1158 archive was
1159 &lt;a href=&quot;https://tracker.debian.org/pkg/firmware-microbit-micropython&quot;&gt;firmware-microbit-micropython&lt;/a&gt;,
1160 which needed to get its build system and dependencies into Debian
1161 before it was accepted 2019-01-20. The last one is already in Debian
1162 Unstable and should enter Debian Testing / Buster in three days. This
1163 all allow any user of the micro:bit to get going by simply running
1164 &#39;apt install mu-editor&#39; when using Testing or Unstable, and once
1165 Buster is released as stable, all the users of Debian stable will be
1166 catered for.&lt;/p&gt;
1167
1168 &lt;p&gt;As a minor final touch, I added rules to
1169 &lt;a href=&quot;https://tracker.debian.org/pkg/isenkram&quot;&gt;the isenkram
1170 package&lt;/a&gt; for recognizing micro:bit and recommend the mu-editor
1171 package. This make sure any user of the isenkram desktop daemon will
1172 get a popup suggesting to install mu-editor then the USB cable from
1173 the micro:bit is inserted for the first time.&lt;/p&gt;
1174
1175 &lt;p&gt;This should make it easier to have fun.&lt;/p&gt;
1176
1177 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1178 activities, please send Bitcoin donations to my address
1179 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1180 </description>
1181 </item>
1182
1183 <item>
1184 <title>CasparCG Server for TV broadcast playout in Debian</title>
1185 <link>http://people.skolelinux.org/pere/blog/CasparCG_Server_for_TV_broadcast_playout_in_Debian.html</link>
1186 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/CasparCG_Server_for_TV_broadcast_playout_in_Debian.html</guid>
1187 <pubDate>Tue, 15 Jan 2019 00:10:00 +0100</pubDate>
1188 <description>&lt;p&gt;The layered video playout server created by Sveriges Television,
1189 &lt;a href=&quot;https://casparcg.com/&quot;&gt;CasparCG Server&lt;/a&gt;, entered Debian
1190 today. This completes many months of work to get the source ready to
1191 go into Debian. The first upload to the Debian NEW queue happened a
1192 month ago, but the work upstream to prepare it for Debian started more
1193 than two and a half month ago. So far
1194 &lt;a href=&quot;https://tracker.debian.org/pkg/casparcg-server&quot;&gt;the
1195 casparcg-server package&lt;/a&gt; is only available for amd64, but I hope
1196 this can be improved. The package is in contrib because it depend on
1197 the &lt;a href=&quot;https://tracker.debian.org/pkg/fdk-aac&quot;&gt;non-free fdk-aac
1198 library&lt;/a&gt;. The Debian package lack support for streaming web pages
1199 because Debian is missing CEF, Chromium Embedded Framework. CEF is
1200 wanted by several packages in Debian. But because the Chromium source
1201 is &lt;a href=&quot;https://bugs.debian.org/893448&quot;&gt;not available as a build
1202 dependency&lt;/a&gt;, it is not yet possible to upload CEF to Debian. I
1203 hope this will change in the future.&lt;/p&gt;
1204
1205 &lt;p&gt;The reason I got involved is that
1206 &lt;a href=&quot;https://frikanalen.no/&quot;&gt;the Norwegian open channel
1207 Frikanalen&lt;/a&gt; is starting to use CasparCG for our HD playout, and I
1208 would like to have all the free software tools we use to run the TV
1209 channel available as packages from the Debian project. The last
1210 remaining piece in the puzzle is Open Broadcast Encoder, but it depend
1211 on quite a lot of patched libraries which would have to be included in
1212 Debian first.&lt;/p&gt;
1213
1214 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1215 activities, please send Bitcoin donations to my address
1216 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1217 </description>
1218 </item>
1219
1220 <item>
1221 <title>Learn to program with Minetest on Debian</title>
1222 <link>http://people.skolelinux.org/pere/blog/Learn_to_program_with_Minetest_on_Debian.html</link>
1223 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Learn_to_program_with_Minetest_on_Debian.html</guid>
1224 <pubDate>Sat, 15 Dec 2018 15:30:00 +0100</pubDate>
1225 <description>&lt;p&gt;A fun way to learn how to program
1226 &lt;a href=&quot;https://www.python.org/&quot;&gt;Python&lt;/a&gt; is to follow the
1227 instructions in the book
1228 &quot;&lt;a href=&quot;https://nostarch.com/programwithminecraft&quot;&gt;Learn to program
1229 with Minecraft&lt;/a&gt;&quot;, which introduces programming in Python to people
1230 who like to play with Minecraft. The book uses a Python library to
1231 talk to a TCP/IP socket with an API accepting build instructions and
1232 providing information about the current players in a Minecraft world.
1233 The TCP/IP API was first created for the Minecraft implementation for
1234 Raspberry Pi, and has since been ported to some server versions of
1235 Minecraft. The book contain recipes for those using Windows, MacOSX
1236 and Raspian. But a little known fact is that you can follow the same
1237 recipes using the free software construction game
1238 &lt;a href=&quot;https://minetest.net/&quot;&gt;Minetest&lt;/a&gt;.&lt;/p&gt;
1239
1240 &lt;p&gt;There is &lt;a href=&quot;https://github.com/sprintingkiwi/pycraft_mod&quot;&gt;a
1241 Minetest module implementing the same API&lt;/a&gt;, making it possible to
1242 use the Python programs coded to talk to Minecraft with Minetest too.
1243 I
1244 &lt;a href=&quot;https://ftp-master.debian.org/new/minetest-mod-pycraft_0.20%2Bgit20180331.0376a0a%2Bdfsg-1.html&quot;&gt;uploaded
1245 this module&lt;/a&gt; to Debian two weeks ago, and as soon as it clears the
1246 FTP masters NEW queue, learning to program Python with Minetest on
1247 Debian will be a simple &#39;apt install&#39; away. The Debian package is
1248 maintained as part of the Debian Games team, and
1249 &lt;a href=&quot;https://salsa.debian.org/games-team/unfinished/minetest-mod-pycraft&quot;&gt;the
1250 packaging rules&lt;/a&gt; are currently located under &#39;unfinished&#39; on
1251 Salsa.&lt;/p&gt;
1252
1253 &lt;p&gt;You will most likely need to install several of the Minetest
1254 modules in Debian for the examples included with the library to work
1255 well, as there are several blocks used by the example scripts that are
1256 provided via modules in Minetest. Without the required blocks, a
1257 simple stone block is used instead. My initial testing with a analog
1258 clock did not get gold arms as instructed in the python library, but
1259 instead used stone arms.&lt;/p&gt;
1260
1261 &lt;p&gt;I tried to find a way to add the API to the desktop version of
1262 Minecraft, but were unable to find any working recipes. The
1263 &lt;a href=&quot;https://www.epiphanydigest.com/tag/minecraft-python-api/&quot;&gt;recipes&lt;/a&gt;
1264 I &lt;a href=&quot;https://github.com/kbsriram/mcpiapi&quot;&gt;found&lt;/a&gt; are only
1265 working with a standalone Minecraft server setup. Are there any
1266 options to use with the normal desktop version?&lt;/p&gt;
1267
1268 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1269 activities, please send Bitcoin donations to my address
1270 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1271 </description>
1272 </item>
1273
1274 <item>
1275 <title>Non-blocking bittorrent plugin for vlc</title>
1276 <link>http://people.skolelinux.org/pere/blog/Non_blocking_bittorrent_plugin_for_vlc.html</link>
1277 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Non_blocking_bittorrent_plugin_for_vlc.html</guid>
1278 <pubDate>Wed, 12 Dec 2018 07:20:00 +0100</pubDate>
1279 <description>&lt;p&gt;A few hours ago, a new and improved version (2.4) of
1280 &lt;a href=&quot;https://tracker.debian.org/pkg/vlc-plugin-bittorrent&quot;&gt;the VLC
1281 bittorrent plugin&lt;/a&gt; was uploaded to Debian. This new version
1282 include a complete rewrite of the bittorrent related code, which seem
1283 to make the plugin non-blocking. This mean you can actually exit VLC
1284 even when the plugin seem to be unable to get the bittorrent streaming
1285 started. The new version also include support for filtering playlist
1286 by file extension using command line options, if you want to avoid
1287 processing audio, video or images. The package is currently in Debian
1288 unstable, but should be available in Debian testing in two days. To
1289 test it, simply install it like this:&lt;/p&gt;
1290
1291 &lt;p&gt;&lt;pre&gt;
1292 apt install vlc-plugin-bittorrent
1293 &lt;/pre&gt;&lt;/p&gt;
1294
1295 &lt;p&gt;After it is installed, you can try to use it to play a file
1296 downloaded live via bittorrent like this:
1297
1298 &lt;p&gt;&lt;pre&gt;
1299 vlc https://archive.org/download/Glass_201703/Glass_201703_archive.torrent
1300 &lt;/pre&gt;&lt;/p&gt;
1301
1302 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1303 activities, please send Bitcoin donations to my address
1304 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1305 </description>
1306 </item>
1307
1308 <item>
1309 <title>Why is your site not using Content Security Policy / CSP?</title>
1310 <link>http://people.skolelinux.org/pere/blog/Why_is_your_site_not_using_Content_Security_Policy___CSP_.html</link>
1311 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Why_is_your_site_not_using_Content_Security_Policy___CSP_.html</guid>
1312 <pubDate>Sun, 9 Dec 2018 15:00:00 +0100</pubDate>
1313 <description>&lt;p&gt;Yesterday, I had the pleasure of watching on Frikanalen the OWASP
1314 talk by Scott Helme titled
1315 &quot;&lt;a href=&quot;https://frikanalen.no/video/626080/&quot;&gt;What We’ve Learned From
1316 Billions of Security Reports&lt;/a&gt;&quot;. I had not heard of the
1317 &lt;a href=&quot;https://en.wikipedia.org/wiki/Content_Security_Policy&quot;&gt;Content
1318 Security Policy standard&lt;/a&gt; nor its ability to &quot;call home&quot; when a
1319 browser detect a policy breach (I do not follow web page design
1320 development much these days), and found the talk very illuminating.&lt;/p&gt;
1321
1322 &lt;p&gt;The mechanism allow a web site owner to use HTTP headers to tell
1323 visitors web browser which sources (internal and external) are allowed to
1324 be used on the web site. Thus it become possible to enforce a &quot;only
1325 local content&quot; policy despite web designers urge to fetch programs
1326 from random sites on the Internet, like the one
1327 &lt;a href=&quot;https://securityaffairs.co/wordpress/68966/hacking/browsealoud-plugin-hack.html&quot;&gt;enabling
1328 the attack&lt;/a&gt; reported by Scott Helme earlier this year.&lt;/p&gt;
1329
1330 &lt;p&gt;Using CSP seem like an obvious thing for a site admin to implement
1331 to take some control over the information leak that occur when
1332 external sources are used to render web pages, it is a mystery more
1333 sites are not using CSP? It is being
1334 &lt;a href=&quot;https://www.w3.org/TR/CSP/&quot;&gt;standardized under W3C&lt;/a&gt; these
1335 days, and is supposed by most web browsers&lt;/p&gt;
1336
1337 &lt;p&gt;I managed to find &lt;a href=&quot;https://github.com/mozilla/django-csp&quot;&gt;a
1338 Django middleware for implementing CSP&lt;/a&gt; and was happy to discover
1339 it was already in Debian. I plan to use it to add CSP support to the
1340 Frikanalen web site soon.&lt;/p&gt;
1341
1342 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1343 activities, please send Bitcoin donations to my address
1344 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1345 </description>
1346 </item>
1347
1348 <item>
1349 <title>New and improved Frikanalen Kodi addon version 0.0.3</title>
1350 <link>http://people.skolelinux.org/pere/blog/New_and_improved_Frikanalen_Kodi_addon_version_0_0_3.html</link>
1351 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/New_and_improved_Frikanalen_Kodi_addon_version_0_0_3.html</guid>
1352 <pubDate>Thu, 8 Nov 2018 10:30:00 +0100</pubDate>
1353 <description>&lt;p&gt;If you read my blog regularly, you probably know I am involved in
1354 running and developing the &lt;a href=&quot;https://frikanalen.no/&quot;&gt;Norwegian
1355 TV channel Frikanalen&lt;/a&gt;. It is an open channel, allowing everyone
1356 in Norway to publish videos on a TV channel with national coverage.
1357 You can think of it as Youtube for national television.
1358 In addition to distribution on RiksTV and Uninett, Frikanalen is also
1359 available as a Kodi addon. The last few days I have updated the code
1360 to add more features. A
1361 &lt;a href=&quot;https://kodi.tv/addon/plugins-video-add-ons/frikanalen-nett-tv&quot;&gt;new
1362 and improved version 0.0.3 Frikanalen addon&lt;/a&gt; was just made
1363 available via the Kodi repositories. This new version include a
1364 option to browse videos by category, as well as free text search
1365 in the video archive. It will now also show the video duration in the
1366 video lists, which were missing earlier. A new and experimental
1367 link to the HD video stream currently being worked on is provided, for
1368 those that want to see what the &lt;a href=&quot;https://casparcg.com/&quot;&gt;CasparCG&lt;/a&gt;
1369 output look like. The alternative is the SD video stream, generated
1370 using MLT. CasparCG is controlled by our
1371 &lt;a href=&quot;https://github.com/Frikanalen/mltplayout/&quot;&gt;mltplayout
1372 server&lt;/a&gt; which instead of talking to mlt is giving PLAY instructions
1373 to the CasparCG server when it is time to start a new program.&lt;/p&gt;
1374
1375 &lt;p&gt;By now, you are probably wondering what kind of content is being
1376 played on the channel. These days, it is filled with technical
1377 presentations like those from &lt;a href=&quot;https://www.nuug.no/&quot;&gt;NUUG&lt;/a&gt;,
1378 &lt;a href=&quot;https://www.debconf.org/&quot;&gt;Debconf&lt;/a&gt;, Makercon, and TED,
1379 but there are also some periods with
1380 &lt;a href=&quot;https://www.empo.no/&quot;&gt;EMPT TV&lt;/a&gt; and
1381 &lt;a href=&quot;https://www.p7.no/&quot;&gt;P7&lt;/a&gt;.
1382
1383 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1384 activities, please send Bitcoin donations to my address
1385 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1386 </description>
1387 </item>
1388
1389 <item>
1390 <title>Time for an official MIME type for patches?</title>
1391 <link>http://people.skolelinux.org/pere/blog/Time_for_an_official_MIME_type_for_patches_.html</link>
1392 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Time_for_an_official_MIME_type_for_patches_.html</guid>
1393 <pubDate>Thu, 1 Nov 2018 08:15:00 +0100</pubDate>
1394 <description>&lt;p&gt;As part of my involvement in
1395 &lt;a href=&quot;https://gitlab.com/OsloMet-ABI/nikita-noark5-core&quot;&gt;the Nikita
1396 archive API project&lt;/a&gt;, I&#39;ve been importing a fairly large lump of
1397 emails into a test instance of the archive to see how well this would
1398 go. I picked a subset of &lt;a href=&quot;https://notmuchmail.org/&quot;&gt;my
1399 notmuch email database&lt;/a&gt;, all public emails sent to me via
1400 @lists.debian.org, giving me a set of around 216 000 emails to import.
1401 In the process, I had a look at the various attachments included in
1402 these emails, to figure out what to do with attachments, and noticed
1403 that one of the most common attachment formats do not have
1404 &lt;a href=&quot;https://www.iana.org/assignments/media-types/media-types.xhtml&quot;&gt;an
1405 official MIME type&lt;/a&gt; registered with IANA/IETF. The output from
1406 diff, ie the input for patch, is on the top 10 list of formats
1407 included in these emails. At the moment people seem to use either
1408 text/x-patch or text/x-diff, but neither is officially registered. It
1409 would be better if one official MIME type were registered and used
1410 everywhere.&lt;/p&gt;
1411
1412 &lt;p&gt;To try to get one official MIME type for these files, I&#39;ve brought
1413 up the topic on
1414 &lt;a href=&quot;https://www.ietf.org/mailman/listinfo/media-types&quot;&gt;the
1415 media-types mailing list&lt;/a&gt;. If you are interested in discussion
1416 which MIME type to use as the official for patch files, or involved in
1417 making software using a MIME type for patches, perhaps you would like
1418 to join the discussion?&lt;/p&gt;
1419
1420 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1421 activities, please send Bitcoin donations to my address
1422 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1423 </description>
1424 </item>
1425
1426 <item>
1427 <title>Measuring the speaker frequency response using the AUDMES free software GUI - nice free software</title>
1428 <link>http://people.skolelinux.org/pere/blog/Measuring_the_speaker_frequency_response_using_the_AUDMES_free_software_GUI___nice_free_software.html</link>
1429 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Measuring_the_speaker_frequency_response_using_the_AUDMES_free_software_GUI___nice_free_software.html</guid>
1430 <pubDate>Mon, 22 Oct 2018 08:40:00 +0200</pubDate>
1431 <description>&lt;p&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2018-10-22-audmes-measure-speakers.png&quot; align=&quot;right&quot; width=&quot;40%&quot;/&gt;&lt;/p&gt;
1432
1433 &lt;p&gt;My current home stereo is a patchwork of various pieces I got on
1434 flee markeds over the years. It is amazing what kind of equipment
1435 show up there. I&#39;ve been wondering for a while if it was possible to
1436 measure how well this equipment is working together, and decided to
1437 see how far I could get using free software. After trawling the web I
1438 came across an article from DIY Audio and Video on
1439 &lt;a href=&quot;https://www.diyaudioandvideo.com/Tutorial/SpeakerResponseTesting/&quot;&gt;Speaker
1440 Testing and Analysis&lt;/a&gt; describing how to test speakers, and it listing
1441 several software options, among them
1442 &lt;a href=&quot;https://sourceforge.net/projects/audmes/&quot;&gt;AUDio MEasurement
1443 System (AUDMES)&lt;/a&gt;. It is the only free software system I could find
1444 focusing on measuring speakers and audio frequency response. In the
1445 process I also found an interesting article from NOVO on
1446 &lt;a href=&quot;http://novo.press/understanding-speaker-specifications-and-frequency-response/&quot;&gt;Understanding
1447 Speaker Specifications and Frequency Response&lt;/a&gt; and an article from
1448 ecoustics on
1449 &lt;a href=&quot;https://www.ecoustics.com/articles/understanding-speaker-frequency-response/&quot;&gt;Understanding
1450 Speaker Frequency Response&lt;/a&gt;, with a lot of information on what to
1451 look for and how to interpret the graphs. Armed with this knowledge,
1452 I set out to measure the state of my speakers.&lt;/p&gt;
1453
1454 &lt;p&gt;The first hurdle was that AUDMES hadn&#39;t seen a commit for 10 years
1455 and did not build with current compilers and libraries. I got in
1456 touch with its author, who no longer was spending time on the program
1457 but gave me write access to the subversion repository on Sourceforge.
1458 The end result is that now the code build on Linux and is capable of
1459 saving and loading the collected frequency response data in CSV
1460 format. The application is quite nice and flexible, and I was able to
1461 select the input and output audio interfaces independently. This made
1462 it possible to use a USB mixer as the input source, while sending
1463 output via my laptop headphone connection. I lacked the hardware and
1464 cabling to figure out a different way to get independent cabling to
1465 speakers and microphone.&lt;/p&gt;
1466
1467 &lt;p&gt;Using this setup I could see how a large range of high frequencies
1468 apparently were not making it out of my speakers. The picture show
1469 the frequency response measurement of one of the speakers. Note the
1470 frequency lines seem to be slightly misaligned, compared to the CSV
1471 output from the program. I can not hear several of these are high
1472 frequencies, according to measurement from
1473 &lt;a href=&quot;http://freehearingtestsoftware.com&quot;&gt;Free Hearing Test
1474 Software&lt;/a&gt;, an freeware system to measure your hearing (still
1475 looking for a free software alternative), so I do not know if they are
1476 coming out out the speakers. I thus do not quite know how to figure
1477 out if the missing frequencies is a problem with the microphone, the
1478 amplifier or the speakers, but I managed to rule out the audio card in my
1479 PC by measuring my Bose noise canceling headset using its own
1480 microphone. This setup was able to see the high frequency tones, so
1481 the problem with my stereo had to be in the amplifier or speakers.&lt;/p&gt;
1482
1483 &lt;p&gt;Anyway, to try to role out one factor I ended up picking up a new
1484 set of speakers at a flee marked, and these work a lot better than the
1485 old speakers, so I guess the microphone and amplifier is OK. If you
1486 need to measure your own speakers, check out AUDMES. If more people
1487 get involved, perhaps the project could become good enough to
1488 &lt;a href=&quot;https://bugs.debian.org/910876&quot;&gt;include in Debian&lt;/a&gt;? And if
1489 you know of some other free software to measure speakers and amplifier
1490 performance, please let me know. I am aware of the freeware option
1491 &lt;a href=&quot;https://www.roomeqwizard.com/&quot;&gt;REW&lt;/a&gt;, but I want something
1492 that can be developed also when the vendor looses interest.&lt;/p&gt;
1493
1494 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1495 activities, please send Bitcoin donations to my address
1496 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1497 </description>
1498 </item>
1499
1500 <item>
1501 <title>Web browser integration of VLC with Bittorrent support</title>
1502 <link>http://people.skolelinux.org/pere/blog/Web_browser_integration_of_VLC_with_Bittorrent_support.html</link>
1503 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Web_browser_integration_of_VLC_with_Bittorrent_support.html</guid>
1504 <pubDate>Sun, 21 Oct 2018 09:50:00 +0200</pubDate>
1505 <description>&lt;p&gt;Bittorrent is as far as I know, currently the most efficient way to
1506 distribute content on the Internet. It is used all by all sorts of
1507 content providers, from national TV stations like
1508 &lt;a href=&quot;https://www.nrk.no/&quot;&gt;NRK&lt;/a&gt;, Linux distributors like
1509 &lt;a href=&quot;https://www.debian.org/&quot;&gt;Debian&lt;/a&gt; and
1510 &lt;a href=&quot;https://www.ubuntu.com/&quot;&gt;Ubuntu&lt;/a&gt;, and of course the
1511 &lt;a href=&quot;https://archive.org/&quot;&gt;Internet archive&lt;/A&gt;.
1512
1513 &lt;p&gt;Almost a month ago
1514 &lt;a href=&quot;https://tracker.debian.org/pkg/vlc-plugin-bittorrent&quot;&gt;a new
1515 package adding Bittorrent support to VLC&lt;/a&gt; became available in
1516 Debian testing and unstable. To test it, simply install it like
1517 this:&lt;/p&gt;
1518
1519 &lt;p&gt;&lt;pre&gt;
1520 apt install vlc-plugin-bittorrent
1521 &lt;/pre&gt;&lt;/p&gt;
1522
1523 &lt;p&gt;Since the plugin was made available for the first time in Debian,
1524 several improvements have been made to it. In version 2.2-4, now
1525 available in both testing and unstable, a desktop file is provided to
1526 teach browsers to start VLC when the user click on torrent files or
1527 magnet links. The last part is thanks to me finally understanding
1528 what the strange x-scheme-handler style MIME types in desktop files
1529 are used for. By adding x-scheme-handler/magnet to the MimeType entry
1530 in the desktop file, at least the browsers Firefox and Chromium will
1531 suggest to start VLC when selecting a magnet URI on a web page. The
1532 end result is that now, with the plugin installed in Buster and Sid,
1533 one can visit any
1534 &lt;a href=&quot;https://archive.org/details/CopyingIsNotTheft1080p&quot;&gt;Internet
1535 Archive page with movies&lt;/a&gt; using a web browser and click on the
1536 torrent link to start streaming the movie.&lt;/p&gt;
1537
1538 &lt;p&gt;Note, there is still some misfeatures in the plugin. One is the
1539 fact that it will hang and
1540 &lt;a href=&quot;https://github.com/johang/vlc-bittorrent/issues/13&quot;&gt;block VLC
1541 from exiting until the torrent streaming starts&lt;/a&gt;. Another is the
1542 fact that it
1543 &lt;a href=&quot;https://github.com/johang/vlc-bittorrent/issues/9&quot;&gt;will pick
1544 and play a random file in a multi file torrent&lt;/a&gt;. This is not
1545 always the video file you want. Combined with the first it can be a
1546 bit hard to get the video streaming going. But when it work, it seem
1547 to do a good job.&lt;/p&gt;
1548
1549 &lt;p&gt;For the Debian packaging, I would love to find a good way to test
1550 if the plugin work with VLC using autopkgtest. I tried, but do not
1551 know enough of the inner workings of VLC to get it working. For now
1552 the autopkgtest script is only checking if the .so file was
1553 successfully loaded by VLC. If you have any suggestions, please
1554 submit a patch to the Debian bug tracking system.&lt;/p&gt;
1555
1556 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1557 activities, please send Bitcoin donations to my address
1558 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1559 </description>
1560 </item>
1561
1562 <item>
1563 <title>Release 0.2 of free software archive system Nikita announced</title>
1564 <link>http://people.skolelinux.org/pere/blog/Release_0_2_of_free_software_archive_system_Nikita_announced.html</link>
1565 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Release_0_2_of_free_software_archive_system_Nikita_announced.html</guid>
1566 <pubDate>Thu, 18 Oct 2018 14:40:00 +0200</pubDate>
1567 <description>&lt;p&gt;This morning, the new release of the
1568 &lt;a href=&quot;https://gitlab.com/OsloMet-ABI/nikita-noark5-core/&quot;&gt;Nikita
1569 Noark 5 core project&lt;/a&gt; was
1570 &lt;a href=&quot;https://lists.nuug.no/pipermail/nikita-noark/2018-October/000406.html&quot;&gt;announced
1571 on the project mailing list&lt;/a&gt;. The free software solution is an
1572 implementation of the Norwegian archive standard Noark 5 used by
1573 government offices in Norway. These were the changes in version 0.2
1574 since version 0.1.1 (from NEWS.md):
1575
1576 &lt;ul&gt;
1577 &lt;li&gt;Fix typos in REL names&lt;/li&gt;
1578 &lt;li&gt;Tidy up error message reporting&lt;/li&gt;
1579 &lt;li&gt;Fix issue where we used Integer.valueOf(), not Integer.getInteger()&lt;/li&gt;
1580 &lt;li&gt;Change some String handling to StringBuffer&lt;/li&gt;
1581 &lt;li&gt;Fix error reporting&lt;/li&gt;
1582 &lt;li&gt;Code tidy-up&lt;/li&gt;
1583 &lt;li&gt;Fix issue using static non-synchronized SimpleDateFormat to avoid
1584 race conditions&lt;/li&gt;
1585 &lt;li&gt;Fix problem where deserialisers were treating integers as strings&lt;/li&gt;
1586 &lt;li&gt;Update methods to make them null-safe&lt;/li&gt;
1587 &lt;li&gt;Fix many issues reported by coverity&lt;/li&gt;
1588 &lt;li&gt;Improve equals(), compareTo() and hash() in domain model&lt;/li&gt;
1589 &lt;li&gt;Improvements to the domain model for metadata classes&lt;/li&gt;
1590 &lt;li&gt;Fix CORS issues when downloading document&lt;/li&gt;
1591 &lt;li&gt;Implementation of case-handling with registryEntry and document upload&lt;/li&gt;
1592 &lt;li&gt;Better support in Javascript for OPTIONS&lt;/li&gt;
1593 &lt;li&gt;Adding concept description of mail integration&lt;/li&gt;
1594 &lt;li&gt;Improve setting of default values for GET on ny-journalpost&lt;/li&gt;
1595 &lt;li&gt;Better handling of required values during deserialisation &lt;/li&gt;
1596 &lt;li&gt;Changed tilknyttetDato (M620) from date to dateTime&lt;/li&gt;
1597 &lt;li&gt;Corrected some opprettetDato (M600) (de)serialisation errors.&lt;/li&gt;
1598 &lt;li&gt;Improve parse error reporting.&lt;/li&gt;
1599 &lt;li&gt;Started on OData search and filtering.&lt;/li&gt;
1600 &lt;li&gt;Added Contributor Covenant Code of Conduct to project.&lt;/li&gt;
1601 &lt;li&gt;Moved repository and project from Github to Gitlab.&lt;/li&gt;
1602 &lt;li&gt;Restructured repository, moved code into src/ and web/.&lt;/li&gt;
1603 &lt;li&gt;Updated code to use Spring Boot version 2.&lt;/li&gt;
1604 &lt;li&gt;Added support for OAuth2 authentication.&lt;/li&gt;
1605 &lt;li&gt;Fixed several bugs discovered by Coverity.&lt;/li&gt;
1606 &lt;li&gt;Corrected handling of date/datetime fields.&lt;/li&gt;
1607 &lt;li&gt;Improved error reporting when rejecting during deserializatoin.&lt;/li&gt;
1608 &lt;li&gt;Adjusted default values provided for ny-arkivdel, ny-mappe,
1609 ny-saksmappe, ny-journalpost and ny-dokumentbeskrivelse.&lt;/li&gt;
1610 &lt;li&gt;Several fixes for korrespondansepart*.&lt;/li&gt;
1611 &lt;li&gt;Updated web GUI:
1612 &lt;ul&gt;
1613 &lt;li&gt;Now handle both file upload and download.&lt;/li&gt;
1614 &lt;li&gt;Uses new OAuth2 authentication for login.&lt;/li&gt;
1615 &lt;li&gt;Forms now fetches default values from API using GET.&lt;/li&gt;
1616 &lt;li&gt;Added RFC 822 (email), TIFF and JPEG to list of possible file formats.&lt;/li&gt;
1617 &lt;/ul&gt;&lt;/li&gt;
1618 &lt;/ul&gt;
1619
1620 &lt;p&gt;The changes and improvements are extensive. Running diffstat on
1621 the changes between git tab 0.1.1 and 0.2 show 1098 files changed,
1622 108666 insertions(+), 54066 deletions(-).&lt;/p&gt;
1623
1624 &lt;p&gt;If free and open standardized archiving API sound interesting to
1625 you, please contact us on IRC
1626 (&lt;a href=&quot;irc://irc.freenode.net/%23nikita&quot;&gt;#nikita on
1627 irc.freenode.net&lt;/a&gt;) or email
1628 (&lt;a href=&quot;https://lists.nuug.no/mailman/listinfo/nikita-noark&quot;&gt;nikita-noark
1629 mailing list&lt;/a&gt;).&lt;/p&gt;
1630
1631 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1632 activities, please send Bitcoin donations to my address
1633 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1634 </description>
1635 </item>
1636
1637 <item>
1638 <title>Fetching trusted timestamps using the rfc3161ng python module</title>
1639 <link>http://people.skolelinux.org/pere/blog/Fetching_trusted_timestamps_using_the_rfc3161ng_python_module.html</link>
1640 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Fetching_trusted_timestamps_using_the_rfc3161ng_python_module.html</guid>
1641 <pubDate>Mon, 8 Oct 2018 12:30:00 +0200</pubDate>
1642 <description>&lt;p&gt;I have earlier covered the basics of trusted timestamping using the
1643 &#39;openssl ts&#39; client. See blog post for
1644 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Public_Trusted_Timestamping_services_for_everyone.html&quot;&gt;2014&lt;/a&gt;,
1645 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/syslog_trusted_timestamp___chain_of_trusted_timestamps_for_your_syslog.html&quot;&gt;2016&lt;/a&gt;
1646 and
1647 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Idea_for_storing_trusted_timestamps_in_a_Noark_5_archive.html&quot;&gt;2017&lt;/a&gt;
1648 for those stories. But some times I want to integrate the timestamping
1649 in other code, and recently I needed to integrate it into Python.
1650 After searching a bit, I found
1651 &lt;a href=&quot;https://dev.entrouvert.org/projects/python-rfc3161&quot;&gt;the
1652 rfc3161 library&lt;/a&gt; which seemed like a good fit, but I soon
1653 discovered it only worked for python version 2, and I needed something
1654 that work with python version 3. Luckily I next came across
1655 &lt;a href=&quot;https://github.com/trbs/rfc3161ng/&quot;&gt;the rfc3161ng library&lt;/a&gt;,
1656 a fork of the original rfc3161 library. Not only is it working with
1657 python 3, it have fixed a few of the bugs in the original library, and
1658 it has an active maintainer. I decided to wrap it up and make it
1659 &lt;a href=&quot;https://tracker.debian.org/pkg/python-rfc3161ng&quot;&gt;available in
1660 Debian&lt;/a&gt;, and a few days ago it entered Debian unstable and testing.&lt;/p&gt;
1661
1662 &lt;p&gt;Using the library is fairly straight forward. The only slightly
1663 problematic step is to fetch the required certificates to verify the
1664 timestamp. For some services it is straight forward, while for others
1665 I have not yet figured out how to do it. Here is a small standalone
1666 code example based on of the integration tests in the library code:&lt;/p&gt;
1667
1668 &lt;pre&gt;
1669 #!/usr/bin/python3
1670
1671 &quot;&quot;&quot;
1672
1673 Python 3 script demonstrating how to use the rfc3161ng module to
1674 get trusted timestamps.
1675
1676 The license of this code is the same as the license of the rfc3161ng
1677 library, ie MIT/BSD.
1678
1679 &quot;&quot;&quot;
1680
1681 import os
1682 import pyasn1.codec.der
1683 import rfc3161ng
1684 import subprocess
1685 import tempfile
1686 import urllib.request
1687
1688 def store(f, data):
1689 f.write(data)
1690 f.flush()
1691 f.seek(0)
1692
1693 def fetch(url, f=None):
1694 response = urllib.request.urlopen(url)
1695 data = response.read()
1696 if f:
1697 store(f, data)
1698 return data
1699
1700 def main():
1701 with tempfile.NamedTemporaryFile() as cert_f,\
1702 tempfile.NamedTemporaryFile() as ca_f,\
1703 tempfile.NamedTemporaryFile() as msg_f,\
1704 tempfile.NamedTemporaryFile() as tsr_f:
1705
1706 # First fetch certificates used by service
1707 certificate_data = fetch(&#39;https://freetsa.org/files/tsa.crt&#39;, cert_f)
1708 ca_data_data = fetch(&#39;https://freetsa.org/files/cacert.pem&#39;, ca_f)
1709
1710 # Then timestamp the message
1711 timestamper = \
1712 rfc3161ng.RemoteTimestamper(&#39;http://freetsa.org/tsr&#39;,
1713 certificate=certificate_data)
1714 data = b&quot;Python forever!\n&quot;
1715 tsr = timestamper(data=data, return_tsr=True)
1716
1717 # Finally, convert message and response to something &#39;openssl ts&#39; can verify
1718 store(msg_f, data)
1719 store(tsr_f, pyasn1.codec.der.encoder.encode(tsr))
1720 args = [&quot;openssl&quot;, &quot;ts&quot;, &quot;-verify&quot;,
1721 &quot;-data&quot;, msg_f.name,
1722 &quot;-in&quot;, tsr_f.name,
1723 &quot;-CAfile&quot;, ca_f.name,
1724 &quot;-untrusted&quot;, cert_f.name]
1725 subprocess.check_call(args)
1726
1727 if &#39;__main__&#39; == __name__:
1728 main()
1729 &lt;/pre&gt;
1730
1731 &lt;p&gt;The code fetches the required certificates, store them as temporary
1732 files, timestamp a simple message, store the message and timestamp to
1733 disk and ask &#39;openssl ts&#39; to verify the timestamp. A timestamp is
1734 around 1.5 kiB in size, and should be fairly easy to store for future
1735 use.&lt;/p&gt;
1736
1737 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1738 activities, please send Bitcoin donations to my address
1739 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1740 </description>
1741 </item>
1742
1743 <item>
1744 <title>Automatic Google Drive sync using grive in Debian</title>
1745 <link>http://people.skolelinux.org/pere/blog/Automatic_Google_Drive_sync_using_grive_in_Debian.html</link>
1746 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Automatic_Google_Drive_sync_using_grive_in_Debian.html</guid>
1747 <pubDate>Thu, 4 Oct 2018 15:20:00 +0200</pubDate>
1748 <description>&lt;p&gt;A few days, I rescued a Windows victim over to Debian. To try to
1749 rescue the remains, I helped set up automatic sync with Google Drive.
1750 I did not find any sensible Debian package handling this
1751 automatically, so I rebuild the grive2 source from
1752 &lt;a href=&quot;http://www.webupd8.org/&quot;&gt;the Ubuntu UPD8 PPA&lt;/a&gt; to do the
1753 task and added a autostart desktop entry and a small shell script to
1754 run in the background while the user is logged in to do the sync.
1755 Here is a sketch of the setup for future reference.&lt;/p&gt;
1756
1757 &lt;p&gt;I first created &lt;tt&gt;~/googledrive&lt;/tt&gt;, entered the directory and
1758 ran &#39;&lt;tt&gt;grive -a&lt;/tt&gt;&#39; to authenticate the machine/user. Next, I
1759 created a autostart hook in &lt;tt&gt;~/.config/autostart/grive.desktop&lt;/tt&gt;
1760 to start the sync when the user log in:&lt;/p&gt;
1761
1762 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
1763 [Desktop Entry]
1764 Name=Google drive autosync
1765 Type=Application
1766 Exec=/home/user/bin/grive-sync
1767 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
1768
1769 &lt;p&gt;Finally, I wrote the &lt;tt&gt;~/bin/grive-sync&lt;/tt&gt; script to sync
1770 ~/googledrive/ with the files in Google Drive.&lt;/p&gt;
1771
1772 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
1773 #!/bin/sh
1774 set -e
1775 cd ~/
1776 cleanup() {
1777 if [ &quot;$syncpid&quot; ] ; then
1778 kill $syncpid
1779 fi
1780 }
1781 trap cleanup EXIT INT QUIT
1782 /usr/lib/grive/grive-sync.sh listen googledrive 2&gt;&amp;1 | sed &quot;s%^%$0:%&quot; &amp;
1783 syncpdi=$!
1784 while true; do
1785 if ! xhost &gt;/dev/null 2&gt;&amp;1 ; then
1786 echo &quot;no DISPLAY, exiting as the user probably logged out&quot;
1787 exit 1
1788 fi
1789 if [ ! -e /run/user/1000/grive-sync.sh_googledrive ] ; then
1790 /usr/lib/grive/grive-sync.sh sync googledrive
1791 fi
1792 sleep 300
1793 done 2&gt;&amp;1 | sed &quot;s%^%$0:%&quot;
1794 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
1795
1796 &lt;p&gt;Feel free to use the setup if you want. It can be assumed to be
1797 GNU GPL v2 licensed (or any later version, at your leisure), but I
1798 doubt this code is possible to claim copyright on.&lt;/p&gt;
1799
1800 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1801 activities, please send Bitcoin donations to my address
1802 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1803 </description>
1804 </item>
1805
1806 <item>
1807 <title>Valutakrambod - A python and bitcoin love story</title>
1808 <link>http://people.skolelinux.org/pere/blog/Valutakrambod___A_python_and_bitcoin_love_story.html</link>
1809 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Valutakrambod___A_python_and_bitcoin_love_story.html</guid>
1810 <pubDate>Sat, 29 Sep 2018 22:20:00 +0200</pubDate>
1811 <description>&lt;p&gt;It would come as no surprise to anyone that I am interested in
1812 bitcoins and virtual currencies. I&#39;ve been keeping an eye on virtual
1813 currencies for many years, and it is part of the reason a few months
1814 ago, I started writing a python library for collecting currency
1815 exchange rates and trade on virtual currency exchanges. I decided to
1816 name the end result valutakrambod, which perhaps can be translated to
1817 small currency shop.&lt;/p&gt;
1818
1819 &lt;p&gt;The library uses the tornado python library to handle HTTP and
1820 websocket connections, and provide a asynchronous system for
1821 connecting to and tracking several services. The code is available
1822 from
1823 &lt;a href=&quot;http://github.com/petterreinholdtsen/valutakrambod&quot;&gt;github&lt;/a&gt;.&lt;/p&gt;
1824
1825 &lt;/p&gt;There are two example clients of the library. One is very simple and
1826 list every updated buy/sell price received from the various services.
1827 This code is started by running bin/btc-rates and call the client code
1828 in valutakrambod/client.py. The simple client look like this:&lt;/p&gt;
1829
1830 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
1831 import functools
1832 import tornado.ioloop
1833 import valutakrambod
1834 class SimpleClient(object):
1835 def __init__(self):
1836 self.services = []
1837 self.streams = []
1838 pass
1839 def newdata(self, service, pair, changed):
1840 print(&quot;%-15s %s-%s: %8.3f %8.3f&quot; % (
1841 service.servicename(),
1842 pair[0],
1843 pair[1],
1844 service.rates[pair][&#39;ask&#39;],
1845 service.rates[pair][&#39;bid&#39;])
1846 )
1847 async def refresh(self, service):
1848 await service.fetchRates(service.wantedpairs)
1849 def run(self):
1850 self.ioloop = tornado.ioloop.IOLoop.current()
1851 self.services = valutakrambod.service.knownServices()
1852 for e in self.services:
1853 service = e()
1854 service.subscribe(self.newdata)
1855 stream = service.websocket()
1856 if stream:
1857 self.streams.append(stream)
1858 else:
1859 # Fetch information from non-streaming services immediately
1860 self.ioloop.call_later(len(self.services),
1861 functools.partial(self.refresh, service))
1862 # as well as regularly
1863 service.periodicUpdate(60)
1864 for stream in self.streams:
1865 stream.connect()
1866 try:
1867 self.ioloop.start()
1868 except KeyboardInterrupt:
1869 print(&quot;Interrupted by keyboard, closing all connections.&quot;)
1870 pass
1871 for stream in self.streams:
1872 stream.close()
1873 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
1874
1875 &lt;p&gt;The library client loops over all known &quot;public&quot; services,
1876 initialises it, subscribes to any updates from the service, checks and
1877 activates websocket streaming if the service provide it, and if no
1878 streaming is supported, fetches information from the service and sets
1879 up a periodic update every 60 seconds. The output from this client
1880 can look like this:&lt;/p&gt;
1881
1882 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
1883 Bl3p BTC-EUR: 5687.110 5653.690
1884 Bl3p BTC-EUR: 5687.110 5653.690
1885 Bl3p BTC-EUR: 5687.110 5653.690
1886 Hitbtc BTC-USD: 6594.560 6593.690
1887 Hitbtc BTC-USD: 6594.560 6593.690
1888 Bl3p BTC-EUR: 5687.110 5653.690
1889 Hitbtc BTC-USD: 6594.570 6593.690
1890 Bitstamp EUR-USD: 1.159 1.154
1891 Hitbtc BTC-USD: 6594.570 6593.690
1892 Hitbtc BTC-USD: 6594.580 6593.690
1893 Hitbtc BTC-USD: 6594.580 6593.690
1894 Hitbtc BTC-USD: 6594.580 6593.690
1895 Bl3p BTC-EUR: 5687.110 5653.690
1896 Paymium BTC-EUR: 5680.000 5620.240
1897 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
1898
1899 &lt;p&gt;The exchange order book is tracked in addition to the best buy/sell
1900 price, for those that need to know the details.&lt;/p&gt;
1901
1902 &lt;p&gt;The other example client is focusing on providing a curses view
1903 with updated buy/sell prices as soon as they are received from the
1904 services. This code is located in bin/btc-rates-curses and activated
1905 by using the &#39;-c&#39; argument. Without the argument the &quot;curses&quot; output
1906 is printed without using curses, which is useful for debugging. The
1907 curses view look like this:&lt;/p&gt;
1908
1909 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
1910 Name Pair Bid Ask Spr Ftcd Age
1911 BitcoinsNorway BTCEUR 5591.8400 5711.0800 2.1% 16 nan 60
1912 Bitfinex BTCEUR 5671.0000 5671.2000 0.0% 16 22 59
1913 Bitmynt BTCEUR 5580.8000 5807.5200 3.9% 16 41 60
1914 Bitpay BTCEUR 5663.2700 nan nan% 15 nan 60
1915 Bitstamp BTCEUR 5664.8400 5676.5300 0.2% 0 1 1
1916 Bl3p BTCEUR 5653.6900 5684.9400 0.5% 0 nan 19
1917 Coinbase BTCEUR 5600.8200 5714.9000 2.0% 15 nan nan
1918 Kraken BTCEUR 5670.1000 5670.2000 0.0% 14 17 60
1919 Paymium BTCEUR 5620.0600 5680.0000 1.1% 1 7515 nan
1920 BitcoinsNorway BTCNOK 52898.9700 54034.6100 2.1% 16 nan 60
1921 Bitmynt BTCNOK 52960.3200 54031.1900 2.0% 16 41 60
1922 Bitpay BTCNOK 53477.7833 nan nan% 16 nan 60
1923 Coinbase BTCNOK 52990.3500 54063.0600 2.0% 15 nan nan
1924 MiraiEx BTCNOK 52856.5300 54100.6000 2.3% 16 nan nan
1925 BitcoinsNorway BTCUSD 6495.5300 6631.5400 2.1% 16 nan 60
1926 Bitfinex BTCUSD 6590.6000 6590.7000 0.0% 16 23 57
1927 Bitpay BTCUSD 6564.1300 nan nan% 15 nan 60
1928 Bitstamp BTCUSD 6561.1400 6565.6200 0.1% 0 2 1
1929 Coinbase BTCUSD 6504.0600 6635.9700 2.0% 14 nan 117
1930 Gemini BTCUSD 6567.1300 6573.0700 0.1% 16 89 nan
1931 Hitbtc+BTCUSD 6592.6200 6594.2100 0.0% 0 0 0
1932 Kraken BTCUSD 6565.2000 6570.9000 0.1% 15 17 58
1933 Exchangerates EURNOK 9.4665 9.4665 0.0% 16 107789 nan
1934 Norgesbank EURNOK 9.4665 9.4665 0.0% 16 107789 nan
1935 Bitstamp EURUSD 1.1537 1.1593 0.5% 4 5 1
1936 Exchangerates EURUSD 1.1576 1.1576 0.0% 16 107789 nan
1937 BitcoinsNorway LTCEUR 1.0000 49.0000 98.0% 16 nan nan
1938 BitcoinsNorway LTCNOK 492.4800 503.7500 2.2% 16 nan 60
1939 BitcoinsNorway LTCUSD 1.0221 49.0000 97.9% 15 nan nan
1940 Norgesbank USDNOK 8.1777 8.1777 0.0% 16 107789 nan
1941 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
1942
1943 &lt;p&gt;The code for this client is too complex for a simple blog post, so
1944 you will have to check out the git repository to figure out how it
1945 work. What I can tell is how the three last numbers on each line
1946 should be interpreted. The first is how many seconds ago information
1947 was received from the service. The second is how long ago, according
1948 to the service, the provided information was updated. The last is an
1949 estimate on how often the buy/sell values change.&lt;/p&gt;
1950
1951 &lt;p&gt;If you find this library useful, or would like to improve it, I
1952 would love to hear from you. Note that for some of the services I&#39;ve
1953 implemented a trading API. It might be the topic of a future blog
1954 post.&lt;/p&gt;
1955
1956 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1957 activities, please send Bitcoin donations to my address
1958 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
1959 </description>
1960 </item>
1961
1962 <item>
1963 <title>VLC in Debian now can do bittorrent streaming</title>
1964 <link>http://people.skolelinux.org/pere/blog/VLC_in_Debian_now_can_do_bittorrent_streaming.html</link>
1965 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/VLC_in_Debian_now_can_do_bittorrent_streaming.html</guid>
1966 <pubDate>Mon, 24 Sep 2018 21:20:00 +0200</pubDate>
1967 <description>&lt;p&gt;Back in February, I got curious to see
1968 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Using_VLC_to_stream_bittorrent_sources.html&quot;&gt;if
1969 VLC now supported Bittorrent streaming&lt;/a&gt;. It did not, despite the
1970 fact that the idea and code to handle such streaming had been floating
1971 around for years. I did however find
1972 &lt;a href=&quot;https://github.com/johang/vlc-bittorrent&quot;&gt;a standalone plugin
1973 for VLC&lt;/a&gt; to do it, and half a year later I decided to wrap up the
1974 plugin and get it into Debian. I uploaded it to NEW a few days ago,
1975 and am very happy to report that it
1976 &lt;a href=&quot;https://tracker.debian.org/pkg/vlc-plugin-bittorrent&quot;&gt;entered
1977 Debian&lt;/a&gt; a few hours ago, and should be available in Debian/Unstable
1978 tomorrow, and Debian/Testing in a few days.&lt;/p&gt;
1979
1980 &lt;p&gt;With the vlc-plugin-bittorrent package installed you should be able
1981 to stream videos using a simple call to&lt;/p&gt;
1982
1983 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
1984 vlc https://archive.org/download/TheGoat/TheGoat_archive.torrent
1985 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
1986
1987 &lt;/p&gt;It can handle magnet links too. Now if only native vlc had
1988 bittorrent support. Then a lot more would be helping each other to
1989 share public domain and creative commons movies. The plugin need some
1990 stability work with seeking and picking the right file in a torrent
1991 with many files, but is already usable. Please note that the plugin
1992 is not removing downloaded files when vlc is stopped, so it can fill
1993 up your disk if you are not careful. Have fun. :)&lt;/p&gt;
1994
1995 &lt;p&gt;I would love to get help maintaining this package. Get in touch if
1996 you are interested.&lt;/p&gt;
1997
1998 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
1999 activities, please send Bitcoin donations to my address
2000 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
2001 </description>
2002 </item>
2003
2004 <item>
2005 <title>Using the Kodi API to play Youtube videos</title>
2006 <link>http://people.skolelinux.org/pere/blog/Using_the_Kodi_API_to_play_Youtube_videos.html</link>
2007 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Using_the_Kodi_API_to_play_Youtube_videos.html</guid>
2008 <pubDate>Sun, 2 Sep 2018 23:40:00 +0200</pubDate>
2009 <description>&lt;p&gt;I continue to explore my Kodi installation, and today I wanted to
2010 tell it to play a youtube URL I received in a chat, without having to
2011 insert search terms using the on-screen keyboard. After searching the
2012 web for API access to the Youtube plugin and testing a bit, I managed
2013 to find a recipe that worked. If you got a kodi instance with its API
2014 available from http://kodihost/jsonrpc, you can try the following to
2015 have check out a nice cover band.&lt;/p&gt;
2016
2017 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;curl --silent --header &#39;Content-Type: application/json&#39; \
2018 --data-binary &#39;{ &quot;id&quot;: 1, &quot;jsonrpc&quot;: &quot;2.0&quot;, &quot;method&quot;: &quot;Player.Open&quot;,
2019 &quot;params&quot;: {&quot;item&quot;: { &quot;file&quot;:
2020 &quot;plugin://plugin.video.youtube/play/?video_id=LuRGVM9O0qg&quot; } } }&#39; \
2021 http://projector.local/jsonrpc&lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
2022
2023 &lt;p&gt;I&#39;ve extended kodi-stream program to take a video source as its
2024 first argument. It can now handle direct video links, youtube links
2025 and &#39;desktop&#39; to stream my desktop to Kodi. It is almost like a
2026 Chromecast. :)&lt;/p&gt;
2027
2028 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
2029 activities, please send Bitcoin donations to my address
2030 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
2031 </description>
2032 </item>
2033
2034 <item>
2035 <title>Software created using taxpayers’ money should be Free Software</title>
2036 <link>http://people.skolelinux.org/pere/blog/Software_created_using_taxpayers__money_should_be_Free_Software.html</link>
2037 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Software_created_using_taxpayers__money_should_be_Free_Software.html</guid>
2038 <pubDate>Thu, 30 Aug 2018 13:50:00 +0200</pubDate>
2039 <description>&lt;p&gt;It might seem obvious that software created using tax money should
2040 be available for everyone to use and improve. Free Software
2041 Foundation Europe recentlystarted a campaign to help get more people
2042 to understand this, and I just signed the petition on
2043 &lt;a href=&quot;https://publiccode.eu/&quot;&gt;Public Money, Public Code&lt;/a&gt; to help
2044 them. I hope you too will do the same.&lt;/p&gt;
2045 </description>
2046 </item>
2047
2048 <item>
2049 <title>A bit more on privacy respecting health monitor / fitness tracker</title>
2050 <link>http://people.skolelinux.org/pere/blog/A_bit_more_on_privacy_respecting_health_monitor___fitness_tracker.html</link>
2051 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_bit_more_on_privacy_respecting_health_monitor___fitness_tracker.html</guid>
2052 <pubDate>Mon, 13 Aug 2018 09:00:00 +0200</pubDate>
2053 <description>&lt;p&gt;A few days ago, I wondered if there are any privacy respecting
2054 health monitors and/or fitness trackers available for sale these days.
2055 I would like to buy one, but do not want to share my personal data
2056 with strangers, nor be forced to have a mobile phone to get data out
2057 of the unit. I&#39;ve received some ideas, and would like to share them
2058 with you.
2059
2060 One interesting data point was a pointer to a Free Software app for
2061 Android named
2062 &lt;a href=&quot;https://github.com/Freeyourgadget/Gadgetbridge/&quot;&gt;Gadgetbridge&lt;/a&gt;.
2063 It provide cloudless collection and storing of data from a variety of
2064 trackers. Its
2065 &lt;a href=&quot;https://github.com/Freeyourgadget/Gadgetbridge/#supported-devices&quot;&gt;list
2066 of supported devices&lt;/a&gt; is a good indicator for units where the
2067 protocol is fairly open, as it is obviously being handled by Free
2068 Software. Other units are reportedly encrypting the collected
2069 information with their own public key, making sure only the vendor
2070 cloud service is able to extract data from the unit. The people
2071 contacting me about Gadgetbirde said they were using
2072 &lt;a href=&quot;https://us.amazfit.com/shop/bip?variant=336750&quot;&gt;Amazfit
2073 Bip&lt;/a&gt; and
2074 &lt;a href=&quot;http://www.xiaomimi6phone.com/xiaomi-mi-band-3-features-release-date-rumors/&quot;&gt;Xiaomi
2075 Band 3&lt;/a&gt;.&lt;/p&gt;
2076
2077 &lt;p&gt;I also got a suggestion to look at some of the units from Garmin.
2078 I was told their GPS watches can be connected via USB and show up as a
2079 USB storage device with
2080 &lt;a href=&quot;https://www.gpsbabel.org/htmldoc-development/fmt_garmin_fit.html&quot;&gt;Garmin
2081 FIT files&lt;/a&gt; containing the collected measurements. While
2082 proprietary, FIT files apparently can be read at least by
2083 &lt;a href=&quot;https://www.gpsbabel.org&quot;&gt;GPSBabel&lt;/a&gt; and the
2084 &lt;a href=&quot;https://apps.nextcloud.com/apps/gpxpod&quot;&gt;GpxPod&lt;/a&gt; Nextcloud
2085 app. It is unclear to me if they can read step count and heart rate
2086 data. The person I talked to was using a
2087 &lt;a href=&quot;https://buy.garmin.com/en-US/US/p/564291&quot;&gt;Garmin Forerunner
2088 935&lt;/a&gt;, which is a fairly expensive unit. I doubt it is worth it for
2089 a unit where the vendor clearly is trying its best to move from open
2090 to closed systems. I still remember when Garmin dropped NMEA support
2091 in its GPSes.&lt;/p&gt;
2092
2093 &lt;p&gt;A final idea was to build ones own unit, perhaps by basing it on a
2094 wearable hardware platforms like
2095 &lt;a href=&quot;https://learn.adafruit.com/flora-geo-watch&quot;&gt;the Flora Geo
2096 Watch&lt;/a&gt;. Sound like fun, but I had more money than time to spend on
2097 the topic, so I suspect it will have to wait for another time.&lt;/p&gt;
2098
2099 &lt;p&gt;While I was working on tracking down links, I came across an
2100 inspiring TED talk by Dave Debronkart about
2101 &lt;a href=&quot;https://archive.org/details/DavedeBronkart_2010X&quot;&gt;being a
2102 e-patient&lt;/a&gt;, and discovered the web site
2103 &lt;a href=&quot;https://participatorymedicine.org/epatients/&quot;&gt;Participatory
2104 Medicine&lt;/a&gt;. If you too want to track your own health and fitness
2105 without having information about your private life floating around on
2106 computers owned by others, I recommend checking it out.&lt;/p&gt;
2107
2108 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
2109 activities, please send Bitcoin donations to my address
2110 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
2111 </description>
2112 </item>
2113
2114 <item>
2115 <title>Privacy respecting health monitor / fitness tracker?</title>
2116 <link>http://people.skolelinux.org/pere/blog/Privacy_respecting_health_monitor___fitness_tracker_.html</link>
2117 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Privacy_respecting_health_monitor___fitness_tracker_.html</guid>
2118 <pubDate>Tue, 7 Aug 2018 16:00:00 +0200</pubDate>
2119 <description>&lt;p&gt;Dear lazyweb,&lt;/p&gt;
2120
2121 &lt;p&gt;I wonder, is there a fitness tracker / health monitor available for
2122 sale today that respect the users privacy? With this I mean a
2123 watch/bracelet capable of measuring pulse rate and other
2124 fitness/health related values (and by all means, also the correct time
2125 and location if possible), which is &lt;strong&gt;only&lt;/strong&gt; provided for
2126 me to extract/read from the unit with computer without a radio beacon
2127 and Internet connection. In other words, it do not depend on a cell
2128 phone app, and do make the measurements available via other peoples
2129 computer (aka &quot;the cloud&quot;). The collected data should be available
2130 using only free software. I&#39;m not interested in depending on some
2131 non-free software that will leave me high and dry some time in the
2132 future. I&#39;ve been unable to find any such unit. I would like to buy
2133 it. The ones I have seen for sale here in Norway are proud to report
2134 that they share my health data with strangers (aka &quot;cloud enabled&quot;).
2135 Is there an alternative? I&#39;m not interested in giving money to people
2136 requiring me to accept &quot;privacy terms&quot; to allow myself to measure my
2137 own health.&lt;/p&gt;
2138
2139 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
2140 activities, please send Bitcoin donations to my address
2141 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
2142 </description>
2143 </item>
2144
2145 <item>
2146 <title>Sharing images with friends and family using RSS and EXIF/XMP metadata</title>
2147 <link>http://people.skolelinux.org/pere/blog/Sharing_images_with_friends_and_family_using_RSS_and_EXIF_XMP_metadata.html</link>
2148 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Sharing_images_with_friends_and_family_using_RSS_and_EXIF_XMP_metadata.html</guid>
2149 <pubDate>Tue, 31 Jul 2018 23:30:00 +0200</pubDate>
2150 <description>&lt;p&gt;For a while now, I have looked for a sensible way to share images
2151 with my family using a self hosted solution, as it is unacceptable to
2152 place images from my personal life under the control of strangers
2153 working for data hoarders like Google or Dropbox. The last few days I
2154 have drafted an approach that might work out, and I would like to
2155 share it with you. I would like to publish images on a server under
2156 my control, and point some Internet connected display units using some
2157 free and open standard to the images I published. As my primary
2158 language is not limited to ASCII, I need to store metadata using
2159 UTF-8. Many years ago, I hoped to find a digital photo frame capable
2160 of reading a RSS feed with image references (aka using the
2161 &amp;lt;enclosure&amp;gt; RSS tag), but was unable to find a current supplier
2162 of such frames. In the end I gave up that approach.&lt;/p&gt;
2163
2164 &lt;p&gt;Some months ago, I discovered that
2165 &lt;a href=&quot;https://www.jwz.org/xscreensaver/&quot;&gt;XScreensaver&lt;/a&gt; is able to
2166 read images from a RSS feed, and used it to set up a screen saver on
2167 my home info screen, showing images from the Daily images feed from
2168 NASA. This proved to work well. More recently I discovered that
2169 &lt;a href=&quot;https://kodi.tv&quot;&gt;Kodi&lt;/a&gt; (both using
2170 &lt;a href=&quot;https://www.openelec.tv/&quot;&gt;OpenELEC&lt;/a&gt; and
2171 &lt;a href=&quot;https://libreelec.tv&quot;&gt;LibreELEC&lt;/a&gt;) provide the
2172 &lt;a href=&quot;https://github.com/grinsted/script.screensaver.feedreader&quot;&gt;Feedreader&lt;/a&gt;
2173 screen saver capable of reading a RSS feed with images and news. For
2174 fun, I used it this summer to test Kodi on my parents TV by hooking up
2175 a Raspberry PI unit with LibreELEC, and wanted to provide them with a
2176 screen saver showing selected pictures from my selection.&lt;/p&gt;
2177
2178 &lt;p&gt;Armed with motivation and a test photo frame, I set out to generate
2179 a RSS feed for the Kodi instance. I adjusted my &lt;a
2180 href=&quot;https://freedombox.org/&quot;&gt;Freedombox&lt;/a&gt; instance, created
2181 /var/www/html/privatepictures/, wrote a small Perl script to extract
2182 title and description metadata from the photo files and generate the
2183 RSS file. I ended up using Perl instead of python, as the
2184 libimage-exiftool-perl Debian package seemed to handle the EXIF/XMP
2185 tags I ended up using, while python3-exif did not. The relevant EXIF
2186 tags only support ASCII, so I had to find better alternatives. XMP
2187 seem to have the support I need.&lt;/p&gt;
2188
2189 &lt;p&gt;I am a bit unsure which EXIF/XMP tags to use, as I would like to
2190 use tags that can be easily added/updated using normal free software
2191 photo managing software. I ended up using the tags set using this
2192 exiftool command, as these tags can also be set using digiKam:&lt;/p&gt;
2193
2194 &lt;blockquote&gt;&lt;pre&gt;
2195 exiftool -headline=&#39;The RSS image title&#39; \
2196 -description=&#39;The RSS image description.&#39; \
2197 -subject+=for-family photo.jpeg
2198 &lt;/pre&gt;&lt;/blockquote&gt;
2199
2200 &lt;p&gt;I initially tried the &quot;-title&quot; and &quot;keyword&quot; tags, but they were
2201 invisible in digiKam, so I changed to &quot;-headline&quot; and &quot;-subject&quot;. I
2202 use the keyword/subject &#39;for-family&#39; to flag that the photo should be
2203 shared with my family. Images with this keyword set are located and
2204 copied into my Freedombox for the RSS generating script to find.&lt;/p&gt;
2205
2206 &lt;p&gt;Are there better ways to do this? Get in touch if you have better
2207 suggestions.&lt;/p&gt;
2208
2209 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
2210 activities, please send Bitcoin donations to my address
2211 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
2212 </description>
2213 </item>
2214
2215 <item>
2216 <title>Simple streaming the Linux desktop to Kodi using GStreamer and RTP</title>
2217 <link>http://people.skolelinux.org/pere/blog/Simple_streaming_the_Linux_desktop_to_Kodi_using_GStreamer_and_RTP.html</link>
2218 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Simple_streaming_the_Linux_desktop_to_Kodi_using_GStreamer_and_RTP.html</guid>
2219 <pubDate>Thu, 12 Jul 2018 17:55:00 +0200</pubDate>
2220 <description>&lt;p&gt;Last night, I wrote
2221 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html&quot;&gt;a
2222 recipe to stream a Linux desktop using VLC to a instance of Kodi&lt;/a&gt;.
2223 During the day I received valuable feedback, and thanks to the
2224 suggestions I have been able to rewrite the recipe into a much simpler
2225 approach requiring no setup at all. It is a single script that take
2226 care of it all.&lt;/p&gt;
2227
2228 &lt;p&gt;This new script uses GStreamer instead of VLC to capture the
2229 desktop and stream it to Kodi. This fixed the video quality issue I
2230 saw initially. It further removes the need to add a m3u file on the
2231 Kodi machine, as it instead connects to
2232 &lt;a href=&quot;https://kodi.wiki/view/JSON-RPC_API/v8&quot;&gt;the JSON-RPC API in
2233 Kodi&lt;/a&gt; and simply ask Kodi to play from the stream created using
2234 GStreamer. Streaming the desktop to Kodi now become trivial. Copy
2235 the script below, run it with the DNS name or IP address of the kodi
2236 server to stream to as the only argument, and watch your screen show
2237 up on the Kodi screen. Note, it depend on multicast on the local
2238 network, so if you need to stream outside the local network, the
2239 script must be modified. Also note, I have no idea if audio work, as
2240 I only care about the picture part.&lt;/p&gt;
2241
2242 &lt;blockquote&gt;&lt;pre&gt;
2243 #!/bin/sh
2244 #
2245 # Stream the Linux desktop view to Kodi. See
2246 # http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html
2247 # for backgorund information.
2248
2249 # Make sure the stream is stopped in Kodi and the gstreamer process is
2250 # killed if something go wrong (for example if curl is unable to find the
2251 # kodi server). Do the same when interrupting this script.
2252 kodicmd() {
2253 host=&quot;$1&quot;
2254 cmd=&quot;$2&quot;
2255 params=&quot;$3&quot;
2256 curl --silent --header &#39;Content-Type: application/json&#39; \
2257 --data-binary &quot;{ \&quot;id\&quot;: 1, \&quot;jsonrpc\&quot;: \&quot;2.0\&quot;, \&quot;method\&quot;: \&quot;$cmd\&quot;, \&quot;params\&quot;: $params }&quot; \
2258 &quot;http://$host/jsonrpc&quot;
2259 }
2260 cleanup() {
2261 if [ -n &quot;$kodihost&quot; ] ; then
2262 # Stop the playing when we end
2263 playerid=$(kodicmd &quot;$kodihost&quot; Player.GetActivePlayers &quot;{}&quot; |
2264 jq .result[].playerid)
2265 kodicmd &quot;$kodihost&quot; Player.Stop &quot;{ \&quot;playerid\&quot; : $playerid }&quot; &gt; /dev/null
2266 fi
2267 if [ &quot;$gstpid&quot; ] &amp;&amp; kill -0 &quot;$gstpid&quot; &gt;/dev/null 2&gt;&amp;1; then
2268 kill &quot;$gstpid&quot;
2269 fi
2270 }
2271 trap cleanup EXIT INT
2272
2273 if [ -n &quot;$1&quot; ]; then
2274 kodihost=$1
2275 shift
2276 else
2277 kodihost=kodi.local
2278 fi
2279
2280 mcast=239.255.0.1
2281 mcastport=1234
2282 mcastttl=1
2283
2284 pasrc=$(pactl list | grep -A2 &#39;Source #&#39; | grep &#39;Name: .*\.monitor$&#39; | \
2285 cut -d&quot; &quot; -f2|head -1)
2286 gst-launch-1.0 ximagesrc use-damage=0 ! video/x-raw,framerate=30/1 ! \
2287 videoconvert ! queue2 ! \
2288 x264enc bitrate=8000 speed-preset=superfast tune=zerolatency qp-min=30 \
2289 key-int-max=15 bframes=2 ! video/x-h264,profile=high ! queue2 ! \
2290 mpegtsmux alignment=7 name=mux ! rndbuffersize max=1316 min=1316 ! \
2291 udpsink host=$mcast port=$mcastport ttl-mc=$mcastttl auto-multicast=1 sync=0 \
2292 pulsesrc device=$pasrc ! audioconvert ! queue2 ! avenc_aac ! queue2 ! mux. \
2293 &gt; /dev/null 2&gt;&amp;1 &amp;
2294 gstpid=$!
2295
2296 # Give stream a second to get going
2297 sleep 1
2298
2299 # Ask kodi to start streaming using its JSON-RPC API
2300 kodicmd &quot;$kodihost&quot; Player.Open \
2301 &quot;{\&quot;item\&quot;: { \&quot;file\&quot;: \&quot;udp://@$mcast:$mcastport\&quot; } }&quot; &gt; /dev/null
2302
2303 # wait for gst to end
2304 wait &quot;$gstpid&quot;
2305 &lt;/pre&gt;&lt;/blockquote&gt;
2306
2307 &lt;p&gt;I hope you find the approach useful. I know I do.&lt;/p&gt;
2308
2309 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
2310 activities, please send Bitcoin donations to my address
2311 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
2312 </description>
2313 </item>
2314
2315 <item>
2316 <title>Streaming the Linux desktop to Kodi using VLC and RTSP</title>
2317 <link>http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html</link>
2318 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html</guid>
2319 <pubDate>Thu, 12 Jul 2018 02:00:00 +0200</pubDate>
2320 <description>&lt;p&gt;PS: See
2321 &lt;ahref=&quot;http://people.skolelinux.org/pere/blog/Simple_streaming_the_Linux_desktop_to_Kodi_using_GStreamer_and_RTP.html&quot;&gt;the
2322 followup post&lt;/a&gt; for a even better approach.&lt;/p&gt;
2323
2324 &lt;p&gt;A while back, I was asked by a friend how to stream the desktop to
2325 my projector connected to Kodi. I sadly had to admit that I had no
2326 idea, as it was a task I never had tried. Since then, I have been
2327 looking for a way to do so, preferable without much extra software to
2328 install on either side. Today I found a way that seem to kind of
2329 work. Not great, but it is a start.&lt;/p&gt;
2330
2331 &lt;p&gt;I had a look at several approaches, for example
2332 &lt;a href=&quot;https://github.com/mfoetsch/dlna_live_streaming&quot;&gt;using uPnP
2333 DLNA as described in 2011&lt;/a&gt;, but it required a uPnP server, fuse and
2334 local storage enough to store the stream locally. This is not going
2335 to work well for me, lacking enough free space, and it would
2336 impossible for my friend to get working.&lt;/p&gt;
2337
2338 &lt;p&gt;Next, it occurred to me that perhaps I could use VLC to create a
2339 video stream that Kodi could play. Preferably using
2340 broadcast/multicast, to avoid having to change any setup on the Kodi
2341 side when starting such stream. Unfortunately, the only recipe I
2342 could find using multicast used the rtp protocol, and this protocol
2343 seem to not be supported by Kodi.&lt;/p&gt;
2344
2345 &lt;p&gt;On the other hand, the rtsp protocol is working! Unfortunately I
2346 have to specify the IP address of the streaming machine in both the
2347 sending command and the file on the Kodi server. But it is showing my
2348 desktop, and thus allow us to have a shared look on the big screen at
2349 the programs I work on.&lt;/p&gt;
2350
2351 &lt;p&gt;I did not spend much time investigating codeces. I combined the
2352 rtp and rtsp recipes from
2353 &lt;a href=&quot;https://wiki.videolan.org/Documentation:Streaming_HowTo/Command_Line_Examples/&quot;&gt;the
2354 VLC Streaming HowTo/Command Line Examples&lt;/a&gt;, and was able to get
2355 this working on the desktop/streaming end.&lt;/p&gt;
2356
2357 &lt;blockquote&gt;&lt;pre&gt;
2358 vlc screen:// --sout \
2359 &#39;#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:rtp{dst=projector.local,port=1234,sdp=rtsp://192.168.11.4:8080/test.sdp}&#39;
2360 &lt;/pre&gt;&lt;/blockquote&gt;
2361
2362 &lt;p&gt;I ssh-ed into my Kodi box and created a file like this with the
2363 same IP address:&lt;/p&gt;
2364
2365 &lt;blockquote&gt;&lt;pre&gt;
2366 echo rtsp://192.168.11.4:8080/test.sdp \
2367 &gt; /storage/videos/screenstream.m3u
2368 &lt;/pre&gt;&lt;/blockquote&gt;
2369
2370 &lt;p&gt;Note the 192.168.11.4 IP address is my desktops IP address. As far
2371 as I can tell the IP must be hardcoded for this to work. In other
2372 words, if someone elses machine is going to do the steaming, you have
2373 to update screenstream.m3u on the Kodi machine and adjust the vlc
2374 recipe. To get started, locate the file in Kodi and select the m3u
2375 file while the VLC stream is running. The desktop then show up in my
2376 big screen. :)&lt;/p&gt;
2377
2378 &lt;p&gt;When using the same technique to stream a video file with audio,
2379 the audio quality is really bad. No idea if the problem is package
2380 loss or bad parameters for the transcode. I do not know VLC nor Kodi
2381 enough to tell.&lt;/p&gt;
2382
2383 &lt;p&gt;&lt;strong&gt;Update 2018-07-12&lt;/strong&gt;: Johannes Schauer send me a few
2384 succestions and reminded me about an important step. The &quot;screen:&quot;
2385 input source is only available once the vlc-plugin-access-extra
2386 package is installed on Debian. Without it, you will see this error
2387 message: &quot;VLC is unable to open the MRL &#39;screen://&#39;. Check the log
2388 for details.&quot; He further found that it is possible to drop some parts
2389 of the VLC command line to reduce the amount of hardcoded information.
2390 It is also useful to consider using cvlc to avoid having the VLC
2391 window in the desktop view. In sum, this give us this command line on
2392 the source end
2393
2394 &lt;blockquote&gt;&lt;pre&gt;
2395 cvlc screen:// --sout \
2396 &#39;#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:rtp{sdp=rtsp://:8080/}&#39;
2397 &lt;/pre&gt;&lt;/blockquote&gt;
2398
2399 &lt;p&gt;and this on the Kodi end&lt;p&gt;
2400
2401 &lt;blockquote&gt;&lt;pre&gt;
2402 echo rtsp://192.168.11.4:8080/ \
2403 &gt; /storage/videos/screenstream.m3u
2404 &lt;/pre&gt;&lt;/blockquote&gt;
2405
2406 &lt;p&gt;Still bad image quality, though. But I did discover that streaming
2407 a DVD using dvdsimple:///dev/dvd as the source had excellent video and
2408 audio quality, so I guess the issue is in the input or transcoding
2409 parts, not the rtsp part. I&#39;ve tried to change the vb and ab
2410 parameters to use more bandwidth, but it did not make a
2411 difference.&lt;/p&gt;
2412
2413 &lt;p&gt;I further received a suggestion from Einar Haraldseid to try using
2414 gstreamer instead of VLC, and this proved to work great! He also
2415 provided me with the trick to get Kodi to use a multicast stream as
2416 its source. By using this monstrous oneliner, I can stream my desktop
2417 with good video quality in reasonable framerate to the 239.255.0.1
2418 multicast address on port 1234:
2419
2420 &lt;blockquote&gt;&lt;pre&gt;
2421 gst-launch-1.0 ximagesrc use-damage=0 ! video/x-raw,framerate=30/1 ! \
2422 videoconvert ! queue2 ! \
2423 x264enc bitrate=8000 speed-preset=superfast tune=zerolatency qp-min=30 \
2424 key-int-max=15 bframes=2 ! video/x-h264,profile=high ! queue2 ! \
2425 mpegtsmux alignment=7 name=mux ! rndbuffersize max=1316 min=1316 ! \
2426 udpsink host=239.255.0.1 port=1234 ttl-mc=1 auto-multicast=1 sync=0 \
2427 pulsesrc device=$(pactl list | grep -A2 &#39;Source #&#39; | \
2428 grep &#39;Name: .*\.monitor$&#39; | cut -d&quot; &quot; -f2|head -1) ! \
2429 audioconvert ! queue2 ! avenc_aac ! queue2 ! mux.
2430 &lt;/pre&gt;&lt;/blockquote&gt;
2431
2432 &lt;p&gt;and this on the Kodi end&lt;p&gt;
2433
2434 &lt;blockquote&gt;&lt;pre&gt;
2435 echo udp://@239.255.0.1:1234 \
2436 &gt; /storage/videos/screenstream.m3u
2437 &lt;/pre&gt;&lt;/blockquote&gt;
2438
2439 &lt;p&gt;Note the trick to pick a valid pulseaudio source. It might not
2440 pick the one you need. This approach will of course lead to trouble
2441 if more than one source uses the same multicast port and address.
2442 Note the ttl-mc=1 setting, which limit the multicast packages to the
2443 local network. If the value is increased, your screen will be
2444 broadcasted further, one network &quot;hop&quot; for each increase (read up on
2445 multicast to learn more. :)!&lt;/p&gt;
2446
2447 &lt;p&gt;Having cracked how to get Kodi to receive multicast streams, I
2448 could use this VLC command to stream to the same multicast address.
2449 The image quality is way better than the rtsp approach, but gstreamer
2450 seem to be doing a better job.&lt;/p&gt;
2451
2452 &lt;blockquote&gt;&lt;pre&gt;
2453 cvlc screen:// --sout &#39;#transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:rtp{mux=ts,dst=239.255.0.1,port=1234,sdp=sap}&#39;
2454 &lt;/pre&gt;&lt;/blockquote&gt;
2455
2456 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
2457 activities, please send Bitcoin donations to my address
2458 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
2459 </description>
2460 </item>
2461
2462 <item>
2463 <title>What is the most supported MIME type in Debian in 2018?</title>
2464 <link>http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_in_2018_.html</link>
2465 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_in_2018_.html</guid>
2466 <pubDate>Mon, 9 Jul 2018 08:05:00 +0200</pubDate>
2467 <description>&lt;p&gt;Five years ago,
2468 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_.html&quot;&gt;I
2469 measured what the most supported MIME type in Debian was&lt;/a&gt;, by
2470 analysing the desktop files in all packages in the archive. Since
2471 then, the DEP-11 AppStream system has been put into production, making
2472 the task a lot easier. This made me want to repeat the measurement,
2473 to see how much things changed. Here are the new numbers, for
2474 unstable only this time:
2475
2476 &lt;p&gt;&lt;strong&gt;Debian Unstable:&lt;/strong&gt;&lt;/p&gt;
2477
2478 &lt;pre&gt;
2479 count MIME type
2480 ----- -----------------------
2481 56 image/jpeg
2482 55 image/png
2483 49 image/tiff
2484 48 image/gif
2485 39 image/bmp
2486 38 text/plain
2487 37 audio/mpeg
2488 34 application/ogg
2489 33 audio/x-flac
2490 32 audio/x-mp3
2491 30 audio/x-wav
2492 30 audio/x-vorbis+ogg
2493 29 image/x-portable-pixmap
2494 27 inode/directory
2495 27 image/x-portable-bitmap
2496 27 audio/x-mpeg
2497 26 application/x-ogg
2498 25 audio/x-mpegurl
2499 25 audio/ogg
2500 24 text/html
2501 &lt;/pre&gt;
2502
2503 &lt;p&gt;The list was created like this using a sid chroot: &quot;cat
2504 /var/lib/apt/lists/*sid*_dep11_Components-amd64.yml.gz| zcat | awk &#39;/^
2505 - \S+\/\S+$/ {print $2 }&#39; | sort | uniq -c | sort -nr | head -20&quot;&lt;/p&gt;
2506
2507 &lt;p&gt;It is interesting to see how image formats have passed text/plain
2508 as the most announced supported MIME type. These days, thanks to the
2509 AppStream system, if you run into a file format you do not know, and
2510 want to figure out which packages support the format, you can find the
2511 MIME type of the file using &quot;file --mime &amp;lt;filename&amp;gt;&quot;, and then
2512 look up all packages announcing support for this format in their
2513 AppStream metadata (XML or .desktop file) using &quot;appstreamcli
2514 what-provides mimetype &amp;lt;mime-type&amp;gt;. For example if you, like
2515 me, want to know which packages support inode/directory, you can get a
2516 list like this:&lt;/p&gt;
2517
2518 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
2519 % appstreamcli what-provides mimetype inode/directory | grep Package: | sort
2520 Package: anjuta
2521 Package: audacious
2522 Package: baobab
2523 Package: cervisia
2524 Package: chirp
2525 Package: dolphin
2526 Package: doublecmd-common
2527 Package: easytag
2528 Package: enlightenment
2529 Package: ephoto
2530 Package: filelight
2531 Package: gwenview
2532 Package: k4dirstat
2533 Package: kaffeine
2534 Package: kdesvn
2535 Package: kid3
2536 Package: kid3-qt
2537 Package: nautilus
2538 Package: nemo
2539 Package: pcmanfm
2540 Package: pcmanfm-qt
2541 Package: qweborf
2542 Package: ranger
2543 Package: sirikali
2544 Package: spacefm
2545 Package: spacefm
2546 Package: vifm
2547 %
2548 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
2549
2550 &lt;p&gt;Using the same method, I can quickly discover that the Sketchup file
2551 format is not yet supported by any package in Debian:&lt;/p&gt;
2552
2553 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
2554 % appstreamcli what-provides mimetype application/vnd.sketchup.skp
2555 Could not find component providing &#39;mimetype::application/vnd.sketchup.skp&#39;.
2556 %
2557 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
2558
2559 &lt;p&gt;Yesterday I used it to figure out which packages support the STL 3D
2560 format:&lt;/p&gt;
2561
2562 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
2563 % appstreamcli what-provides mimetype application/sla|grep Package
2564 Package: cura
2565 Package: meshlab
2566 Package: printrun
2567 %
2568 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
2569
2570 &lt;p&gt;PS: A new version of Cura was uploaded to Debian yesterday.&lt;/p&gt;
2571
2572 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
2573 activities, please send Bitcoin donations to my address
2574 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
2575 </description>
2576 </item>
2577
2578 <item>
2579 <title>Debian APT upgrade without enough free space on the disk...</title>
2580 <link>http://people.skolelinux.org/pere/blog/Debian_APT_upgrade_without_enough_free_space_on_the_disk___.html</link>
2581 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_APT_upgrade_without_enough_free_space_on_the_disk___.html</guid>
2582 <pubDate>Sun, 8 Jul 2018 12:10:00 +0200</pubDate>
2583 <description>&lt;p&gt;Quite regularly, I let my Debian Sid/Unstable chroot stay untouch
2584 for a while, and when I need to update it there is not enough free
2585 space on the disk for apt to do a normal &#39;apt upgrade&#39;. I normally
2586 would resolve the issue by doing &#39;apt install &amp;lt;somepackages&amp;gt;&#39; to
2587 upgrade only some of the packages in one batch, until the amount of
2588 packages to download fall below the amount of free space available.
2589 Today, I had about 500 packages to upgrade, and after a while I got
2590 tired of trying to install chunks of packages manually. I concluded
2591 that I did not have the spare hours required to complete the task, and
2592 decided to see if I could automate it. I came up with this small
2593 script which I call &#39;apt-in-chunks&#39;:&lt;/p&gt;
2594
2595 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
2596 #!/bin/sh
2597 #
2598 # Upgrade packages when the disk is too full to upgrade every
2599 # upgradable package in one lump. Fetching packages to upgrade using
2600 # apt, and then installing using dpkg, to avoid changing the package
2601 # flag for manual/automatic.
2602
2603 set -e
2604
2605 ignore() {
2606 if [ &quot;$1&quot; ]; then
2607 grep -v &quot;$1&quot;
2608 else
2609 cat
2610 fi
2611 }
2612
2613 for p in $(apt list --upgradable | ignore &quot;$@&quot; |cut -d/ -f1 | grep -v &#39;^Listing...&#39;); do
2614 echo &quot;Upgrading $p&quot;
2615 apt clean
2616 apt install --download-only -y $p
2617 for f in /var/cache/apt/archives/*.deb; do
2618 if [ -e &quot;$f&quot; ]; then
2619 dpkg -i /var/cache/apt/archives/*.deb
2620 break
2621 fi
2622 done
2623 done
2624 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
2625
2626 &lt;p&gt;The script will extract the list of packages to upgrade, try to
2627 download the packages needed to upgrade one package, install the
2628 downloaded packages using dpkg. The idea is to upgrade packages
2629 without changing the APT mark for the package (ie the one recording of
2630 the package was manually requested or pulled in as a dependency). To
2631 use it, simply run it as root from the command line. If it fail, try
2632 &#39;apt install -f&#39; to clean up the mess and run the script again. This
2633 might happen if the new packages conflict with one of the old
2634 packages. dpkg is unable to remove, while apt can do this.&lt;/p&gt;
2635
2636 &lt;p&gt;It take one option, a package to ignore in the list of packages to
2637 upgrade. The option to ignore a package is there to be able to skip
2638 the packages that are simply too large to unpack. Today this was
2639 &#39;ghc&#39;, but I have run into other large packages causing similar
2640 problems earlier (like TeX).&lt;/p&gt;
2641
2642 &lt;p&gt;Update 2018-07-08: Thanks to Paul Wise, I am aware of two
2643 alternative ways to handle this. The &quot;unattended-upgrades
2644 --minimal-upgrade-steps&quot; option will try to calculate upgrade sets for
2645 each package to upgrade, and then upgrade them in order, smallest set
2646 first. It might be a better option than my above mentioned script.
2647 Also, &quot;aptutude upgrade&quot; can upgrade single packages, thus avoiding
2648 the need for using &quot;dpkg -i&quot; in the script above.&lt;/p&gt;
2649
2650 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
2651 activities, please send Bitcoin donations to my address
2652 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
2653 </description>
2654 </item>
2655
2656 <item>
2657 <title>The worlds only stone power plant?</title>
2658 <link>http://people.skolelinux.org/pere/blog/The_worlds_only_stone_power_plant_.html</link>
2659 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_worlds_only_stone_power_plant_.html</guid>
2660 <pubDate>Sat, 30 Jun 2018 10:35:00 +0200</pubDate>
2661 <description>&lt;p&gt;So far, at least hydro-electric power, coal power, wind power,
2662 solar power, and wood power are well known. Until a few days ago, I
2663 had never heard of stone power. Then I learn about a quarry in a
2664 mountain in
2665 &lt;a href=&quot;https://en.wikipedia.org/wiki/Bremanger&quot;&gt;Bremanger&lt;/a&gt; i
2666 Norway, where
2667 &lt;a href=&quot;https://www.bontrup.com/en/activities/raw-materials/bremanger-quarry/&quot;&gt;the
2668 Bremanger Quarry&lt;/a&gt; company is extracting stone and dumping the stone
2669 into a shaft leading to its shipping harbour. This downward movement
2670 in this shaft is used to produce electricity. In short, it is using
2671 falling rocks instead of falling water to produce electricity, and
2672 according to its own statements it is producing more power than it is
2673 using, and selling the surplus electricity to the Norwegian power
2674 grid. I find the concept truly amazing. Is this the worlds only
2675 stone power plant?&lt;/p&gt;
2676
2677 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
2678 activities, please send Bitcoin donations to my address
2679 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
2680 </description>
2681 </item>
2682
2683 <item>
2684 <title>Add-on to control the projector from within Kodi</title>
2685 <link>http://people.skolelinux.org/pere/blog/Add_on_to_control_the_projector_from_within_Kodi.html</link>
2686 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Add_on_to_control_the_projector_from_within_Kodi.html</guid>
2687 <pubDate>Tue, 26 Jun 2018 23:55:00 +0200</pubDate>
2688 <description>&lt;p&gt;My movie playing setup involve &lt;a href=&quot;https://kodi.tv/&quot;&gt;Kodi&lt;/a&gt;,
2689 &lt;a href=&quot;https://openelec.tv&quot;&gt;OpenELEC&lt;/a&gt; (probably soon to be
2690 replaced with &lt;a href=&quot;https://libreelec.tv/&quot;&gt;LibreELEC&lt;/a&gt;) and an
2691 Infocus IN76 video projector. My projector can be controlled via both
2692 a infrared remote controller, and a RS-232 serial line. The vendor of
2693 my projector, &lt;a href=&quot;https://www.infocus.com/&quot;&gt;InFocus&lt;/a&gt;, had been
2694 sensible enough to document the serial protocol in its user manual, so
2695 it is easily available, and I used it some years ago to write
2696 &lt;a href=&quot;https://github.com/petterreinholdtsen/infocus-projector-control&quot;&gt;a
2697 small script to control the projector&lt;/a&gt;. For a while now, I longed
2698 for a setup where the projector was controlled by Kodi, for example in
2699 such a way that when the screen saver went on, the projector was
2700 turned off, and when the screen saver exited, the projector was turned
2701 on again.&lt;/p&gt;
2702
2703 &lt;p&gt;A few days ago, with very good help from parts of my family, I
2704 managed to find a Kodi Add-on for controlling a Epson projector, and
2705 got in touch with its author to see if we could join forces and make a
2706 Add-on with support for several projectors. To my pleasure, he was
2707 positive to the idea, and we set out to add InFocus support to his
2708 add-on, and make the add-on suitable for the official Kodi add-on
2709 repository.&lt;/p&gt;
2710
2711 &lt;p&gt;The Add-on is now working (for me, at least), with a few minor
2712 adjustments. The most important change I do relative to the master
2713 branch in the github repository is embedding the
2714 &lt;a href=&quot;https://github.com/pyserial/pyserial&quot;&gt;pyserial module&lt;/a&gt; in
2715 the add-on. The long term solution is to make a &quot;script&quot; type
2716 pyserial module for Kodi, that can be pulled in as a dependency in
2717 Kodi. But until that in place, I embed it.&lt;/p&gt;
2718
2719 &lt;p&gt;The add-on can be configured to turn on the projector when Kodi
2720 starts, off when Kodi stops as well as turn the projector off when the
2721 screensaver start and on when the screesaver stops. It can also be
2722 told to set the projector source when turning on the projector.
2723
2724 &lt;p&gt;If this sound interesting to you, check out
2725 &lt;a href=&quot;https://github.com/fredrik-eriksson/kodi_projcontrol&quot;&gt;the
2726 project github repository&lt;/a&gt;. Perhaps you can send patches to
2727 support your projector too? As soon as we find time to wrap up the
2728 latest changes, it should be available for easy installation using any
2729 Kodi instance.&lt;/p&gt;
2730
2731 &lt;p&gt;For future improvements, I would like to add projector model
2732 detection and the ability to adjust the brightness level of the
2733 projector from within Kodi. We also need to figure out how to handle
2734 the cooling period of the projector. My projector refuses to turn on
2735 for 60 seconds after it was turned off. This is not handled well by
2736 the add-on at the moment.&lt;/p&gt;
2737
2738 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
2739 activities, please send Bitcoin donations to my address
2740 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
2741 </description>
2742 </item>
2743
2744 <item>
2745 <title>Self-appointed leaders of the Free World</title>
2746 <link>http://people.skolelinux.org/pere/blog/Self_appointed_leaders_of_the_Free_World.html</link>
2747 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Self_appointed_leaders_of_the_Free_World.html</guid>
2748 <pubDate>Thu, 22 Mar 2018 11:00:00 +0100</pubDate>
2749 <description>&lt;p&gt;The leaders of the worlds have started to congratulate the
2750 re-elected Russian head of state, and this causes some criticism. I
2751 am though a little fascinated by a comment from USA senator John McCain,
2752 &lt;a href=&quot;http://thehill.com/homenews/senate/379339-mccain-rips-trumps-congratulatory-call-to-putin-as-insult-to-russian-people&quot;&gt;sited
2753 by The Hill and others&lt;/a&gt;:
2754
2755 &lt;p&gt;&lt;blockquote&gt;
2756 &lt;p&gt;&quot;An American president does not lead the Free World by
2757 congratulating dictators on winning sham elections.&quot;&lt;/p&gt;
2758 &lt;/blockquote&gt;&lt;/p&gt;
2759
2760 &lt;p&gt;While I totally agree with the senator here, the way the quote is
2761 phrased make me suspect that he is unaware of the simple fact that USA
2762 have not lead the Free World since at least before its government
2763 &lt;a href=&quot;https://en.wikipedia.org/wiki/Maher_Arar&quot;&gt;kidnapped a
2764 completely innocent Canadian citizen in transit on his way home to
2765 Canada via John F. Kennedy International Airport in September 2002 and
2766 sent him to be tortured in Syria for a year&lt;/a&gt;.&lt;/p&gt;
2767
2768 &lt;p&gt;USA might be running ahead, but the path they are taking is not the
2769 one taken by any Free World.&lt;/p&gt;
2770 </description>
2771 </item>
2772
2773 <item>
2774 <title>Facebooks ability to sell your personal information is the real Cambridge Analytica scandal</title>
2775 <link>http://people.skolelinux.org/pere/blog/Facebooks_ability_to_sell_your_personal_information_is_the_real_Cambridge_Analytica_scandal.html</link>
2776 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Facebooks_ability_to_sell_your_personal_information_is_the_real_Cambridge_Analytica_scandal.html</guid>
2777 <pubDate>Wed, 21 Mar 2018 16:30:00 +0100</pubDate>
2778 <description>&lt;p&gt;So, Cambridge Analytica is getting some well deserved criticism for
2779 (mis)using information it got from Facebook about 50 million people,
2780 mostly in the USA. What I find a bit surprising, is how little
2781 criticism Facebook is getting for handing the information over to
2782 Cambridge Analytica and others in the first place. And what about the
2783 people handing their private and personal information to Facebook?
2784 And last, but not least, what about the government offices who are
2785 handing information about the visitors of their web pages to Facebook?
2786 No-one who looked at the terms of use of Facebook should be surprised
2787 that information about peoples interests, political views, personal
2788 lifes and whereabouts would be sold by Facebook.&lt;/p&gt;
2789
2790 &lt;p&gt;What I find to be the real scandal is the fact that Facebook is
2791 selling your personal information, not that one of the buyers used it
2792 in a way Facebook did not approve when exposed. It is well known that
2793 Facebook is selling out their users privacy, but a scandal
2794 nevertheless. Of course the information provided to them by Facebook
2795 would be misused by one of the parties given access to personal
2796 information about the millions of Facebook users. Collected
2797 information will be misused sooner or later. The only way to avoid
2798 such misuse, is to not collect the information in the first place. If
2799 you do not want Facebook to hand out information about yourself for
2800 the use and misuse of its customers, do not give Facebook the
2801 information.&lt;/p&gt;
2802
2803 &lt;p&gt;Personally, I would recommend to completely remove your Facebook
2804 account, and take back some control of your personal information.
2805 &lt;a href=&quot;https://www.theguardian.com/technology/2018/mar/19/how-to-protect-your-facebook-privacy-or-delete-yourself-completely&quot;&gt;According
2806 to The Guardian&lt;/a&gt;, it is a bit hard to find out how to request
2807 account removal (and not just &#39;disabling&#39;). You need to
2808 &lt;a href=&quot;https://www.facebook.com/help/224562897555674?helpref=faq_content&quot;&gt;visit
2809 a specific Facebook page&lt;/a&gt; and click on &#39;let us know&#39; on that page
2810 to get to &lt;a href=&quot;https://www.facebook.com/help/delete_account&quot;&gt;the
2811 real account deletion screen&lt;/a&gt;. Perhaps something to consider? I
2812 would not trust the information to really be deleted (who knows,
2813 perhaps NSA, GCHQ and FRA already got a copy), but it might reduce the
2814 exposure a bit.&lt;/p&gt;
2815
2816 &lt;p&gt;If you want to learn more about the capabilities of Cambridge
2817 Analytica, I recommend to see the video recording of the one hour talk
2818 Paul-Olivier Dehaye gave to &lt;a href=&quot;&quot;&gt;NUUG&lt;/a&gt; last april about
2819 &lt;a href=&quot;https://www.nuug.no/aktiviteter/20170404-big-data-psychometric/&quot;&gt;
2820 Data collection, psychometric profiling and their impact on
2821 politics&lt;/a&gt;.&lt;/p&gt;
2822
2823 &lt;p&gt;And if you want to communicate with your friends and loved ones,
2824 use some end-to-end encrypted method like
2825 &lt;a href=&quot;https://www.signal.org/&quot;&gt;Signal&lt;/a&gt; or
2826 &lt;a href=&quot;https://ring.cx/&quot;&gt;Ring&lt;/a&gt;, and stop sharing your private
2827 messages with strangers like Facebook and Google.&lt;/p&gt;
2828 </description>
2829 </item>
2830
2831 <item>
2832 <title>First rough draft Norwegian and Spanish edition of the book Made with Creative Commons</title>
2833 <link>http://people.skolelinux.org/pere/blog/First_rough_draft_Norwegian_and_Spanish_edition_of_the_book_Made_with_Creative_Commons.html</link>
2834 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_rough_draft_Norwegian_and_Spanish_edition_of_the_book_Made_with_Creative_Commons.html</guid>
2835 <pubDate>Tue, 13 Mar 2018 13:00:00 +0100</pubDate>
2836 <description>&lt;p&gt;I am working on publishing yet another book related to Creative
2837 Commons. This time it is a book filled with interviews and histories
2838 from those around the globe making a living using Creative
2839 Commons.&lt;/p&gt;
2840
2841 &lt;p&gt;Yesterday, after many months of hard work by several volunteer
2842 translators, the first draft of a Norwegian Bokmål edition of the book
2843 &lt;a href=&quot;https://madewith.cc&quot;&gt;Made with Creative Commons from 2017&lt;/a&gt;
2844 was complete. The Spanish translation is also complete, while the
2845 Dutch, Polish, German and Ukraine edition need a lot of work. Get in
2846 touch if you want to help make those happen, or would like to
2847 translate into your mother tongue.&lt;/p&gt;
2848
2849 &lt;p&gt;The whole book project started when
2850 &lt;a href=&quot;http://gwolf.org/node/4102&quot;&gt;Gunnar Wolf announced&lt;/a&gt; that he
2851 was going to make a Spanish edition of the book. I noticed, and
2852 offered some input on how to make a book, based on my experience with
2853 translating the
2854 &lt;a href=&quot;https://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-22441576.html&quot;&gt;Free
2855 Culture&lt;/a&gt; and
2856 &lt;a href=&quot;https://debian-handbook.info/get/#norwegian&quot;&gt;The Debian
2857 Administrator&#39;s Handbook&lt;/a&gt; books to Norwegian Bokmål. To make a
2858 long story short, we ended up working on a Bokmål edition, and now the
2859 first rough translation is complete, thanks to the hard work of
2860 Ole-Erik Yrvin, Ingrid Yrvin, Allan Nordhøy and myself. The first
2861 proof reading is almost done, and only the second and third proof
2862 reading remains. We will also need to translate the 14 figures and
2863 create a book cover. Once it is done we will publish the book on
2864 paper, as well as in PDF, ePub and possibly Mobi formats.&lt;/p&gt;
2865
2866 &lt;p&gt;The book itself originates as a manuscript on Google Docs, is
2867 downloaded as ODT from there and converted to Markdown using pandoc.
2868 The Markdown is modified by a script before is converted to DocBook
2869 using pandoc. The DocBook is modified again using a script before it
2870 is used to create a Gettext POT file for translators. The translated
2871 PO file is then combined with the earlier mentioned DocBook file to
2872 create a translated DocBook file, which finally is given to dblatex to
2873 create the final PDF. The end result is a set of editions of the
2874 manuscript, one English and one for each of the translations.&lt;/p&gt;
2875
2876 &lt;p&gt;The translation is conducted using
2877 &lt;a href=&quot;https://hosted.weblate.org/projects/madewithcc/translation/&quot;&gt;the
2878 Weblate web based translation system&lt;/a&gt;. Please have a look there
2879 and get in touch if you would like to help out with proof
2880 reading. :)&lt;/p&gt;
2881
2882 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
2883 activities, please send Bitcoin donations to my address
2884 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
2885 </description>
2886 </item>
2887
2888 <item>
2889 <title>Debian used in the subway info screens in Oslo, Norway</title>
2890 <link>http://people.skolelinux.org/pere/blog/Debian_used_in_the_subway_info_screens_in_Oslo__Norway.html</link>
2891 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_used_in_the_subway_info_screens_in_Oslo__Norway.html</guid>
2892 <pubDate>Fri, 2 Mar 2018 13:10:00 +0100</pubDate>
2893 <description>&lt;p&gt;Today I was pleasantly surprised to discover my operating system of
2894 choice, Debian, was used in the info screens on the subway stations.
2895 While passing Nydalen subway station in Oslo, Norway, I discovered the
2896 info screen booting with some text scrolling. I was not quick enough
2897 with my camera to be able to record a video of the scrolling boot
2898 screen, but I did get a photo from when the boot got stuck with a
2899 corrupt file system:
2900
2901 &lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;http://people.skolelinux.org/pere/blog/images/2018-03-02-ruter-debian-lenny.jpeg&quot;&gt;&lt;img align=&quot;center&quot; width=&quot;40%&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2018-03-02-ruter-debian-lenny.jpeg&quot; alt=&quot;[photo of subway info screen]&quot;&gt;&lt;/a&gt;&lt;/p&gt;
2902
2903 &lt;p&gt;While I am happy to see Debian used more places, some details of the
2904 content on the screen worries me.&lt;/p&gt;
2905
2906 &lt;p&gt;The image show the version booting is &#39;Debian GNU/Linux lenny/sid&#39;,
2907 indicating that this is based on code taken from Debian Unstable/Sid
2908 after Debian Etch (version 4) was released 2007-04-08 and before
2909 Debian Lenny (version 5) was released 2009-02-14. Since Lenny Debian
2910 has released version 6 (Squeeze) 2011-02-06, 7 (Wheezy) 2013-05-04, 8
2911 (Jessie) 2015-04-25 and 9 (Stretch) 2017-06-15, according to
2912 &lt;a href=&quot;https://en.wikipedia.org/wiki/Debian_version_history&quot;&gt;a Debian
2913 version history on Wikpedia&lt;/a&gt;. This mean the system is running
2914 around 10 year old code, with no security fixes from the vendor for
2915 many years.&lt;/p&gt;
2916
2917 &lt;p&gt;This is not the first time I discover the Oslo subway company,
2918 Ruter, running outdated software. In 2012,
2919 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Er_billettautomatene_til_kollektivtrafikken_i_Oslo_uten_sikkerhetsoppdateringer_.html&quot;&gt;I
2920 discovered the ticket vending machines were running Windows 2000&lt;/a&gt;,
2921 and this was
2922 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Fortsatt_ingen_sikkerhetsoppdateringer_for_billettautomatene_til_kollektivtrafikken_i_Oslo_.html&quot;&gt;still
2923 the case in 2016&lt;/a&gt;. Given the response from the responsible people
2924 in 2016, I would assume the machines are still running unpatched
2925 Windows 2000. Thus, an unpatched Debian setup come as no surprise.&lt;/p&gt;
2926
2927 &lt;p&gt;The photo is made available under the license terms
2928 &lt;a href=&quot;http://creativecommons.org/licenses/by/4.0/&quot;&gt;Creative Commons
2929 4.0 Attribution International (CC BY 4.0)&lt;/a&gt;.&lt;/p&gt;
2930
2931 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
2932 activities, please send Bitcoin donations to my address
2933 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
2934 </description>
2935 </item>
2936
2937 <item>
2938 <title>The SysVinit upstream project just migrated to git</title>
2939 <link>http://people.skolelinux.org/pere/blog/The_SysVinit_upstream_project_just_migrated_to_git.html</link>
2940 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_SysVinit_upstream_project_just_migrated_to_git.html</guid>
2941 <pubDate>Sun, 18 Feb 2018 09:20:00 +0100</pubDate>
2942 <description>&lt;p&gt;Surprising as it might sound, there are still computers using the
2943 traditional Sys V init system, and there probably will be until
2944 systemd start working on Hurd and FreeBSD.
2945 &lt;a href=&quot;https://savannah.nongnu.org/projects/sysvinit&quot;&gt;The upstream
2946 project still exist&lt;/a&gt;, though, and up until today, the upstream
2947 source was available from Savannah via subversion. I am happy to
2948 report that this just changed.&lt;/p&gt;
2949
2950 &lt;p&gt;The upstream source is now in Git, and consist of three
2951 repositories:&lt;/p&gt;
2952
2953 &lt;ul&gt;
2954
2955 &lt;li&gt;&lt;a href=&quot;http://git.savannah.nongnu.org/cgit/sysvinit.git&quot;&gt;sysvinit&lt;/a&gt;&lt;/li&gt;
2956 &lt;li&gt;&lt;a href=&quot;http://git.savannah.nongnu.org/cgit/sysvinit/insserv.git&quot;&gt;insserv&lt;/a&gt;&lt;/li&gt;
2957 &lt;li&gt;&lt;a href=&quot;http://git.savannah.nongnu.org/cgit/sysvinit/startpar.git&quot;&gt;startpar&lt;/a&gt;&lt;/li&gt;
2958
2959 &lt;/ul&gt;
2960
2961 &lt;p&gt;I do not really spend much time on the project these days, and I
2962 has mostly retired, but found it best to migrate the source to a good
2963 version control system to help those willing to move it forward.&lt;/p&gt;
2964
2965 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
2966 activities, please send Bitcoin donations to my address
2967 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
2968 </description>
2969 </item>
2970
2971 <item>
2972 <title>Using VLC to stream bittorrent sources</title>
2973 <link>http://people.skolelinux.org/pere/blog/Using_VLC_to_stream_bittorrent_sources.html</link>
2974 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Using_VLC_to_stream_bittorrent_sources.html</guid>
2975 <pubDate>Wed, 14 Feb 2018 08:00:00 +0100</pubDate>
2976 <description>&lt;p&gt;A few days ago, a new major version of
2977 &lt;a href=&quot;https://www.videolan.org/&quot;&gt;VLC&lt;/a&gt; was announced, and I
2978 decided to check out if it now supported streaming over
2979 &lt;a href=&quot;http://bittorrent.org/&quot;&gt;bittorrent&lt;/a&gt; and
2980 &lt;a href=&quot;https://webtorrent.io&quot;&gt;webtorrent&lt;/a&gt;. Bittorrent is one of
2981 the most efficient ways to distribute large files on the Internet, and
2982 Webtorrent is a variant of Bittorrent using
2983 &lt;a href=&quot;https://webrtc.org&quot;&gt;WebRTC&lt;/a&gt; as its transport channel,
2984 allowing web pages to stream and share files using the same technique.
2985 The network protocols are similar but not identical, so a client
2986 supporting one of them can not talk to a client supporting the other.
2987 I was a bit surprised with what I discovered when I started to look.
2988 Looking at
2989 &lt;a href=&quot;https://www.videolan.org/vlc/releases/3.0.0.html&quot;&gt;the release
2990 notes&lt;/a&gt; did not help answering this question, so I started searching
2991 the web. I found several news articles from 2013, most of them
2992 tracing the news from Torrentfreak
2993 (&quot;&lt;a href=https://torrentfreak.com/open-source-giant-vlc-mulls-bittorrent-support-130211/&quot;&gt;Open
2994 Source Giant VLC Mulls BitTorrent Streaming Support&lt;/a&gt;&quot;), about a
2995 initiative to pay someone to create a VLC patch for bittorrent
2996 support. To figure out what happend with this initiative, I headed
2997 over to the #videolan IRC channel and asked if there were some bug or
2998 feature request tickets tracking such feature. I got an answer from
2999 lead developer Jean-Babtiste Kempf, telling me that there was a patch
3000 but neither he nor anyone else knew where it was. So I searched a bit
3001 more, and came across an independent
3002 &lt;a href=&quot;https://github.com/johang/vlc-bittorrent&quot;&gt;VLC plugin to add
3003 bittorrent support&lt;/a&gt;, created by Johan Gunnarsson in 2016/2017.
3004 Again according to Jean-Babtiste, this is not the patch he was talking
3005 about.&lt;/p&gt;
3006
3007 &lt;p&gt;Anyway, to test the plugin, I made a working Debian package from
3008 the git repository, with some modifications. After installing this
3009 package, I could stream videos from
3010 &lt;a href=&quot;https://www.archive.org/&quot;&gt;The Internet Archive&lt;/a&gt; using VLC
3011 commands like this:&lt;/p&gt;
3012
3013 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
3014 vlc https://archive.org/download/LoveNest/LoveNest_archive.torrent
3015 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
3016
3017 &lt;p&gt;The plugin is supposed to handle magnet links too, but since The
3018 Internet Archive do not have magnet links and I did not want to spend
3019 time tracking down another source, I have not tested it. It can take
3020 quite a while before the video start playing without any indication of
3021 what is going on from VLC. It took 10-20 seconds when I measured it.
3022 Some times the plugin seem unable to find the correct video file to
3023 play, and show the metadata XML file name in the VLC status line. I
3024 have no idea why.&lt;/p&gt;
3025
3026 &lt;p&gt;I have created a &lt;a href=&quot;https://bugs.debian.org/890360&quot;&gt;request for
3027 a new package in Debian (RFP)&lt;/a&gt; and
3028 &lt;a href=&quot;https://github.com/johang/vlc-bittorrent/issues/1&quot;&gt;asked if
3029 the upstream author is willing to help make this happen&lt;/a&gt;. Now we
3030 wait to see what come out of this. I do not want to maintain a
3031 package that is not maintained upstream, nor do I really have time to
3032 maintain more packages myself, so I might leave it at this. But I
3033 really hope someone step up to do the packaging, and hope upstream is
3034 still maintaining the source. If you want to help, please update the
3035 RFP request or the upstream issue.&lt;/p&gt;
3036
3037 &lt;p&gt;I have not found any traces of webtorrent support for VLC.&lt;/p&gt;
3038
3039 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
3040 activities, please send Bitcoin donations to my address
3041 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
3042 </description>
3043 </item>
3044
3045 <item>
3046 <title>Version 3.1 of Cura, the 3D print slicer, is now in Debian</title>
3047 <link>http://people.skolelinux.org/pere/blog/Version_3_1_of_Cura__the_3D_print_slicer__is_now_in_Debian.html</link>
3048 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Version_3_1_of_Cura__the_3D_print_slicer__is_now_in_Debian.html</guid>
3049 <pubDate>Tue, 13 Feb 2018 06:20:00 +0100</pubDate>
3050 <description>&lt;p&gt;A new version of the
3051 &lt;a href=&quot;https://tracker.debian.org/pkg/cura&quot;&gt;3D printer slicer
3052 software Cura&lt;/a&gt;, version 3.1.0, is now available in Debian Testing
3053 (aka Buster) and Debian Unstable (aka Sid). I hope you find it
3054 useful. It was uploaded the last few days, and the last update will
3055 enter testing tomorrow. See the
3056 &lt;a href=&quot;https://ultimaker.com/en/products/cura-software/release-notes&quot;&gt;release
3057 notes&lt;/a&gt; for the list of bug fixes and new features. Version 3.2
3058 was announced 6 days ago. We will try to get it into Debian as
3059 well.&lt;/p&gt;
3060
3061 &lt;p&gt;More information related to 3D printing is available on the
3062 &lt;a href=&quot;https://wiki.debian.org/3DPrinting&quot;&gt;3D printing&lt;/a&gt; and
3063 &lt;a href=&quot;https://wiki.debian.org/3D-printer&quot;&gt;3D printer&lt;/a&gt; wiki pages
3064 in Debian.&lt;/p&gt;
3065
3066 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
3067 activities, please send Bitcoin donations to my address
3068 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
3069 </description>
3070 </item>
3071
3072 <item>
3073 <title>How hard can æ, ø and å be?</title>
3074 <link>http://people.skolelinux.org/pere/blog/How_hard_can______and___be_.html</link>
3075 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_hard_can______and___be_.html</guid>
3076 <pubDate>Sun, 11 Feb 2018 17:10:00 +0100</pubDate>
3077 <description>&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2018-02-11-peppes-unicode.jpeg&quot; align=&quot;right&quot;/&gt;
3078
3079 &lt;p&gt;We write 2018, and it is 30 years since Unicode was introduced.
3080 Most of us in Norway have come to expect the use of our alphabet to
3081 just work with any computer system. But it is apparently beyond reach
3082 of the computers printing recites at a restaurant. Recently I visited
3083 a Peppes pizza resturant, and noticed a few details on the recite.
3084 Notice how &#39;ø&#39; and &#39;å&#39; are replaced with strange symbols in
3085 &#39;Servitør&#39;, &#39;Å BETALE&#39;, &#39;Beløp pr. gjest&#39;, &#39;Takk for besøket.&#39; and &#39;Vi
3086 gleder oss til å se deg igjen&#39;.&lt;/p&gt;
3087
3088 &lt;p&gt;I would say that this state is passed sad and over in embarrassing.&lt;/p&gt;
3089
3090 &lt;p&gt;I removed personal and private information to be nice.&lt;/p&gt;
3091
3092 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
3093 activities, please send Bitcoin donations to my address
3094 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
3095 </description>
3096 </item>
3097
3098 <item>
3099 <title>Legal to share more than 11,000 movies listed on IMDB?</title>
3100 <link>http://people.skolelinux.org/pere/blog/Legal_to_share_more_than_11_000_movies_listed_on_IMDB_.html</link>
3101 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Legal_to_share_more_than_11_000_movies_listed_on_IMDB_.html</guid>
3102 <pubDate>Sun, 7 Jan 2018 23:30:00 +0100</pubDate>
3103 <description>&lt;p&gt;I&#39;ve continued to track down list of movies that are legal to
3104 distribute on the Internet, and identified more than 11,000 title IDs
3105 in The Internet Movie Database (IMDB) so far. Most of them (57%) are
3106 feature films from USA published before 1923. I&#39;ve also tracked down
3107 more than 24,000 movies I have not yet been able to map to IMDB title
3108 ID, so the real number could be a lot higher. According to the front
3109 web page for &lt;a href=&quot;https://retrofilmvault.com/&quot;&gt;Retro Film
3110 Vault&lt;/A&gt;, there are 44,000 public domain films, so I guess there are
3111 still some left to identify.&lt;/p&gt;
3112
3113 &lt;p&gt;The complete data set is available from
3114 &lt;a href=&quot;https://github.com/petterreinholdtsen/public-domain-free-imdb&quot;&gt;a
3115 public git repository&lt;/a&gt;, including the scripts used to create it.
3116 Most of the data is collected using web scraping, for example from the
3117 &quot;product catalog&quot; of companies selling copies of public domain movies,
3118 but any source I find believable is used. I&#39;ve so far had to throw
3119 out three sources because I did not trust the public domain status of
3120 the movies listed.&lt;/p&gt;
3121
3122 &lt;p&gt;Anyway, this is the summary of the 28 collected data sources so
3123 far:&lt;/p&gt;
3124
3125 &lt;p&gt;&lt;pre&gt;
3126 2352 entries ( 66 unique) with and 15983 without IMDB title ID in free-movies-archive-org-search.json
3127 2302 entries ( 120 unique) with and 0 without IMDB title ID in free-movies-archive-org-wikidata.json
3128 195 entries ( 63 unique) with and 200 without IMDB title ID in free-movies-cinemovies.json
3129 89 entries ( 52 unique) with and 38 without IMDB title ID in free-movies-creative-commons.json
3130 344 entries ( 28 unique) with and 655 without IMDB title ID in free-movies-fesfilm.json
3131 668 entries ( 209 unique) with and 1064 without IMDB title ID in free-movies-filmchest-com.json
3132 830 entries ( 21 unique) with and 0 without IMDB title ID in free-movies-icheckmovies-archive-mochard.json
3133 19 entries ( 19 unique) with and 0 without IMDB title ID in free-movies-imdb-c-expired-gb.json
3134 6822 entries ( 6669 unique) with and 0 without IMDB title ID in free-movies-imdb-c-expired-us.json
3135 137 entries ( 0 unique) with and 0 without IMDB title ID in free-movies-imdb-externlist.json
3136 1205 entries ( 57 unique) with and 0 without IMDB title ID in free-movies-imdb-pd.json
3137 84 entries ( 20 unique) with and 167 without IMDB title ID in free-movies-infodigi-pd.json
3138 158 entries ( 135 unique) with and 0 without IMDB title ID in free-movies-letterboxd-looney-tunes.json
3139 113 entries ( 4 unique) with and 0 without IMDB title ID in free-movies-letterboxd-pd.json
3140 182 entries ( 100 unique) with and 0 without IMDB title ID in free-movies-letterboxd-silent.json
3141 229 entries ( 87 unique) with and 1 without IMDB title ID in free-movies-manual.json
3142 44 entries ( 2 unique) with and 64 without IMDB title ID in free-movies-openflix.json
3143 291 entries ( 33 unique) with and 474 without IMDB title ID in free-movies-profilms-pd.json
3144 211 entries ( 7 unique) with and 0 without IMDB title ID in free-movies-publicdomainmovies-info.json
3145 1232 entries ( 57 unique) with and 1875 without IMDB title ID in free-movies-publicdomainmovies-net.json
3146 46 entries ( 13 unique) with and 81 without IMDB title ID in free-movies-publicdomainreview.json
3147 698 entries ( 64 unique) with and 118 without IMDB title ID in free-movies-publicdomaintorrents.json
3148 1758 entries ( 882 unique) with and 3786 without IMDB title ID in free-movies-retrofilmvault.json
3149 16 entries ( 0 unique) with and 0 without IMDB title ID in free-movies-thehillproductions.json
3150 63 entries ( 16 unique) with and 141 without IMDB title ID in free-movies-vodo.json
3151 11583 unique IMDB title IDs in total, 8724 only in one list, 24647 without IMDB title ID
3152 &lt;/pre&gt;&lt;/p&gt;
3153
3154 &lt;p&gt; I keep finding more data sources. I found the cinemovies source
3155 just a few days ago, and as you can see from the summary, it extended
3156 my list with 63 movies. Check out the mklist-* scripts in the git
3157 repository if you are curious how the lists are created. Many of the
3158 titles are extracted using searches on IMDB, where I look for the
3159 title and year, and accept search results with only one movie listed
3160 if the year matches. This allow me to automatically use many lists of
3161 movies without IMDB title ID references at the cost of increasing the
3162 risk of wrongly identify a IMDB title ID as public domain. So far my
3163 random manual checks have indicated that the method is solid, but I
3164 really wish all lists of public domain movies would include unique
3165 movie identifier like the IMDB title ID. It would make the job of
3166 counting movies in the public domain a lot easier.&lt;/p&gt;
3167
3168 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
3169 activities, please send Bitcoin donations to my address
3170 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
3171 </description>
3172 </item>
3173
3174 <item>
3175 <title>Cura, the nice 3D print slicer, is now in Debian Unstable</title>
3176 <link>http://people.skolelinux.org/pere/blog/Cura__the_nice_3D_print_slicer__is_now_in_Debian_Unstable.html</link>
3177 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Cura__the_nice_3D_print_slicer__is_now_in_Debian_Unstable.html</guid>
3178 <pubDate>Sun, 17 Dec 2017 07:00:00 +0100</pubDate>
3179 <description>&lt;p&gt;After several months of working and waiting, I am happy to report
3180 that the nice and user friendly 3D printer slicer software Cura just
3181 entered Debian Unstable. It consist of five packages,
3182 &lt;a href=&quot;https://tracker.debian.org/pkg/cura&quot;&gt;cura&lt;/a&gt;,
3183 &lt;a href=&quot;https://tracker.debian.org/pkg/cura-engine&quot;&gt;cura-engine&lt;/a&gt;,
3184 &lt;a href=&quot;https://tracker.debian.org/pkg/libarcus&quot;&gt;libarcus&lt;/a&gt;,
3185 &lt;a href=&quot;https://tracker.debian.org/pkg/fdm-materials&quot;&gt;fdm-materials&lt;/a&gt;,
3186 &lt;a href=&quot;https://tracker.debian.org/pkg/libsavitar&quot;&gt;libsavitar&lt;/a&gt; and
3187 &lt;a href=&quot;https://tracker.debian.org/pkg/uranium&quot;&gt;uranium&lt;/a&gt;. The last
3188 two, uranium and cura, entered Unstable yesterday. This should make
3189 it easier for Debian users to print on at least the Ultimaker class of
3190 3D printers. My nearest 3D printer is an Ultimaker 2+, so it will
3191 make life easier for at least me. :)&lt;/p&gt;
3192
3193 &lt;p&gt;The work to make this happen was done by Gregor Riepl, and I was
3194 happy to assist him in sponsoring the packages. With the introduction
3195 of Cura, Debian is up to three 3D printer slicers at your service,
3196 Cura, Slic3r and Slic3r Prusa. If you own or have access to a 3D
3197 printer, give it a go. :)&lt;/p&gt;
3198
3199 &lt;p&gt;The 3D printer software is maintained by the 3D printer Debian
3200 team, flocking together on the
3201 &lt;a href=&quot;http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/3dprinter-general&quot;&gt;3dprinter-general&lt;/a&gt;
3202 mailing list and the
3203 &lt;a href=&quot;irc://irc.debian.org/#debian-3dprinting&quot;&gt;#debian-3dprinting&lt;/a&gt;
3204 IRC channel.&lt;/p&gt;
3205
3206 &lt;p&gt;The next step for Cura in Debian is to update the cura package to
3207 version 3.0.3 and then update the entire set of packages to version
3208 3.1.0 which showed up the last few days.&lt;/p&gt;
3209 </description>
3210 </item>
3211
3212 <item>
3213 <title>Idea for finding all public domain movies in the USA</title>
3214 <link>http://people.skolelinux.org/pere/blog/Idea_for_finding_all_public_domain_movies_in_the_USA.html</link>
3215 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Idea_for_finding_all_public_domain_movies_in_the_USA.html</guid>
3216 <pubDate>Wed, 13 Dec 2017 10:15:00 +0100</pubDate>
3217 <description>&lt;p&gt;While looking at
3218 &lt;a href=&quot;http://onlinebooks.library.upenn.edu/cce/&quot;&gt;the scanned copies
3219 for the copyright renewal entries for movies published in the USA&lt;/a&gt;,
3220 an idea occurred to me. The number of renewals are so few per year, it
3221 should be fairly quick to transcribe them all and add references to
3222 the corresponding IMDB title ID. This would give the (presumably)
3223 complete list of movies published 28 years earlier that did _not_
3224 enter the public domain for the transcribed year. By fetching the
3225 list of USA movies published 28 years earlier and subtract the movies
3226 with renewals, we should be left with movies registered in IMDB that
3227 are now in the public domain. For the year 1955 (which is the one I
3228 have looked at the most), the total number of pages to transcribe is
3229 21. For the 28 years from 1950 to 1978, it should be in the range
3230 500-600 pages. It is just a few days of work, and spread among a
3231 small group of people it should be doable in a few weeks of spare
3232 time.&lt;/p&gt;
3233
3234 &lt;p&gt;A typical copyright renewal entry look like this (the first one
3235 listed for 1955):&lt;/p&gt;
3236
3237 &lt;p&gt;&lt;blockquote&gt;
3238 ADAM AND EVIL, a photoplay in seven reels by Metro-Goldwyn-Mayer
3239 Distribution Corp. (c) 17Aug27; L24293. Loew&#39;s Incorporated (PWH);
3240 10Jun55; R151558.
3241 &lt;/blockquote&gt;&lt;/p&gt;
3242
3243 &lt;p&gt;The movie title as well as registration and renewal dates are easy
3244 enough to locate by a program (split on first comma and look for
3245 DDmmmYY). The rest of the text is not required to find the movie in
3246 IMDB, but is useful to confirm the correct movie is found. I am not
3247 quite sure what the L and R numbers mean, but suspect they are
3248 reference numbers into the archive of the US Copyright Office.&lt;/p&gt;
3249
3250 &lt;p&gt;Tracking down the equivalent IMDB title ID is probably going to be
3251 a manual task, but given the year it is fairly easy to search for the
3252 movie title using for example
3253 &lt;a href=&quot;http://www.imdb.com/find?q=adam+and+evil+1927&amp;s=all&quot;&gt;http://www.imdb.com/find?q=adam+and+evil+1927&amp;s=all&lt;/a&gt;.
3254 Using this search, I find that the equivalent IMDB title ID for the
3255 first renewal entry from 1955 is
3256 &lt;a href=&quot;http://www.imdb.com/title/tt0017588/&quot;&gt;http://www.imdb.com/title/tt0017588/&lt;/a&gt;.&lt;/p&gt;
3257
3258 &lt;p&gt;I suspect the best way to do this would be to make a specialised
3259 web service to make it easy for contributors to transcribe and track
3260 down IMDB title IDs. In the web service, once a entry is transcribed,
3261 the title and year could be extracted from the text, a search in IMDB
3262 conducted for the user to pick the equivalent IMDB title ID right
3263 away. By spreading out the work among volunteers, it would also be
3264 possible to make at least two persons transcribe the same entries to
3265 be able to discover any typos introduced. But I will need help to
3266 make this happen, as I lack the spare time to do all of this on my
3267 own. If you would like to help, please get in touch. Perhaps you can
3268 draft a web service for crowd sourcing the task?&lt;/p&gt;
3269
3270 &lt;p&gt;Note, Project Gutenberg already have some
3271 &lt;a href=&quot;http://www.gutenberg.org/ebooks/search/?query=copyright+office+renewals&quot;&gt;transcribed
3272 copies of the US Copyright Office renewal protocols&lt;/a&gt;, but I have
3273 not been able to find any film renewals there, so I suspect they only
3274 have copies of renewal for written works. I have not been able to find
3275 any transcribed versions of movie renewals so far. Perhaps they exist
3276 somewhere?&lt;/p&gt;
3277
3278 &lt;p&gt;I would love to figure out methods for finding all the public
3279 domain works in other countries too, but it is a lot harder. At least
3280 for Norway and Great Britain, such work involve tracking down the
3281 people involved in making the movie and figuring out when they died.
3282 It is hard enough to figure out who was part of making a movie, but I
3283 do not know how to automate such procedure without a registry of every
3284 person involved in making movies and their death year.&lt;/p&gt;
3285
3286 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
3287 activities, please send Bitcoin donations to my address
3288 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
3289 </description>
3290 </item>
3291
3292 <item>
3293 <title>Is the short movie «Empty Socks» from 1927 in the public domain or not?</title>
3294 <link>http://people.skolelinux.org/pere/blog/Is_the_short_movie__Empty_Socks__from_1927_in_the_public_domain_or_not_.html</link>
3295 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Is_the_short_movie__Empty_Socks__from_1927_in_the_public_domain_or_not_.html</guid>
3296 <pubDate>Tue, 5 Dec 2017 12:30:00 +0100</pubDate>
3297 <description>&lt;p&gt;Three years ago, a presumed lost animation film,
3298 &lt;a href=&quot;https://en.wikipedia.org/wiki/Empty_Socks&quot;&gt;Empty Socks from
3299 1927&lt;/a&gt;, was discovered in the Norwegian National Library. At the
3300 time it was discovered, it was generally assumed to be copyrighted by
3301 The Walt Disney Company, and I blogged about
3302 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Opphavsretts_status_for__Empty_Socks__fra_1927_.html&quot;&gt;my
3303 reasoning to conclude&lt;/a&gt; that it would would enter the Norwegian
3304 equivalent of the public domain in 2053, based on my understanding of
3305 Norwegian Copyright Law. But a few days ago, I came across
3306 &lt;a href=&quot;http://www.toonzone.net/forums/threads/exposed-disneys-repurchase-of-oswald-the-rabbit-a-sham.4792291/&quot;&gt;a
3307 blog post claiming the movie was already in the public domain&lt;/a&gt;, at
3308 least in USA. The reasoning is as follows: The film was released in
3309 November or Desember 1927 (sources disagree), and presumably
3310 registered its copyright that year. At that time, right holders of
3311 movies registered by the copyright office received government
3312 protection for there work for 28 years. After 28 years, the copyright
3313 had to be renewed if the wanted the government to protect it further.
3314 The blog post I found claim such renewal did not happen for this
3315 movie, and thus it entered the public domain in 1956. Yet someone
3316 claim the copyright was renewed and the movie is still copyright
3317 protected. Can anyone help me to figure out which claim is correct?
3318 I have not been able to find Empty Socks in Catalog of copyright
3319 entries. Ser.3 pt.12-13 v.9-12 1955-1958 Motion Pictures
3320 &lt;a href=&quot;http://onlinebooks.library.upenn.edu/cce/1955r.html#film&quot;&gt;available
3321 from the University of Pennsylvania&lt;/a&gt;, neither in
3322 &lt;a href=&quot;https://babel.hathitrust.org/cgi/pt?id=mdp.39015084451130;page=root;view=image;size=100;seq=83;num=45&quot;&gt;page
3323 45 for the first half of 1955&lt;/a&gt;, nor in
3324 &lt;a href=&quot;https://babel.hathitrust.org/cgi/pt?id=mdp.39015084451130;page=root;view=image;size=100;seq=175;num=119&quot;&gt;page
3325 119 for the second half of 1955&lt;/a&gt;. It is of course possible that
3326 the renewal entry was left out of the printed catalog by mistake. Is
3327 there some way to rule out this possibility? Please help, and update
3328 the wikipedia page with your findings.
3329
3330 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
3331 activities, please send Bitcoin donations to my address
3332 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
3333 </description>
3334 </item>
3335
3336 <item>
3337 <title>Metadata proposal for movies on the Internet Archive</title>
3338 <link>http://people.skolelinux.org/pere/blog/Metadata_proposal_for_movies_on_the_Internet_Archive.html</link>
3339 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Metadata_proposal_for_movies_on_the_Internet_Archive.html</guid>
3340 <pubDate>Tue, 28 Nov 2017 12:00:00 +0100</pubDate>
3341 <description>&lt;p&gt;It would be easier to locate the movie you want to watch in
3342 &lt;a href=&quot;https://www.archive.org/&quot;&gt;the Internet Archive&lt;/a&gt;, if the
3343 metadata about each movie was more complete and accurate. In the
3344 archiving community, a well known saying state that good metadata is a
3345 love letter to the future. The metadata in the Internet Archive could
3346 use a face lift for the future to love us back. Here is a proposal
3347 for a small improvement that would make the metadata more useful
3348 today. I&#39;ve been unable to find any document describing the various
3349 standard fields available when uploading videos to the archive, so
3350 this proposal is based on my best quess and searching through several
3351 of the existing movies.&lt;/p&gt;
3352
3353 &lt;p&gt;I have a few use cases in mind. First of all, I would like to be
3354 able to count the number of distinct movies in the Internet Archive,
3355 without duplicates. I would further like to identify the IMDB title
3356 ID of the movies in the Internet Archive, to be able to look up a IMDB
3357 title ID and know if I can fetch the video from there and share it
3358 with my friends.&lt;/p&gt;
3359
3360 &lt;p&gt;Second, I would like the Butter data provider for The Internet
3361 archive
3362 (&lt;a href=&quot;https://github.com/butterproviders/butter-provider-archive&quot;&gt;available
3363 from github&lt;/a&gt;), to list as many of the good movies as possible. The
3364 plugin currently do a search in the archive with the following
3365 parameters:&lt;/p&gt;
3366
3367 &lt;p&gt;&lt;pre&gt;
3368 collection:moviesandfilms
3369 AND NOT collection:movie_trailers
3370 AND -mediatype:collection
3371 AND format:&quot;Archive BitTorrent&quot;
3372 AND year
3373 &lt;/pre&gt;&lt;/p&gt;
3374
3375 &lt;p&gt;Most of the cool movies that fail to show up in Butter do so
3376 because the &#39;year&#39; field is missing. The &#39;year&#39; field is populated by
3377 the year part from the &#39;date&#39; field, and should be when the movie was
3378 released (date or year). Two such examples are
3379 &lt;a href=&quot;https://archive.org/details/SidneyOlcottsBen-hur1905&quot;&gt;Ben Hur
3380 from 1905&lt;/a&gt; and
3381 &lt;a href=&quot;https://archive.org/details/Caminandes2GranDillama&quot;&gt;Caminandes
3382 2: Gran Dillama from 2013&lt;/a&gt;, where the year metadata field is
3383 missing.&lt;/p&gt;
3384
3385 So, my proposal is simply, for every movie in The Internet Archive
3386 where an IMDB title ID exist, please fill in these metadata fields
3387 (note, they can be updated also long after the video was uploaded, but
3388 as far as I can tell, only by the uploader):
3389
3390 &lt;dl&gt;
3391
3392 &lt;dt&gt;mediatype&lt;/dt&gt;
3393 &lt;dd&gt;Should be &#39;movie&#39; for movies.&lt;/dd&gt;
3394
3395 &lt;dt&gt;collection&lt;/dt&gt;
3396 &lt;dd&gt;Should contain &#39;moviesandfilms&#39;.&lt;/dd&gt;
3397
3398 &lt;dt&gt;title&lt;/dt&gt;
3399 &lt;dd&gt;The title of the movie, without the publication year.&lt;/dd&gt;
3400
3401 &lt;dt&gt;date&lt;/dt&gt;
3402 &lt;dd&gt;The data or year the movie was released. This make the movie show
3403 up in Butter, as well as make it possible to know the age of the
3404 movie and is useful to figure out copyright status.&lt;/dd&gt;
3405
3406 &lt;dt&gt;director&lt;/dt&gt;
3407 &lt;dd&gt;The director of the movie. This make it easier to know if the
3408 correct movie is found in movie databases.&lt;/dd&gt;
3409
3410 &lt;dt&gt;publisher&lt;/dt&gt;
3411 &lt;dd&gt;The production company making the movie. Also useful for
3412 identifying the correct movie.&lt;/dd&gt;
3413
3414 &lt;dt&gt;links&lt;/dt&gt;
3415
3416 &lt;dd&gt;Add a link to the IMDB title page, for example like this: &amp;lt;a
3417 href=&quot;http://www.imdb.com/title/tt0028496/&quot;&amp;gt;Movie in
3418 IMDB&amp;lt;/a&amp;gt;. This make it easier to find duplicates and allow for
3419 counting of number of unique movies in the Archive. Other external
3420 references, like to TMDB, could be added like this too.&lt;/dd&gt;
3421
3422 &lt;/dl&gt;
3423
3424 &lt;p&gt;I did consider proposing a Custom field for the IMDB title ID (for
3425 example &#39;imdb_title_url&#39;, &#39;imdb_code&#39; or simply &#39;imdb&#39;, but suspect it
3426 will be easier to simply place it in the links free text field.&lt;/p&gt;
3427
3428 &lt;p&gt;I created
3429 &lt;a href=&quot;https://github.com/petterreinholdtsen/public-domain-free-imdb&quot;&gt;a
3430 list of IMDB title IDs for several thousand movies in the Internet
3431 Archive&lt;/a&gt;, but I also got a list of several thousand movies without
3432 such IMDB title ID (and quite a few duplicates). It would be great if
3433 this data set could be integrated into the Internet Archive metadata
3434 to be available for everyone in the future, but with the current
3435 policy of leaving metadata editing to the uploaders, it will take a
3436 while before this happen. If you have uploaded movies into the
3437 Internet Archive, you can help. Please consider following my proposal
3438 above for your movies, to ensure that movie is properly
3439 counted. :)&lt;/p&gt;
3440
3441 &lt;p&gt;The list is mostly generated using wikidata, which based on
3442 Wikipedia articles make it possible to link between IMDB and movies in
3443 the Internet Archive. But there are lots of movies without a
3444 Wikipedia article, and some movies where only a collection page exist
3445 (like for &lt;a href=&quot;https://en.wikipedia.org/wiki/Caminandes&quot;&gt;the
3446 Caminandes example above&lt;/a&gt;, where there are three movies but only
3447 one Wikidata entry).&lt;/p&gt;
3448
3449 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
3450 activities, please send Bitcoin donations to my address
3451 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
3452 </description>
3453 </item>
3454
3455 <item>
3456 <title>Legal to share more than 3000 movies listed on IMDB?</title>
3457 <link>http://people.skolelinux.org/pere/blog/Legal_to_share_more_than_3000_movies_listed_on_IMDB_.html</link>
3458 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Legal_to_share_more_than_3000_movies_listed_on_IMDB_.html</guid>
3459 <pubDate>Sat, 18 Nov 2017 21:20:00 +0100</pubDate>
3460 <description>&lt;p&gt;A month ago, I blogged about my work to
3461 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Locating_IMDB_IDs_of_movies_in_the_Internet_Archive_using_Wikidata.html&quot;&gt;automatically
3462 check the copyright status of IMDB entries&lt;/a&gt;, and try to count the
3463 number of movies listed in IMDB that is legal to distribute on the
3464 Internet. I have continued to look for good data sources, and
3465 identified a few more. The code used to extract information from
3466 various data sources is available in
3467 &lt;a href=&quot;https://github.com/petterreinholdtsen/public-domain-free-imdb&quot;&gt;a
3468 git repository&lt;/a&gt;, currently available from github.&lt;/p&gt;
3469
3470 &lt;p&gt;So far I have identified 3186 unique IMDB title IDs. To gain
3471 better understanding of the structure of the data set, I created a
3472 histogram of the year associated with each movie (typically release
3473 year). It is interesting to notice where the peaks and dips in the
3474 graph are located. I wonder why they are placed there. I suspect
3475 World War II caused the dip around 1940, but what caused the peak
3476 around 2010?&lt;/p&gt;
3477
3478 &lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2017-11-18-verk-i-det-fri-filmer.png&quot; /&gt;&lt;/p&gt;
3479
3480 &lt;p&gt;I&#39;ve so far identified ten sources for IMDB title IDs for movies in
3481 the public domain or with a free license. This is the statistics
3482 reported when running &#39;make stats&#39; in the git repository:&lt;/p&gt;
3483
3484 &lt;pre&gt;
3485 249 entries ( 6 unique) with and 288 without IMDB title ID in free-movies-archive-org-butter.json
3486 2301 entries ( 540 unique) with and 0 without IMDB title ID in free-movies-archive-org-wikidata.json
3487 830 entries ( 29 unique) with and 0 without IMDB title ID in free-movies-icheckmovies-archive-mochard.json
3488 2109 entries ( 377 unique) with and 0 without IMDB title ID in free-movies-imdb-pd.json
3489 291 entries ( 122 unique) with and 0 without IMDB title ID in free-movies-letterboxd-pd.json
3490 144 entries ( 135 unique) with and 0 without IMDB title ID in free-movies-manual.json
3491 350 entries ( 1 unique) with and 801 without IMDB title ID in free-movies-publicdomainmovies.json
3492 4 entries ( 0 unique) with and 124 without IMDB title ID in free-movies-publicdomainreview.json
3493 698 entries ( 119 unique) with and 118 without IMDB title ID in free-movies-publicdomaintorrents.json
3494 8 entries ( 8 unique) with and 196 without IMDB title ID in free-movies-vodo.json
3495 3186 unique IMDB title IDs in total
3496 &lt;/pre&gt;
3497
3498 &lt;p&gt;The entries without IMDB title ID are candidates to increase the
3499 data set, but might equally well be duplicates of entries already
3500 listed with IMDB title ID in one of the other sources, or represent
3501 movies that lack a IMDB title ID. I&#39;ve seen examples of all these
3502 situations when peeking at the entries without IMDB title ID. Based
3503 on these data sources, the lower bound for movies listed in IMDB that
3504 are legal to distribute on the Internet is between 3186 and 4713.
3505
3506 &lt;p&gt;It would be great for improving the accuracy of this measurement,
3507 if the various sources added IMDB title ID to their metadata. I have
3508 tried to reach the people behind the various sources to ask if they
3509 are interested in doing this, without any replies so far. Perhaps you
3510 can help me get in touch with the people behind VODO, Public Domain
3511 Torrents, Public Domain Movies and Public Domain Review to try to
3512 convince them to add more metadata to their movie entries?&lt;/p&gt;
3513
3514 &lt;p&gt;Another way you could help is by adding pages to Wikipedia about
3515 movies that are legal to distribute on the Internet. If such page
3516 exist and include a link to both IMDB and The Internet Archive, the
3517 script used to generate free-movies-archive-org-wikidata.json should
3518 pick up the mapping as soon as wikidata is updates.&lt;/p&gt;
3519
3520 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
3521 activities, please send Bitcoin donations to my address
3522 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
3523 </description>
3524 </item>
3525
3526 <item>
3527 <title>Some notes on fault tolerant storage systems</title>
3528 <link>http://people.skolelinux.org/pere/blog/Some_notes_on_fault_tolerant_storage_systems.html</link>
3529 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Some_notes_on_fault_tolerant_storage_systems.html</guid>
3530 <pubDate>Wed, 1 Nov 2017 15:35:00 +0100</pubDate>
3531 <description>&lt;p&gt;If you care about how fault tolerant your storage is, you might
3532 find these articles and papers interesting. They have formed how I
3533 think of when designing a storage system.&lt;/p&gt;
3534
3535 &lt;ul&gt;
3536
3537 &lt;li&gt;USENIX :login; &lt;a
3538 href=&quot;https://www.usenix.org/publications/login/summer2017/ganesan&quot;&gt;Redundancy
3539 Does Not Imply Fault Tolerance. Analysis of Distributed Storage
3540 Reactions to Single Errors and Corruptions&lt;/a&gt; by Aishwarya Ganesan,
3541 Ramnatthan Alagappan, Andrea C. Arpaci-Dusseau, and Remzi
3542 H. Arpaci-Dusseau&lt;/li&gt;
3543
3544 &lt;li&gt;ZDNet
3545 &lt;a href=&quot;http://www.zdnet.com/article/why-raid-5-stops-working-in-2009/&quot;&gt;Why
3546 RAID 5 stops working in 2009&lt;/a&gt; by Robin Harris&lt;/li&gt;
3547
3548 &lt;li&gt;ZDNet
3549 &lt;a href=&quot;http://www.zdnet.com/article/why-raid-6-stops-working-in-2019/&quot;&gt;Why
3550 RAID 6 stops working in 2019&lt;/a&gt; by Robin Harris&lt;/li&gt;
3551
3552 &lt;li&gt;USENIX FAST&#39;07
3553 &lt;a href=&quot;http://research.google.com/archive/disk_failures.pdf&quot;&gt;Failure
3554 Trends in a Large Disk Drive Population&lt;/a&gt; by Eduardo Pinheiro,
3555 Wolf-Dietrich Weber and Luiz André Barroso&lt;/li&gt;
3556
3557 &lt;li&gt;USENIX ;login: &lt;a
3558 href=&quot;https://www.usenix.org/system/files/login/articles/hughes12-04.pdf&quot;&gt;Data
3559 Integrity. Finding Truth in a World of Guesses and Lies&lt;/a&gt; by Doug
3560 Hughes&lt;/li&gt;
3561
3562 &lt;li&gt;USENIX FAST&#39;08
3563 &lt;a href=&quot;https://www.usenix.org/events/fast08/tech/full_papers/bairavasundaram/bairavasundaram_html/&quot;&gt;An
3564 Analysis of Data Corruption in the Storage Stack&lt;/a&gt; by
3565 L. N. Bairavasundaram, G. R. Goodson, B. Schroeder, A. C.
3566 Arpaci-Dusseau, and R. H. Arpaci-Dusseau&lt;/li&gt;
3567
3568 &lt;li&gt;USENIX FAST&#39;07 &lt;a
3569 href=&quot;https://www.usenix.org/legacy/events/fast07/tech/schroeder/schroeder_html/&quot;&gt;Disk
3570 failures in the real world: what does an MTTF of 1,000,000 hours mean
3571 to you?&lt;/a&gt; by B. Schroeder and G. A. Gibson.&lt;/li&gt;
3572
3573 &lt;li&gt;USENIX ;login: &lt;a
3574 href=&quot;https://www.usenix.org/events/fast08/tech/full_papers/jiang/jiang_html/&quot;&gt;Are
3575 Disks the Dominant Contributor for Storage Failures? A Comprehensive
3576 Study of Storage Subsystem Failure Characteristics&lt;/a&gt; by Weihang
3577 Jiang, Chongfeng Hu, Yuanyuan Zhou, and Arkady Kanevsky&lt;/li&gt;
3578
3579 &lt;li&gt;SIGMETRICS 2007
3580 &lt;a href=&quot;http://research.cs.wisc.edu/adsl/Publications/latent-sigmetrics07.pdf&quot;&gt;An
3581 analysis of latent sector errors in disk drives&lt;/a&gt; by
3582 L. N. Bairavasundaram, G. R. Goodson, S. Pasupathy, and J. Schindler&lt;/li&gt;
3583
3584 &lt;/ul&gt;
3585
3586 &lt;p&gt;Several of these research papers are based on data collected from
3587 hundred thousands or millions of disk, and their findings are eye
3588 opening. The short story is simply do not implicitly trust RAID or
3589 redundant storage systems. Details matter. And unfortunately there
3590 are few options on Linux addressing all the identified issues. Both
3591 ZFS and Btrfs are doing a fairly good job, but have legal and
3592 practical issues on their own. I wonder how cluster file systems like
3593 Ceph do in this regard. After all, there is an old saying, you know
3594 you have a distributed system when the crash of a computer you have
3595 never heard of stops you from getting any work done. The same holds
3596 true if fault tolerance do not work.&lt;/p&gt;
3597
3598 &lt;p&gt;Just remember, in the end, it do not matter how redundant, or how
3599 fault tolerant your storage is, if you do not continuously monitor its
3600 status to detect and replace failed disks.&lt;/p&gt;
3601
3602 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
3603 activities, please send Bitcoin donations to my address
3604 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
3605 </description>
3606 </item>
3607
3608 <item>
3609 <title>Web services for writing academic LaTeX papers as a team</title>
3610 <link>http://people.skolelinux.org/pere/blog/Web_services_for_writing_academic_LaTeX_papers_as_a_team.html</link>
3611 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Web_services_for_writing_academic_LaTeX_papers_as_a_team.html</guid>
3612 <pubDate>Tue, 31 Oct 2017 21:00:00 +0100</pubDate>
3613 <description>&lt;p&gt;I was surprised today to learn that a friend in academia did not
3614 know there are easily available web services available for writing
3615 LaTeX documents as a team. I thought it was common knowledge, but to
3616 make sure at least my readers are aware of it, I would like to mention
3617 these useful services for writing LaTeX documents. Some of them even
3618 provide a WYSIWYG editor to ease writing even further.&lt;/p&gt;
3619
3620 &lt;p&gt;There are two commercial services available,
3621 &lt;a href=&quot;https://sharelatex.com&quot;&gt;ShareLaTeX&lt;/a&gt; and
3622 &lt;a href=&quot;https://overleaf.com&quot;&gt;Overleaf&lt;/a&gt;. They are very easy to
3623 use. Just start a new document, select which publisher to write for
3624 (ie which LaTeX style to use), and start writing. Note, these two
3625 have announced their intention to join forces, so soon it will only be
3626 one joint service. I&#39;ve used both for different documents, and they
3627 work just fine. While
3628 &lt;a href=&quot;https://github.com/sharelatex/sharelatex&quot;&gt;ShareLaTeX is free
3629 software&lt;/a&gt;, while the latter is not. According to &lt;a
3630 href=&quot;https://www.overleaf.com/help/17-is-overleaf-open-source&quot;&gt;a
3631 announcement from Overleaf&lt;/a&gt;, they plan to keep the ShareLaTeX code
3632 base maintained as free software.&lt;/p&gt;
3633
3634 But these two are not the only alternatives.
3635 &lt;a href=&quot;https://app.fiduswriter.org/&quot;&gt;Fidus Writer&lt;/a&gt; is another free
3636 software solution with &lt;a href=&quot;https://github.com/fiduswriter&quot;&gt;the
3637 source available on github&lt;/a&gt;. I have not used it myself. Several
3638 others can be found on the nice
3639 &lt;a href=&quot;https://alternativeto.net/software/sharelatex/&quot;&gt;alterntiveTo
3640 web service&lt;/a&gt;.
3641
3642 &lt;p&gt;If you like Google Docs or Etherpad, but would like to write
3643 documents in LaTeX, you should check out these services. You can even
3644 host your own, if you want to. :)&lt;/p&gt;
3645
3646 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
3647 activities, please send Bitcoin donations to my address
3648 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
3649 </description>
3650 </item>
3651
3652 <item>
3653 <title>Locating IMDB IDs of movies in the Internet Archive using Wikidata</title>
3654 <link>http://people.skolelinux.org/pere/blog/Locating_IMDB_IDs_of_movies_in_the_Internet_Archive_using_Wikidata.html</link>
3655 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Locating_IMDB_IDs_of_movies_in_the_Internet_Archive_using_Wikidata.html</guid>
3656 <pubDate>Wed, 25 Oct 2017 12:20:00 +0200</pubDate>
3657 <description>&lt;p&gt;Recently, I needed to automatically check the copyright status of a
3658 set of &lt;a href=&quot;http://www.imdb.com/&quot;&gt;The Internet Movie database
3659 (IMDB)&lt;/a&gt; entries, to figure out which one of the movies they refer
3660 to can be freely distributed on the Internet. This proved to be
3661 harder than it sounds. IMDB for sure list movies without any
3662 copyright protection, where the copyright protection has expired or
3663 where the movie is lisenced using a permissive license like one from
3664 Creative Commons. These are mixed with copyright protected movies,
3665 and there seem to be no way to separate these classes of movies using
3666 the information in IMDB.&lt;/p&gt;
3667
3668 &lt;p&gt;First I tried to look up entries manually in IMDB,
3669 &lt;a href=&quot;https://www.wikipedia.org/&quot;&gt;Wikipedia&lt;/a&gt; and
3670 &lt;a href=&quot;https://www.archive.org/&quot;&gt;The Internet Archive&lt;/a&gt;, to get a
3671 feel how to do this. It is hard to know for sure using these sources,
3672 but it should be possible to be reasonable confident a movie is &quot;out
3673 of copyright&quot; with a few hours work per movie. As I needed to check
3674 almost 20,000 entries, this approach was not sustainable. I simply
3675 can not work around the clock for about 6 years to check this data
3676 set.&lt;/p&gt;
3677
3678 &lt;p&gt;I asked the people behind The Internet Archive if they could
3679 introduce a new metadata field in their metadata XML for IMDB ID, but
3680 was told that they leave it completely to the uploaders to update the
3681 metadata. Some of the metadata entries had IMDB links in the
3682 description, but I found no way to download all metadata files in bulk
3683 to locate those ones and put that approach aside.&lt;/p&gt;
3684
3685 &lt;p&gt;In the process I noticed several Wikipedia articles about movies
3686 had links to both IMDB and The Internet Archive, and it occured to me
3687 that I could use the Wikipedia RDF data set to locate entries with
3688 both, to at least get a lower bound on the number of movies on The
3689 Internet Archive with a IMDB ID. This is useful based on the
3690 assumption that movies distributed by The Internet Archive can be
3691 legally distributed on the Internet. With some help from the RDF
3692 community (thank you DanC), I was able to come up with this query to
3693 pass to &lt;a href=&quot;https://query.wikidata.org/&quot;&gt;the SPARQL interface on
3694 Wikidata&lt;/a&gt;:
3695
3696 &lt;p&gt;&lt;pre&gt;
3697 SELECT ?work ?imdb ?ia ?when ?label
3698 WHERE
3699 {
3700 ?work wdt:P31/wdt:P279* wd:Q11424.
3701 ?work wdt:P345 ?imdb.
3702 ?work wdt:P724 ?ia.
3703 OPTIONAL {
3704 ?work wdt:P577 ?when.
3705 ?work rdfs:label ?label.
3706 FILTER(LANG(?label) = &quot;en&quot;).
3707 }
3708 }
3709 &lt;/pre&gt;&lt;/p&gt;
3710
3711 &lt;p&gt;If I understand the query right, for every film entry anywhere in
3712 Wikpedia, it will return the IMDB ID and The Internet Archive ID, and
3713 when the movie was released and its English title, if either or both
3714 of the latter two are available. At the moment the result set contain
3715 2338 entries. Of course, it depend on volunteers including both
3716 correct IMDB and The Internet Archive IDs in the wikipedia articles
3717 for the movie. It should be noted that the result will include
3718 duplicates if the movie have entries in several languages. There are
3719 some bogus entries, either because The Internet Archive ID contain a
3720 typo or because the movie is not available from The Internet Archive.
3721 I did not verify the IMDB IDs, as I am unsure how to do that
3722 automatically.&lt;/p&gt;
3723
3724 &lt;p&gt;I wrote a small python script to extract the data set from Wikidata
3725 and check if the XML metadata for the movie is available from The
3726 Internet Archive, and after around 1.5 hour it produced a list of 2097
3727 free movies and their IMDB ID. In total, 171 entries in Wikidata lack
3728 the refered Internet Archive entry. I assume the 70 &quot;disappearing&quot;
3729 entries (ie 2338-2097-171) are duplicate entries.&lt;/p&gt;
3730
3731 &lt;p&gt;This is not too bad, given that The Internet Archive report to
3732 contain &lt;a href=&quot;https://archive.org/details/feature_films&quot;&gt;5331
3733 feature films&lt;/a&gt; at the moment, but it also mean more than 3000
3734 movies are missing on Wikipedia or are missing the pair of references
3735 on Wikipedia.&lt;/p&gt;
3736
3737 &lt;p&gt;I was curious about the distribution by release year, and made a
3738 little graph to show how the amount of free movies is spread over the
3739 years:&lt;p&gt;
3740
3741 &lt;p&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2017-10-25-verk-i-det-fri-filmer.png&quot;&gt;&lt;/p&gt;
3742
3743 &lt;p&gt;I expect the relative distribution of the remaining 3000 movies to
3744 be similar.&lt;/p&gt;
3745
3746 &lt;p&gt;If you want to help, and want to ensure Wikipedia can be used to
3747 cross reference The Internet Archive and The Internet Movie Database,
3748 please make sure entries like this are listed under the &quot;External
3749 links&quot; heading on the Wikipedia article for the movie:&lt;/p&gt;
3750
3751 &lt;p&gt;&lt;pre&gt;
3752 * {{Internet Archive film|id=FightingLady}}
3753 * {{IMDb title|id=0036823|title=The Fighting Lady}}
3754 &lt;/pre&gt;&lt;/p&gt;
3755
3756 &lt;p&gt;Please verify the links on the final page, to make sure you did not
3757 introduce a typo.&lt;/p&gt;
3758
3759 &lt;p&gt;Here is the complete list, if you want to correct the 171
3760 identified Wikipedia entries with broken links to The Internet
3761 Archive: &lt;a href=&quot;http://www.wikidata.org/entity/Q1140317&quot;&gt;Q1140317&lt;/a&gt;,
3762 &lt;a href=&quot;http://www.wikidata.org/entity/Q458656&quot;&gt;Q458656&lt;/a&gt;,
3763 &lt;a href=&quot;http://www.wikidata.org/entity/Q458656&quot;&gt;Q458656&lt;/a&gt;,
3764 &lt;a href=&quot;http://www.wikidata.org/entity/Q470560&quot;&gt;Q470560&lt;/a&gt;,
3765 &lt;a href=&quot;http://www.wikidata.org/entity/Q743340&quot;&gt;Q743340&lt;/a&gt;,
3766 &lt;a href=&quot;http://www.wikidata.org/entity/Q822580&quot;&gt;Q822580&lt;/a&gt;,
3767 &lt;a href=&quot;http://www.wikidata.org/entity/Q480696&quot;&gt;Q480696&lt;/a&gt;,
3768 &lt;a href=&quot;http://www.wikidata.org/entity/Q128761&quot;&gt;Q128761&lt;/a&gt;,
3769 &lt;a href=&quot;http://www.wikidata.org/entity/Q1307059&quot;&gt;Q1307059&lt;/a&gt;,
3770 &lt;a href=&quot;http://www.wikidata.org/entity/Q1335091&quot;&gt;Q1335091&lt;/a&gt;,
3771 &lt;a href=&quot;http://www.wikidata.org/entity/Q1537166&quot;&gt;Q1537166&lt;/a&gt;,
3772 &lt;a href=&quot;http://www.wikidata.org/entity/Q1438334&quot;&gt;Q1438334&lt;/a&gt;,
3773 &lt;a href=&quot;http://www.wikidata.org/entity/Q1479751&quot;&gt;Q1479751&lt;/a&gt;,
3774 &lt;a href=&quot;http://www.wikidata.org/entity/Q1497200&quot;&gt;Q1497200&lt;/a&gt;,
3775 &lt;a href=&quot;http://www.wikidata.org/entity/Q1498122&quot;&gt;Q1498122&lt;/a&gt;,
3776 &lt;a href=&quot;http://www.wikidata.org/entity/Q865973&quot;&gt;Q865973&lt;/a&gt;,
3777 &lt;a href=&quot;http://www.wikidata.org/entity/Q834269&quot;&gt;Q834269&lt;/a&gt;,
3778 &lt;a href=&quot;http://www.wikidata.org/entity/Q841781&quot;&gt;Q841781&lt;/a&gt;,
3779 &lt;a href=&quot;http://www.wikidata.org/entity/Q841781&quot;&gt;Q841781&lt;/a&gt;,
3780 &lt;a href=&quot;http://www.wikidata.org/entity/Q1548193&quot;&gt;Q1548193&lt;/a&gt;,
3781 &lt;a href=&quot;http://www.wikidata.org/entity/Q499031&quot;&gt;Q499031&lt;/a&gt;,
3782 &lt;a href=&quot;http://www.wikidata.org/entity/Q1564769&quot;&gt;Q1564769&lt;/a&gt;,
3783 &lt;a href=&quot;http://www.wikidata.org/entity/Q1585239&quot;&gt;Q1585239&lt;/a&gt;,
3784 &lt;a href=&quot;http://www.wikidata.org/entity/Q1585569&quot;&gt;Q1585569&lt;/a&gt;,
3785 &lt;a href=&quot;http://www.wikidata.org/entity/Q1624236&quot;&gt;Q1624236&lt;/a&gt;,
3786 &lt;a href=&quot;http://www.wikidata.org/entity/Q4796595&quot;&gt;Q4796595&lt;/a&gt;,
3787 &lt;a href=&quot;http://www.wikidata.org/entity/Q4853469&quot;&gt;Q4853469&lt;/a&gt;,
3788 &lt;a href=&quot;http://www.wikidata.org/entity/Q4873046&quot;&gt;Q4873046&lt;/a&gt;,
3789 &lt;a href=&quot;http://www.wikidata.org/entity/Q915016&quot;&gt;Q915016&lt;/a&gt;,
3790 &lt;a href=&quot;http://www.wikidata.org/entity/Q4660396&quot;&gt;Q4660396&lt;/a&gt;,
3791 &lt;a href=&quot;http://www.wikidata.org/entity/Q4677708&quot;&gt;Q4677708&lt;/a&gt;,
3792 &lt;a href=&quot;http://www.wikidata.org/entity/Q4738449&quot;&gt;Q4738449&lt;/a&gt;,
3793 &lt;a href=&quot;http://www.wikidata.org/entity/Q4756096&quot;&gt;Q4756096&lt;/a&gt;,
3794 &lt;a href=&quot;http://www.wikidata.org/entity/Q4766785&quot;&gt;Q4766785&lt;/a&gt;,
3795 &lt;a href=&quot;http://www.wikidata.org/entity/Q880357&quot;&gt;Q880357&lt;/a&gt;,
3796 &lt;a href=&quot;http://www.wikidata.org/entity/Q882066&quot;&gt;Q882066&lt;/a&gt;,
3797 &lt;a href=&quot;http://www.wikidata.org/entity/Q882066&quot;&gt;Q882066&lt;/a&gt;,
3798 &lt;a href=&quot;http://www.wikidata.org/entity/Q204191&quot;&gt;Q204191&lt;/a&gt;,
3799 &lt;a href=&quot;http://www.wikidata.org/entity/Q204191&quot;&gt;Q204191&lt;/a&gt;,
3800 &lt;a href=&quot;http://www.wikidata.org/entity/Q1194170&quot;&gt;Q1194170&lt;/a&gt;,
3801 &lt;a href=&quot;http://www.wikidata.org/entity/Q940014&quot;&gt;Q940014&lt;/a&gt;,
3802 &lt;a href=&quot;http://www.wikidata.org/entity/Q946863&quot;&gt;Q946863&lt;/a&gt;,
3803 &lt;a href=&quot;http://www.wikidata.org/entity/Q172837&quot;&gt;Q172837&lt;/a&gt;,
3804 &lt;a href=&quot;http://www.wikidata.org/entity/Q573077&quot;&gt;Q573077&lt;/a&gt;,
3805 &lt;a href=&quot;http://www.wikidata.org/entity/Q1219005&quot;&gt;Q1219005&lt;/a&gt;,
3806 &lt;a href=&quot;http://www.wikidata.org/entity/Q1219599&quot;&gt;Q1219599&lt;/a&gt;,
3807 &lt;a href=&quot;http://www.wikidata.org/entity/Q1643798&quot;&gt;Q1643798&lt;/a&gt;,
3808 &lt;a href=&quot;http://www.wikidata.org/entity/Q1656352&quot;&gt;Q1656352&lt;/a&gt;,
3809 &lt;a href=&quot;http://www.wikidata.org/entity/Q1659549&quot;&gt;Q1659549&lt;/a&gt;,
3810 &lt;a href=&quot;http://www.wikidata.org/entity/Q1660007&quot;&gt;Q1660007&lt;/a&gt;,
3811 &lt;a href=&quot;http://www.wikidata.org/entity/Q1698154&quot;&gt;Q1698154&lt;/a&gt;,
3812 &lt;a href=&quot;http://www.wikidata.org/entity/Q1737980&quot;&gt;Q1737980&lt;/a&gt;,
3813 &lt;a href=&quot;http://www.wikidata.org/entity/Q1877284&quot;&gt;Q1877284&lt;/a&gt;,
3814 &lt;a href=&quot;http://www.wikidata.org/entity/Q1199354&quot;&gt;Q1199354&lt;/a&gt;,
3815 &lt;a href=&quot;http://www.wikidata.org/entity/Q1199354&quot;&gt;Q1199354&lt;/a&gt;,
3816 &lt;a href=&quot;http://www.wikidata.org/entity/Q1199451&quot;&gt;Q1199451&lt;/a&gt;,
3817 &lt;a href=&quot;http://www.wikidata.org/entity/Q1211871&quot;&gt;Q1211871&lt;/a&gt;,
3818 &lt;a href=&quot;http://www.wikidata.org/entity/Q1212179&quot;&gt;Q1212179&lt;/a&gt;,
3819 &lt;a href=&quot;http://www.wikidata.org/entity/Q1238382&quot;&gt;Q1238382&lt;/a&gt;,
3820 &lt;a href=&quot;http://www.wikidata.org/entity/Q4906454&quot;&gt;Q4906454&lt;/a&gt;,
3821 &lt;a href=&quot;http://www.wikidata.org/entity/Q320219&quot;&gt;Q320219&lt;/a&gt;,
3822 &lt;a href=&quot;http://www.wikidata.org/entity/Q1148649&quot;&gt;Q1148649&lt;/a&gt;,
3823 &lt;a href=&quot;http://www.wikidata.org/entity/Q645094&quot;&gt;Q645094&lt;/a&gt;,
3824 &lt;a href=&quot;http://www.wikidata.org/entity/Q5050350&quot;&gt;Q5050350&lt;/a&gt;,
3825 &lt;a href=&quot;http://www.wikidata.org/entity/Q5166548&quot;&gt;Q5166548&lt;/a&gt;,
3826 &lt;a href=&quot;http://www.wikidata.org/entity/Q2677926&quot;&gt;Q2677926&lt;/a&gt;,
3827 &lt;a href=&quot;http://www.wikidata.org/entity/Q2698139&quot;&gt;Q2698139&lt;/a&gt;,
3828 &lt;a href=&quot;http://www.wikidata.org/entity/Q2707305&quot;&gt;Q2707305&lt;/a&gt;,
3829 &lt;a href=&quot;http://www.wikidata.org/entity/Q2740725&quot;&gt;Q2740725&lt;/a&gt;,
3830 &lt;a href=&quot;http://www.wikidata.org/entity/Q2024780&quot;&gt;Q2024780&lt;/a&gt;,
3831 &lt;a href=&quot;http://www.wikidata.org/entity/Q2117418&quot;&gt;Q2117418&lt;/a&gt;,
3832 &lt;a href=&quot;http://www.wikidata.org/entity/Q2138984&quot;&gt;Q2138984&lt;/a&gt;,
3833 &lt;a href=&quot;http://www.wikidata.org/entity/Q1127992&quot;&gt;Q1127992&lt;/a&gt;,
3834 &lt;a href=&quot;http://www.wikidata.org/entity/Q1058087&quot;&gt;Q1058087&lt;/a&gt;,
3835 &lt;a href=&quot;http://www.wikidata.org/entity/Q1070484&quot;&gt;Q1070484&lt;/a&gt;,
3836 &lt;a href=&quot;http://www.wikidata.org/entity/Q1080080&quot;&gt;Q1080080&lt;/a&gt;,
3837 &lt;a href=&quot;http://www.wikidata.org/entity/Q1090813&quot;&gt;Q1090813&lt;/a&gt;,
3838 &lt;a href=&quot;http://www.wikidata.org/entity/Q1251918&quot;&gt;Q1251918&lt;/a&gt;,
3839 &lt;a href=&quot;http://www.wikidata.org/entity/Q1254110&quot;&gt;Q1254110&lt;/a&gt;,
3840 &lt;a href=&quot;http://www.wikidata.org/entity/Q1257070&quot;&gt;Q1257070&lt;/a&gt;,
3841 &lt;a href=&quot;http://www.wikidata.org/entity/Q1257079&quot;&gt;Q1257079&lt;/a&gt;,
3842 &lt;a href=&quot;http://www.wikidata.org/entity/Q1197410&quot;&gt;Q1197410&lt;/a&gt;,
3843 &lt;a href=&quot;http://www.wikidata.org/entity/Q1198423&quot;&gt;Q1198423&lt;/a&gt;,
3844 &lt;a href=&quot;http://www.wikidata.org/entity/Q706951&quot;&gt;Q706951&lt;/a&gt;,
3845 &lt;a href=&quot;http://www.wikidata.org/entity/Q723239&quot;&gt;Q723239&lt;/a&gt;,
3846 &lt;a href=&quot;http://www.wikidata.org/entity/Q2079261&quot;&gt;Q2079261&lt;/a&gt;,
3847 &lt;a href=&quot;http://www.wikidata.org/entity/Q1171364&quot;&gt;Q1171364&lt;/a&gt;,
3848 &lt;a href=&quot;http://www.wikidata.org/entity/Q617858&quot;&gt;Q617858&lt;/a&gt;,
3849 &lt;a href=&quot;http://www.wikidata.org/entity/Q5166611&quot;&gt;Q5166611&lt;/a&gt;,
3850 &lt;a href=&quot;http://www.wikidata.org/entity/Q5166611&quot;&gt;Q5166611&lt;/a&gt;,
3851 &lt;a href=&quot;http://www.wikidata.org/entity/Q324513&quot;&gt;Q324513&lt;/a&gt;,
3852 &lt;a href=&quot;http://www.wikidata.org/entity/Q374172&quot;&gt;Q374172&lt;/a&gt;,
3853 &lt;a href=&quot;http://www.wikidata.org/entity/Q7533269&quot;&gt;Q7533269&lt;/a&gt;,
3854 &lt;a href=&quot;http://www.wikidata.org/entity/Q970386&quot;&gt;Q970386&lt;/a&gt;,
3855 &lt;a href=&quot;http://www.wikidata.org/entity/Q976849&quot;&gt;Q976849&lt;/a&gt;,
3856 &lt;a href=&quot;http://www.wikidata.org/entity/Q7458614&quot;&gt;Q7458614&lt;/a&gt;,
3857 &lt;a href=&quot;http://www.wikidata.org/entity/Q5347416&quot;&gt;Q5347416&lt;/a&gt;,
3858 &lt;a href=&quot;http://www.wikidata.org/entity/Q5460005&quot;&gt;Q5460005&lt;/a&gt;,
3859 &lt;a href=&quot;http://www.wikidata.org/entity/Q5463392&quot;&gt;Q5463392&lt;/a&gt;,
3860 &lt;a href=&quot;http://www.wikidata.org/entity/Q3038555&quot;&gt;Q3038555&lt;/a&gt;,
3861 &lt;a href=&quot;http://www.wikidata.org/entity/Q5288458&quot;&gt;Q5288458&lt;/a&gt;,
3862 &lt;a href=&quot;http://www.wikidata.org/entity/Q2346516&quot;&gt;Q2346516&lt;/a&gt;,
3863 &lt;a href=&quot;http://www.wikidata.org/entity/Q5183645&quot;&gt;Q5183645&lt;/a&gt;,
3864 &lt;a href=&quot;http://www.wikidata.org/entity/Q5185497&quot;&gt;Q5185497&lt;/a&gt;,
3865 &lt;a href=&quot;http://www.wikidata.org/entity/Q5216127&quot;&gt;Q5216127&lt;/a&gt;,
3866 &lt;a href=&quot;http://www.wikidata.org/entity/Q5223127&quot;&gt;Q5223127&lt;/a&gt;,
3867 &lt;a href=&quot;http://www.wikidata.org/entity/Q5261159&quot;&gt;Q5261159&lt;/a&gt;,
3868 &lt;a href=&quot;http://www.wikidata.org/entity/Q1300759&quot;&gt;Q1300759&lt;/a&gt;,
3869 &lt;a href=&quot;http://www.wikidata.org/entity/Q5521241&quot;&gt;Q5521241&lt;/a&gt;,
3870 &lt;a href=&quot;http://www.wikidata.org/entity/Q7733434&quot;&gt;Q7733434&lt;/a&gt;,
3871 &lt;a href=&quot;http://www.wikidata.org/entity/Q7736264&quot;&gt;Q7736264&lt;/a&gt;,
3872 &lt;a href=&quot;http://www.wikidata.org/entity/Q7737032&quot;&gt;Q7737032&lt;/a&gt;,
3873 &lt;a href=&quot;http://www.wikidata.org/entity/Q7882671&quot;&gt;Q7882671&lt;/a&gt;,
3874 &lt;a href=&quot;http://www.wikidata.org/entity/Q7719427&quot;&gt;Q7719427&lt;/a&gt;,
3875 &lt;a href=&quot;http://www.wikidata.org/entity/Q7719444&quot;&gt;Q7719444&lt;/a&gt;,
3876 &lt;a href=&quot;http://www.wikidata.org/entity/Q7722575&quot;&gt;Q7722575&lt;/a&gt;,
3877 &lt;a href=&quot;http://www.wikidata.org/entity/Q2629763&quot;&gt;Q2629763&lt;/a&gt;,
3878 &lt;a href=&quot;http://www.wikidata.org/entity/Q2640346&quot;&gt;Q2640346&lt;/a&gt;,
3879 &lt;a href=&quot;http://www.wikidata.org/entity/Q2649671&quot;&gt;Q2649671&lt;/a&gt;,
3880 &lt;a href=&quot;http://www.wikidata.org/entity/Q7703851&quot;&gt;Q7703851&lt;/a&gt;,
3881 &lt;a href=&quot;http://www.wikidata.org/entity/Q7747041&quot;&gt;Q7747041&lt;/a&gt;,
3882 &lt;a href=&quot;http://www.wikidata.org/entity/Q6544949&quot;&gt;Q6544949&lt;/a&gt;,
3883 &lt;a href=&quot;http://www.wikidata.org/entity/Q6672759&quot;&gt;Q6672759&lt;/a&gt;,
3884 &lt;a href=&quot;http://www.wikidata.org/entity/Q2445896&quot;&gt;Q2445896&lt;/a&gt;,
3885 &lt;a href=&quot;http://www.wikidata.org/entity/Q12124891&quot;&gt;Q12124891&lt;/a&gt;,
3886 &lt;a href=&quot;http://www.wikidata.org/entity/Q3127044&quot;&gt;Q3127044&lt;/a&gt;,
3887 &lt;a href=&quot;http://www.wikidata.org/entity/Q2511262&quot;&gt;Q2511262&lt;/a&gt;,
3888 &lt;a href=&quot;http://www.wikidata.org/entity/Q2517672&quot;&gt;Q2517672&lt;/a&gt;,
3889 &lt;a href=&quot;http://www.wikidata.org/entity/Q2543165&quot;&gt;Q2543165&lt;/a&gt;,
3890 &lt;a href=&quot;http://www.wikidata.org/entity/Q426628&quot;&gt;Q426628&lt;/a&gt;,
3891 &lt;a href=&quot;http://www.wikidata.org/entity/Q426628&quot;&gt;Q426628&lt;/a&gt;,
3892 &lt;a href=&quot;http://www.wikidata.org/entity/Q12126890&quot;&gt;Q12126890&lt;/a&gt;,
3893 &lt;a href=&quot;http://www.wikidata.org/entity/Q13359969&quot;&gt;Q13359969&lt;/a&gt;,
3894 &lt;a href=&quot;http://www.wikidata.org/entity/Q13359969&quot;&gt;Q13359969&lt;/a&gt;,
3895 &lt;a href=&quot;http://www.wikidata.org/entity/Q2294295&quot;&gt;Q2294295&lt;/a&gt;,
3896 &lt;a href=&quot;http://www.wikidata.org/entity/Q2294295&quot;&gt;Q2294295&lt;/a&gt;,
3897 &lt;a href=&quot;http://www.wikidata.org/entity/Q2559509&quot;&gt;Q2559509&lt;/a&gt;,
3898 &lt;a href=&quot;http://www.wikidata.org/entity/Q2559912&quot;&gt;Q2559912&lt;/a&gt;,
3899 &lt;a href=&quot;http://www.wikidata.org/entity/Q7760469&quot;&gt;Q7760469&lt;/a&gt;,
3900 &lt;a href=&quot;http://www.wikidata.org/entity/Q6703974&quot;&gt;Q6703974&lt;/a&gt;,
3901 &lt;a href=&quot;http://www.wikidata.org/entity/Q4744&quot;&gt;Q4744&lt;/a&gt;,
3902 &lt;a href=&quot;http://www.wikidata.org/entity/Q7766962&quot;&gt;Q7766962&lt;/a&gt;,
3903 &lt;a href=&quot;http://www.wikidata.org/entity/Q7768516&quot;&gt;Q7768516&lt;/a&gt;,
3904 &lt;a href=&quot;http://www.wikidata.org/entity/Q7769205&quot;&gt;Q7769205&lt;/a&gt;,
3905 &lt;a href=&quot;http://www.wikidata.org/entity/Q7769988&quot;&gt;Q7769988&lt;/a&gt;,
3906 &lt;a href=&quot;http://www.wikidata.org/entity/Q2946945&quot;&gt;Q2946945&lt;/a&gt;,
3907 &lt;a href=&quot;http://www.wikidata.org/entity/Q3212086&quot;&gt;Q3212086&lt;/a&gt;,
3908 &lt;a href=&quot;http://www.wikidata.org/entity/Q3212086&quot;&gt;Q3212086&lt;/a&gt;,
3909 &lt;a href=&quot;http://www.wikidata.org/entity/Q18218448&quot;&gt;Q18218448&lt;/a&gt;,
3910 &lt;a href=&quot;http://www.wikidata.org/entity/Q18218448&quot;&gt;Q18218448&lt;/a&gt;,
3911 &lt;a href=&quot;http://www.wikidata.org/entity/Q18218448&quot;&gt;Q18218448&lt;/a&gt;,
3912 &lt;a href=&quot;http://www.wikidata.org/entity/Q6909175&quot;&gt;Q6909175&lt;/a&gt;,
3913 &lt;a href=&quot;http://www.wikidata.org/entity/Q7405709&quot;&gt;Q7405709&lt;/a&gt;,
3914 &lt;a href=&quot;http://www.wikidata.org/entity/Q7416149&quot;&gt;Q7416149&lt;/a&gt;,
3915 &lt;a href=&quot;http://www.wikidata.org/entity/Q7239952&quot;&gt;Q7239952&lt;/a&gt;,
3916 &lt;a href=&quot;http://www.wikidata.org/entity/Q7317332&quot;&gt;Q7317332&lt;/a&gt;,
3917 &lt;a href=&quot;http://www.wikidata.org/entity/Q7783674&quot;&gt;Q7783674&lt;/a&gt;,
3918 &lt;a href=&quot;http://www.wikidata.org/entity/Q7783704&quot;&gt;Q7783704&lt;/a&gt;,
3919 &lt;a href=&quot;http://www.wikidata.org/entity/Q7857590&quot;&gt;Q7857590&lt;/a&gt;,
3920 &lt;a href=&quot;http://www.wikidata.org/entity/Q3372526&quot;&gt;Q3372526&lt;/a&gt;,
3921 &lt;a href=&quot;http://www.wikidata.org/entity/Q3372642&quot;&gt;Q3372642&lt;/a&gt;,
3922 &lt;a href=&quot;http://www.wikidata.org/entity/Q3372816&quot;&gt;Q3372816&lt;/a&gt;,
3923 &lt;a href=&quot;http://www.wikidata.org/entity/Q3372909&quot;&gt;Q3372909&lt;/a&gt;,
3924 &lt;a href=&quot;http://www.wikidata.org/entity/Q7959649&quot;&gt;Q7959649&lt;/a&gt;,
3925 &lt;a href=&quot;http://www.wikidata.org/entity/Q7977485&quot;&gt;Q7977485&lt;/a&gt;,
3926 &lt;a href=&quot;http://www.wikidata.org/entity/Q7992684&quot;&gt;Q7992684&lt;/a&gt;,
3927 &lt;a href=&quot;http://www.wikidata.org/entity/Q3817966&quot;&gt;Q3817966&lt;/a&gt;,
3928 &lt;a href=&quot;http://www.wikidata.org/entity/Q3821852&quot;&gt;Q3821852&lt;/a&gt;,
3929 &lt;a href=&quot;http://www.wikidata.org/entity/Q3420907&quot;&gt;Q3420907&lt;/a&gt;,
3930 &lt;a href=&quot;http://www.wikidata.org/entity/Q3429733&quot;&gt;Q3429733&lt;/a&gt;,
3931 &lt;a href=&quot;http://www.wikidata.org/entity/Q774474&quot;&gt;Q774474&lt;/a&gt;&lt;/p&gt;
3932
3933 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
3934 activities, please send Bitcoin donations to my address
3935 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
3936 </description>
3937 </item>
3938
3939 <item>
3940 <title>A one-way wall on the border?</title>
3941 <link>http://people.skolelinux.org/pere/blog/A_one_way_wall_on_the_border_.html</link>
3942 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_one_way_wall_on_the_border_.html</guid>
3943 <pubDate>Sat, 14 Oct 2017 22:10:00 +0200</pubDate>
3944 <description>&lt;p&gt;I find it fascinating how many of the people being locked inside
3945 the proposed border wall between USA and Mexico support the idea. The
3946 proposal to keep Mexicans out reminds me of
3947 &lt;a href=&quot;http://www.history.com/news/10-things-you-may-not-know-about-the-berlin-wall&quot;&gt;the
3948 propaganda twist from the East Germany government&lt;/a&gt; calling the wall
3949 the “Antifascist Bulwark” after erecting the Berlin Wall, claiming
3950 that the wall was erected to keep enemies from creeping into East
3951 Germany, while it was obvious to the people locked inside it that it
3952 was erected to keep the people from escaping.&lt;/p&gt;
3953
3954 &lt;p&gt;Do the people in USA supporting this wall really believe it is a
3955 one way wall, only keeping people on the outside from getting in,
3956 while not keeping people in the inside from getting out?&lt;/p&gt;
3957
3958 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
3959 activities, please send Bitcoin donations to my address
3960 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
3961 </description>
3962 </item>
3963
3964 <item>
3965 <title>Generating 3D prints in Debian using Cura and Slic3r(-prusa)</title>
3966 <link>http://people.skolelinux.org/pere/blog/Generating_3D_prints_in_Debian_using_Cura_and_Slic3r__prusa_.html</link>
3967 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Generating_3D_prints_in_Debian_using_Cura_and_Slic3r__prusa_.html</guid>
3968 <pubDate>Mon, 9 Oct 2017 10:50:00 +0200</pubDate>
3969 <description>&lt;p&gt;At my nearby maker space,
3970 &lt;a href=&quot;http://sonen.ifi.uio.no/&quot;&gt;Sonen&lt;/a&gt;, I heard the story that it
3971 was easier to generate gcode files for theyr 3D printers (Ultimake 2+)
3972 on Windows and MacOS X than Linux, because the software involved had
3973 to be manually compiled and set up on Linux while premade packages
3974 worked out of the box on Windows and MacOS X. I found this annoying,
3975 as the software involved,
3976 &lt;a href=&quot;https://github.com/Ultimaker/Cura&quot;&gt;Cura&lt;/a&gt;, is free software
3977 and should be trivial to get up and running on Linux if someone took
3978 the time to package it for the relevant distributions. I even found
3979 &lt;a href=&quot;https://bugs.debian.org/706656&quot;&gt;a request for adding into
3980 Debian&lt;/a&gt; from 2013, which had seem some activity over the years but
3981 never resulted in the software showing up in Debian. So a few days
3982 ago I offered my help to try to improve the situation.&lt;/p&gt;
3983
3984 &lt;p&gt;Now I am very happy to see that all the packages required by a
3985 working Cura in Debian are uploaded into Debian and waiting in the NEW
3986 queue for the ftpmasters to have a look. You can track the progress
3987 on
3988 &lt;a href=&quot;https://qa.debian.org/developer.php?email=3dprinter-general%40lists.alioth.debian.org&quot;&gt;the
3989 status page for the 3D printer team&lt;/a&gt;.&lt;/p&gt;
3990
3991 &lt;p&gt;The uploaded packages are a bit behind upstream, and was uploaded
3992 now to get slots in &lt;a href=&quot;https://ftp-master.debian.org/new.html&quot;&gt;the NEW
3993 queue&lt;/a&gt; while we work up updating the packages to the latest
3994 upstream version.&lt;/p&gt;
3995
3996 &lt;p&gt;On a related note, two competitors for Cura, which I found harder
3997 to use and was unable to configure correctly for Ultimaker 2+ in the
3998 short time I spent on it, are already in Debian. If you are looking
3999 for 3D printer &quot;slicers&quot; and want something already available in
4000 Debian, check out
4001 &lt;a href=&quot;https://tracker.debian.org/pkg/slic3r&quot;&gt;slic3r&lt;/a&gt; and
4002 &lt;a href=&quot;https://tracker.debian.org/pkg/slic3r-prusa&quot;&gt;slic3r-prusa&lt;/a&gt;.
4003 The latter is a fork of the former.&lt;/p&gt;
4004
4005 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
4006 activities, please send Bitcoin donations to my address
4007 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
4008 </description>
4009 </item>
4010
4011 <item>
4012 <title>Visualizing GSM radio chatter using gr-gsm and Hopglass</title>
4013 <link>http://people.skolelinux.org/pere/blog/Visualizing_GSM_radio_chatter_using_gr_gsm_and_Hopglass.html</link>
4014 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Visualizing_GSM_radio_chatter_using_gr_gsm_and_Hopglass.html</guid>
4015 <pubDate>Fri, 29 Sep 2017 10:30:00 +0200</pubDate>
4016 <description>&lt;p&gt;Every mobile phone announce its existence over radio to the nearby
4017 mobile cell towers. And this radio chatter is available for anyone
4018 with a radio receiver capable of receiving them. Details about the
4019 mobile phones with very good accuracy is of course collected by the
4020 phone companies, but this is not the topic of this blog post. The
4021 mobile phone radio chatter make it possible to figure out when a cell
4022 phone is nearby, as it include the SIM card ID (IMSI). By paying
4023 attention over time, one can see when a phone arrive and when it leave
4024 an area. I believe it would be nice to make this information more
4025 available to the general public, to make more people aware of how
4026 their phones are announcing their whereabouts to anyone that care to
4027 listen.&lt;/p&gt;
4028
4029 &lt;p&gt;I am very happy to report that we managed to get something
4030 visualizing this information up and running for
4031 &lt;a href=&quot;http://norwaymakers.org/osf17&quot;&gt;Oslo Skaperfestival 2017&lt;/a&gt;
4032 (Oslo Makers Festival) taking place today and tomorrow at Deichmanske
4033 library. The solution is based on the
4034 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Easier_recipe_to_observe_the_cell_phones_around_you.html&quot;&gt;simple
4035 recipe for listening to GSM chatter&lt;/a&gt; I posted a few days ago, and
4036 will show up at the stand of &lt;a href=&quot;http://sonen.ifi.uio.no/&quot;&gt;Åpen
4037 Sone from the Computer Science department of the University of
4038 Oslo&lt;/a&gt;. The presentation will show the nearby mobile phones (aka
4039 IMSIs) as dots in a web browser graph, with lines to the dot
4040 representing mobile base station it is talking to. It was working in
4041 the lab yesterday, and was moved into place this morning.&lt;/p&gt;
4042
4043 &lt;p&gt;We set up a fairly powerful desktop machine using Debian
4044 Buster/Testing with several (five, I believe) RTL2838 DVB-T receivers
4045 connected and visualize the visible cell phone towers using an
4046 &lt;a href=&quot;https://github.com/marlow925/hopglass&quot;&gt;English version of
4047 Hopglass&lt;/a&gt;. A fairly powerfull machine is needed as the
4048 grgsm_livemon_headless processes from
4049 &lt;a href=&quot;https://tracker.debian.org/pkg/gr-gsm&quot;&gt;gr-gsm&lt;/a&gt; converting
4050 the radio signal to data packages is quite CPU intensive.&lt;/p&gt;
4051
4052 &lt;p&gt;The frequencies to listen to, are identified using a slightly
4053 patched scan-and-livemon (to set the --args values for each receiver),
4054 and the Hopglass data is generated using the
4055 &lt;a href=&quot;https://github.com/petterreinholdtsen/IMSI-catcher/tree/meshviewer-output&quot;&gt;patches
4056 in my meshviewer-output branch&lt;/a&gt;. For some reason we could not get
4057 more than four SDRs working. There is also a geographical map trying
4058 to show the location of the base stations, but I believe their
4059 coordinates are hardcoded to some random location in Germany, I
4060 believe. The code should be replaced with code to look up location in
4061 a text file, a sqlite database or one of the online databases
4062 mentioned in
4063 &lt;a href=&quot;https://github.com/Oros42/IMSI-catcher/issues/14&quot;&gt;the github
4064 issue for the topic&lt;/a&gt;.
4065
4066 &lt;p&gt;If this sound interesting, visit the stand at the festival!&lt;/p&gt;
4067 </description>
4068 </item>
4069
4070 <item>
4071 <title>Easier recipe to observe the cell phones around you</title>
4072 <link>http://people.skolelinux.org/pere/blog/Easier_recipe_to_observe_the_cell_phones_around_you.html</link>
4073 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Easier_recipe_to_observe_the_cell_phones_around_you.html</guid>
4074 <pubDate>Sun, 24 Sep 2017 08:30:00 +0200</pubDate>
4075 <description>&lt;p&gt;A little more than a month ago I wrote
4076 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Simpler_recipe_on_how_to_make_a_simple__7_IMSI_Catcher_using_Debian.html&quot;&gt;how
4077 to observe the SIM card ID (aka IMSI number) of mobile phones talking
4078 to nearby mobile phone base stations using Debian GNU/Linux and a
4079 cheap USB software defined radio&lt;/a&gt;, and thus being able to pinpoint
4080 the location of people and equipment (like cars and trains) with an
4081 accuracy of a few kilometer. Since then we have worked to make the
4082 procedure even simpler, and it is now possible to do this without any
4083 manual frequency tuning and without building your own packages.&lt;/p&gt;
4084
4085 &lt;p&gt;The &lt;a href=&quot;https://tracker.debian.org/pkg/gr-gsm&quot;&gt;gr-gsm&lt;/a&gt;
4086 package is now included in Debian testing and unstable, and the
4087 IMSI-catcher code no longer require root access to fetch and decode
4088 the GSM data collected using gr-gsm.&lt;/p&gt;
4089
4090 &lt;p&gt;Here is an updated recipe, using packages built by Debian and a git
4091 clone of two python scripts:&lt;/p&gt;
4092
4093 &lt;ol&gt;
4094
4095 &lt;li&gt;Start with a Debian machine running the Buster version (aka
4096 testing).&lt;/li&gt;
4097
4098 &lt;li&gt;Run &#39;&lt;tt&gt;apt install gr-gsm python-numpy python-scipy
4099 python-scapy&lt;/tt&gt;&#39; as root to install required packages.&lt;/li&gt;
4100
4101 &lt;li&gt;Fetch the code decoding GSM packages using &#39;&lt;tt&gt;git clone
4102 github.com/Oros42/IMSI-catcher.git&lt;/tt&gt;&#39;.&lt;/li&gt;
4103
4104 &lt;li&gt;Insert USB software defined radio supported by GNU Radio.&lt;/li&gt;
4105
4106 &lt;li&gt;Enter the IMSI-catcher directory and run &#39;&lt;tt&gt;python
4107 scan-and-livemon&lt;/tt&gt;&#39; to locate the frequency of nearby base
4108 stations and start listening for GSM packages on one of them.&lt;/li&gt;
4109
4110 &lt;li&gt;Enter the IMSI-catcher directory and run &#39;&lt;tt&gt;python
4111 simple_IMSI-catcher.py&lt;/tt&gt;&#39; to display the collected information.&lt;/li&gt;
4112
4113 &lt;/ol&gt;
4114
4115 &lt;p&gt;Note, due to a bug somewhere the scan-and-livemon program (actually
4116 &lt;a href=&quot;https://github.com/ptrkrysik/gr-gsm/issues/336&quot;&gt;its underlying
4117 program grgsm_scanner&lt;/a&gt;) do not work with the HackRF radio. It does
4118 work with RTL 8232 and other similar USB radio receivers you can get
4119 very cheaply
4120 (&lt;a href=&quot;https://www.ebay.com/sch/items/?_nkw=rtl+2832&quot;&gt;for example
4121 from ebay&lt;/a&gt;), so for now the solution is to scan using the RTL radio
4122 and only use HackRF for fetching GSM data.&lt;/p&gt;
4123
4124 &lt;p&gt;As far as I can tell, a cell phone only show up on one of the
4125 frequencies at the time, so if you are going to track and count every
4126 cell phone around you, you need to listen to all the frequencies used.
4127 To listen to several frequencies, use the --numrecv argument to
4128 scan-and-livemon to use several receivers. Further, I am not sure if
4129 phones using 3G or 4G will show as talking GSM to base stations, so
4130 this approach might not see all phones around you. I typically see
4131 0-400 IMSI numbers an hour when looking around where I live.&lt;/p&gt;
4132
4133 &lt;p&gt;I&#39;ve tried to run the scanner on a
4134 &lt;a href=&quot;https://wiki.debian.org/RaspberryPi&quot;&gt;Raspberry Pi 2 and 3
4135 running Debian Buster&lt;/a&gt;, but the grgsm_livemon_headless process seem
4136 to be too CPU intensive to keep up. When GNU Radio print &#39;O&#39; to
4137 stdout, I am told there it is caused by a buffer overflow between the
4138 radio and GNU Radio, caused by the program being unable to read the
4139 GSM data fast enough. If you see a stream of &#39;O&#39;s from the terminal
4140 where you started scan-and-livemon, you need a give the process more
4141 CPU power. Perhaps someone are able to optimize the code to a point
4142 where it become possible to set up RPi3 based GSM sniffers? I tried
4143 using Raspbian instead of Debian, but there seem to be something wrong
4144 with GNU Radio on raspbian, causing glibc to abort().&lt;/p&gt;
4145 </description>
4146 </item>
4147
4148 <item>
4149 <title>Simpler recipe on how to make a simple $7 IMSI Catcher using Debian</title>
4150 <link>http://people.skolelinux.org/pere/blog/Simpler_recipe_on_how_to_make_a_simple__7_IMSI_Catcher_using_Debian.html</link>
4151 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Simpler_recipe_on_how_to_make_a_simple__7_IMSI_Catcher_using_Debian.html</guid>
4152 <pubDate>Wed, 9 Aug 2017 23:59:00 +0200</pubDate>
4153 <description>&lt;p&gt;On friday, I came across an interesting article in the Norwegian
4154 web based ICT news magazine digi.no on
4155 &lt;a href=&quot;https://www.digi.no/artikler/sikkerhetsforsker-lagde-enkel-imsi-catcher-for-60-kroner-na-kan-mobiler-kartlegges-av-alle/398588&quot;&gt;how
4156 to collect the IMSI numbers of nearby cell phones&lt;/a&gt; using the cheap
4157 DVB-T software defined radios. The article refered to instructions
4158 and &lt;a href=&quot;https://www.youtube.com/watch?v=UjwgNd_as30&quot;&gt;a recipe by
4159 Keld Norman on Youtube on how to make a simple $7 IMSI Catcher&lt;/a&gt;, and I decided to test them out.&lt;/p&gt;
4160
4161 &lt;p&gt;The instructions said to use Ubuntu, install pip using apt (to
4162 bypass apt), use pip to install pybombs (to bypass both apt and pip),
4163 and the ask pybombs to fetch and build everything you need from
4164 scratch. I wanted to see if I could do the same on the most recent
4165 Debian packages, but this did not work because pybombs tried to build
4166 stuff that no longer build with the most recent openssl library or
4167 some other version skew problem. While trying to get this recipe
4168 working, I learned that the apt-&gt;pip-&gt;pybombs route was a long detour,
4169 and the only piece of software dependency missing in Debian was the
4170 gr-gsm package. I also found out that the lead upstream developer of
4171 gr-gsm (the name stand for GNU Radio GSM) project already had a set of
4172 Debian packages provided in an Ubuntu PPA repository. All I needed to
4173 do was to dget the Debian source package and built it.&lt;/p&gt;
4174
4175 &lt;p&gt;The IMSI collector is a python script listening for packages on the
4176 loopback network device and printing to the terminal some specific GSM
4177 packages with IMSI numbers in them. The code is fairly short and easy
4178 to understand. The reason this work is because gr-gsm include a tool
4179 to read GSM data from a software defined radio like a DVB-T USB stick
4180 and other software defined radios, decode them and inject them into a
4181 network device on your Linux machine (using the loopback device by
4182 default). This proved to work just fine, and I&#39;ve been testing the
4183 collector for a few days now.&lt;/p&gt;
4184
4185 &lt;p&gt;The updated and simpler recipe is thus to&lt;/p&gt;
4186
4187 &lt;ol&gt;
4188
4189 &lt;li&gt;start with a Debian machine running Stretch or newer,&lt;/li&gt;
4190
4191 &lt;li&gt;build and install the gr-gsm package available from
4192 &lt;a href=&quot;http://ppa.launchpad.net/ptrkrysik/gr-gsm/ubuntu/pool/main/g/gr-gsm/&quot;&gt;http://ppa.launchpad.net/ptrkrysik/gr-gsm/ubuntu/pool/main/g/gr-gsm/&lt;/a&gt;,&lt;/li&gt;
4193
4194 &lt;li&gt;clone the git repostory from &lt;a href=&quot;https://github.com/Oros42/IMSI-catcher&quot;&gt;https://github.com/Oros42/IMSI-catcher&lt;/a&gt;,&lt;/li&gt;
4195
4196 &lt;li&gt;run grgsm_livemon and adjust the frequency until the terminal
4197 where it was started is filled with a stream of text (meaning you
4198 found a GSM station).&lt;/li&gt;
4199
4200 &lt;li&gt;go into the IMSI-catcher directory and run &#39;sudo python simple_IMSI-catcher.py&#39; to extract the IMSI numbers.&lt;/li&gt;
4201
4202 &lt;/ol&gt;
4203
4204 &lt;p&gt;To make it even easier in the future to get this sniffer up and
4205 running, I decided to package
4206 &lt;a href=&quot;https://github.com/ptrkrysik/gr-gsm/&quot;&gt;the gr-gsm project&lt;/a&gt;
4207 for Debian (&lt;a href=&quot;https://bugs.debian.org/871055&quot;&gt;WNPP
4208 #871055&lt;/a&gt;), and the package was uploaded into the NEW queue today.
4209 Luckily the gnuradio maintainer has promised to help me, as I do not
4210 know much about gnuradio stuff yet.&lt;/p&gt;
4211
4212 &lt;p&gt;I doubt this &quot;IMSI cacher&quot; is anywhere near as powerfull as
4213 commercial tools like
4214 &lt;a href=&quot;https://www.thespyphone.com/portable-imsi-imei-catcher/&quot;&gt;The
4215 Spy Phone Portable IMSI / IMEI Catcher&lt;/a&gt; or the
4216 &lt;a href=&quot;https://en.wikipedia.org/wiki/Stingray_phone_tracker&quot;&gt;Harris
4217 Stingray&lt;/a&gt;, but I hope the existance of cheap alternatives can make
4218 more people realise how their whereabouts when carrying a cell phone
4219 is easily tracked. Seeing the data flow on the screen, realizing that
4220 I live close to a police station and knowing that the police is also
4221 wearing cell phones, I wonder how hard it would be for criminals to
4222 track the position of the police officers to discover when there are
4223 police near by, or for foreign military forces to track the location
4224 of the Norwegian military forces, or for anyone to track the location
4225 of government officials...&lt;/p&gt;
4226
4227 &lt;p&gt;It is worth noting that the data reported by the IMSI-catcher
4228 script mentioned above is only a fraction of the data broadcasted on
4229 the GSM network. It will only collect one frequency at the time,
4230 while a typical phone will be using several frequencies, and not all
4231 phones will be using the frequencies tracked by the grgsm_livemod
4232 program. Also, there is a lot of radio chatter being ignored by the
4233 simple_IMSI-catcher script, which would be collected by extending the
4234 parser code. I wonder if gr-gsm can be set up to listen to more than
4235 one frequency?&lt;/p&gt;
4236 </description>
4237 </item>
4238
4239 <item>
4240 <title>Norwegian Bokmål edition of Debian Administrator&#39;s Handbook is now available</title>
4241 <link>http://people.skolelinux.org/pere/blog/Norwegian_Bokm_l_edition_of_Debian_Administrator_s_Handbook_is_now_available.html</link>
4242 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Norwegian_Bokm_l_edition_of_Debian_Administrator_s_Handbook_is_now_available.html</guid>
4243 <pubDate>Tue, 25 Jul 2017 21:10:00 +0200</pubDate>
4244 <description>&lt;p align=&quot;center&quot;&gt;&lt;img align=&quot;center&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2017-07-25-debian-handbook-nb-testprint.png&quot;/&gt;&lt;/p&gt;
4245
4246 &lt;p&gt;I finally received a copy of the Norwegian Bokmål edition of
4247 &quot;&lt;a href=&quot;https://debian-handbook.info/&quot;&gt;The Debian Administrator&#39;s
4248 Handbook&lt;/a&gt;&quot;. This test copy arrived in the mail a few days ago, and
4249 I am very happy to hold the result in my hand. We spent around one and a half year translating it. This paperbook edition
4250 &lt;a href=&quot;https://debian-handbook.info/get/#norwegian&quot;&gt;is available
4251 from lulu.com&lt;/a&gt;. If you buy it quickly, you save 25% on the list
4252 price. The book is also available for download in electronic form as
4253 PDF, EPUB and Mobipocket, as can be
4254 &lt;a href=&quot;https://debian-handbook.info/browse/nb-NO/stable/&quot;&gt;read online
4255 as a web page&lt;/a&gt;.&lt;/p&gt;
4256
4257 &lt;p&gt;This is the second book I publish (the first was the book
4258 &quot;&lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free Culture&lt;/a&gt;&quot; by Lawrence Lessig
4259 in
4260 &lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-22440520.html&quot;&gt;English&lt;/a&gt;,
4261 &lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-22645082.html&quot;&gt;French&lt;/a&gt;
4262 and
4263 &lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-22441576.html&quot;&gt;Norwegian
4264 Bokmål&lt;/a&gt;), and I am very excited to finally wrap up this
4265 project. I hope
4266 &quot;&lt;a href=&quot;http://www.lulu.com/shop/rapha%C3%ABl-hertzog-and-roland-mas/h%C3%A5ndbok-for-debian-administratoren/paperback/product-23262290.html&quot;&gt;Håndbok
4267 for Debian-administratoren&lt;/a&gt;&quot; will be well received.&lt;/p&gt;
4268 </description>
4269 </item>
4270
4271 <item>
4272 <title>Updated sales number for my Free Culture paper editions</title>
4273 <link>http://people.skolelinux.org/pere/blog/Updated_sales_number_for_my_Free_Culture_paper_editions.html</link>
4274 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Updated_sales_number_for_my_Free_Culture_paper_editions.html</guid>
4275 <pubDate>Mon, 12 Jun 2017 11:40:00 +0200</pubDate>
4276 <description>&lt;p&gt;It is pleasing to see that the work we put down in publishing new
4277 editions of the classic &lt;a href=&quot;http://www.free-culture.cc/&quot;&gt;Free
4278 Culture book&lt;/a&gt; by the founder of the Creative Commons movement,
4279 Lawrence Lessig, is still being appreciated. I had a look at the
4280 latest sales numbers for the paper edition today. Not too impressive,
4281 but happy to see some buyers still exist. All the revenue from the
4282 books is sent to the &lt;a href=&quot;https://creativecommons.org/&quot;&gt;Creative
4283 Commons Corporation&lt;/a&gt;, and they receive the largest cut if you buy
4284 directly from Lulu. Most books are sold via Amazon, with Ingram
4285 second and only a small fraction directly from Lulu. The ebook
4286 edition is available for free from
4287 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;Github&lt;/a&gt;.&lt;/p&gt;
4288
4289 &lt;table border=&quot;0&quot;&gt;
4290 &lt;tr&gt;&lt;th rowspan=&quot;2&quot; valign=&quot;bottom&quot;&gt;Title / language&lt;/th&gt;&lt;th colspan=&quot;3&quot;&gt;Quantity&lt;/th&gt;&lt;/tr&gt;
4291 &lt;tr&gt;&lt;th&gt;2016 jan-jun&lt;/th&gt;&lt;th&gt;2016 jul-dec&lt;/th&gt;&lt;th&gt;2017 jan-may&lt;/th&gt;&lt;/tr&gt;
4292
4293 &lt;tr&gt;
4294 &lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-22645082.html&quot;&gt;Culture Libre / French&lt;/a&gt;&lt;/td&gt;
4295 &lt;td align=&quot;right&quot;&gt;3&lt;/td&gt;
4296 &lt;td align=&quot;right&quot;&gt;6&lt;/td&gt;
4297 &lt;td align=&quot;right&quot;&gt;15&lt;/td&gt;
4298 &lt;/tr&gt;
4299
4300 &lt;tr&gt;
4301 &lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-22441576.html&quot;&gt;Fri kultur / Norwegian&lt;/a&gt;&lt;/td&gt;
4302 &lt;td align=&quot;right&quot;&gt;7&lt;/td&gt;
4303 &lt;td align=&quot;right&quot;&gt;1&lt;/td&gt;
4304 &lt;td align=&quot;right&quot;&gt;0&lt;/td&gt;
4305 &lt;/tr&gt;
4306
4307 &lt;tr&gt;
4308 &lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-22440520.html&quot;&gt;Free Culture / English&lt;/a&gt;&lt;/td&gt;
4309 &lt;td align=&quot;right&quot;&gt;14&lt;/td&gt;
4310 &lt;td align=&quot;right&quot;&gt;27&lt;/td&gt;
4311 &lt;td align=&quot;right&quot;&gt;16&lt;/td&gt;
4312 &lt;/tr&gt;
4313
4314 &lt;tr&gt;
4315 &lt;td&gt;Total&lt;/td&gt;
4316 &lt;td align=&quot;right&quot;&gt;24&lt;/td&gt;
4317 &lt;td align=&quot;right&quot;&gt;34&lt;/td&gt;
4318 &lt;td align=&quot;right&quot;&gt;31&lt;/td&gt;
4319 &lt;/tr&gt;
4320
4321 &lt;/table&gt;
4322
4323 &lt;p&gt;A bit sad to see the low sales number on the Norwegian edition, and
4324 a bit surprising the English edition still selling so well.&lt;/p&gt;
4325
4326 &lt;p&gt;If you would like to translate and publish the book in your native
4327 language, I would be happy to help make it happen. Please get in
4328 touch.&lt;/p&gt;
4329 </description>
4330 </item>
4331
4332 <item>
4333 <title>Release 0.1.1 of free software archive system Nikita announced</title>
4334 <link>http://people.skolelinux.org/pere/blog/Release_0_1_1_of_free_software_archive_system_Nikita_announced.html</link>
4335 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Release_0_1_1_of_free_software_archive_system_Nikita_announced.html</guid>
4336 <pubDate>Sat, 10 Jun 2017 00:40:00 +0200</pubDate>
4337 <description>&lt;p&gt;I am very happy to report that the
4338 &lt;a href=&quot;https://github.com/hiOA-ABI/nikita-noark5-core&quot;&gt;Nikita Noark 5
4339 core project&lt;/a&gt; tagged its second release today. The free software
4340 solution is an implementation of the Norwegian archive standard Noark
4341 5 used by government offices in Norway. These were the changes in
4342 version 0.1.1 since version 0.1.0 (from NEWS.md):
4343
4344 &lt;ul&gt;
4345
4346 &lt;li&gt;Continued work on the angularjs GUI, including document upload.&lt;/li&gt;
4347 &lt;li&gt;Implemented correspondencepartPerson, correspondencepartUnit and
4348 correspondencepartInternal&lt;/li&gt;
4349 &lt;li&gt;Applied for coverity coverage and started submitting code on
4350 regualr basis.&lt;/li&gt;
4351 &lt;li&gt;Started fixing bugs reported by coverity&lt;/li&gt;
4352 &lt;li&gt;Corrected and completed HATEOAS links to make sure entire API is
4353 available via URLs in _links.&lt;/li&gt;
4354 &lt;li&gt;Corrected all relation URLs to use trailing slash.&lt;/li&gt;
4355 &lt;li&gt;Add initial support for storing data in ElasticSearch.&lt;/li&gt;
4356 &lt;li&gt;Now able to receive and store uploaded files in the archive.&lt;/li&gt;
4357 &lt;li&gt;Changed JSON output for object lists to have relations in _links.&lt;/li&gt;
4358 &lt;li&gt;Improve JSON output for empty object lists.&lt;/li&gt;
4359 &lt;li&gt;Now uses correct MIME type application/vnd.noark5-v4+json.&lt;/li&gt;
4360 &lt;li&gt;Added support for docker container images.&lt;/li&gt;
4361 &lt;li&gt;Added simple API browser implemented in JavaScript/Angular.&lt;/li&gt;
4362 &lt;li&gt;Started on archive client implemented in JavaScript/Angular.&lt;/li&gt;
4363 &lt;li&gt;Started on prototype to show the public mail journal.&lt;/li&gt;
4364 &lt;li&gt;Improved performance by disabling Sprint FileWatcher.&lt;/li&gt;
4365 &lt;li&gt;Added support for &#39;arkivskaper&#39;, &#39;saksmappe&#39; and &#39;journalpost&#39;.&lt;/li&gt;
4366 &lt;li&gt;Added support for some metadata codelists.&lt;/li&gt;
4367 &lt;li&gt;Added support for Cross-origin resource sharing (CORS).&lt;/li&gt;
4368 &lt;li&gt;Changed login method from Basic Auth to JSON Web Token (RFC 7519)
4369 style.&lt;/li&gt;
4370 &lt;li&gt;Added support for GET-ing ny-* URLs.&lt;/li&gt;
4371 &lt;li&gt;Added support for modifying entities using PUT and eTag.&lt;/li&gt;
4372 &lt;li&gt;Added support for returning XML output on request.&lt;/li&gt;
4373 &lt;li&gt;Removed support for English field and class names, limiting ourself
4374 to the official names.&lt;/li&gt;
4375 &lt;li&gt;...&lt;/li&gt;
4376
4377 &lt;/ul&gt;
4378
4379 &lt;p&gt;If this sound interesting to you, please contact us on IRC (#nikita
4380 on irc.freenode.net) or email
4381 (&lt;a href=&quot;https://lists.nuug.no/mailman/listinfo/nikita-noark&quot;&gt;nikita-noark
4382 mailing list).&lt;/p&gt;
4383 </description>
4384 </item>
4385
4386 <item>
4387 <title>Idea for storing trusted timestamps in a Noark 5 archive</title>
4388 <link>http://people.skolelinux.org/pere/blog/Idea_for_storing_trusted_timestamps_in_a_Noark_5_archive.html</link>
4389 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Idea_for_storing_trusted_timestamps_in_a_Noark_5_archive.html</guid>
4390 <pubDate>Wed, 7 Jun 2017 21:40:00 +0200</pubDate>
4391 <description>&lt;p&gt;&lt;em&gt;This is a copy of
4392 &lt;a href=&quot;https://lists.nuug.no/pipermail/nikita-noark/2017-June/000297.html&quot;&gt;an
4393 email I posted to the nikita-noark mailing list&lt;/a&gt;. Please follow up
4394 there if you would like to discuss this topic. The background is that
4395 we are making a free software archive system based on the Norwegian
4396 &lt;a href=&quot;https://www.arkivverket.no/forvaltning-og-utvikling/regelverk-og-standarder/noark-standarden&quot;&gt;Noark
4397 5 standard&lt;/a&gt; for government archives.&lt;/em&gt;&lt;/p&gt;
4398
4399 &lt;p&gt;I&#39;ve been wondering a bit lately how trusted timestamps could be
4400 stored in Noark 5.
4401 &lt;a href=&quot;https://en.wikipedia.org/wiki/Trusted_timestamping&quot;&gt;Trusted
4402 timestamps&lt;/a&gt; can be used to verify that some information
4403 (document/file/checksum/metadata) have not been changed since a
4404 specific time in the past. This is useful to verify the integrity of
4405 the documents in the archive.&lt;/p&gt;
4406
4407 &lt;p&gt;Then it occured to me, perhaps the trusted timestamps could be
4408 stored as dokument variants (ie dokumentobjekt referered to from
4409 dokumentbeskrivelse) with the filename set to the hash it is
4410 stamping?&lt;/p&gt;
4411
4412 &lt;p&gt;Given a &quot;dokumentbeskrivelse&quot; with an associated &quot;dokumentobjekt&quot;,
4413 a new dokumentobjekt is associated with &quot;dokumentbeskrivelse&quot; with the
4414 same attributes as the stamped dokumentobjekt except these
4415 attributes:&lt;/p&gt;
4416
4417 &lt;ul&gt;
4418
4419 &lt;li&gt;format -&gt; &quot;RFC3161&quot;
4420 &lt;li&gt;mimeType -&gt; &quot;application/timestamp-reply&quot;
4421 &lt;li&gt;formatDetaljer -&gt; &quot;&amp;lt;source URL for timestamp service&amp;gt;&quot;
4422 &lt;li&gt;filenavn -&gt; &quot;&amp;lt;sjekksum&amp;gt;.tsr&quot;
4423
4424 &lt;/ul&gt;
4425
4426 &lt;p&gt;This assume a service following
4427 &lt;a href=&quot;https://tools.ietf.org/html/rfc3161&quot;&gt;IETF RFC 3161&lt;/a&gt; is
4428 used, which specifiy the given MIME type for replies and the .tsr file
4429 ending for the content of such trusted timestamp. As far as I can
4430 tell from the Noark 5 specifications, it is OK to have several
4431 variants/renderings of a dokument attached to a given
4432 dokumentbeskrivelse objekt. It might be stretching it a bit to make
4433 some of these variants represent crypto-signatures useful for
4434 verifying the document integrity instead of representing the dokument
4435 itself.&lt;/p&gt;
4436
4437 &lt;p&gt;Using the source of the service in formatDetaljer allow several
4438 timestamping services to be used. This is useful to spread the risk
4439 of key compromise over several organisations. It would only be a
4440 problem to trust the timestamps if all of the organisations are
4441 compromised.&lt;/p&gt;
4442
4443 &lt;p&gt;The following oneliner on Linux can be used to generate the tsr
4444 file. $input is the path to the file to checksum, and $sha256 is the
4445 SHA-256 checksum of the file (ie the &quot;&lt;sjekksum&gt;.tsr&quot; value mentioned
4446 above).&lt;/p&gt;
4447
4448 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
4449 openssl ts -query -data &quot;$inputfile&quot; -cert -sha256 -no_nonce \
4450 | curl -s -H &quot;Content-Type: application/timestamp-query&quot; \
4451 --data-binary &quot;@-&quot; http://zeitstempel.dfn.de &gt; $sha256.tsr
4452 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
4453
4454 &lt;p&gt;To verify the timestamp, you first need to download the public key
4455 of the trusted timestamp service, for example using this command:&lt;/p&gt;
4456
4457 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
4458 wget -O ca-cert.txt \
4459 https://pki.pca.dfn.de/global-services-ca/pub/cacert/chain.txt
4460 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
4461
4462 &lt;p&gt;Note, the public key should be stored alongside the timestamps in
4463 the archive to make sure it is also available 100 years from now. It
4464 is probably a good idea to standardise how and were to store such
4465 public keys, to make it easier to find for those trying to verify
4466 documents 100 or 1000 years from now. :)&lt;/p&gt;
4467
4468 &lt;p&gt;The verification itself is a simple openssl command:&lt;/p&gt;
4469
4470 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
4471 openssl ts -verify -data $inputfile -in $sha256.tsr \
4472 -CAfile ca-cert.txt -text
4473 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
4474
4475 &lt;p&gt;Is there any reason this approach would not work? Is it somehow against
4476 the Noark 5 specification?&lt;/p&gt;
4477 </description>
4478 </item>
4479
4480 <item>
4481 <title>Free software archive system Nikita now able to store documents</title>
4482 <link>http://people.skolelinux.org/pere/blog/Free_software_archive_system_Nikita_now_able_to_store_documents.html</link>
4483 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Free_software_archive_system_Nikita_now_able_to_store_documents.html</guid>
4484 <pubDate>Sun, 19 Mar 2017 08:00:00 +0100</pubDate>
4485 <description>&lt;p&gt;The &lt;a href=&quot;https://github.com/hiOA-ABI/nikita-noark5-core&quot;&gt;Nikita
4486 Noark 5 core project&lt;/a&gt; is implementing the Norwegian standard for
4487 keeping an electronic archive of government documents.
4488 &lt;a href=&quot;http://www.arkivverket.no/arkivverket/Offentlig-forvaltning/Noark/Noark-5/English-version&quot;&gt;The
4489 Noark 5 standard&lt;/a&gt; document the requirement for data systems used by
4490 the archives in the Norwegian government, and the Noark 5 web interface
4491 specification document a REST web service for storing, searching and
4492 retrieving documents and metadata in such archive. I&#39;ve been involved
4493 in the project since a few weeks before Christmas, when the Norwegian
4494 Unix User Group
4495 &lt;a href=&quot;https://www.nuug.no/news/NOARK5_kjerne_som_fri_programvare_f_r_epostliste_hos_NUUG.shtml&quot;&gt;announced
4496 it supported the project&lt;/a&gt;. I believe this is an important project,
4497 and hope it can make it possible for the government archives in the
4498 future to use free software to keep the archives we citizens depend
4499 on. But as I do not hold such archive myself, personally my first use
4500 case is to store and analyse public mail journal metadata published
4501 from the government. I find it useful to have a clear use case in
4502 mind when developing, to make sure the system scratches one of my
4503 itches.&lt;/p&gt;
4504
4505 &lt;p&gt;If you would like to help make sure there is a free software
4506 alternatives for the archives, please join our IRC channel
4507 (&lt;a href=&quot;irc://irc.freenode.net/%23nikita&quot;&gt;#nikita on
4508 irc.freenode.net&lt;/a&gt;) and
4509 &lt;a href=&quot;https://lists.nuug.no/mailman/listinfo/nikita-noark&quot;&gt;the
4510 project mailing list&lt;/a&gt;.&lt;/p&gt;
4511
4512 &lt;p&gt;When I got involved, the web service could store metadata about
4513 documents. But a few weeks ago, a new milestone was reached when it
4514 became possible to store full text documents too. Yesterday, I
4515 completed an implementation of a command line tool
4516 &lt;tt&gt;archive-pdf&lt;/tt&gt; to upload a PDF file to the archive using this
4517 API. The tool is very simple at the moment, and find existing
4518 &lt;a href=&quot;https://en.wikipedia.org/wiki/Fonds&quot;&gt;fonds&lt;/a&gt;, series and
4519 files while asking the user to select which one to use if more than
4520 one exist. Once a file is identified, the PDF is associated with the
4521 file and uploaded, using the title extracted from the PDF itself. The
4522 process is fairly similar to visiting the archive, opening a cabinet,
4523 locating a file and storing a piece of paper in the archive. Here is
4524 a test run directly after populating the database with test data using
4525 our API tester:&lt;/p&gt;
4526
4527 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
4528 ~/src//noark5-tester$ ./archive-pdf mangelmelding/mangler.pdf
4529 using arkiv: Title of the test fonds created 2017-03-18T23:49:32.103446
4530 using arkivdel: Title of the test series created 2017-03-18T23:49:32.103446
4531
4532 0 - Title of the test case file created 2017-03-18T23:49:32.103446
4533 1 - Title of the test file created 2017-03-18T23:49:32.103446
4534 Select which mappe you want (or search term): 0
4535 Uploading mangelmelding/mangler.pdf
4536 PDF title: Mangler i spesifikasjonsdokumentet for NOARK 5 Tjenestegrensesnitt
4537 File 2017/1: Title of the test case file created 2017-03-18T23:49:32.103446
4538 ~/src//noark5-tester$
4539 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
4540
4541 &lt;p&gt;You can see here how the fonds (arkiv) and serie (arkivdel) only had
4542 one option, while the user need to choose which file (mappe) to use
4543 among the two created by the API tester. The &lt;tt&gt;archive-pdf&lt;/tt&gt;
4544 tool can be found in the git repository for the API tester.&lt;/p&gt;
4545
4546 &lt;p&gt;In the project, I have been mostly working on
4547 &lt;a href=&quot;https://github.com/petterreinholdtsen/noark5-tester&quot;&gt;the API
4548 tester&lt;/a&gt; so far, while getting to know the code base. The API
4549 tester currently use
4550 &lt;a href=&quot;https://en.wikipedia.org/wiki/HATEOAS&quot;&gt;the HATEOAS links&lt;/a&gt;
4551 to traverse the entire exposed service API and verify that the exposed
4552 operations and objects match the specification, as well as trying to
4553 create objects holding metadata and uploading a simple XML file to
4554 store. The tester has proved very useful for finding flaws in our
4555 implementation, as well as flaws in the reference site and the
4556 specification.&lt;/p&gt;
4557
4558 &lt;p&gt;The test document I uploaded is a summary of all the specification
4559 defects we have collected so far while implementing the web service.
4560 There are several unclear and conflicting parts of the specification,
4561 and we have
4562 &lt;a href=&quot;https://github.com/petterreinholdtsen/noark5-tester/tree/master/mangelmelding&quot;&gt;started
4563 writing down&lt;/a&gt; the questions we get from implementing it. We use a
4564 format inspired by how &lt;a href=&quot;http://www.opengroup.org/austin/&quot;&gt;The
4565 Austin Group&lt;/a&gt; collect defect reports for the POSIX standard with
4566 &lt;a href=&quot;http://www.opengroup.org/austin/mantis.html&quot;&gt;their
4567 instructions for the MANTIS defect tracker system&lt;/a&gt;, in lack of an official way to structure defect reports for Noark 5 (our first submitted defect report was a &lt;a href=&quot;https://github.com/petterreinholdtsen/noark5-tester/blob/master/mangelmelding/sendt/2017-03-15-mangel-prosess.md&quot;&gt;request for a procedure for submitting defect reports&lt;/a&gt; :).
4568
4569 &lt;p&gt;The Nikita project is implemented using Java and Spring, and is
4570 fairly easy to get up and running using Docker containers for those
4571 that want to test the current code base. The API tester is
4572 implemented in Python.&lt;/p&gt;
4573 </description>
4574 </item>
4575
4576 <item>
4577 <title>Detecting NFS hangs on Linux without hanging yourself...</title>
4578 <link>http://people.skolelinux.org/pere/blog/Detecting_NFS_hangs_on_Linux_without_hanging_yourself___.html</link>
4579 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Detecting_NFS_hangs_on_Linux_without_hanging_yourself___.html</guid>
4580 <pubDate>Thu, 9 Mar 2017 15:20:00 +0100</pubDate>
4581 <description>&lt;p&gt;Over the years, administrating thousand of NFS mounting linux
4582 computers at the time, I often needed a way to detect if the machine
4583 was experiencing NFS hang. If you try to use &lt;tt&gt;df&lt;/tt&gt; or look at a
4584 file or directory affected by the hang, the process (and possibly the
4585 shell) will hang too. So you want to be able to detect this without
4586 risking the detection process getting stuck too. It has not been
4587 obvious how to do this. When the hang has lasted a while, it is
4588 possible to find messages like these in dmesg:&lt;/p&gt;
4589
4590 &lt;p&gt;&lt;blockquote&gt;
4591 nfs: server nfsserver not responding, still trying
4592 &lt;br&gt;nfs: server nfsserver OK
4593 &lt;/blockquote&gt;&lt;/p&gt;
4594
4595 &lt;p&gt;It is hard to know if the hang is still going on, and it is hard to
4596 be sure looking in dmesg is going to work. If there are lots of other
4597 messages in dmesg the lines might have rotated out of site before they
4598 are noticed.&lt;/p&gt;
4599
4600 &lt;p&gt;While reading through the nfs client implementation in linux kernel
4601 code, I came across some statistics that seem to give a way to detect
4602 it. The om_timeouts sunrpc value in the kernel will increase every
4603 time the above log entry is inserted into dmesg. And after digging a
4604 bit further, I discovered that this value show up in
4605 /proc/self/mountstats on Linux.&lt;/p&gt;
4606
4607 &lt;p&gt;The mountstats content seem to be shared between files using the
4608 same file system context, so it is enough to check one of the
4609 mountstats files to get the state of the mount point for the machine.
4610 I assume this will not show lazy umounted NFS points, nor NFS mount
4611 points in a different process context (ie with a different filesystem
4612 view), but that does not worry me.&lt;/p&gt;
4613
4614 &lt;p&gt;The content for a NFS mount point look similar to this:&lt;/p&gt;
4615
4616 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
4617 [...]
4618 device /dev/mapper/Debian-var mounted on /var with fstype ext3
4619 device nfsserver:/mnt/nfsserver/home0 mounted on /mnt/nfsserver/home0 with fstype nfs statvers=1.1
4620 opts: rw,vers=3,rsize=65536,wsize=65536,namlen=255,acregmin=3,acregmax=60,acdirmin=30,acdirmax=60,soft,nolock,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=129.240.3.145,mountvers=3,mountport=4048,mountproto=udp,local_lock=all
4621 age: 7863311
4622 caps: caps=0x3fe7,wtmult=4096,dtsize=8192,bsize=0,namlen=255
4623 sec: flavor=1,pseudoflavor=1
4624 events: 61063112 732346265 1028140 35486205 16220064 8162542 761447191 71714012 37189 3891185 45561809 110486139 4850138 420353 15449177 296502 52736725 13523379 0 52182 9016896 1231 0 0 0 0 0
4625 bytes: 166253035039 219519120027 0 0 40783504807 185466229638 11677877 45561809
4626 RPC iostats version: 1.0 p/v: 100003/3 (nfs)
4627 xprt: tcp 925 1 6810 0 0 111505412 111480497 109 2672418560317 0 248 53869103 22481820
4628 per-op statistics
4629 NULL: 0 0 0 0 0 0 0 0
4630 GETATTR: 61063106 61063108 0 9621383060 6839064400 453650 77291321 78926132
4631 SETATTR: 463469 463470 0 92005440 66739536 63787 603235 687943
4632 LOOKUP: 17021657 17021657 0 3354097764 4013442928 57216 35125459 35566511
4633 ACCESS: 14281703 14290009 5 2318400592 1713803640 1709282 4865144 7130140
4634 READLINK: 125 125 0 20472 18620 0 1112 1118
4635 READ: 4214236 4214237 0 715608524 41328653212 89884 22622768 22806693
4636 WRITE: 8479010 8494376 22 187695798568 1356087148 178264904 51506907 231671771
4637 CREATE: 171708 171708 0 38084748 46702272 873 1041833 1050398
4638 MKDIR: 3680 3680 0 773980 993920 26 23990 24245
4639 SYMLINK: 903 903 0 233428 245488 6 5865 5917
4640 MKNOD: 80 80 0 20148 21760 0 299 304
4641 REMOVE: 429921 429921 0 79796004 61908192 3313 2710416 2741636
4642 RMDIR: 3367 3367 0 645112 484848 22 5782 6002
4643 RENAME: 466201 466201 0 130026184 121212260 7075 5935207 5961288
4644 LINK: 289155 289155 0 72775556 67083960 2199 2565060 2585579
4645 READDIR: 2933237 2933237 0 516506204 13973833412 10385 3190199 3297917
4646 READDIRPLUS: 1652839 1652839 0 298640972 6895997744 84735 14307895 14448937
4647 FSSTAT: 6144 6144 0 1010516 1032192 51 9654 10022
4648 FSINFO: 2 2 0 232 328 0 1 1
4649 PATHCONF: 1 1 0 116 140 0 0 0
4650 COMMIT: 0 0 0 0 0 0 0 0
4651
4652 device binfmt_misc mounted on /proc/sys/fs/binfmt_misc with fstype binfmt_misc
4653 [...]
4654 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
4655
4656 &lt;p&gt;The key number to look at is the third number in the per-op list.
4657 It is the number of NFS timeouts experiences per file system
4658 operation. Here 22 write timeouts and 5 access timeouts. If these
4659 numbers are increasing, I believe the machine is experiencing NFS
4660 hang. Unfortunately the timeout value do not start to increase right
4661 away. The NFS operations need to time out first, and this can take a
4662 while. The exact timeout value depend on the setup. For example the
4663 defaults for TCP and UDP mount points are quite different, and the
4664 timeout value is affected by the soft, hard, timeo and retrans NFS
4665 mount options.&lt;/p&gt;
4666
4667 &lt;p&gt;The only way I have been able to get working on Debian and RedHat
4668 Enterprise Linux for getting the timeout count is to peek in /proc/.
4669 But according to
4670 &lt;ahref=&quot;http://docs.oracle.com/cd/E19253-01/816-4555/netmonitor-12/index.html&quot;&gt;Solaris
4671 10 System Administration Guide: Network Services&lt;/a&gt;, the &#39;nfsstat -c&#39;
4672 command can be used to get these timeout values. But this do not work
4673 on Linux, as far as I can tell. I
4674 &lt;ahref=&quot;http://bugs.debian.org/857043&quot;&gt;asked Debian about this&lt;/a&gt;,
4675 but have not seen any replies yet.&lt;/p&gt;
4676
4677 &lt;p&gt;Is there a better way to figure out if a Linux NFS client is
4678 experiencing NFS hangs? Is there a way to detect which processes are
4679 affected? Is there a way to get the NFS mount going quickly once the
4680 network problem causing the NFS hang has been cleared? I would very
4681 much welcome some clues, as we regularly run into NFS hangs.&lt;/p&gt;
4682 </description>
4683 </item>
4684
4685 <item>
4686 <title>How does it feel to be wiretapped, when you should be doing the wiretapping...</title>
4687 <link>http://people.skolelinux.org/pere/blog/How_does_it_feel_to_be_wiretapped__when_you_should_be_doing_the_wiretapping___.html</link>
4688 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_does_it_feel_to_be_wiretapped__when_you_should_be_doing_the_wiretapping___.html</guid>
4689 <pubDate>Wed, 8 Mar 2017 11:50:00 +0100</pubDate>
4690 <description>&lt;p&gt;So the new president in the United States of America claim to be
4691 surprised to discover that he was wiretapped during the election
4692 before he was elected president. He even claim this must be illegal.
4693 Well, doh, if it is one thing the confirmations from Snowden
4694 documented, it is that the entire population in USA is wiretapped, one
4695 way or another. Of course the president candidates were wiretapped,
4696 alongside the senators, judges and the rest of the people in USA.&lt;/p&gt;
4697
4698 &lt;p&gt;Next, the Federal Bureau of Investigation ask the Department of
4699 Justice to go public rejecting the claims that Donald Trump was
4700 wiretapped illegally. I fail to see the relevance, given that I am
4701 sure the surveillance industry in USA believe they have all the legal
4702 backing they need to conduct mass surveillance on the entire
4703 world.&lt;/p&gt;
4704
4705 &lt;p&gt;There is even the director of the FBI stating that he never saw an
4706 order requesting wiretapping of Donald Trump. That is not very
4707 surprising, given how the FISA court work, with all its activity being
4708 secret. Perhaps he only heard about it?&lt;/p&gt;
4709
4710 &lt;p&gt;What I find most sad in this story is how Norwegian journalists
4711 present it. In a news reports the other day in the radio from the
4712 Norwegian National broadcasting Company (NRK), I heard the journalist
4713 claim that &#39;the FBI denies any wiretapping&#39;, while the reality is that
4714 &#39;the FBI denies any illegal wiretapping&#39;. There is a fundamental and
4715 important difference, and it make me sad that the journalists are
4716 unable to grasp it.&lt;/p&gt;
4717
4718 &lt;p&gt;&lt;strong&gt;Update 2017-03-13:&lt;/strong&gt; Look like
4719 &lt;a href=&quot;https://theintercept.com/2017/03/13/rand-paul-is-right-nsa-routinely-monitors-americans-communications-without-warrants/&quot;&gt;The
4720 Intercept report that US Senator Rand Paul confirm what I state above&lt;/a&gt;.&lt;/p&gt;
4721 </description>
4722 </item>
4723
4724 <item>
4725 <title>Norwegian Bokmål translation of The Debian Administrator&#39;s Handbook complete, proofreading in progress</title>
4726 <link>http://people.skolelinux.org/pere/blog/Norwegian_Bokm_l_translation_of_The_Debian_Administrator_s_Handbook_complete__proofreading_in_progress.html</link>
4727 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Norwegian_Bokm_l_translation_of_The_Debian_Administrator_s_Handbook_complete__proofreading_in_progress.html</guid>
4728 <pubDate>Fri, 3 Mar 2017 14:50:00 +0100</pubDate>
4729 <description>&lt;p&gt;For almost a year now, we have been working on making a Norwegian
4730 Bokmål edition of &lt;a href=&quot;https://debian-handbook.info/&quot;&gt;The Debian
4731 Administrator&#39;s Handbook&lt;/a&gt;. Now, thanks to the tireless effort of
4732 Ole-Erik, Ingrid and Andreas, the initial translation is complete, and
4733 we are working on the proof reading to ensure consistent language and
4734 use of correct computer science terms. The plan is to make the book
4735 available on paper, as well as in electronic form. For that to
4736 happen, the proof reading must be completed and all the figures need
4737 to be translated. If you want to help out, get in touch.&lt;/p&gt;
4738
4739 &lt;p&gt;&lt;a href=&quot;http://people.skolelinux.org/pere/debian-handbook/debian-handbook-nb-NO.pdf&quot;&gt;A
4740
4741 fresh PDF edition&lt;/a&gt; in A4 format (the final book will have smaller
4742 pages) of the book created every morning is available for
4743 proofreading. If you find any errors, please
4744 &lt;a href=&quot;https://hosted.weblate.org/projects/debian-handbook/&quot;&gt;visit
4745 Weblate and correct the error&lt;/a&gt;. The
4746 &lt;a href=&quot;http://l.github.io/debian-handbook/stat/nb-NO/index.html&quot;&gt;state
4747 of the translation including figures&lt;/a&gt; is a useful source for those
4748 provide Norwegian bokmål screen shots and figures.&lt;/p&gt;
4749 </description>
4750 </item>
4751
4752 <item>
4753 <title>Unlimited randomness with the ChaosKey?</title>
4754 <link>http://people.skolelinux.org/pere/blog/Unlimited_randomness_with_the_ChaosKey_.html</link>
4755 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Unlimited_randomness_with_the_ChaosKey_.html</guid>
4756 <pubDate>Wed, 1 Mar 2017 20:50:00 +0100</pubDate>
4757 <description>&lt;p&gt;A few days ago I ordered a small batch of
4758 &lt;a href=&quot;http://altusmetrum.org/ChaosKey/&quot;&gt;the ChaosKey&lt;/a&gt;, a small
4759 USB dongle for generating entropy created by Bdale Garbee and Keith
4760 Packard. Yesterday it arrived, and I am very happy to report that it
4761 work great! According to its designers, to get it to work out of the
4762 box, you need the Linux kernel version 4.1 or later. I tested on a
4763 Debian Stretch machine (kernel version 4.9), and there it worked just
4764 fine, increasing the available entropy very quickly. I wrote a small
4765 test oneliner to test. It first print the current entropy level,
4766 drain /dev/random, and then print the entropy level for five seconds.
4767 Here is the situation without the ChaosKey inserted:&lt;/p&gt;
4768
4769 &lt;blockquote&gt;&lt;pre&gt;
4770 % cat /proc/sys/kernel/random/entropy_avail; \
4771 dd bs=1M if=/dev/random of=/dev/null count=1; \
4772 for n in $(seq 1 5); do \
4773 cat /proc/sys/kernel/random/entropy_avail; \
4774 sleep 1; \
4775 done
4776 300
4777 0+1 oppføringer inn
4778 0+1 oppføringer ut
4779 28 byte kopiert, 0,000264565 s, 106 kB/s
4780 4
4781 8
4782 12
4783 17
4784 21
4785 %
4786 &lt;/pre&gt;&lt;/blockquote&gt;
4787
4788 &lt;p&gt;The entropy level increases by 3-4 every second. In such case any
4789 application requiring random bits (like a HTTPS enabled web server)
4790 will halt and wait for more entrpy. And here is the situation with
4791 the ChaosKey inserted:&lt;/p&gt;
4792
4793 &lt;blockquote&gt;&lt;pre&gt;
4794 % cat /proc/sys/kernel/random/entropy_avail; \
4795 dd bs=1M if=/dev/random of=/dev/null count=1; \
4796 for n in $(seq 1 5); do \
4797 cat /proc/sys/kernel/random/entropy_avail; \
4798 sleep 1; \
4799 done
4800 1079
4801 0+1 oppføringer inn
4802 0+1 oppføringer ut
4803 104 byte kopiert, 0,000487647 s, 213 kB/s
4804 433
4805 1028
4806 1031
4807 1035
4808 1038
4809 %
4810 &lt;/pre&gt;&lt;/blockquote&gt;
4811
4812 &lt;p&gt;Quite the difference. :) I bought a few more than I need, in case
4813 someone want to buy one here in Norway. :)&lt;/p&gt;
4814
4815 &lt;p&gt;Update: The dongle was presented at Debconf last year. You might
4816 find &lt;a href=&quot;https://debconf16.debconf.org/talks/94/&quot;&gt;the talk
4817 recording illuminating&lt;/a&gt;. It explains exactly what the source of
4818 randomness is, if you are unable to spot it from the schema drawing
4819 available from the ChaosKey web site linked at the start of this blog
4820 post.&lt;/p&gt;
4821 </description>
4822 </item>
4823
4824 <item>
4825 <title>Detect OOXML files with undefined behaviour?</title>
4826 <link>http://people.skolelinux.org/pere/blog/Detect_OOXML_files_with_undefined_behaviour_.html</link>
4827 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Detect_OOXML_files_with_undefined_behaviour_.html</guid>
4828 <pubDate>Tue, 21 Feb 2017 00:20:00 +0100</pubDate>
4829 <description>&lt;p&gt;I just noticed
4830 &lt;a href=&quot;http://www.arkivrad.no/aktuelt/riksarkivarens-forskrift-pa-horing&quot;&gt;the
4831 new Norwegian proposal for archiving rules in the goverment&lt;/a&gt; list
4832 &lt;a href=&quot;http://www.ecma-international.org/publications/standards/Ecma-376.htm&quot;&gt;ECMA-376&lt;/a&gt;
4833 / ISO/IEC 29500 (aka OOXML) as valid formats to put in long term
4834 storage. Luckily such files will only be accepted based on
4835 pre-approval from the National Archive. Allowing OOXML files to be
4836 used for long term storage might seem like a good idea as long as we
4837 forget that there are plenty of ways for a &quot;valid&quot; OOXML document to
4838 have content with no defined interpretation in the standard, which
4839 lead to a question and an idea.&lt;/p&gt;
4840
4841 &lt;p&gt;Is there any tool to detect if a OOXML document depend on such
4842 undefined behaviour? It would be useful for the National Archive (and
4843 anyone else interested in verifying that a document is well defined)
4844 to have such tool available when considering to approve the use of
4845 OOXML. I&#39;m aware of the
4846 &lt;a href=&quot;https://github.com/arlm/officeotron/&quot;&gt;officeotron OOXML
4847 validator&lt;/a&gt;, but do not know how complete it is nor if it will
4848 report use of undefined behaviour. Are there other similar tools
4849 available? Please send me an email if you know of any such tool.&lt;/p&gt;
4850 </description>
4851 </item>
4852
4853 <item>
4854 <title>Ruling ignored our objections to the seizure of popcorn-time.no (#domstolkontroll)</title>
4855 <link>http://people.skolelinux.org/pere/blog/Ruling_ignored_our_objections_to_the_seizure_of_popcorn_time_no___domstolkontroll_.html</link>
4856 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Ruling_ignored_our_objections_to_the_seizure_of_popcorn_time_no___domstolkontroll_.html</guid>
4857 <pubDate>Mon, 13 Feb 2017 21:30:00 +0100</pubDate>
4858 <description>&lt;p&gt;A few days ago, we received the ruling from
4859 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/A_day_in_court_challenging_seizure_of_popcorn_time_no_for__domstolkontroll.html&quot;&gt;my
4860 day in court&lt;/a&gt;. The case in question is a challenge of the seizure
4861 of the DNS domain popcorn-time.no. The ruling simply did not mention
4862 most of our arguments, and seemed to take everything ØKOKRIM said at
4863 face value, ignoring our demonstration and explanations. But it is
4864 hard to tell for sure, as we still have not seen most of the documents
4865 in the case and thus were unprepared and unable to contradict several
4866 of the claims made in court by the opposition. We are considering an
4867 appeal, but it is partly a question of funding, as it is costing us
4868 quite a bit to pay for our lawyer. If you want to help, please
4869 &lt;a href=&quot;http://www.nuug.no/dns-beslag-donasjon.shtml&quot;&gt;donate to the
4870 NUUG defense fund&lt;/a&gt;.&lt;/p&gt;
4871
4872 &lt;p&gt;The details of the case, as far as we know it, is available in
4873 Norwegian from
4874 &lt;a href=&quot;https://www.nuug.no/news/tags/dns-domenebeslag/&quot;&gt;the NUUG
4875 blog&lt;/a&gt;. This also include
4876 &lt;a href=&quot;https://www.nuug.no/news/Avslag_etter_rettslig_h_ring_om_DNS_beslaget___vurderer_veien_videre.shtml&quot;&gt;the
4877 ruling itself&lt;/a&gt;.&lt;/p&gt;
4878 </description>
4879 </item>
4880
4881 <item>
4882 <title>A day in court challenging seizure of popcorn-time.no for #domstolkontroll</title>
4883 <link>http://people.skolelinux.org/pere/blog/A_day_in_court_challenging_seizure_of_popcorn_time_no_for__domstolkontroll.html</link>
4884 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_day_in_court_challenging_seizure_of_popcorn_time_no_for__domstolkontroll.html</guid>
4885 <pubDate>Fri, 3 Feb 2017 11:10:00 +0100</pubDate>
4886 <description>&lt;p align=&quot;center&quot;&gt;&lt;img width=&quot;70%&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2017-02-01-popcorn-time-in-court.jpeg&quot;&gt;&lt;/p&gt;
4887
4888 &lt;p&gt;On Wednesday, I spent the entire day in court in Follo Tingrett
4889 representing &lt;a href=&quot;https://www.nuug.no/&quot;&gt;the member association
4890 NUUG&lt;/a&gt;, alongside &lt;a href=&quot;https://www.efn.no/&quot;&gt;the member
4891 association EFN&lt;/a&gt; and &lt;a href=&quot;http://www.imc.no&quot;&gt;the DNS registrar
4892 IMC&lt;/a&gt;, challenging the seizure of the DNS name popcorn-time.no. It
4893 was interesting to sit in a court of law for the first time in my
4894 life. Our team can be seen in the picture above: attorney Ola
4895 Tellesbø, EFN board member Tom Fredrik Blenning, IMC CEO Morten Emil
4896 Eriksen and NUUG board member Petter Reinholdtsen.&lt;/p&gt;
4897
4898 &lt;p&gt;&lt;a href=&quot;http://www.domstol.no/no/Enkelt-domstol/follo-tingrett/Nar-gar-rettssaken/Beramming/?cid=AAAA1701301512081262234UJFBVEZZZZZEJBAvtale&quot;&gt;The
4899 case at hand&lt;/a&gt; is that the Norwegian National Authority for
4900 Investigation and Prosecution of Economic and Environmental Crime (aka
4901 Økokrim) decided on their own, to seize a DNS domain early last
4902 year, without following
4903 &lt;a href=&quot;https://www.norid.no/no/regelverk/navnepolitikk/#link12&quot;&gt;the
4904 official policy of the Norwegian DNS authority&lt;/a&gt; which require a
4905 court decision. The web site in question was a site covering Popcorn
4906 Time. And Popcorn Time is the name of a technology with both legal
4907 and illegal applications. Popcorn Time is a client combining
4908 searching a Bittorrent directory available on the Internet with
4909 downloading/distribute content via Bittorrent and playing the
4910 downloaded content on screen. It can be used illegally if it is used
4911 to distribute content against the will of the right holder, but it can
4912 also be used legally to play a lot of content, for example the
4913 millions of movies
4914 &lt;a href=&quot;https://archive.org/details/movies&quot;&gt;available from the
4915 Internet Archive&lt;/a&gt; or the collection
4916 &lt;a href=&quot;http://vodo.net/films/&quot;&gt;available from Vodo&lt;/a&gt;. We created
4917 &lt;a href=&quot;magnet:?xt=urn:btih:86c1802af5a667ca56d3918aecb7d3c0f7173084&amp;dn=PresentasjonFolloTingrett.mov&amp;tr=udp%3A%2F%2Fpublic.popcorn-tracker.org%3A6969%2Fannounce&quot;&gt;a
4918 video demonstrating legally use of Popcorn Time&lt;/a&gt; and played it in
4919 Court. It can of course be downloaded using Bittorrent.&lt;/p&gt;
4920
4921 &lt;p&gt;I did not quite know what to expect from a day in court. The
4922 government held on to their version of the story and we held on to
4923 ours, and I hope the judge is able to make sense of it all. We will
4924 know in two weeks time. Unfortunately I do not have high hopes, as
4925 the Government have the upper hand here with more knowledge about the
4926 case, better training in handling criminal law and in general higher
4927 standing in the courts than fairly unknown DNS registrar and member
4928 associations. It is expensive to be right also in Norway. So far the
4929 case have cost more than NOK 70 000,-. To help fund the case, NUUG
4930 and EFN have asked for donations, and managed to collect around NOK 25
4931 000,- so far. Given the presentation from the Government, I expect
4932 the government to appeal if the case go our way. And if the case do
4933 not go our way, I hope we have enough funding to appeal.&lt;/p&gt;
4934
4935 &lt;p&gt;From the other side came two people from Økokrim. On the benches,
4936 appearing to be part of the group from the government were two people
4937 from the Simonsen Vogt Wiik lawyer office, and three others I am not
4938 quite sure who was. Økokrim had proposed to present two witnesses
4939 from The Motion Picture Association, but this was rejected because
4940 they did not speak Norwegian and it was a bit late to bring in a
4941 translator, but perhaps the two from MPA were present anyway. All
4942 seven appeared to know each other. Good to see the case is take
4943 seriously.&lt;/p&gt;
4944
4945 &lt;p&gt;If you, like me, believe the courts should be involved before a DNS
4946 domain is hijacked by the government, or you believe the Popcorn Time
4947 technology have a lot of useful and legal applications, I suggest you
4948 too &lt;a href=&quot;http://www.nuug.no/dns-beslag-donasjon.shtml&quot;&gt;donate to
4949 the NUUG defense fund&lt;/a&gt;. Both Bitcoin and bank transfer are
4950 available. If NUUG get more than we need for the legal action (very
4951 unlikely), the rest will be spend promoting free software, open
4952 standards and unix-like operating systems in Norway, so no matter what
4953 happens the money will be put to good use.&lt;/p&gt;
4954
4955 &lt;p&gt;If you want to lean more about the case, I recommend you check out
4956 &lt;a href=&quot;https://www.nuug.no/news/tags/dns-domenebeslag/&quot;&gt;the blog
4957 posts from NUUG covering the case&lt;/a&gt;. They cover the legal arguments
4958 on both sides.&lt;/p&gt;
4959 </description>
4960 </item>
4961
4962 <item>
4963 <title>Where did that package go? &amp;mdash; geolocated IP traceroute</title>
4964 <link>http://people.skolelinux.org/pere/blog/Where_did_that_package_go___mdash__geolocated_IP_traceroute.html</link>
4965 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Where_did_that_package_go___mdash__geolocated_IP_traceroute.html</guid>
4966 <pubDate>Mon, 9 Jan 2017 12:20:00 +0100</pubDate>
4967 <description>&lt;p&gt;Did you ever wonder where the web trafic really flow to reach the
4968 web servers, and who own the network equipment it is flowing through?
4969 It is possible to get a glimpse of this from using traceroute, but it
4970 is hard to find all the details. Many years ago, I wrote a system to
4971 map the Norwegian Internet (trying to figure out if our plans for a
4972 network game service would get low enough latency, and who we needed
4973 to talk to about setting up game servers close to the users. Back
4974 then I used traceroute output from many locations (I asked my friends
4975 to run a script and send me their traceroute output) to create the
4976 graph and the map. The output from traceroute typically look like
4977 this:
4978
4979 &lt;p&gt;&lt;pre&gt;
4980 traceroute to www.stortinget.no (85.88.67.10), 30 hops max, 60 byte packets
4981 1 uio-gw10.uio.no (129.240.202.1) 0.447 ms 0.486 ms 0.621 ms
4982 2 uio-gw8.uio.no (129.240.24.229) 0.467 ms 0.578 ms 0.675 ms
4983 3 oslo-gw1.uninett.no (128.39.65.17) 0.385 ms 0.373 ms 0.358 ms
4984 4 te3-1-2.br1.fn3.as2116.net (193.156.90.3) 1.174 ms 1.172 ms 1.153 ms
4985 5 he16-1-1.cr1.san110.as2116.net (195.0.244.234) 2.627 ms he16-1-1.cr2.oslosda310.as2116.net (195.0.244.48) 3.172 ms he16-1-1.cr1.san110.as2116.net (195.0.244.234) 2.857 ms
4986 6 ae1.ar8.oslosda310.as2116.net (195.0.242.39) 0.662 ms 0.637 ms ae0.ar8.oslosda310.as2116.net (195.0.242.23) 0.622 ms
4987 7 89.191.10.146 (89.191.10.146) 0.931 ms 0.917 ms 0.955 ms
4988 8 * * *
4989 9 * * *
4990 [...]
4991 &lt;/pre&gt;&lt;/p&gt;
4992
4993 &lt;p&gt;This show the DNS names and IP addresses of (at least some of the)
4994 network equipment involved in getting the data traffic from me to the
4995 www.stortinget.no server, and how long it took in milliseconds for a
4996 package to reach the equipment and return to me. Three packages are
4997 sent, and some times the packages do not follow the same path. This
4998 is shown for hop 5, where three different IP addresses replied to the
4999 traceroute request.&lt;/p&gt;
5000
5001 &lt;p&gt;There are many ways to measure trace routes. Other good traceroute
5002 implementations I use are traceroute (using ICMP packages) mtr (can do
5003 both ICMP, UDP and TCP) and scapy (python library with ICMP, UDP, TCP
5004 traceroute and a lot of other capabilities). All of them are easily
5005 available in &lt;a href=&quot;https://www.debian.org/&quot;&gt;Debian&lt;/a&gt;.&lt;/p&gt;
5006
5007 &lt;p&gt;This time around, I wanted to know the geographic location of
5008 different route points, to visualize how visiting a web page spread
5009 information about the visit to a lot of servers around the globe. The
5010 background is that a web site today often will ask the browser to get
5011 from many servers the parts (for example HTML, JSON, fonts,
5012 JavaScript, CSS, video) required to display the content. This will
5013 leak information about the visit to those controlling these servers
5014 and anyone able to peek at the data traffic passing by (like your ISP,
5015 the ISPs backbone provider, FRA, GCHQ, NSA and others).&lt;/p&gt;
5016
5017 &lt;p&gt;Lets pick an example, the Norwegian parliament web site
5018 www.stortinget.no. It is read daily by all members of parliament and
5019 their staff, as well as political journalists, activits and many other
5020 citizens of Norway. A visit to the www.stortinget.no web site will
5021 ask your browser to contact 8 other servers: ajax.googleapis.com,
5022 insights.hotjar.com, script.hotjar.com, static.hotjar.com,
5023 stats.g.doubleclick.net, www.google-analytics.com,
5024 www.googletagmanager.com and www.netigate.se. I extracted this by
5025 asking &lt;a href=&quot;http://phantomjs.org/&quot;&gt;PhantomJS&lt;/a&gt; to visit the
5026 Stortinget web page and tell me all the URLs PhantomJS downloaded to
5027 render the page (in HAR format using
5028 &lt;a href=&quot;https://github.com/ariya/phantomjs/blob/master/examples/netsniff.js&quot;&gt;their
5029 netsniff example&lt;/a&gt;. I am very grateful to Gorm for showing me how
5030 to do this). My goal is to visualize network traces to all IP
5031 addresses behind these DNS names, do show where visitors personal
5032 information is spread when visiting the page.&lt;/p&gt;
5033
5034 &lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;www.stortinget.no-geoip.kml&quot;&gt;&lt;img
5035 src=&quot;http://people.skolelinux.org/pere/blog/images/2017-01-09-www.stortinget.no-geoip-small.png&quot; alt=&quot;map of combined traces for URLs used by www.stortinget.no using GeoIP&quot;/&gt;&lt;/a&gt;&lt;/p&gt;
5036
5037 &lt;p&gt;When I had a look around for options, I could not find any good
5038 free software tools to do this, and decided I needed my own traceroute
5039 wrapper outputting KML based on locations looked up using GeoIP. KML
5040 is easy to work with and easy to generate, and understood by several
5041 of the GIS tools I have available. I got good help from by NUUG
5042 colleague Anders Einar with this, and the result can be seen in
5043 &lt;a href=&quot;https://github.com/petterreinholdtsen/kmltraceroute&quot;&gt;my
5044 kmltraceroute git repository&lt;/a&gt;. Unfortunately, the quality of the
5045 free GeoIP databases I could find (and the for-pay databases my
5046 friends had access to) is not up to the task. The IP addresses of
5047 central Internet infrastructure would typically be placed near the
5048 controlling companies main office, and not where the router is really
5049 located, as you can see from &lt;a href=&quot;www.stortinget.no-geoip.kml&quot;&gt;the
5050 KML file I created&lt;/a&gt; using the GeoLite City dataset from MaxMind.
5051
5052 &lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;http://people.skolelinux.org/pere/blog/images/2017-01-09-www.stortinget.no-scapy.svg&quot;&gt;&lt;img
5053 src=&quot;http://people.skolelinux.org/pere/blog/images/2017-01-09-www.stortinget.no-scapy-small.png&quot; alt=&quot;scapy traceroute graph for URLs used by www.stortinget.no&quot;/&gt;&lt;/a&gt;&lt;/p&gt;
5054
5055 &lt;p&gt;I also had a look at the visual traceroute graph created by
5056 &lt;a href=&quot;http://www.secdev.org/projects/scapy/&quot;&gt;the scrapy project&lt;/a&gt;,
5057 showing IP network ownership (aka AS owner) for the IP address in
5058 question.
5059 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/images/2017-01-09-www.stortinget.no-scapy.svg&quot;&gt;The
5060 graph display a lot of useful information about the traceroute in SVG
5061 format&lt;/a&gt;, and give a good indication on who control the network
5062 equipment involved, but it do not include geolocation. This graph
5063 make it possible to see the information is made available at least for
5064 UNINETT, Catchcom, Stortinget, Nordunet, Google, Amazon, Telia, Level
5065 3 Communications and NetDNA.&lt;/p&gt;
5066
5067 &lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;https://geotraceroute.com/index.php?node=4&amp;host=www.stortinget.no&quot;&gt;&lt;img
5068 src=&quot;http://people.skolelinux.org/pere/blog/images/2017-01-09-www.stortinget.no-geotraceroute-small.png&quot; alt=&quot;example geotraceroute view for www.stortinget.no&quot;/&gt;&lt;/a&gt;&lt;/p&gt;
5069
5070 &lt;p&gt;In the process, I came across the
5071 &lt;a href=&quot;https://geotraceroute.com/&quot;&gt;web service GeoTraceroute&lt;/a&gt; by
5072 Salim Gasmi. Its methology of combining guesses based on DNS names,
5073 various location databases and finally use latecy times to rule out
5074 candidate locations seemed to do a very good job of guessing correct
5075 geolocation. But it could only do one trace at the time, did not have
5076 a sensor in Norway and did not make the geolocations easily available
5077 for postprocessing. So I contacted the developer and asked if he
5078 would be willing to share the code (he refused until he had time to
5079 clean it up), but he was interested in providing the geolocations in a
5080 machine readable format, and willing to set up a sensor in Norway. So
5081 since yesterday, it is possible to run traces from Norway in this
5082 service thanks to a sensor node set up by
5083 &lt;a href=&quot;https://www.nuug.no/&quot;&gt;the NUUG assosiation&lt;/a&gt;, and get the
5084 trace in KML format for further processing.&lt;/p&gt;
5085
5086 &lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;http://people.skolelinux.org/pere/blog/images/2017-01-09-www.stortinget.no-geotraceroute-kml-join.kml&quot;&gt;&lt;img
5087 src=&quot;http://people.skolelinux.org/pere/blog/images/2017-01-09-www.stortinget.no-geotraceroute-kml-join.png&quot; alt=&quot;map of combined traces for URLs used by www.stortinget.no using geotraceroute&quot;/&gt;&lt;/a&gt;&lt;/p&gt;
5088
5089 &lt;p&gt;Here we can see a lot of trafic passes Sweden on its way to
5090 Denmark, Germany, Holland and Ireland. Plenty of places where the
5091 Snowden confirmations verified the traffic is read by various actors
5092 without your best interest as their top priority.&lt;/p&gt;
5093
5094 &lt;p&gt;Combining KML files is trivial using a text editor, so I could loop
5095 over all the hosts behind the urls imported by www.stortinget.no and
5096 ask for the KML file from GeoTraceroute, and create a combined KML
5097 file with all the traces (unfortunately only one of the IP addresses
5098 behind the DNS name is traced this time. To get them all, one would
5099 have to request traces using IP number instead of DNS names from
5100 GeoTraceroute). That might be the next step in this project.&lt;/p&gt;
5101
5102 &lt;p&gt;Armed with these tools, I find it a lot easier to figure out where
5103 the IP traffic moves and who control the boxes involved in moving it.
5104 And every time the link crosses for example the Swedish border, we can
5105 be sure Swedish Signal Intelligence (FRA) is listening, as GCHQ do in
5106 Britain and NSA in USA and cables around the globe. (Hm, what should
5107 we tell them? :) Keep that in mind if you ever send anything
5108 unencrypted over the Internet.&lt;/p&gt;
5109
5110 &lt;p&gt;PS: KML files are drawn using
5111 &lt;a href=&quot;http://ivanrublev.me/kml/&quot;&gt;the KML viewer from Ivan
5112 Rublev&lt;a/&gt;, as it was less cluttered than the local Linux application
5113 Marble. There are heaps of other options too.&lt;/p&gt;
5114
5115 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
5116 activities, please send Bitcoin donations to my address
5117 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
5118 </description>
5119 </item>
5120
5121 <item>
5122 <title>Introducing ical-archiver to split out old iCalendar entries</title>
5123 <link>http://people.skolelinux.org/pere/blog/Introducing_ical_archiver_to_split_out_old_iCalendar_entries.html</link>
5124 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Introducing_ical_archiver_to_split_out_old_iCalendar_entries.html</guid>
5125 <pubDate>Wed, 4 Jan 2017 12:20:00 +0100</pubDate>
5126 <description>&lt;p&gt;Do you have a large &lt;a href=&quot;https://icalendar.org/&quot;&gt;iCalendar&lt;/a&gt;
5127 file with lots of old entries, and would like to archive them to save
5128 space and resources? At least those of us using KOrganizer know that
5129 turning on and off an event set become slower and slower the more
5130 entries are in the set. While working on migrating our calendars to a
5131 &lt;a href=&quot;http://radicale.org/&quot;&gt;Radicale CalDAV server&lt;/a&gt; on our
5132 &lt;a href=&quot;https://freedomboxfoundation.org/&quot;&gt;Freedombox server&lt;/a/&gt;, my
5133 loved one wondered if I could find a way to split up the calendar file
5134 she had in KOrganizer, and I set out to write a tool. I spent a few
5135 days writing and polishing the system, and it is now ready for general
5136 consumption. The
5137 &lt;a href=&quot;https://github.com/petterreinholdtsen/ical-archiver&quot;&gt;code for
5138 ical-archiver&lt;/a&gt; is publicly available from a git repository on
5139 github. The system is written in Python and depend on
5140 &lt;a href=&quot;http://eventable.github.io/vobject/&quot;&gt;the vobject Python
5141 module&lt;/a&gt;.&lt;/p&gt;
5142
5143 &lt;p&gt;To use it, locate the iCalendar file you want to operate on and
5144 give it as an argument to the ical-archiver script. This will
5145 generate a set of new files, one file per component type per year for
5146 all components expiring more than two years in the past. The vevent,
5147 vtodo and vjournal entries are handled by the script. The remaining
5148 entries are stored in a &#39;remaining&#39; file.&lt;/p&gt;
5149
5150 &lt;p&gt;This is what a test run can look like:
5151
5152 &lt;p&gt;&lt;pre&gt;
5153 % ical-archiver t/2004-2016.ics
5154 Found 3612 vevents
5155 Found 6 vtodos
5156 Found 2 vjournals
5157 Writing t/2004-2016.ics-subset-vevent-2004.ics
5158 Writing t/2004-2016.ics-subset-vevent-2005.ics
5159 Writing t/2004-2016.ics-subset-vevent-2006.ics
5160 Writing t/2004-2016.ics-subset-vevent-2007.ics
5161 Writing t/2004-2016.ics-subset-vevent-2008.ics
5162 Writing t/2004-2016.ics-subset-vevent-2009.ics
5163 Writing t/2004-2016.ics-subset-vevent-2010.ics
5164 Writing t/2004-2016.ics-subset-vevent-2011.ics
5165 Writing t/2004-2016.ics-subset-vevent-2012.ics
5166 Writing t/2004-2016.ics-subset-vevent-2013.ics
5167 Writing t/2004-2016.ics-subset-vevent-2014.ics
5168 Writing t/2004-2016.ics-subset-vjournal-2007.ics
5169 Writing t/2004-2016.ics-subset-vjournal-2011.ics
5170 Writing t/2004-2016.ics-subset-vtodo-2012.ics
5171 Writing t/2004-2016.ics-remaining.ics
5172 %
5173 &lt;/pre&gt;&lt;/p&gt;
5174
5175 &lt;p&gt;As you can see, the original file is untouched and new files are
5176 written with names derived from the original file. If you are happy
5177 with their content, the *-remaining.ics file can replace the original
5178 the the others can be archived or imported as historical calendar
5179 collections.&lt;/p&gt;
5180
5181 &lt;p&gt;The script should probably be improved a bit. The error handling
5182 when discovering broken entries is not good, and I am not sure yet if
5183 it make sense to split different entry types into separate files or
5184 not. The program is thus likely to change. If you find it
5185 interesting, please get in touch. :)&lt;/p&gt;
5186
5187 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
5188 activities, please send Bitcoin donations to my address
5189 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
5190 </description>
5191 </item>
5192
5193 <item>
5194 <title>Appstream just learned how to map hardware to packages too!</title>
5195 <link>http://people.skolelinux.org/pere/blog/Appstream_just_learned_how_to_map_hardware_to_packages_too_.html</link>
5196 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Appstream_just_learned_how_to_map_hardware_to_packages_too_.html</guid>
5197 <pubDate>Fri, 23 Dec 2016 10:30:00 +0100</pubDate>
5198 <description>&lt;p&gt;I received a very nice Christmas present today. As my regular
5199 readers probably know, I have been working on the
5200 &lt;a href=&quot;http://packages.qa.debian.org/isenkram&quot;&gt;the Isenkram
5201 system&lt;/a&gt; for many years. The goal of the Isenkram system is to make
5202 it easier for users to figure out what to install to get a given piece
5203 of hardware to work in Debian, and a key part of this system is a way
5204 to map hardware to packages. Isenkram have its own mapping database,
5205 and also uses data provided by each package using the AppStream
5206 metadata format. And today,
5207 &lt;a href=&quot;https://tracker.debian.org/pkg/appstream&quot;&gt;AppStream&lt;/a&gt; in
5208 Debian learned to look up hardware the same way Isenkram is doing it,
5209 ie using fnmatch():&lt;/p&gt;
5210
5211 &lt;p&gt;&lt;pre&gt;
5212 % appstreamcli what-provides modalias \
5213 usb:v1130p0202d0100dc00dsc00dp00ic03isc00ip00in00
5214 Identifier: pymissile [generic]
5215 Name: pymissile
5216 Summary: Control original Striker USB Missile Launcher
5217 Package: pymissile
5218 % appstreamcli what-provides modalias usb:v0694p0002d0000
5219 Identifier: libnxt [generic]
5220 Name: libnxt
5221 Summary: utility library for talking to the LEGO Mindstorms NXT brick
5222 Package: libnxt
5223 ---
5224 Identifier: t2n [generic]
5225 Name: t2n
5226 Summary: Simple command-line tool for Lego NXT
5227 Package: t2n
5228 ---
5229 Identifier: python-nxt [generic]
5230 Name: python-nxt
5231 Summary: Python driver/interface/wrapper for the Lego Mindstorms NXT robot
5232 Package: python-nxt
5233 ---
5234 Identifier: nbc [generic]
5235 Name: nbc
5236 Summary: C compiler for LEGO Mindstorms NXT bricks
5237 Package: nbc
5238 %
5239 &lt;/pre&gt;&lt;/p&gt;
5240
5241 &lt;p&gt;A similar query can be done using the combined AppStream and
5242 Isenkram databases using the isenkram-lookup tool:&lt;/p&gt;
5243
5244 &lt;p&gt;&lt;pre&gt;
5245 % isenkram-lookup usb:v1130p0202d0100dc00dsc00dp00ic03isc00ip00in00
5246 pymissile
5247 % isenkram-lookup usb:v0694p0002d0000
5248 libnxt
5249 nbc
5250 python-nxt
5251 t2n
5252 %
5253 &lt;/pre&gt;&lt;/p&gt;
5254
5255 &lt;p&gt;You can find modalias values relevant for your machine using
5256 &lt;tt&gt;cat $(find /sys/devices/ -name modalias)&lt;/tt&gt;.
5257
5258 &lt;p&gt;If you want to make this system a success and help Debian users
5259 make the most of the hardware they have, please
5260 help&lt;a href=&quot;https://wiki.debian.org/AppStream/Guidelines&quot;&gt;add
5261 AppStream metadata for your package following the guidelines&lt;/a&gt;
5262 documented in the wiki. So far only 11 packages provide such
5263 information, among the several hundred hardware specific packages in
5264 Debian. The Isenkram database on the other hand contain 101 packages,
5265 mostly related to USB dongles. Most of the packages with hardware
5266 mapping in AppStream are LEGO Mindstorms related, because I have, as
5267 part of my involvement in
5268 &lt;a href=&quot;https://wiki.debian.org/LegoDesigners&quot;&gt;the Debian LEGO
5269 team&lt;/a&gt; given priority to making sure LEGO users get proposed the
5270 complete set of packages in Debian for that particular hardware. The
5271 team also got a nice Christmas present today. The
5272 &lt;a href=&quot;https://tracker.debian.org/pkg/nxt-firmware&quot;&gt;nxt-firmware
5273 package&lt;/a&gt; made it into Debian. With this package in place, it is
5274 now possible to use the LEGO Mindstorms NXT unit with only free
5275 software, as the nxt-firmware package contain the source and firmware
5276 binaries for the NXT brick.&lt;/p&gt;
5277
5278 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
5279 activities, please send Bitcoin donations to my address
5280 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
5281 </description>
5282 </item>
5283
5284 <item>
5285 <title>Isenkram updated with a lot more hardware-package mappings</title>
5286 <link>http://people.skolelinux.org/pere/blog/Isenkram_updated_with_a_lot_more_hardware_package_mappings.html</link>
5287 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Isenkram_updated_with_a_lot_more_hardware_package_mappings.html</guid>
5288 <pubDate>Tue, 20 Dec 2016 11:55:00 +0100</pubDate>
5289 <description>&lt;p&gt;&lt;a href=&quot;http://packages.qa.debian.org/isenkram&quot;&gt;The Isenkram
5290 system&lt;/a&gt; I wrote two years ago to make it easier in Debian to find
5291 and install packages to get your hardware dongles to work, is still
5292 going strong. It is a system to look up the hardware present on or
5293 connected to the current system, and map the hardware to Debian
5294 packages. It can either be done using the tools in isenkram-cli or
5295 using the user space daemon in the isenkram package. The latter will
5296 notify you, when inserting new hardware, about what packages to
5297 install to get the dongle working. It will even provide a button to
5298 click on to ask packagekit to install the packages.&lt;/p&gt;
5299
5300 &lt;p&gt;Here is an command line example from my Thinkpad laptop:&lt;/p&gt;
5301
5302 &lt;p&gt;&lt;pre&gt;
5303 % isenkram-lookup
5304 bluez
5305 cheese
5306 ethtool
5307 fprintd
5308 fprintd-demo
5309 gkrellm-thinkbat
5310 hdapsd
5311 libpam-fprintd
5312 pidgin-blinklight
5313 thinkfan
5314 tlp
5315 tp-smapi-dkms
5316 tp-smapi-source
5317 tpb
5318 %
5319 &lt;/pre&gt;&lt;/p&gt;
5320
5321 &lt;p&gt;It can also list the firware package providing firmware requested
5322 by the load kernel modules, which in my case is an empty list because
5323 I have all the firmware my machine need:
5324
5325 &lt;p&gt;&lt;pre&gt;
5326 % /usr/sbin/isenkram-autoinstall-firmware -l
5327 info: did not find any firmware files requested by loaded kernel modules. exiting
5328 %
5329 &lt;/pre&gt;&lt;/p&gt;
5330
5331 &lt;p&gt;The last few days I had a look at several of the around 250
5332 packages in Debian with udev rules. These seem like good candidates
5333 to install when a given hardware dongle is inserted, and I found
5334 several that should be proposed by isenkram. I have not had time to
5335 check all of them, but am happy to report that now there are 97
5336 packages packages mapped to hardware by Isenkram. 11 of these
5337 packages provide hardware mapping using AppStream, while the rest are
5338 listed in the modaliases file provided in isenkram.&lt;/p&gt;
5339
5340 &lt;p&gt;These are the packages with hardware mappings at the moment. The
5341 &lt;strong&gt;marked packages&lt;/strong&gt; are also announcing their hardware
5342 support using AppStream, for everyone to use:&lt;/p&gt;
5343
5344 &lt;p&gt;air-quality-sensor, alsa-firmware-loaders, argyll,
5345 &lt;strong&gt;array-info&lt;/strong&gt;, avarice, avrdude, b43-fwcutter,
5346 bit-babbler, bluez, bluez-firmware, &lt;strong&gt;brltty&lt;/strong&gt;,
5347 &lt;strong&gt;broadcom-sta-dkms&lt;/strong&gt;, calibre, cgminer, cheese, colord,
5348 &lt;strong&gt;colorhug-client&lt;/strong&gt;, dahdi-firmware-nonfree, dahdi-linux,
5349 dfu-util, dolphin-emu, ekeyd, ethtool, firmware-ipw2x00, fprintd,
5350 fprintd-demo, &lt;strong&gt;galileo&lt;/strong&gt;, gkrellm-thinkbat, gphoto2,
5351 gpsbabel, gpsbabel-gui, gpsman, gpstrans, gqrx-sdr, gr-fcdproplus,
5352 gr-osmosdr, gtkpod, hackrf, hdapsd, hdmi2usb-udev, hpijs-ppds, hplip,
5353 ipw3945-source, ipw3945d, kde-config-tablet, kinect-audio-setup,
5354 &lt;strong&gt;libnxt&lt;/strong&gt;, libpam-fprintd, &lt;strong&gt;lomoco&lt;/strong&gt;,
5355 madwimax, minidisc-utils, mkgmap, msi-keyboard, mtkbabel,
5356 &lt;strong&gt;nbc&lt;/strong&gt;, &lt;strong&gt;nqc&lt;/strong&gt;, nut-hal-drivers, ola,
5357 open-vm-toolbox, open-vm-tools, openambit, pcgminer, pcmciautils,
5358 pcscd, pidgin-blinklight, printer-driver-splix,
5359 &lt;strong&gt;pymissile&lt;/strong&gt;, python-nxt, qlandkartegt,
5360 qlandkartegt-garmin, rosegarden, rt2x00-source, sispmctl,
5361 soapysdr-module-hackrf, solaar, squeak-plugins-scratch, sunxi-tools,
5362 &lt;strong&gt;t2n&lt;/strong&gt;, thinkfan, thinkfinger-tools, tlp, tp-smapi-dkms,
5363 tp-smapi-source, tpb, tucnak, uhd-host, usbmuxd, viking,
5364 virtualbox-ose-guest-x11, w1retap, xawtv, xserver-xorg-input-vmmouse,
5365 xserver-xorg-input-wacom, xserver-xorg-video-qxl,
5366 xserver-xorg-video-vmware, yubikey-personalization and
5367 zd1211-firmware&lt;/p&gt;
5368
5369 &lt;p&gt;If you know of other packages, please let me know with a wishlist
5370 bug report against the isenkram-cli package, and ask the package
5371 maintainer to
5372 &lt;a href=&quot;https://wiki.debian.org/AppStream/Guidelines&quot;&gt;add AppStream
5373 metadata according to the guidelines&lt;/a&gt; to provide the information
5374 for everyone. In time, I hope to get rid of the isenkram specific
5375 hardware mapping and depend exclusively on AppStream.&lt;/p&gt;
5376
5377 &lt;p&gt;Note, the AppStream metadata for broadcom-sta-dkms is matching too
5378 much hardware, and suggest that the package with with any ethernet
5379 card. See &lt;a href=&quot;http://bugs.debian.org/838735&quot;&gt;bug #838735&lt;/a&gt; for
5380 the details. I hope the maintainer find time to address it soon. In
5381 the mean time I provide an override in isenkram.&lt;/p&gt;
5382 </description>
5383 </item>
5384
5385 <item>
5386 <title>Oolite, a life in space as vagabond and mercenary - nice free software</title>
5387 <link>http://people.skolelinux.org/pere/blog/Oolite__a_life_in_space_as_vagabond_and_mercenary___nice_free_software.html</link>
5388 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Oolite__a_life_in_space_as_vagabond_and_mercenary___nice_free_software.html</guid>
5389 <pubDate>Sun, 11 Dec 2016 11:40:00 +0100</pubDate>
5390 <description>&lt;p align=&quot;center&quot;&gt;&lt;img width=&quot;70%&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2016-12-11-nice-oolite.png&quot;/&gt;&lt;/p&gt;
5391
5392 &lt;p&gt;In my early years, I played
5393 &lt;a href=&quot;http://wiki.alioth.net/index.php/Classic_Elite&quot;&gt;the epic game
5394 Elite&lt;/a&gt; on my PC. I spent many months trading and fighting in
5395 space, and reached the &#39;elite&#39; fighting status before I moved on. The
5396 original Elite game was available on Commodore 64 and the IBM PC
5397 edition I played had a 64 KB executable. I am still impressed today
5398 that the authors managed to squeeze both a 3D engine and details about
5399 more than 2000 planet systems across 7 galaxies into a binary so
5400 small.&lt;/p&gt;
5401
5402 &lt;p&gt;I have known about &lt;a href=&quot;http://www.oolite.org/&quot;&gt;the free
5403 software game Oolite inspired by Elite&lt;/a&gt; for a while, but did not
5404 really have time to test it properly until a few days ago. It was
5405 great to discover that my old knowledge about trading routes were
5406 still valid. But my fighting and flying abilities were gone, so I had
5407 to retrain to be able to dock on a space station. And I am still not
5408 able to make much resistance when I am attacked by pirates, so I
5409 bougth and mounted the most powerful laser in the rear to be able to
5410 put up at least some resistance while fleeing for my life. :)&lt;/p&gt;
5411
5412 &lt;p&gt;When playing Elite in the late eighties, I had to discover
5413 everything on my own, and I had long lists of prices seen on different
5414 planets to be able to decide where to trade what. This time I had the
5415 advantages of the
5416 &lt;a href=&quot;http://wiki.alioth.net/index.php/Main_Page&quot;&gt;Elite wiki&lt;/a&gt;,
5417 where information about each planet is easily available with common
5418 price ranges and suggested trading routes. This improved my ability
5419 to earn money and I have been able to earn enough to buy a lot of
5420 useful equipent in a few days. I believe I originally played for
5421 months before I could get a docking computer, while now I could get it
5422 after less then a week.&lt;/p&gt;
5423
5424 &lt;p&gt;If you like science fiction and dreamed of a life as a vagabond in
5425 space, you should try out Oolite. It is available for Linux, MacOSX
5426 and Windows, and is included in Debian and derivatives since 2011.&lt;/p&gt;
5427
5428 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
5429 activities, please send Bitcoin donations to my address
5430 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
5431 </description>
5432 </item>
5433
5434 <item>
5435 <title>Quicker Debian installations using eatmydata</title>
5436 <link>http://people.skolelinux.org/pere/blog/Quicker_Debian_installations_using_eatmydata.html</link>
5437 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Quicker_Debian_installations_using_eatmydata.html</guid>
5438 <pubDate>Fri, 25 Nov 2016 14:50:00 +0100</pubDate>
5439 <description>&lt;p&gt;Two years ago, I did some experiments with eatmydata and the Debian
5440 installation system, observing how using
5441 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Speeding_up_the_Debian_installer_using_eatmydata_and_dpkg_divert.html&quot;&gt;eatmydata
5442 could speed up the installation&lt;/a&gt; quite a bit. My testing measured
5443 speedup around 20-40 percent for Debian Edu, where we install around
5444 1000 packages from within the installer. The eatmydata package
5445 provide a way to disable/delay file system flushing. This is a bit
5446 risky in the general case, as files that should be stored on disk will
5447 stay only in memory a bit longer than expected, causing problems if a
5448 machine crashes at an inconvenient time. But for an installation, if
5449 the machine crashes during installation the process is normally
5450 restarted, and avoiding disk operations as much as possible to speed
5451 up the process make perfect sense.
5452
5453 &lt;p&gt;I added code in the Debian Edu specific installation code to enable
5454 &lt;a href=&quot;https://tracker.debian.org/pkg/libeatmydata&quot;&gt;eatmydata&lt;/a&gt;,
5455 but did not have time to push it any further. But a few months ago I
5456 picked it up again and worked with the libeatmydata package maintainer
5457 Mattia Rizzolo to make it easier for everyone to get this installation
5458 speedup in Debian. Thanks to our cooperation There is now an
5459 eatmydata-udeb package in Debian testing and unstable, and simply
5460 enabling/installing it in debian-installer (d-i) is enough to get the
5461 quicker installations. It can be enabled using preseeding. The
5462 following untested kernel argument should do the trick:&lt;/p&gt;
5463
5464 &lt;blockquote&gt;&lt;pre&gt;
5465 preseed/early_command=&quot;anna-install eatmydata-udeb&quot;
5466 &lt;/pre&gt;&lt;/blockquote&gt;
5467
5468 &lt;p&gt;This should ask d-i to install the package inside the d-i
5469 environment early in the installation sequence. Having it installed
5470 in d-i in turn will make sure the relevant scripts are called just
5471 after debootstrap filled /target/ with the freshly installed Debian
5472 system to configure apt to run dpkg with eatmydata. This is enough to
5473 speed up the installation process. There is a proposal to
5474 &lt;a href=&quot;https://bugs.debian.org/841153&quot;&gt;extend the idea a bit further
5475 by using /etc/ld.so.preload instead of apt.conf&lt;/a&gt;, but I have not
5476 tested its impact.&lt;/p&gt;
5477
5478 </description>
5479 </item>
5480
5481 <item>
5482 <title>Coz profiler for multi-threaded software is now in Debian</title>
5483 <link>http://people.skolelinux.org/pere/blog/Coz_profiler_for_multi_threaded_software_is_now_in_Debian.html</link>
5484 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Coz_profiler_for_multi_threaded_software_is_now_in_Debian.html</guid>
5485 <pubDate>Sun, 13 Nov 2016 12:30:00 +0100</pubDate>
5486 <description>&lt;p&gt;&lt;a href=&quot;http://coz-profiler.org/&quot;&gt;The Coz profiler&lt;/a&gt;, a nice
5487 profiler able to run benchmarking experiments on the instrumented
5488 multi-threaded program, finally
5489 &lt;a href=&quot;https://tracker.debian.org/pkg/coz-profiler&quot;&gt;made it into
5490 Debian unstable yesterday&lt;/A&gt;. Lluís Vilanova and I have spent many
5491 months since
5492 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Coz_can_help_you_find_bottlenecks_in_multi_threaded_software___nice_free_software.html&quot;&gt;I
5493 blogged about the coz tool&lt;/a&gt; in August working with upstream to make
5494 it suitable for Debian. There are still issues with clang
5495 compatibility, inline assembly only working x86 and minimized
5496 JavaScript libraries.&lt;/p&gt;
5497
5498 &lt;p&gt;To test it, install &#39;coz-profiler&#39; using apt and run it like this:&lt;/p&gt;
5499
5500 &lt;p&gt;&lt;blockquote&gt;
5501 &lt;tt&gt;coz run --- /path/to/binary-with-debug-info&lt;/tt&gt;
5502 &lt;/blockquote&gt;&lt;/p&gt;
5503
5504 &lt;p&gt;This will produce a profile.coz file in the current working
5505 directory with the profiling information. This is then given to a
5506 JavaScript application provided in the package and available from
5507 &lt;a href=&quot;http://plasma-umass.github.io/coz/&quot;&gt;a project web page&lt;/a&gt;.
5508 To start the local copy, invoke it in a browser like this:&lt;/p&gt;
5509
5510 &lt;p&gt;&lt;blockquote&gt;
5511 &lt;tt&gt;sensible-browser /usr/share/coz-profiler/viewer/index.htm&lt;/tt&gt;
5512 &lt;/blockquote&gt;&lt;/p&gt;
5513
5514 &lt;p&gt;See the project home page and the
5515 &lt;a href=&quot;https://www.usenix.org/publications/login/summer2016/curtsinger&quot;&gt;USENIX
5516 ;login: article on Coz&lt;/a&gt; for more information on how it is
5517 working.&lt;/p&gt;
5518 </description>
5519 </item>
5520
5521 <item>
5522 <title>How to talk with your loved ones in private</title>
5523 <link>http://people.skolelinux.org/pere/blog/How_to_talk_with_your_loved_ones_in_private.html</link>
5524 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_talk_with_your_loved_ones_in_private.html</guid>
5525 <pubDate>Mon, 7 Nov 2016 10:25:00 +0100</pubDate>
5526 <description>&lt;p&gt;A few days ago I ran a very biased and informal survey to get an
5527 idea about what options are being used to communicate with end to end
5528 encryption with friends and family. I explicitly asked people not to
5529 list options only used in a work setting. The background is the
5530 uneasy feeling I get when using Signal, a feeling shared by others as
5531 a blog post from Sander Venima about
5532 &lt;a href=&quot;https://sandervenema.ch/2016/11/why-i-wont-recommend-signal-anymore/&quot;&gt;why
5533 he do not recommend Signal anymore&lt;/a&gt; (with
5534 &lt;a href=&quot;https://news.ycombinator.com/item?id=12883410&quot;&gt;feedback from
5535 the Signal author available from ycombinator&lt;/a&gt;). I wanted an
5536 overview of the options being used, and hope to include those options
5537 in a less biased survey later on. So far I have not taken the time to
5538 look into the individual proposed systems. They range from text
5539 sharing web pages, via file sharing and email to instant messaging,
5540 VOIP and video conferencing. For those considering which system to
5541 use, it is also useful to have a look at
5542 &lt;a href=&quot;https://www.eff.org/secure-messaging-scorecard&quot;&gt;the EFF Secure
5543 messaging scorecard&lt;/a&gt; which is slightly out of date but still
5544 provide valuable information.&lt;/p&gt;
5545
5546 &lt;p&gt;So, on to the list. There were some used by many, some used by a
5547 few, some rarely used ones and a few mentioned but without anyone
5548 claiming to use them. Notice the grouping is in reality quite random
5549 given the biased self selected set of participants. First the ones
5550 used by many:&lt;/p&gt;
5551
5552 &lt;ul&gt;
5553
5554 &lt;li&gt;&lt;a href=&quot;https://whispersystems.org/&quot;&gt;Signal&lt;/a&gt;&lt;/li&gt;
5555 &lt;li&gt;Email w/&lt;a href=&quot;http://openpgp.org/&quot;&gt;OpenPGP&lt;/a&gt; (Enigmail, GPGSuite,etc)&lt;/li&gt;
5556 &lt;li&gt;&lt;a href=&quot;https://www.whatsapp.com/&quot;&gt;Whatsapp&lt;/a&gt;&lt;/li&gt;
5557 &lt;li&gt;IRC w/&lt;a href=&quot;https://otr.cypherpunks.ca/&quot;&gt;OTR&lt;/a&gt;&lt;/li&gt;
5558 &lt;li&gt;XMPP w/&lt;a href=&quot;https://otr.cypherpunks.ca/&quot;&gt;OTR&lt;/a&gt;&lt;/li&gt;
5559
5560 &lt;/ul&gt;
5561
5562 &lt;p&gt;Then the ones used by a few.&lt;/p&gt;
5563
5564 &lt;ul&gt;
5565
5566 &lt;li&gt;&lt;a href=&quot;https://wiki.mumble.info/wiki/Main_Page&quot;&gt;Mumble&lt;/a&gt;&lt;/li&gt;
5567 &lt;li&gt;iMessage (included in iOS from Apple)&lt;/li&gt;
5568 &lt;li&gt;&lt;a href=&quot;https://telegram.org/&quot;&gt;Telegram&lt;/a&gt;&lt;/li&gt;
5569 &lt;li&gt;&lt;a href=&quot;https://jitsi.org/&quot;&gt;Jitsi&lt;/a&gt;&lt;/li&gt;
5570 &lt;li&gt;&lt;a href=&quot;https://keybase.io/download&quot;&gt;Keybase file&lt;/a&gt;&lt;/li&gt;
5571
5572 &lt;/ul&gt;
5573
5574 &lt;p&gt;Then the ones used by even fewer people&lt;/p&gt;
5575
5576 &lt;ul&gt;
5577
5578 &lt;li&gt;&lt;a href=&quot;https://ring.cx/&quot;&gt;Ring&lt;/a&gt;&lt;/li&gt;
5579 &lt;li&gt;&lt;a href=&quot;https://bitmessage.org/&quot;&gt;Bitmessage&lt;/a&gt;&lt;/li&gt;
5580 &lt;li&gt;&lt;a href=&quot;https://wire.com/&quot;&gt;Wire&lt;/a&gt;&lt;/li&gt;
5581 &lt;li&gt;VoIP w/&lt;a href=&quot;https://en.wikipedia.org/wiki/ZRTP&quot;&gt;ZRTP&lt;/a&gt; or controlled &lt;a href=&quot;https://en.wikipedia.org/wiki/Secure_Real-time_Transport_Protocol&quot;&gt;SRTP&lt;/a&gt; (e.g using &lt;a href=&quot;https://en.wikipedia.org/wiki/CSipSimple&quot;&gt;CSipSimple&lt;/a&gt;, &lt;a href=&quot;https://en.wikipedia.org/wiki/Linphone&quot;&gt;Linphone&lt;/a&gt;)&lt;/li&gt;
5582 &lt;li&gt;&lt;a href=&quot;https://matrix.org/&quot;&gt;Matrix&lt;/a&gt;&lt;/li&gt;
5583 &lt;li&gt;&lt;a href=&quot;https://kontalk.org/&quot;&gt;Kontalk&lt;/a&gt;&lt;/li&gt;
5584 &lt;li&gt;&lt;a href=&quot;https://0bin.net/&quot;&gt;0bin&lt;/a&gt; (encrypted pastebin)&lt;/li&gt;
5585 &lt;li&gt;&lt;a href=&quot;https://appear.in&quot;&gt;Appear.in&lt;/a&gt;&lt;/li&gt;
5586 &lt;li&gt;&lt;a href=&quot;https://riot.im/&quot;&gt;riot&lt;/a&gt;&lt;/li&gt;
5587 &lt;li&gt;&lt;a href=&quot;https://www.wickr.com/&quot;&gt;Wickr Me&lt;/a&gt;&lt;/li&gt;
5588
5589 &lt;/ul&gt;
5590
5591 &lt;p&gt;And finally the ones mentioned by not marked as used by
5592 anyone. This might be a mistake, perhaps the person adding the entry
5593 forgot to flag it as used?&lt;/p&gt;
5594
5595 &lt;ul&gt;
5596
5597 &lt;li&gt;Email w/Certificates &lt;a href=&quot;https://en.wikipedia.org/wiki/S/MIME&quot;&gt;S/MIME&lt;/a&gt;&lt;/li&gt;
5598 &lt;li&gt;&lt;a href=&quot;https://www.crypho.com/&quot;&gt;Crypho&lt;/a&gt;&lt;/li&gt;
5599 &lt;li&gt;&lt;a href=&quot;https://cryptpad.fr/&quot;&gt;CryptPad&lt;/a&gt;&lt;/li&gt;
5600 &lt;li&gt;&lt;a href=&quot;https://github.com/ricochet-im/ricochet&quot;&gt;ricochet&lt;/a&gt;&lt;/li&gt;
5601
5602 &lt;/ul&gt;
5603
5604 &lt;p&gt;Given the network effect it seem obvious to me that we as a society
5605 have been divided and conquered by those interested in keeping
5606 encrypted and secure communication away from the masses. The
5607 finishing remarks &lt;a href=&quot;https://vimeo.com/97505679&quot;&gt;from Aral Balkan
5608 in his talk &quot;Free is a lie&quot;&lt;/a&gt; about the usability of free software
5609 really come into effect when you want to communicate in private with
5610 your friends and family. We can not expect them to allow the
5611 usability of communication tool to block their ability to talk to
5612 their loved ones.&lt;/p&gt;
5613
5614 &lt;p&gt;Note for example the option IRC w/OTR. Most IRC clients do not
5615 have OTR support, so in most cases OTR would not be an option, even if
5616 you wanted to. In my personal experience, about 1 in 20 I talk to
5617 have a IRC client with OTR. For private communication to really be
5618 available, most people to talk to must have the option in their
5619 currently used client. I can not simply ask my family to install an
5620 IRC client. I need to guide them through a technical multi-step
5621 process of adding extensions to the client to get them going. This is
5622 a non-starter for most.&lt;/p&gt;
5623
5624 &lt;p&gt;I would like to be able to do video phone calls, audio phone calls,
5625 exchange instant messages and share files with my loved ones, without
5626 being forced to share with people I do not know. I do not want to
5627 share the content of the conversations, and I do not want to share who
5628 I communicate with or the fact that I communicate with someone.
5629 Without all these factors in place, my private life is being more or
5630 less invaded.&lt;/p&gt;
5631
5632 &lt;p&gt;&lt;strong&gt;Update 2019-10-08&lt;/strong&gt;: Børge Dvergsdal, who told me he
5633 is Customer Relationship Manager @ Whereby (formerly appear.in),
5634 asked if I could mention that appear.in is now renamed and found at
5635 &lt;a href=&quot;https://whereby.com/&quot;&gt;https://whereby.com/&lt;/a&gt;. And sure,
5636 why not. Apparently they changed the name because they were unable
5637 to trademark appear.in somewhere... While I am at it, I can mention
5638 that Ring changed name to Jami, now available from &lt;a
5639 href=&quot;https://jami.net/&quot;&gt;https://jami.net/&lt;/a&gt;. Luckily they were
5640 able to have a direct redirect from ring.cx to jami.net, so the user
5641 experience is almost the same.&lt;/p&gt;
5642 </description>
5643 </item>
5644
5645 <item>
5646 <title>My own self balancing Lego Segway</title>
5647 <link>http://people.skolelinux.org/pere/blog/My_own_self_balancing_Lego_Segway.html</link>
5648 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/My_own_self_balancing_Lego_Segway.html</guid>
5649 <pubDate>Fri, 4 Nov 2016 10:15:00 +0100</pubDate>
5650 <description>&lt;p&gt;A while back I received a Gyro sensor for the NXT
5651 &lt;a href=&quot;mindstorms.lego.com&quot;&gt;Mindstorms&lt;/a&gt; controller as a birthday
5652 present. It had been on my wishlist for a while, because I wanted to
5653 build a Segway like balancing lego robot. I had already built
5654 &lt;a href=&quot;http://www.nxtprograms.com/NXT2/segway/&quot;&gt;a simple balancing
5655 robot&lt;/a&gt; with the kids, using the light/color sensor included in the
5656 NXT kit as the balance sensor, but it was not working very well. It
5657 could balance for a while, but was very sensitive to the light
5658 condition in the room and the reflective properties of the surface and
5659 would fall over after a short while. I wanted something more robust,
5660 and had
5661 &lt;a href=&quot;https://www.hitechnic.com/cgi-bin/commerce.cgi?preadd=action&amp;key=NGY1044&quot;&gt;the
5662 gyro sensor from HiTechnic&lt;/a&gt; I believed would solve it on my
5663 wishlist for some years before it suddenly showed up as a gift from my
5664 loved ones. :)&lt;/p&gt;
5665
5666 &lt;p&gt;Unfortunately I have not had time to sit down and play with it
5667 since then. But that changed some days ago, when I was searching for
5668 lego segway information and came across a recipe from HiTechnic for
5669 building
5670 &lt;a href=&quot;http://www.hitechnic.com/blog/gyro-sensor/htway/&quot;&gt;the
5671 HTWay&lt;/a&gt;, a segway like balancing robot. Build instructions and
5672 &lt;a href=&quot;https://www.hitechnic.com/upload/786-HTWayC.nxc&quot;&gt;source
5673 code&lt;/a&gt; was included, so it was just a question of putting it all
5674 together. And thanks to the great work of many Debian developers, the
5675 compiler needed to build the source for the NXT is already included in
5676 Debian, so I was read to go in less than an hour. The resulting robot
5677 do not look very impressive in its simplicity:&lt;/p&gt;
5678
5679 &lt;p align=&quot;center&quot;&gt;&lt;img width=&quot;70%&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2016-11-04-lego-htway-robot.jpeg&quot;&gt;&lt;/p&gt;
5680
5681 &lt;p&gt;Because I lack the infrared sensor used to control the robot in the
5682 design from HiTechnic, I had to comment out the last task
5683 (taskControl). I simply placed /* and */ around it get the program
5684 working without that sensor present. Now it balances just fine until
5685 the battery status run low:&lt;/p&gt;
5686
5687 &lt;p align=&quot;center&quot;&gt;&lt;video width=&quot;70%&quot; controls=&quot;true&quot;&gt;
5688 &lt;source src=&quot;http://people.skolelinux.org/pere/blog/images/2016-11-04-lego-htway-balancing.ogv&quot; type=&quot;video/ogg&quot;&gt;
5689 &lt;/video&gt;&lt;/p&gt;
5690
5691 &lt;p&gt;Now we would like to teach it how to follow a line and take remote
5692 control instructions using the included Bluetooth receiver in the NXT.&lt;/p&gt;
5693
5694 &lt;p&gt;If you, like me, love LEGO and want to make sure we find the tools
5695 they need to work with LEGO in Debian and all our derivative
5696 distributions like Ubuntu, check out
5697 &lt;a href=&quot;http://wiki.debian.org/LegoDesigners&quot;&gt;the LEGO designers
5698 project page&lt;/a&gt; and join the Debian LEGO team. Personally I own a
5699 RCX and NXT controller (no EV3), and would like to make sure the
5700 Debian tools needed to program the systems I own work as they
5701 should.&lt;/p&gt;
5702 </description>
5703 </item>
5704
5705 <item>
5706 <title>Experience and updated recipe for using the Signal app without a mobile phone</title>
5707 <link>http://people.skolelinux.org/pere/blog/Experience_and_updated_recipe_for_using_the_Signal_app_without_a_mobile_phone.html</link>
5708 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Experience_and_updated_recipe_for_using_the_Signal_app_without_a_mobile_phone.html</guid>
5709 <pubDate>Mon, 10 Oct 2016 11:30:00 +0200</pubDate>
5710 <description>&lt;p&gt;In July
5711 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/How_to_use_the_Signal_app_if_you_only_have_a_land_line__ie_no_mobile_phone_.html&quot;&gt;I
5712 wrote how to get the Signal Chrome/Chromium app working&lt;/a&gt; without
5713 the ability to receive SMS messages (aka without a cell phone). It is
5714 time to share some experiences and provide an updated setup.&lt;/p&gt;
5715
5716 &lt;p&gt;The Signal app have worked fine for several months now, and I use
5717 it regularly to chat with my loved ones. I had a major snag at the
5718 end of my summer vacation, when the the app completely forgot my
5719 setup, identity and keys. The reason behind this major mess was
5720 running out of disk space. To avoid that ever happening again I have
5721 started storing everything in &lt;tt&gt;userdata/&lt;/tt&gt; in git, to be able to
5722 roll back to an earlier version if the files are wiped by mistake. I
5723 had to use it once after introducing the git backup. When rolling
5724 back to an earlier version, one need to use the &#39;reset session&#39; option
5725 in Signal to get going, and notify the people you talk with about the
5726 problem. I assume there is some sequence number tracking in the
5727 protocol to detect rollback attacks. The git repository is rather big
5728 (674 MiB so far), but I have not tried to figure out if some of the
5729 content can be added to a .gitignore file due to lack of spare
5730 time.&lt;/p&gt;
5731
5732 &lt;p&gt;I&#39;ve also hit the 90 days timeout blocking, and noticed that this
5733 make it impossible to send messages using Signal. I could still
5734 receive them, but had to patch the code with a new timestamp to send.
5735 I believe the timeout is added by the developers to force people to
5736 upgrade to the latest version of the app, even when there is no
5737 protocol changes, to reduce the version skew among the user base and
5738 thus try to keep the number of support requests down.&lt;/p&gt;
5739
5740 &lt;p&gt;Since my original recipe, the Signal source code changed slightly,
5741 making the old patch fail to apply cleanly. Below is an updated
5742 patch, including the shell wrapper I use to start Signal. The
5743 original version required a new user to locate the JavaScript console
5744 and call a function from there. I got help from a friend with more
5745 JavaScript knowledge than me to modify the code to provide a GUI
5746 button instead. This mean that to get started you just need to run
5747 the wrapper and click the &#39;Register without mobile phone&#39; to get going
5748 now. I&#39;ve also modified the timeout code to always set it to 90 days
5749 in the future, to avoid having to patch the code regularly.&lt;/p&gt;
5750
5751 &lt;p&gt;So, the updated recipe for Debian Jessie:&lt;/p&gt;
5752
5753 &lt;ol&gt;
5754
5755 &lt;li&gt;First, install required packages to get the source code and the
5756 browser you need. Signal only work with Chrome/Chromium, as far as I
5757 know, so you need to install it.
5758
5759 &lt;pre&gt;
5760 apt install git tor chromium
5761 git clone https://github.com/WhisperSystems/Signal-Desktop.git
5762 &lt;/pre&gt;&lt;/li&gt;
5763
5764 &lt;li&gt;Modify the source code using command listed in the the patch
5765 block below.&lt;/li&gt;
5766
5767 &lt;li&gt;Start Signal using the run-signal-app wrapper (for example using
5768 &lt;tt&gt;`pwd`/run-signal-app&lt;/tt&gt;).
5769
5770 &lt;li&gt;Click on the &#39;Register without mobile phone&#39;, will in a phone
5771 number you can receive calls to the next minute, receive the
5772 verification code and enter it into the form field and press
5773 &#39;Register&#39;. Note, the phone number you use will be user Signal
5774 username, ie the way others can find you on Signal.&lt;/li&gt;
5775
5776 &lt;li&gt;You can now use Signal to contact others. Note, new contacts do
5777 not show up in the contact list until you restart Signal, and there is
5778 no way to assign names to Contacts. There is also no way to create or
5779 update chat groups. I suspect this is because the web app do not have
5780 a associated contact database.&lt;/li&gt;
5781
5782 &lt;/ol&gt;
5783
5784 &lt;p&gt;I am still a bit uneasy about using Signal, because of the way its
5785 main author moxie0 reject federation and accept dependencies to major
5786 corporations like Google (part of the code is fetched from Google) and
5787 Amazon (the central coordination point is owned by Amazon). See for
5788 example
5789 &lt;a href=&quot;https://github.com/LibreSignal/LibreSignal/issues/37&quot;&gt;the
5790 LibreSignal issue tracker&lt;/a&gt; for a thread documenting the authors
5791 view on these issues. But the network effect is strong in this case,
5792 and several of the people I want to communicate with already use
5793 Signal. Perhaps we can all move to &lt;a href=&quot;https://ring.cx/&quot;&gt;Ring&lt;/a&gt;
5794 once it &lt;a href=&quot;https://bugs.debian.org/830265&quot;&gt;work on my
5795 laptop&lt;/a&gt;? It already work on Windows and Android, and is included
5796 in &lt;a href=&quot;https://tracker.debian.org/pkg/ring&quot;&gt;Debian&lt;/a&gt; and
5797 &lt;a href=&quot;https://launchpad.net/ubuntu/+source/ring&quot;&gt;Ubuntu&lt;/a&gt;, but not
5798 working on Debian Stable.&lt;/p&gt;
5799
5800 &lt;p&gt;Anyway, this is the patch I apply to the Signal code to get it
5801 working. It switch to the production servers, disable to timeout,
5802 make registration easier and add the shell wrapper:&lt;/p&gt;
5803
5804 &lt;pre&gt;
5805 cd Signal-Desktop; cat &amp;lt;&amp;lt;EOF | patch -p1
5806 diff --git a/js/background.js b/js/background.js
5807 index 24b4c1d..579345f 100644
5808 --- a/js/background.js
5809 +++ b/js/background.js
5810 @@ -33,9 +33,9 @@
5811 });
5812 });
5813
5814 - var SERVER_URL = &#39;https://textsecure-service-staging.whispersystems.org&#39;;
5815 + var SERVER_URL = &#39;https://textsecure-service-ca.whispersystems.org&#39;;
5816 var SERVER_PORTS = [80, 4433, 8443];
5817 - var ATTACHMENT_SERVER_URL = &#39;https://whispersystems-textsecure-attachments-staging.s3.amazonaws.com&#39;;
5818 + var ATTACHMENT_SERVER_URL = &#39;https://whispersystems-textsecure-attachments.s3.amazonaws.com&#39;;
5819 var messageReceiver;
5820 window.getSocketStatus = function() {
5821 if (messageReceiver) {
5822 diff --git a/js/expire.js b/js/expire.js
5823 index 639aeae..beb91c3 100644
5824 --- a/js/expire.js
5825 +++ b/js/expire.js
5826 @@ -1,6 +1,6 @@
5827 ;(function() {
5828 &#39;use strict&#39;;
5829 - var BUILD_EXPIRATION = 0;
5830 + var BUILD_EXPIRATION = Date.now() + (90 * 24 * 60 * 60 * 1000);
5831
5832 window.extension = window.extension || {};
5833
5834 diff --git a/js/views/install_view.js b/js/views/install_view.js
5835 index 7816f4f..1d6233b 100644
5836 --- a/js/views/install_view.js
5837 +++ b/js/views/install_view.js
5838 @@ -38,7 +38,8 @@
5839 return {
5840 &#39;click .step1&#39;: this.selectStep.bind(this, 1),
5841 &#39;click .step2&#39;: this.selectStep.bind(this, 2),
5842 - &#39;click .step3&#39;: this.selectStep.bind(this, 3)
5843 + &#39;click .step3&#39;: this.selectStep.bind(this, 3),
5844 + &#39;click .callreg&#39;: function() { extension.install(&#39;standalone&#39;) },
5845 };
5846 },
5847 clearQR: function() {
5848 diff --git a/options.html b/options.html
5849 index dc0f28e..8d709f6 100644
5850 --- a/options.html
5851 +++ b/options.html
5852 @@ -14,7 +14,10 @@
5853 &amp;lt;div class=&#39;nav&#39;&gt;
5854 &amp;lt;h1&gt;{{ installWelcome }}&amp;lt;/h1&gt;
5855 &amp;lt;p&gt;{{ installTagline }}&amp;lt;/p&gt;
5856 - &amp;lt;div&gt; &amp;lt;a class=&#39;button step2&#39;&gt;{{ installGetStartedButton }}&amp;lt;/a&gt; &amp;lt;/div&gt;
5857 + &amp;lt;div&gt; &amp;lt;a class=&#39;button step2&#39;&gt;{{ installGetStartedButton }}&amp;lt;/a&gt;
5858 + &amp;lt;br&gt; &amp;lt;a class=&quot;button callreg&quot;&gt;Register without mobile phone&amp;lt;/a&gt;
5859 +
5860 + &amp;lt;/div&gt;
5861 &amp;lt;span class=&#39;dot step1 selected&#39;&gt;&amp;lt;/span&gt;
5862 &amp;lt;span class=&#39;dot step2&#39;&gt;&amp;lt;/span&gt;
5863 &amp;lt;span class=&#39;dot step3&#39;&gt;&amp;lt;/span&gt;
5864 --- /dev/null 2016-10-07 09:55:13.730181472 +0200
5865 +++ b/run-signal-app 2016-10-10 08:54:09.434172391 +0200
5866 @@ -0,0 +1,12 @@
5867 +#!/bin/sh
5868 +set -e
5869 +cd $(dirname $0)
5870 +mkdir -p userdata
5871 +userdata=&quot;`pwd`/userdata&quot;
5872 +if [ -d &quot;$userdata&quot; ] &amp;&amp; [ ! -d &quot;$userdata/.git&quot; ] ; then
5873 + (cd $userdata &amp;&amp; git init)
5874 +fi
5875 +(cd $userdata &amp;&amp; git add . &amp;&amp; git commit -m &quot;Current status.&quot; || true)
5876 +exec chromium \
5877 + --proxy-server=&quot;socks://localhost:9050&quot; \
5878 + --user-data-dir=$userdata --load-and-launch-app=`pwd`
5879 EOF
5880 chmod a+rx run-signal-app
5881 &lt;/pre&gt;
5882
5883 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
5884 activities, please send Bitcoin donations to my address
5885 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
5886 </description>
5887 </item>
5888
5889 <item>
5890 <title>Isenkram, Appstream and udev make life as a LEGO builder easier</title>
5891 <link>http://people.skolelinux.org/pere/blog/Isenkram__Appstream_and_udev_make_life_as_a_LEGO_builder_easier.html</link>
5892 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Isenkram__Appstream_and_udev_make_life_as_a_LEGO_builder_easier.html</guid>
5893 <pubDate>Fri, 7 Oct 2016 09:50:00 +0200</pubDate>
5894 <description>&lt;p&gt;&lt;a href=&quot;http://packages.qa.debian.org/isenkram&quot;&gt;The Isenkram
5895 system&lt;/a&gt; provide a practical and easy way to figure out which
5896 packages support the hardware in a given machine. The command line
5897 tool &lt;tt&gt;isenkram-lookup&lt;/tt&gt; and the tasksel options provide a
5898 convenient way to list and install packages relevant for the current
5899 hardware during system installation, both user space packages and
5900 firmware packages. The GUI background daemon on the other hand provide
5901 a pop-up proposing to install packages when a new dongle is inserted
5902 while using the computer. For example, if you plug in a smart card
5903 reader, the system will ask if you want to install &lt;tt&gt;pcscd&lt;/tt&gt; if
5904 that package isn&#39;t already installed, and if you plug in a USB video
5905 camera the system will ask if you want to install &lt;tt&gt;cheese&lt;/tt&gt; if
5906 cheese is currently missing. This already work just fine.&lt;/p&gt;
5907
5908 &lt;p&gt;But Isenkram depend on a database mapping from hardware IDs to
5909 package names. When I started no such database existed in Debian, so
5910 I made my own data set and included it with the isenkram package and
5911 made isenkram fetch the latest version of this database from git using
5912 http. This way the isenkram users would get updated package proposals
5913 as soon as I learned more about hardware related packages.&lt;/p&gt;
5914
5915 &lt;p&gt;The hardware is identified using modalias strings. The modalias
5916 design is from the Linux kernel where most hardware descriptors are
5917 made available as a strings that can be matched using filename style
5918 globbing. It handle USB, PCI, DMI and a lot of other hardware related
5919 identifiers.&lt;/p&gt;
5920
5921 &lt;p&gt;The downside to the Isenkram specific database is that there is no
5922 information about relevant distribution / Debian version, making
5923 isenkram propose obsolete packages too. But along came AppStream, a
5924 cross distribution mechanism to store and collect metadata about
5925 software packages. When I heard about the proposal, I contacted the
5926 people involved and suggested to add a hardware matching rule using
5927 modalias strings in the specification, to be able to use AppStream for
5928 mapping hardware to packages. This idea was accepted and AppStream is
5929 now a great way for a package to announce the hardware it support in a
5930 distribution neutral way. I wrote
5931 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Using_appstream_with_isenkram_to_install_hardware_related_packages_in_Debian.html&quot;&gt;a
5932 recipe on how to add such meta-information&lt;/a&gt; in a blog post last
5933 December. If you have a hardware related package in Debian, please
5934 announce the relevant hardware IDs using AppStream.&lt;/p&gt;
5935
5936 &lt;p&gt;In Debian, almost all packages that can talk to a LEGO Mindestorms
5937 RCX or NXT unit, announce this support using AppStream. The effect is
5938 that when you insert such LEGO robot controller into your Debian
5939 machine, Isenkram will propose to install the packages needed to get
5940 it working. The intention is that this should allow the local user to
5941 start programming his robot controller right away without having to
5942 guess what packages to use or which permissions to fix.&lt;/p&gt;
5943
5944 &lt;p&gt;But when I sat down with my son the other day to program our NXT
5945 unit using his Debian Stretch computer, I discovered something
5946 annoying. The local console user (ie my son) did not get access to
5947 the USB device for programming the unit. This used to work, but no
5948 longer in Jessie and Stretch. After some investigation and asking
5949 around on #debian-devel, I discovered that this was because udev had
5950 changed the mechanism used to grant access to local devices. The
5951 ConsoleKit mechanism from &lt;tt&gt;/lib/udev/rules.d/70-udev-acl.rules&lt;/tt&gt;
5952 no longer applied, because LDAP users no longer was added to the
5953 plugdev group during login. Michael Biebl told me that this method
5954 was obsolete and the new method used ACLs instead. This was good
5955 news, as the plugdev mechanism is a mess when using a remote user
5956 directory like LDAP. Using ACLs would make sure a user lost device
5957 access when she logged out, even if the user left behind a background
5958 process which would retain the plugdev membership with the ConsoleKit
5959 setup. Armed with this knowledge I moved on to fix the access problem
5960 for the LEGO Mindstorms related packages.&lt;/p&gt;
5961
5962 &lt;p&gt;The new system uses a udev tag, &#39;uaccess&#39;. It can either be
5963 applied directly for a device, or is applied in
5964 /lib/udev/rules.d/70-uaccess.rules for classes of devices. As the
5965 LEGO Mindstorms udev rules did not have a class, I decided to add the
5966 tag directly in the udev rules files included in the packages. Here
5967 is one example. For the nqc C compiler for the RCX, the
5968 &lt;tt&gt;/lib/udev/rules.d/60-nqc.rules&lt;/tt&gt; file now look like this:
5969
5970 &lt;p&gt;&lt;pre&gt;
5971 SUBSYSTEM==&quot;usb&quot;, ACTION==&quot;add&quot;, ATTR{idVendor}==&quot;0694&quot;, ATTR{idProduct}==&quot;0001&quot;, \
5972 SYMLINK+=&quot;rcx-%k&quot;, TAG+=&quot;uaccess&quot;
5973 &lt;/pre&gt;&lt;/p&gt;
5974
5975 &lt;p&gt;The key part is the &#39;TAG+=&quot;uaccess&quot;&#39; at the end. I suspect all
5976 packages using plugdev in their /lib/udev/rules.d/ files should be
5977 changed to use this tag (either directly or indirectly via
5978 &lt;tt&gt;70-uaccess.rules&lt;/tt&gt;). Perhaps a lintian check should be created
5979 to detect this?&lt;/p&gt;
5980
5981 &lt;p&gt;I&#39;ve been unable to find good documentation on the uaccess feature.
5982 It is unclear to me if the uaccess tag is an internal implementation
5983 detail like the udev-acl tag used by
5984 &lt;tt&gt;/lib/udev/rules.d/70-udev-acl.rules&lt;/tt&gt;. If it is, I guess the
5985 indirect method is the preferred way. Michael
5986 &lt;a href=&quot;https://github.com/systemd/systemd/issues/4288&quot;&gt;asked for more
5987 documentation from the systemd project&lt;/a&gt; and I hope it will make
5988 this clearer. For now I use the generic classes when they exist and
5989 is already handled by &lt;tt&gt;70-uaccess.rules&lt;/tt&gt;, and add the tag
5990 directly if no such class exist.&lt;/p&gt;
5991
5992 &lt;p&gt;To learn more about the isenkram system, please check out
5993 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/tags/isenkram/&quot;&gt;my
5994 blog posts tagged isenkram&lt;/a&gt;.&lt;/p&gt;
5995
5996 &lt;p&gt;To help out making life for LEGO constructors in Debian easier,
5997 please join us on our IRC channel
5998 &lt;a href=&quot;irc://irc.debian.org/%23debian-lego&quot;&gt;#debian-lego&lt;/a&gt; and join
5999 the &lt;a href=&quot;https://alioth.debian.org/projects/debian-lego/&quot;&gt;Debian
6000 LEGO team&lt;/a&gt; in the Alioth project we created yesterday. A mailing
6001 list is not yet created, but we are working on it. :)&lt;/p&gt;
6002
6003 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
6004 activities, please send Bitcoin donations to my address
6005 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
6006 </description>
6007 </item>
6008
6009 <item>
6010 <title>First draft Norwegian Bokmål edition of The Debian Administrator&#39;s Handbook now public</title>
6011 <link>http://people.skolelinux.org/pere/blog/First_draft_Norwegian_Bokm_l_edition_of_The_Debian_Administrator_s_Handbook_now_public.html</link>
6012 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_draft_Norwegian_Bokm_l_edition_of_The_Debian_Administrator_s_Handbook_now_public.html</guid>
6013 <pubDate>Tue, 30 Aug 2016 10:10:00 +0200</pubDate>
6014 <description>&lt;p&gt;In April we
6015 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Lets_make_a_Norwegian_Bokm_l_edition_of_The_Debian_Administrator_s_Handbook.html&quot;&gt;started
6016 to work&lt;/a&gt; on a Norwegian Bokmål edition of the &quot;open access&quot; book on
6017 how to set up and administrate a Debian system. Today I am happy to
6018 report that the first draft is now publicly available. You can find
6019 it on &lt;a href=&quot;https://debian-handbook.info/get/&quot;&gt;get the Debian
6020 Administrator&#39;s Handbook page&lt;/a&gt; (under Other languages). The first
6021 eight chapters have a first draft translation, and we are working on
6022 proofreading the content. If you want to help out, please start
6023 contributing using
6024 &lt;a href=&quot;https://hosted.weblate.org/projects/debian-handbook/&quot;&gt;the
6025 hosted weblate project page&lt;/a&gt;, and get in touch using
6026 &lt;a href=&quot;http://lists.alioth.debian.org/mailman/listinfo/debian-handbook-translators&quot;&gt;the
6027 translators mailing list&lt;/a&gt;. Please also check out
6028 &lt;a href=&quot;https://debian-handbook.info/contribute/&quot;&gt;the instructions for
6029 contributors&lt;/a&gt;. A good way to contribute is to proofread the text
6030 and update weblate if you find errors.&lt;/p&gt;
6031
6032 &lt;p&gt;Our goal is still to make the Norwegian book available on paper as well as
6033 electronic form.&lt;/p&gt;
6034 </description>
6035 </item>
6036
6037 <item>
6038 <title>Coz can help you find bottlenecks in multi-threaded software - nice free software</title>
6039 <link>http://people.skolelinux.org/pere/blog/Coz_can_help_you_find_bottlenecks_in_multi_threaded_software___nice_free_software.html</link>
6040 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Coz_can_help_you_find_bottlenecks_in_multi_threaded_software___nice_free_software.html</guid>
6041 <pubDate>Thu, 11 Aug 2016 12:00:00 +0200</pubDate>
6042 <description>&lt;p&gt;This summer, I read a great article
6043 &quot;&lt;a href=&quot;https://www.usenix.org/publications/login/summer2016/curtsinger&quot;&gt;coz:
6044 This Is the Profiler You&#39;re Looking For&lt;/a&gt;&quot; in USENIX ;login: about
6045 how to profile multi-threaded programs. It presented a system for
6046 profiling software by running experiences in the running program,
6047 testing how run time performance is affected by &quot;speeding up&quot; parts of
6048 the code to various degrees compared to a normal run. It does this by
6049 slowing down parallel threads while the &quot;faster up&quot; code is running
6050 and measure how this affect processing time. The processing time is
6051 measured using probes inserted into the code, either using progress
6052 counters (COZ_PROGRESS) or as latency meters (COZ_BEGIN/COZ_END). It
6053 can also measure unmodified code by measuring complete the program
6054 runtime and running the program several times instead.&lt;/p&gt;
6055
6056 &lt;p&gt;The project and presentation was so inspiring that I would like to
6057 get the system into Debian. I
6058 &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830708&quot;&gt;created
6059 a WNPP request for it&lt;/a&gt; and contacted upstream to try to make the
6060 system ready for Debian by sending patches. The build process need to
6061 be changed a bit to avoid running &#39;git clone&#39; to get dependencies, and
6062 to include the JavaScript web page used to visualize the collected
6063 profiling information included in the source package.
6064 But I expect that should work out fairly soon.&lt;/p&gt;
6065
6066 &lt;p&gt;The way the system work is fairly simple. To run an coz experiment
6067 on a binary with debug symbols available, start the program like this:
6068
6069 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
6070 coz run --- program-to-run
6071 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
6072
6073 &lt;p&gt;This will create a text file profile.coz with the instrumentation
6074 information. To show what part of the code affect the performance
6075 most, use a web browser and either point it to
6076 &lt;a href=&quot;http://plasma-umass.github.io/coz/&quot;&gt;http://plasma-umass.github.io/coz/&lt;/a&gt;
6077 or use the copy from git (in the gh-pages branch). Check out this web
6078 site to have a look at several example profiling runs and get an idea what the end result from the profile runs look like. To make the
6079 profiling more useful you include &amp;lt;coz.h&amp;gt; and insert the
6080 COZ_PROGRESS or COZ_BEGIN and COZ_END at appropriate places in the
6081 code, rebuild and run the profiler. This allow coz to do more
6082 targeted experiments.&lt;/p&gt;
6083
6084 &lt;p&gt;A video published by ACM
6085 &lt;a href=&quot;https://www.youtube.com/watch?v=jE0V-p1odPg&quot;&gt;presenting the
6086 Coz profiler&lt;/a&gt; is available from Youtube. There is also a paper
6087 from the 25th Symposium on Operating Systems Principles available
6088 titled
6089 &lt;a href=&quot;https://www.usenix.org/conference/atc16/technical-sessions/presentation/curtsinger&quot;&gt;Coz:
6090 finding code that counts with causal profiling&lt;/a&gt;.&lt;/p&gt;
6091
6092 &lt;p&gt;&lt;a href=&quot;https://github.com/plasma-umass/coz&quot;&gt;The source code&lt;/a&gt;
6093 for Coz is available from github. It will only build with clang
6094 because it uses a
6095 &lt;a href=&quot;https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606&quot;&gt;C++
6096 feature missing in GCC&lt;/a&gt;, but I&#39;ve submitted
6097 &lt;a href=&quot;https://github.com/plasma-umass/coz/pull/67&quot;&gt;a patch to solve
6098 it&lt;/a&gt; and hope it will be included in the upstream source soon.&lt;/p&gt;
6099
6100 &lt;p&gt;Please get in touch if you, like me, would like to see this piece
6101 of software in Debian. I would very much like some help with the
6102 packaging effort, as I lack the in depth knowledge on how to package
6103 C++ libraries.&lt;/p&gt;
6104 </description>
6105 </item>
6106
6107 <item>
6108 <title>Sales number for the Free Culture translation, first half of 2016</title>
6109 <link>http://people.skolelinux.org/pere/blog/Sales_number_for_the_Free_Culture_translation__first_half_of_2016.html</link>
6110 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Sales_number_for_the_Free_Culture_translation__first_half_of_2016.html</guid>
6111 <pubDate>Fri, 5 Aug 2016 22:45:00 +0200</pubDate>
6112 <description>&lt;p&gt;As my regular readers probably remember, the last year I published
6113 a French and Norwegian translation of the classic
6114 &lt;a href=&quot;http://www.free-culture.cc/&quot;&gt;Free Culture book&lt;/a&gt; by the
6115 founder of the Creative Commons movement, Lawrence Lessig. A bit less
6116 known is the fact that due to the way I created the translations,
6117 using docbook and po4a, I also recreated the English original. And
6118 because I already had created a new the PDF edition, I published it
6119 too. The revenue from the books are sent to the Creative Commons
6120 Corporation. In other words, I do not earn any money from this
6121 project, I just earn the warm fuzzy feeling that the text is available
6122 for a wider audience and more people can learn why the Creative
6123 Commons is needed.&lt;/p&gt;
6124
6125 &lt;p&gt;Today, just for fun, I had a look at the sales number over at
6126 Lulu.com, which take care of payment, printing and shipping. Much to
6127 my surprise, the English edition is selling better than both the
6128 French and Norwegian edition, despite the fact that it has been
6129 available in English since it was first published. In total, 24 paper
6130 books was sold for USD $19.99 between 2016-01-01 and 2016-07-31:&lt;/p&gt;
6131
6132 &lt;table border=&quot;0&quot;&gt;
6133 &lt;tr&gt;&lt;th&gt;Title / language&lt;/th&gt;&lt;th&gt;Quantity&lt;/th&gt;&lt;/tr&gt;
6134 &lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-22645082.html&quot;&gt;Culture Libre / French&lt;/a&gt;&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;3&lt;/td&gt;&lt;/tr&gt;
6135 &lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-22441576.html&quot;&gt;Fri kultur / Norwegian&lt;/a&gt;&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;7&lt;/td&gt;&lt;/tr&gt;
6136 &lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-22440520.html&quot;&gt;Free Culture / English&lt;/a&gt;&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;14&lt;/td&gt;&lt;/tr&gt;
6137 &lt;/table&gt;
6138
6139 &lt;p&gt;The books are available both from Lulu.com and from large book
6140 stores like Amazon and Barnes&amp;Noble. Most revenue, around $10 per
6141 book, is sent to the Creative Commons project when the book is sold
6142 directly by Lulu.com. The other channels give less revenue. The
6143 summary from Lulu tell me 10 books was sold via the Amazon channel, 10
6144 via Ingram (what is this?) and 4 directly by Lulu. And Lulu.com tells
6145 me that the revenue sent so far this year is USD $101.42. No idea
6146 what kind of sales numbers to expect, so I do not know if that is a
6147 good amount of sales for a 10 year old book or not. But it make me
6148 happy that the buyers find the book, and I hope they enjoy reading it
6149 as much as I did.&lt;/p&gt;
6150
6151 &lt;p&gt;The ebook edition is available for free from
6152 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;Github&lt;/a&gt;.&lt;/p&gt;
6153
6154 &lt;p&gt;If you would like to translate and publish the book in your native
6155 language, I would be happy to help make it happen. Please get in
6156 touch.&lt;/p&gt;
6157 </description>
6158 </item>
6159
6160 <item>
6161 <title>Techno TV broadcasting live across Norway and the Internet (#debconf16, #nuug) on @frikanalen</title>
6162 <link>http://people.skolelinux.org/pere/blog/Techno_TV_broadcasting_live_across_Norway_and_the_Internet___debconf16___nuug__on__frikanalen.html</link>
6163 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Techno_TV_broadcasting_live_across_Norway_and_the_Internet___debconf16___nuug__on__frikanalen.html</guid>
6164 <pubDate>Mon, 1 Aug 2016 10:30:00 +0200</pubDate>
6165 <description>&lt;p&gt;Did you know there is a TV channel broadcasting talks from DebConf
6166 16 across an entire country? Or that there is a TV channel
6167 broadcasting talks by or about
6168 &lt;a href=&quot;http://beta.frikanalen.no/video/625529/&quot;&gt;Linus Torvalds&lt;/a&gt;,
6169 &lt;a href=&quot;http://beta.frikanalen.no/video/625599/&quot;&gt;Tor&lt;/a&gt;,
6170 &lt;a href=&quot;http://beta.frikanalen.no/video/624019/&quot;&gt;OpenID&lt;/A&gt;,
6171 &lt;a href=&quot;http://beta.frikanalen.no/video/625624/&quot;&gt;Common Lisp&lt;/a&gt;,
6172 &lt;a href=&quot;http://beta.frikanalen.no/video/625446/&quot;&gt;Civic Tech&lt;/a&gt;,
6173 &lt;a href=&quot;http://beta.frikanalen.no/video/625090/&quot;&gt;EFF founder John Barlow&lt;/a&gt;,
6174 &lt;a href=&quot;http://beta.frikanalen.no/video/625432/&quot;&gt;how to make 3D
6175 printer electronics&lt;/a&gt; and many more fascinating topics? It works
6176 using only free software (all of it
6177 &lt;a href=&quot;http://github.com/Frikanalen&quot;&gt;available from Github&lt;/a&gt;), and
6178 is administrated using a web browser and a web API.&lt;/p&gt;
6179
6180 &lt;p&gt;The TV channel is the Norwegian open channel
6181 &lt;a href=&quot;http://www.frikanalen.no/&quot;&gt;Frikanalen&lt;/a&gt;, and I am involved
6182 via &lt;a href=&quot;https://www.nuug.no/&quot;&gt;the NUUG member association&lt;/a&gt; in
6183 running and developing the software for the channel. The channel is
6184 organised as a member organisation where its members can upload and
6185 broadcast what they want (think of it as Youtube for national
6186 broadcasting television). Individuals can broadcast too. The time
6187 slots are handled on a first come, first serve basis. Because the
6188 channel have almost no viewers and very few active members, we can
6189 experiment with TV technology without too much flack when we make
6190 mistakes. And thanks to the few active members, most of the slots on
6191 the schedule are free. I see this as an opportunity to spread
6192 knowledge about technology and free software, and have a script I run
6193 regularly to fill up all the open slots the next few days with
6194 technology related video. The end result is a channel I like to
6195 describe as Techno TV - filled with interesting talks and
6196 presentations.&lt;/p&gt;
6197
6198 &lt;p&gt;It is available on channel 50 on the Norwegian national digital TV
6199 network (RiksTV). It is also available as a multicast stream on
6200 Uninett. And finally, it is available as
6201 &lt;a href=&quot;http://beta.frikanalen.no/&quot;&gt;a WebM unicast stream&lt;/a&gt; from
6202 Frikanalen and NUUG. Check it out. :)&lt;/p&gt;
6203 </description>
6204 </item>
6205
6206 <item>
6207 <title>Unlocking HTC Desire HD on Linux using unruu and fastboot</title>
6208 <link>http://people.skolelinux.org/pere/blog/Unlocking_HTC_Desire_HD_on_Linux_using_unruu_and_fastboot.html</link>
6209 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Unlocking_HTC_Desire_HD_on_Linux_using_unruu_and_fastboot.html</guid>
6210 <pubDate>Thu, 7 Jul 2016 11:30:00 +0200</pubDate>
6211 <description>&lt;p&gt;Yesterday, I tried to unlock a HTC Desire HD phone, and it proved
6212 to be a slight challenge. Here is the recipe if I ever need to do it
6213 again. It all started by me wanting to try the recipe to set up
6214 &lt;a href=&quot;https://blog.torproject.org/blog/mission-impossible-hardening-android-security-and-privacy&quot;&gt;an
6215 hardened Android installation&lt;/a&gt; from the Tor project blog on a
6216 device I had access to. It is a old mobile phone with a broken
6217 microphone The initial idea had been to just
6218 &lt;a href=&quot;http://wiki.cyanogenmod.org/w/Install_CM_for_ace&quot;&gt;install
6219 CyanogenMod on it&lt;/a&gt;, but did not quite find time to start on it
6220 until a few days ago.&lt;/p&gt;
6221
6222 &lt;p&gt;The unlock process is supposed to be simple: (1) Boot into the boot
6223 loader (press volume down and power at the same time), (2) select
6224 &#39;fastboot&#39; before (3) connecting the device via USB to a Linux
6225 machine, (4) request the device identifier token by running &#39;fastboot
6226 oem get_identifier_token&#39;, (5) request the device unlocking key using
6227 the &lt;a href=&quot;http://www.htcdev.com/bootloader/&quot;&gt;HTC developer web
6228 site&lt;/a&gt; and unlock the phone using the key file emailed to you.&lt;/p&gt;
6229
6230 &lt;p&gt;Unfortunately, this only work fi you have hboot version 2.00.0029
6231 or newer, and the device I was working on had 2.00.0027. This
6232 apparently can be easily fixed by downloading a Windows program and
6233 running it on your Windows machine, if you accept the terms Microsoft
6234 require you to accept to use Windows - which I do not. So I had to
6235 come up with a different approach. I got a lot of help from AndyCap
6236 on #nuug, and would not have been able to get this working without
6237 him.&lt;/p&gt;
6238
6239 &lt;p&gt;First I needed to extract the hboot firmware from
6240 &lt;a href=&quot;http://www.htcdev.com/ruu/PD9810000_Ace_Sense30_S_hboot_2.00.0029.exe&quot;&gt;the
6241 windows binary for HTC Desire HD&lt;/a&gt; downloaded as &#39;the RUU&#39; from HTC.
6242 For this there is is &lt;a href=&quot;https://github.com/kmdm/unruu/&quot;&gt;a github
6243 project named unruu&lt;/a&gt; using libunshield. The unshield tool did not
6244 recognise the file format, but unruu worked and extracted rom.zip,
6245 containing the new hboot firmware and a text file describing which
6246 devices it would work for.&lt;/p&gt;
6247
6248 &lt;p&gt;Next, I needed to get the new firmware into the device. For this I
6249 followed some instructions
6250 &lt;a href=&quot;http://www.htc1guru.com/2013/09/new-ruu-zips-posted/&quot;&gt;available
6251 from HTC1Guru.com&lt;/a&gt;, and ran these commands as root on a Linux
6252 machine with Debian testing:&lt;/p&gt;
6253
6254 &lt;p&gt;&lt;pre&gt;
6255 adb reboot-bootloader
6256 fastboot oem rebootRUU
6257 fastboot flash zip rom.zip
6258 fastboot flash zip rom.zip
6259 fastboot reboot
6260 &lt;/pre&gt;&lt;/p&gt;
6261
6262 &lt;p&gt;The flash command apparently need to be done twice to take effect,
6263 as the first is just preparations and the second one do the flashing.
6264 The adb command is just to get to the boot loader menu, so turning the
6265 device on while holding volume down and the power button should work
6266 too.&lt;/p&gt;
6267
6268 &lt;p&gt;With the new hboot version in place I could start following the
6269 instructions on the HTC developer web site. I got the device token
6270 like this:&lt;/p&gt;
6271
6272 &lt;p&gt;&lt;pre&gt;
6273 fastboot oem get_identifier_token 2&gt;&amp;1 | sed &#39;s/(bootloader) //&#39;
6274 &lt;/pre&gt;
6275
6276 &lt;p&gt;And once I got the unlock code via email, I could use it like
6277 this:&lt;/p&gt;
6278
6279 &lt;p&gt;&lt;pre&gt;
6280 fastboot flash unlocktoken Unlock_code.bin
6281 &lt;/pre&gt;&lt;/p&gt;
6282
6283 &lt;p&gt;And with that final step in place, the phone was unlocked and I
6284 could start stuffing the software of my own choosing into the device.
6285 So far I only inserted a replacement recovery image to wipe the phone
6286 before I start. We will see what happen next. Perhaps I should
6287 install &lt;a href=&quot;https://www.debian.org/&quot;&gt;Debian&lt;/a&gt; on it. :)&lt;/p&gt;
6288 </description>
6289 </item>
6290
6291 <item>
6292 <title>How to use the Signal app if you only have a land line (ie no mobile phone)</title>
6293 <link>http://people.skolelinux.org/pere/blog/How_to_use_the_Signal_app_if_you_only_have_a_land_line__ie_no_mobile_phone_.html</link>
6294 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_use_the_Signal_app_if_you_only_have_a_land_line__ie_no_mobile_phone_.html</guid>
6295 <pubDate>Sun, 3 Jul 2016 14:20:00 +0200</pubDate>
6296 <description>&lt;p&gt;For a while now, I have wanted to test
6297 &lt;a href=&quot;https://whispersystems.org/&quot;&gt;the Signal app&lt;/a&gt;, as it is
6298 said to provide end to end encrypted communication and several of my
6299 friends and family are already using it. As I by choice do not own a
6300 mobile phone, this proved to be harder than expected. And I wanted to
6301 have the source of the client and know that it was the code used on my
6302 machine. But yesterday I managed to get it working. I used the
6303 Github source, compared it to the source in
6304 &lt;a href=&quot;https://chrome.google.com/webstore/detail/signal-private-messenger/bikioccmkafdpakkkcpdbppfkghcmihk?hl=en-US&quot;&gt;the
6305 Signal Chrome app&lt;/a&gt; available from the Chrome web store, applied
6306 patches to use the production Signal servers, started the app and
6307 asked for the hidden &quot;register without a smart phone&quot; form. Here is
6308 the recipe how I did it.&lt;/p&gt;
6309
6310 &lt;p&gt;First, I fetched the Signal desktop source from Github, using
6311
6312 &lt;pre&gt;
6313 git clone https://github.com/WhisperSystems/Signal-Desktop.git
6314 &lt;/pre&gt;
6315
6316 &lt;p&gt;Next, I patched the source to use the production servers, to be
6317 able to talk to other Signal users:&lt;/p&gt;
6318
6319 &lt;pre&gt;
6320 cat &amp;lt;&amp;lt;EOF | patch -p0
6321 diff -ur ./js/background.js userdata/Default/Extensions/bikioccmkafdpakkkcpdbppfkghcmihk/0.15.0_0/js/background.js
6322 --- ./js/background.js 2016-06-29 13:43:15.630344628 +0200
6323 +++ userdata/Default/Extensions/bikioccmkafdpakkkcpdbppfkghcmihk/0.15.0_0/js/background.js 2016-06-29 14:06:29.530300934 +0200
6324 @@ -47,8 +47,8 @@
6325 });
6326 });
6327
6328 - var SERVER_URL = &#39;https://textsecure-service-staging.whispersystems.org&#39;;
6329 - var ATTACHMENT_SERVER_URL = &#39;https://whispersystems-textsecure-attachments-staging.s3.amazonaws.com&#39;;
6330 + var SERVER_URL = &#39;https://textsecure-service-ca.whispersystems.org:4433&#39;;
6331 + var ATTACHMENT_SERVER_URL = &#39;https://whispersystems-textsecure-attachments.s3.amazonaws.com&#39;;
6332 var messageReceiver;
6333 window.getSocketStatus = function() {
6334 if (messageReceiver) {
6335 diff -ur ./js/expire.js userdata/Default/Extensions/bikioccmkafdpakkkcpdbppfkghcmihk/0.15.0_0/js/expire.js
6336 --- ./js/expire.js 2016-06-29 13:43:15.630344628 +0200
6337 +++ userdata/Default/Extensions/bikioccmkafdpakkkcpdbppfkghcmihk/0.15.0_0/js/expire.js2016-06-29 14:06:29.530300934 +0200
6338 @@ -1,6 +1,6 @@
6339 ;(function() {
6340 &#39;use strict&#39;;
6341 - var BUILD_EXPIRATION = 0;
6342 + var BUILD_EXPIRATION = 1474492690000;
6343
6344 window.extension = window.extension || {};
6345
6346 EOF
6347 &lt;/pre&gt;
6348
6349 &lt;p&gt;The first part is changing the servers, and the second is updating
6350 an expiration timestamp. This timestamp need to be updated regularly.
6351 It is set 90 days in the future by the build process (Gruntfile.js).
6352 The value is seconds since 1970 times 1000, as far as I can tell.&lt;/p&gt;
6353
6354 &lt;p&gt;Based on a tip and good help from the #nuug IRC channel, I wrote a
6355 script to launch Signal in Chromium.&lt;/p&gt;
6356
6357 &lt;pre&gt;
6358 #!/bin/sh
6359 cd $(dirname $0)
6360 mkdir -p userdata
6361 exec chromium \
6362 --proxy-server=&quot;socks://localhost:9050&quot; \
6363 --user-data-dir=`pwd`/userdata --load-and-launch-app=`pwd`
6364 &lt;/pre&gt;
6365
6366 &lt;p&gt; The script start the app and configure Chromium to use the Tor
6367 SOCKS5 proxy to make sure those controlling the Signal servers (today
6368 Amazon and Whisper Systems) as well as those listening on the lines
6369 will have a harder time location my laptop based on the Signal
6370 connections if they use source IP address.&lt;/p&gt;
6371
6372 &lt;p&gt;When the script starts, one need to follow the instructions under
6373 &quot;Standalone Registration&quot; in the CONTRIBUTING.md file in the git
6374 repository. I right clicked on the Signal window to get up the
6375 Chromium debugging tool, visited the &#39;Console&#39; tab and wrote
6376 &#39;extension.install(&quot;standalone&quot;)&#39; on the console prompt to get the
6377 registration form. Then I entered by land line phone number and
6378 pressed &#39;Call&#39;. 5 seconds later the phone rang and a robot voice
6379 repeated the verification code three times. After entering the number
6380 into the verification code field in the form, I could start using
6381 Signal from my laptop.
6382
6383 &lt;p&gt;As far as I can tell, The Signal app will leak who is talking to
6384 whom and thus who know who to those controlling the central server,
6385 but such leakage is hard to avoid with a centrally controlled server
6386 setup. It is something to keep in mind when using Signal - the
6387 content of your chats are harder to intercept, but the meta data
6388 exposing your contact network is available to people you do not know.
6389 So better than many options, but not great. And sadly the usage is
6390 connected to my land line, thus allowing those controlling the server
6391 to associate it to my home and person. I would prefer it if only
6392 those I knew could tell who I was on Signal. There are options
6393 avoiding such information leakage, but most of my friends are not
6394 using them, so I am stuck with Signal for now.&lt;/p&gt;
6395
6396 &lt;p&gt;&lt;strong&gt;Update 2017-01-10&lt;/strong&gt;: There is an updated blog post
6397 on this topic in
6398 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Experience_and_updated_recipe_for_using_the_Signal_app_without_a_mobile_phone.html&quot;&gt;Experience
6399 and updated recipe for using the Signal app without a mobile
6400 phone&lt;/a&gt;.&lt;/p&gt;
6401 </description>
6402 </item>
6403
6404 <item>
6405 <title>The new &quot;best&quot; multimedia player in Debian?</title>
6406 <link>http://people.skolelinux.org/pere/blog/The_new__best__multimedia_player_in_Debian_.html</link>
6407 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_new__best__multimedia_player_in_Debian_.html</guid>
6408 <pubDate>Mon, 6 Jun 2016 12:50:00 +0200</pubDate>
6409 <description>&lt;p&gt;When I set out a few weeks ago to figure out
6410 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/What_is_the_best_multimedia_player_in_Debian_.html&quot;&gt;which
6411 multimedia player in Debian claimed to support most file formats /
6412 MIME types&lt;/a&gt;, I was a bit surprised how varied the sets of MIME types
6413 the various players claimed support for. The range was from 55 to 130
6414 MIME types. I suspect most media formats are supported by all
6415 players, but this is not really reflected in the MimeTypes values in
6416 their desktop files. There are probably also some bogus MIME types
6417 listed, but it is hard to identify which one this is.&lt;/p&gt;
6418
6419 &lt;p&gt;Anyway, in the mean time I got in touch with upstream for some of
6420 the players suggesting to add more MIME types to their desktop files,
6421 and decided to spend some time myself improving the situation for my
6422 favorite media player VLC. The fixes for VLC entered Debian unstable
6423 yesterday. The complete list of MIME types can be seen on the
6424 &lt;a href=&quot;https://wiki.debian.org/DebianMultimedia/PlayerSupport&quot;&gt;Multimedia
6425 player MIME type support status&lt;/a&gt; Debian wiki page.&lt;/p&gt;
6426
6427 &lt;p&gt;The new &quot;best&quot; multimedia player in Debian? It is VLC, followed by
6428 totem, parole, kplayer, gnome-mpv, mpv, smplayer, mplayer-gui and
6429 kmplayer. I am sure some of the other players desktop files support
6430 several of the formats currently listed as working only with vlc,
6431 toten and parole.&lt;/p&gt;
6432
6433 &lt;p&gt;A sad observation is that only 14 MIME types are listed as
6434 supported by all the tested multimedia players in Debian in their
6435 desktop files: audio/mpeg, audio/vnd.rn-realaudio, audio/x-mpegurl,
6436 audio/x-ms-wma, audio/x-scpls, audio/x-wav, video/mp4, video/mpeg,
6437 video/quicktime, video/vnd.rn-realvideo, video/x-matroska,
6438 video/x-ms-asf, video/x-ms-wmv and video/x-msvideo. Personally I find
6439 it sad that video/ogg and video/webm is not supported by all the media
6440 players in Debian. As far as I can tell, all of them can handle both
6441 formats.&lt;/p&gt;
6442 </description>
6443 </item>
6444
6445 <item>
6446 <title>A program should be able to open its own files on Linux</title>
6447 <link>http://people.skolelinux.org/pere/blog/A_program_should_be_able_to_open_its_own_files_on_Linux.html</link>
6448 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_program_should_be_able_to_open_its_own_files_on_Linux.html</guid>
6449 <pubDate>Sun, 5 Jun 2016 08:30:00 +0200</pubDate>
6450 <description>&lt;p&gt;Many years ago, when koffice was fresh and with few users, I
6451 decided to test its presentation tool when making the slides for a
6452 talk I was giving for NUUG on Japhar, a free Java virtual machine. I
6453 wrote the first draft of the slides, saved the result and went to bed
6454 the day before I would give the talk. The next day I took a plane to
6455 the location where the meeting should take place, and on the plane I
6456 started up koffice again to polish the talk a bit, only to discover
6457 that kpresenter refused to load its own data file. I cursed a bit and
6458 started making the slides again from memory, to have something to
6459 present when I arrived. I tested that the saved files could be
6460 loaded, and the day seemed to be rescued. I continued to polish the
6461 slides until I suddenly discovered that the saved file could no longer
6462 be loaded into kpresenter. In the end I had to rewrite the slides
6463 three times, condensing the content until the talk became shorter and
6464 shorter. After the talk I was able to pinpoint the problem &amp;ndash;
6465 kpresenter wrote inline images in a way itself could not understand.
6466 Eventually that bug was fixed and kpresenter ended up being a great
6467 program to make slides. The point I&#39;m trying to make is that we
6468 expect a program to be able to load its own data files, and it is
6469 embarrassing to its developers if it can&#39;t.&lt;/p&gt;
6470
6471 &lt;p&gt;Did you ever experience a program failing to load its own data
6472 files from the desktop file browser? It is not a uncommon problem. A
6473 while back I discovered that the screencast recorder
6474 gtk-recordmydesktop would save an Ogg Theora video file the KDE file
6475 browser would refuse to open. No video player claimed to understand
6476 such file. I tracked down the cause being &lt;tt&gt;file --mime-type&lt;/tt&gt;
6477 returning the application/ogg MIME type, which no video player I had
6478 installed listed as a MIME type they would understand. I asked for
6479 &lt;a href=&quot;http://bugs.gw.com/view.php?id=382&quot;&gt;file to change its
6480 behavour&lt;/a&gt; and use the MIME type video/ogg instead. I also asked
6481 several video players to add video/ogg to their desktop files, to give
6482 the file browser an idea what to do about Ogg Theora files. After a
6483 while, the desktop file browsers in Debian started to handle the
6484 output from gtk-recordmydesktop properly.&lt;/p&gt;
6485
6486 &lt;p&gt;But history repeats itself. A few days ago I tested the music
6487 system Rosegarden again, and I discovered that the KDE and xfce file
6488 browsers did not know what to do with the Rosegarden project files
6489 (*.rg). I&#39;ve reported &lt;a href=&quot;http://bugs.debian.org/825993&quot;&gt;the
6490 rosegarden problem to BTS&lt;/a&gt; and a fix is commited to git and will be
6491 included in the next upload. To increase the chance of me remembering
6492 how to fix the problem next time some program fail to load its files
6493 from the file browser, here are some notes on how to fix it.&lt;/p&gt;
6494
6495 &lt;p&gt;The file browsers in Debian in general operates on MIME types.
6496 There are two sources for the MIME type of a given file. The output from
6497 &lt;tt&gt;file --mime-type&lt;/tt&gt; mentioned above, and the content of the
6498 shared MIME type registry (under /usr/share/mime/). The file MIME
6499 type is mapped to programs supporting the MIME type, and this
6500 information is collected from
6501 &lt;a href=&quot;https://www.freedesktop.org/wiki/Specifications/desktop-entry-spec/&quot;&gt;the
6502 desktop files&lt;/a&gt; available in /usr/share/applications/. If there is
6503 one desktop file claiming support for the MIME type of the file, it is
6504 activated when asking to open a given file. If there are more, one
6505 can normally select which one to use by right-clicking on the file and
6506 selecting the wanted one using &#39;Open with&#39; or similar. In general
6507 this work well. But it depend on each program picking a good MIME
6508 type (preferably
6509 &lt;a href=&quot;http://www.iana.org/assignments/media-types/media-types.xhtml&quot;&gt;a
6510 MIME type registered with IANA&lt;/a&gt;), file and/or the shared MIME
6511 registry recognizing the file and the desktop file to list the MIME
6512 type in its list of supported MIME types.&lt;/p&gt;
6513
6514 &lt;p&gt;The &lt;tt&gt;/usr/share/mime/packages/rosegarden.xml&lt;/tt&gt; entry for
6515 &lt;a href=&quot;http://www.freedesktop.org/wiki/Specifications/shared-mime-info-spec&quot;&gt;the
6516 Shared MIME database&lt;/a&gt; look like this:&lt;/p&gt;
6517
6518 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
6519 &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;
6520 &amp;lt;mime-info xmlns=&quot;http://www.freedesktop.org/standards/shared-mime-info&quot;&amp;gt;
6521 &amp;lt;mime-type type=&quot;audio/x-rosegarden&quot;&amp;gt;
6522 &amp;lt;sub-class-of type=&quot;application/x-gzip&quot;/&amp;gt;
6523 &amp;lt;comment&amp;gt;Rosegarden project file&amp;lt;/comment&amp;gt;
6524 &amp;lt;glob pattern=&quot;*.rg&quot;/&amp;gt;
6525 &amp;lt;/mime-type&amp;gt;
6526 &amp;lt;/mime-info&amp;gt;
6527 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
6528
6529 &lt;p&gt;This states that audio/x-rosegarden is a kind of application/x-gzip
6530 (it is a gzipped XML file). Note, it is much better to use an
6531 official MIME type registered with IANA than it is to make up ones own
6532 unofficial ones like the x-rosegarden type used by rosegarden.&lt;/p&gt;
6533
6534 &lt;p&gt;The desktop file of the rosegarden program failed to list
6535 audio/x-rosegarden in its list of supported MIME types, causing the
6536 file browsers to have no idea what to do with *.rg files:&lt;/p&gt;
6537
6538 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
6539 % grep Mime /usr/share/applications/rosegarden.desktop
6540 MimeType=audio/x-rosegarden-composition;audio/x-rosegarden-device;audio/x-rosegarden-project;audio/x-rosegarden-template;audio/midi;
6541 X-KDE-NativeMimeType=audio/x-rosegarden-composition
6542 %
6543 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
6544
6545 &lt;p&gt;The fix was to add &quot;audio/x-rosegarden;&quot; at the end of the
6546 MimeType= line.&lt;/p&gt;
6547
6548 &lt;p&gt;If you run into a file which fail to open the correct program when
6549 selected from the file browser, please check out the output from
6550 &lt;tt&gt;file --mime-type&lt;/tt&gt; for the file, ensure the file ending and
6551 MIME type is registered somewhere under /usr/share/mime/ and check
6552 that some desktop file under /usr/share/applications/ is claiming
6553 support for this MIME type. If not, please report a bug to have it
6554 fixed. :)&lt;/p&gt;
6555 </description>
6556 </item>
6557
6558 <item>
6559 <title>Tor - from its creators mouth 11 years ago</title>
6560 <link>http://people.skolelinux.org/pere/blog/Tor___from_its_creators_mouth_11_years_ago.html</link>
6561 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Tor___from_its_creators_mouth_11_years_ago.html</guid>
6562 <pubDate>Sat, 28 May 2016 14:20:00 +0200</pubDate>
6563 <description>&lt;p&gt;A little more than 11 years ago, one of the creators of Tor, and
6564 the current President of &lt;a href=&quot;https://www.torproject.org/&quot;&gt;the Tor
6565 project&lt;/a&gt;, Roger Dingledine, gave a talk for the members of the
6566 &lt;a href=&quot;http://www.nuug.no/&quot;&gt;Norwegian Unix User group&lt;/a&gt; (NUUG). A
6567 video of the talk was recorded, and today, thanks to the great help
6568 from David Noble, I finally was able to publish the video of the talk
6569 on Frikanalen, the Norwegian open channel TV station where NUUG
6570 currently publishes its talks. You can
6571 &lt;a href=&quot;http://frikanalen.no/se&quot;&gt;watch the live stream using a web
6572 browser&lt;/a&gt; with WebM support, or check out the recording on the video
6573 on demand page for the talk
6574 &quot;&lt;a href=&quot;http://beta.frikanalen.no/video/625599&quot;&gt;Tor: Anonymous
6575 communication for the US Department of Defence...and you.&lt;/a&gt;&quot;.&lt;/p&gt;
6576
6577 &lt;p&gt;Here is the video included for those of you using browsers with
6578 HTML video and Ogg Theora support:&lt;/p&gt;
6579
6580 &lt;p&gt;&lt;video width=&quot;70%&quot; poster=&quot;http://simula.gunkies.org/media/625599/large_thumb/20050421-tor-frikanalen.jpg&quot; controls&gt;
6581 &lt;source src=&quot;http://simula.gunkies.org/media/625599/theora/20050421-tor-frikanalen.ogv&quot; type=&quot;video/ogg&quot;/&gt;
6582 &lt;/video&gt;&lt;/p&gt;
6583
6584 &lt;p&gt;I guess the gist of the talk can be summarised quite simply: If you
6585 want to help the military in USA (and everyone else), use Tor. :)&lt;/p&gt;
6586 </description>
6587 </item>
6588
6589 <item>
6590 <title>Isenkram with PackageKit support - new version 0.23 available in Debian unstable</title>
6591 <link>http://people.skolelinux.org/pere/blog/Isenkram_with_PackageKit_support___new_version_0_23_available_in_Debian_unstable.html</link>
6592 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Isenkram_with_PackageKit_support___new_version_0_23_available_in_Debian_unstable.html</guid>
6593 <pubDate>Wed, 25 May 2016 10:20:00 +0200</pubDate>
6594 <description>&lt;p&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/isenkram&quot;&gt;The isenkram
6595 system&lt;/a&gt; is a user-focused solution in Debian for handling hardware
6596 related packages. The idea is to have a database of mappings between
6597 hardware and packages, and pop up a dialog suggesting for the user to
6598 install the packages to use a given hardware dongle. Some use cases
6599 are when you insert a Yubikey, it proposes to install the software
6600 needed to control it; when you insert a braille reader list it
6601 proposes to install the packages needed to send text to the reader;
6602 and when you insert a ColorHug screen calibrator it suggests to
6603 install the driver for it. The system work well, and even have a few
6604 command line tools to install firmware packages and packages for the
6605 hardware already in the machine (as opposed to hotpluggable hardware).&lt;/p&gt;
6606
6607 &lt;p&gt;The system was initially written using aptdaemon, because I found
6608 good documentation and example code on how to use it. But aptdaemon
6609 is going away and is generally being replaced by
6610 &lt;a href=&quot;http://www.freedesktop.org/software/PackageKit/&quot;&gt;PackageKit&lt;/a&gt;,
6611 so Isenkram needed a rewrite. And today, thanks to the great patch
6612 from my college Sunil Mohan Adapa in the FreedomBox project, the
6613 rewrite finally took place. I&#39;ve just uploaded a new version of
6614 Isenkram into Debian Unstable with the patch included, and the default
6615 for the background daemon is now to use PackageKit. To check it out,
6616 install the &lt;tt&gt;isenkram&lt;/tt&gt; package and insert some hardware dongle
6617 and see if it is recognised.&lt;/p&gt;
6618
6619 &lt;p&gt;If you want to know what kind of packages isenkram would propose for
6620 the machine it is running on, you can check out the isenkram-lookup
6621 program. This is what it look like on a Thinkpad X230:&lt;/p&gt;
6622
6623 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
6624 % isenkram-lookup
6625 bluez
6626 cheese
6627 fprintd
6628 fprintd-demo
6629 gkrellm-thinkbat
6630 hdapsd
6631 libpam-fprintd
6632 pidgin-blinklight
6633 thinkfan
6634 tleds
6635 tp-smapi-dkms
6636 tp-smapi-source
6637 tpb
6638 %p
6639 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
6640
6641 &lt;p&gt;The hardware mappings come from several places. The preferred way
6642 is for packages to announce their hardware support using
6643 &lt;a href=&quot;https://www.freedesktop.org/software/appstream/docs/&quot;&gt;the
6644 cross distribution appstream system&lt;/a&gt;.
6645 See
6646 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/tags/isenkram/&quot;&gt;previous
6647 blog posts about isenkram&lt;/a&gt; to learn how to do that.&lt;/p&gt;
6648 </description>
6649 </item>
6650
6651 <item>
6652 <title>Discharge rate estimate in new battery statistics collector for Debian</title>
6653 <link>http://people.skolelinux.org/pere/blog/Discharge_rate_estimate_in_new_battery_statistics_collector_for_Debian.html</link>
6654 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Discharge_rate_estimate_in_new_battery_statistics_collector_for_Debian.html</guid>
6655 <pubDate>Mon, 23 May 2016 09:35:00 +0200</pubDate>
6656 <description>&lt;p&gt;Yesterday I updated the
6657 &lt;a href=&quot;https://tracker.debian.org/pkg/battery-stats&quot;&gt;battery-stats
6658 package in Debian&lt;/a&gt; with a few patches sent to me by skilled and
6659 enterprising users. There were some nice user and visible changes.
6660 First of all, both desktop menu entries now work. A design flaw in
6661 one of the script made the history graph fail to show up (its PNG was
6662 dumped in ~/.xsession-errors) if no controlling TTY was available.
6663 The script worked when called from the command line, but not when
6664 called from the desktop menu. I changed this to look for a DISPLAY
6665 variable or a TTY before deciding where to draw the graph, and now the
6666 graph window pop up as expected.&lt;/p&gt;
6667
6668 &lt;p&gt;The next new feature is a discharge rate estimator in one of the
6669 graphs (the one showing the last few hours). New is also the user of
6670 colours showing charging in blue and discharge in red. The percentages
6671 of this graph is relative to last full charge, not battery design
6672 capacity.&lt;/p&gt;
6673
6674 &lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2016-05-23-battery-stats-rate.png&quot;/&gt;&lt;/p&gt;
6675
6676 &lt;p&gt;The other graph show the entire history of the collected battery
6677 statistics, comparing it to the design capacity of the battery to
6678 visualise how the battery life time get shorter over time. The red
6679 line in this graph is what the previous graph considers 100 percent:
6680
6681 &lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2016-05-23-battery-stats-history.png&quot;/&gt;&lt;/p&gt;
6682
6683 &lt;p&gt;In this graph you can see that I only charge the battery to 80
6684 percent of last full capacity, and how the capacity of the battery is
6685 shrinking. :(&lt;/p&gt;
6686
6687 &lt;p&gt;The last new feature is in the collector, which now will handle
6688 more hardware models. On some hardware, Linux power supply
6689 information is stored in /sys/class/power_supply/ACAD/, while the
6690 collector previously only looked in /sys/class/power_supply/AC/. Now
6691 both are checked to figure if there is power connected to the
6692 machine.&lt;/p&gt;
6693
6694 &lt;p&gt;If you are interested in how your laptop battery is doing, please
6695 check out the
6696 &lt;a href=&quot;https://tracker.debian.org/pkg/battery-stats&quot;&gt;battery-stats&lt;/a&gt;
6697 in Debian unstable, or rebuild it on Jessie to get it working on
6698 Debian stable. :) The upstream source is available from &lt;a
6699 href=&quot;https://github.com/petterreinholdtsen/battery-stats&quot;&gt;github&lt;/a&gt;.
6700 Patches are very welcome.&lt;/p&gt;
6701
6702 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
6703 activities, please send Bitcoin donations to my address
6704 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
6705 </description>
6706 </item>
6707
6708 <item>
6709 <title>French edition of Lawrence Lessigs book Cultura Libre on Amazon and Barnes &amp; Noble</title>
6710 <link>http://people.skolelinux.org/pere/blog/French_edition_of_Lawrence_Lessigs_book_Cultura_Libre_on_Amazon_and_Barnes___Noble.html</link>
6711 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/French_edition_of_Lawrence_Lessigs_book_Cultura_Libre_on_Amazon_and_Barnes___Noble.html</guid>
6712 <pubDate>Sat, 21 May 2016 10:50:00 +0200</pubDate>
6713 <description>&lt;p&gt;A few weeks ago the French paperback edition of Lawrence Lessigs
6714 2004 book Cultura Libre was published. Today I noticed that the book
6715 is now available from book stores. You can now buy it from
6716 &lt;a href=&quot;http://www.amazon.com/Culture-Libre-French-Lawrence-Lessig/dp/8269018260&quot;&gt;Amazon&lt;/a&gt;
6717 ($19.99),
6718 &lt;a href=&quot;http://www.barnesandnoble.com/w/culture-libre-lawrence-lessig/1123776705&quot;&gt;Barnes
6719 &amp; Noble&lt;/a&gt; ($?) and as always from
6720 &lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-22645082.html&quot;&gt;Lulu.com&lt;/a&gt;
6721 ($19.99). The revenue is donated to the Creative Commons project. If
6722 you buy from Lulu.com, they currently get $10.59, while if you buy
6723 from one of the book stores most of the revenue go to the book store
6724 and the Creative Commons project get much (not sure how much
6725 less).&lt;/p&gt;
6726
6727 &lt;p&gt;I was a bit surprised to discover that there is a kindle edition
6728 sold by Amazon Digital Services LLC on Amazon. Not quite sure how
6729 that edition was created, but if you want to download a electronic
6730 edition (PDF, EPUB, Mobi) generated from the same files used to create
6731 the paperback edition, they are
6732 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;available
6733 from github&lt;/a&gt;.&lt;/p&gt;
6734 </description>
6735 </item>
6736
6737 <item>
6738 <title>I want the courts to be involved before the police can hijack a news site DNS domain (#domstolkontroll)</title>
6739 <link>http://people.skolelinux.org/pere/blog/I_want_the_courts_to_be_involved_before_the_police_can_hijack_a_news_site_DNS_domain___domstolkontroll_.html</link>
6740 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/I_want_the_courts_to_be_involved_before_the_police_can_hijack_a_news_site_DNS_domain___domstolkontroll_.html</guid>
6741 <pubDate>Thu, 19 May 2016 14:00:00 +0200</pubDate>
6742 <description>&lt;p&gt;I just donated to the
6743 &lt;a href=&quot;http://www.nuug.no/dns-beslag-donasjon.shtml&quot;&gt;NUUG defence
6744 &quot;fond&quot;&lt;/a&gt; to fund the effort in Norway to get the seizure of the news
6745 site popcorn-time.no tested in court. I hope everyone that agree with
6746 me will do the same.&lt;/p&gt;
6747
6748 &lt;p&gt;Would you be worried if you knew the police in your country could
6749 hijack DNS domains of news sites covering free software system without
6750 talking to a judge first? I am. What if the free software system
6751 combined search engine lookups, bittorrent downloads and video playout
6752 and was called Popcorn Time? Would that affect your view? It still
6753 make me worried.&lt;/p&gt;
6754
6755 &lt;p&gt;In March 2016, the Norwegian police seized (as in forced NORID to
6756 change the IP address pointed to by it to one controlled by the
6757 police) the DNS domain popcorn-time.no, without any supervision from
6758 the courts. I did not know about the web site back then, and assumed
6759 the courts had been involved, and was very surprised when I discovered
6760 that the police had hijacked the DNS domain without asking a judge for
6761 permission first. I was even more surprised when I had a look at
6762 &lt;a href=&quot;https://web.archive.org/web/*/http://popcorn-time.no&quot;&gt;the web
6763 site content on the Internet Archive&lt;/A&gt;, and only found news coverage
6764 about Popcorn Time, not any material published without the right
6765 holders permissions.&lt;/p&gt;
6766
6767 &lt;p&gt;The seizure was widely covered in the Norwegian press (see for
6768 example &lt;a href=&quot;http://www.hegnar.no/Nyheter/Naeringsliv/2016/03/Popcorn-time.no-beslaglagt-av-OEkokrim&quot;&gt;Hegnar Online&lt;/a&gt; and
6769 &lt;a href=&quot;http://itavisen.no/2016/03/08/okokrim-har-beslaglagt-popcorn-time-no/&quot;&gt;ITavisen&lt;a/&gt;
6770 and
6771 &lt;a href=&quot;http://www.nrk.no/kultur/okokrim-gar-til-aksjon-mot-popcorn-time-1.12842452&quot;&gt;NRK&lt;/a&gt;),
6772 at first due to the press release sent out by Økokrim, but then based
6773 on
6774 &lt;a href=&quot;http://blogg.torvund.net/2016/03/09/okokrims-beslag-i-domenet-popcorn-time-no/&quot;&gt;protests
6775 from the law professor Olav Torvund&lt;/a&gt; and
6776 &lt;a href=&quot;http://www.klassekampen.no/article/20160311/ARTICLE/160319995&quot;&gt;lawyer
6777 Jon Wessel-Aas&lt;/a&gt;. It even got some
6778 &lt;a href=&quot;https://torrentfreak.com/norwegian-authorities-sued-over-popcorn-time-domain-seizure-160418/&quot;&gt;coverage
6779 on TorrentFreak&lt;/a&gt;.&lt;/p&gt;
6780
6781 &lt;p&gt;I
6782 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/NUUG_contests_Norwegian_police_DNS_seizure_of_popcorn_time_no.html&quot;&gt;
6783 wrote about the case a month ago&lt;/a&gt;, when the
6784 &lt;a href=&quot;http://www.nuug.no/&quot;&gt;Norwegian Unix User Group&lt;/a&gt; (NUUG),
6785 where I am an active member, decided to ask the courts to test this seizure.
6786 The request was denied, but NUUG and its co-requestor EFN have not
6787 given up, and now they are rallying for support to get the seizure
6788 legally challenged. They accept both bank and Bitcoin transfer for
6789 those that want to support the request.&lt;/p&gt;
6790
6791 &lt;p&gt;If you as me believe news sites about free software should not be
6792 censored, even if the free software have both legal and illegal
6793 applications, and that DNS hijacking should be tested by the courts, I
6794 suggest you &lt;a href=&quot;http://www.nuug.no/dns-beslag-donasjon.shtml&quot;&gt;show
6795 your support by donating to NUUG&lt;/a&gt;.&lt;/a&gt;
6796 </description>
6797 </item>
6798
6799 <item>
6800 <title>Debian now with ZFS on Linux included</title>
6801 <link>http://people.skolelinux.org/pere/blog/Debian_now_with_ZFS_on_Linux_included.html</link>
6802 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_now_with_ZFS_on_Linux_included.html</guid>
6803 <pubDate>Thu, 12 May 2016 07:30:00 +0200</pubDate>
6804 <description>&lt;p&gt;Today, after many years of hard work from many people,
6805 &lt;a href=&quot;http://zfsonlinux.org/&quot;&gt;ZFS for Linux&lt;/a&gt; finally entered
6806 Debian. The package status can be seen on
6807 &lt;a href=&quot;https://tracker.debian.org/pkg/zfs-linux&quot;&gt;the package tracker
6808 for zfs-linux&lt;/a&gt;. and
6809 &lt;a href=&quot;https://qa.debian.org/developer.php?login=pkg-zfsonlinux-devel@lists.alioth.debian.org&quot;&gt;the
6810 team status page&lt;/a&gt;. If you want to help out, please join us.
6811 &lt;a href=&quot;http://anonscm.debian.org/gitweb/?p=pkg-zfsonlinux/zfs.git&quot;&gt;The
6812 source code&lt;/a&gt; is available via git on Alioth. It would also be
6813 great if you could help out with
6814 &lt;a href=&quot;https://tracker.debian.org/pkg/dkms&quot;&gt;the dkms package&lt;/a&gt;, as
6815 it is an important piece of the puzzle to get ZFS working.&lt;/p&gt;
6816 </description>
6817 </item>
6818
6819 <item>
6820 <title>What is the best multimedia player in Debian?</title>
6821 <link>http://people.skolelinux.org/pere/blog/What_is_the_best_multimedia_player_in_Debian_.html</link>
6822 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/What_is_the_best_multimedia_player_in_Debian_.html</guid>
6823 <pubDate>Sun, 8 May 2016 09:40:00 +0200</pubDate>
6824 <description>&lt;p&gt;&lt;strong&gt;Where I set out to figure out which multimedia player in
6825 Debian claim support for most file formats.&lt;/strong&gt;&lt;/p&gt;
6826
6827 &lt;p&gt;A few years ago, I had a look at the media support for Browser
6828 plugins in Debian, to get an idea which plugins to include in Debian
6829 Edu. I created a script to extract the set of supported MIME types
6830 for each plugin, and used this to find out which multimedia browser
6831 plugin supported most file formats / media types.
6832 &lt;a href=&quot;https://wiki.debian.org/DebianEdu/BrowserMultimedia&quot;&gt;The
6833 result&lt;/a&gt; can still be seen on the Debian wiki, even though it have
6834 not been updated for a while. But browser plugins are less relevant
6835 these days, so I thought it was time to look at standalone
6836 players.&lt;/p&gt;
6837
6838 &lt;p&gt;A few days ago I was tired of VLC not being listed as a viable
6839 player when I wanted to play videos from the Norwegian National
6840 Broadcasting Company, and decided to investigate why. The cause is a
6841 &lt;a href=&quot;https://bugs.debian.org/822245&quot;&gt;missing MIME type in the VLC
6842 desktop file&lt;/a&gt;. In the process I wrote a script to compare the set
6843 of MIME types announced in the desktop file and the browser plugin,
6844 only to discover that there is quite a large difference between the
6845 two for VLC. This discovery made me dig up the script I used to
6846 compare browser plugins, and adjust it to compare desktop files
6847 instead, to try to figure out which multimedia player in Debian
6848 support most file formats.&lt;/p&gt;
6849
6850 &lt;p&gt;The result can be seen on the Debian Wiki, as
6851 &lt;a href=&quot;https://wiki.debian.org/DebianMultimedia/PlayerSupport&quot;&gt;a
6852 table listing all MIME types supported by one of the packages included
6853 in the table&lt;/a&gt;, with the package supporting most MIME types being
6854 listed first in the table.&lt;/p&gt;
6855
6856 &lt;/p&gt;The best multimedia player in Debian? It is totem, followed by
6857 parole, kplayer, mpv, vlc, smplayer mplayer-gui gnome-mpv and
6858 kmplayer. Time for the other players to update their announced MIME
6859 support?&lt;/p&gt;
6860 </description>
6861 </item>
6862
6863 <item>
6864 <title>The Pyra - handheld computer with Debian preinstalled</title>
6865 <link>http://people.skolelinux.org/pere/blog/The_Pyra___handheld_computer_with_Debian_preinstalled.html</link>
6866 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_Pyra___handheld_computer_with_Debian_preinstalled.html</guid>
6867 <pubDate>Wed, 4 May 2016 10:00:00 +0200</pubDate>
6868 <description>A friend of mine made me aware of
6869 &lt;a href=&quot;https://pyra-handheld.com/boards/pages/pyra/&quot;&gt;The Pyra&lt;/a&gt;, a
6870 handheld computer which will be delivered with Debian preinstalled. I
6871 would love to get one of those for my birthday. :)&lt;/p&gt;
6872
6873 &lt;p&gt;The machine is a complete ARM-based PC with micro HDMI, SATA, USB
6874 plugs and many others connectors, and include a full keyboard and a 5&quot;
6875 LCD touch screen. The 6000mAh battery is claimed to provide a whole
6876 day of battery life time, but I have not seen any independent tests
6877 confirming this. The vendor is still collecting preorders, and the
6878 last I heard last night was that 22 more orders were needed before
6879 production started.&lt;/p&gt;
6880
6881 &lt;p&gt;As far as I know, this is the first handheld preinstalled with
6882 Debian. Please let me know if you know of any others. Is it the
6883 first computer being sold with Debian preinstalled?&lt;/p&gt;
6884 </description>
6885 </item>
6886
6887 <item>
6888 <title>NUUG contests Norwegian police DNS seizure of popcorn-time.no</title>
6889 <link>http://people.skolelinux.org/pere/blog/NUUG_contests_Norwegian_police_DNS_seizure_of_popcorn_time_no.html</link>
6890 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/NUUG_contests_Norwegian_police_DNS_seizure_of_popcorn_time_no.html</guid>
6891 <pubDate>Mon, 18 Apr 2016 10:00:00 +0200</pubDate>
6892 <description>&lt;p&gt;It is days like today I am really happy to be a member of
6893 &lt;a href=&quot;http://www.nuug.no/&quot;&gt;the Norwegian Unix User group&lt;/a&gt;, a
6894 member association for those of us believing in free software, open
6895 standards and unix-like operating systems. NUUG announced today it
6896 will
6897 &lt;a href=&quot;http://www.nuug.no/news/Pressemelding__NUUG_og_EFN_begj_rer_rettslig_pr_ving_for_DNS_domenebeslag_av_popcorn_time_no.shtml&quot;&gt;try
6898 to bring the seizure of the DNS domain popcorn-time.no as
6899 unlawful&lt;/a&gt;, to stand up for the principle that writing about a
6900 controversial topic is not infringing copyrights, and censuring web
6901 pages by hijacking DNS domain should be decided by the courts, not the
6902 police. The DNS domain was seized by the Norwegian National Authority
6903 for Investigation and Prosecution of Economic and Environmental Crime
6904 a month ago. I hope this bring more paying members to NUUG to give
6905 the association the financial muscle needed to bring this case as far
6906 as it must go to stop this kind of DNS hijacking.&lt;/p&gt;
6907 </description>
6908 </item>
6909
6910 <item>
6911 <title>I.F. Stone - an inspiration for us all</title>
6912 <link>http://people.skolelinux.org/pere/blog/I_F__Stone___an_inspiration_for_us_all.html</link>
6913 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/I_F__Stone___an_inspiration_for_us_all.html</guid>
6914 <pubDate>Wed, 13 Apr 2016 21:20:00 +0200</pubDate>
6915 <description>&lt;p&gt;I first got to know I.F. Stone when I came across an article by Jon
6916 Schwarz on The Intercept
6917 &lt;a href=&quot;https://theintercept.com/2015/05/07/new-documentary-legacy-f-stone/&quot;&gt;about
6918 his extraordinary contribution to investigative journalism in
6919 USA&lt;/a&gt;. The article is about a new documentary in two parts
6920 (&lt;a href=&quot;https://vimeo.com/123974841&quot;&gt;part one is 12 minutes&lt;/a&gt; and
6921 &lt;a href=&quot;https://vimeo.com/123974842&quot;&gt;part two is 30 minutes&lt;/a&gt;), and
6922 I found both truly fascinating. It is amazing what he was able to
6923 find by digging up public sources and government papers. He
6924 documented lots of government abuse and cover ups, and I find
6925 &lt;a href=&quot;http://www.ifstone.org/weekly.php&quot;&gt;his weekly news letters&lt;/a&gt;
6926 inspiring to read even today.&lt;/p&gt;
6927
6928 &lt;p&gt;&lt;blockquote&gt;
6929 All governments are run by liars and nothing they say should be believed.
6930 &lt;br&gt;- I. F. Stone
6931 &lt;/blockquote&gt;&lt;/p&gt;
6932
6933 &lt;p&gt;His starting point was that reporters should not assume governments
6934 and corporations are telling the truth, but verify all their claims as
6935 much as possible. I wonder how many Norwegian reporters can be said
6936 to follow the principles of I. F. Stone. They are definitely in short
6937 supply. If you, like me half a year ago, have never heard of him,
6938 check him out.&lt;/p&gt;
6939 </description>
6940 </item>
6941
6942 <item>
6943 <title>A French paperback edition of the book Free Culture by Lawrence Lessig is now available</title>
6944 <link>http://people.skolelinux.org/pere/blog/A_French_paperback_edition_of_the_book_Free_Culture_by_Lawrence_Lessig_is_now_available.html</link>
6945 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_French_paperback_edition_of_the_book_Free_Culture_by_Lawrence_Lessig_is_now_available.html</guid>
6946 <pubDate>Tue, 12 Apr 2016 10:40:00 +0200</pubDate>
6947 <description>&lt;p&gt;I&#39;m happy to report that
6948 &lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-22645082.html&quot;&gt;the
6949 French paperback edition&lt;/a&gt; of
6950 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;my
6951 project to translate&lt;/a&gt; the &lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free
6952 Culture&lt;/a&gt; book by Lawrence Lessig is now available for sale on
6953 Lulu.com. Once I have formally verified my proof reading copy, which
6954 should be in the mail, the paperback edition should be available in
6955 book stores like Amazon and Barnes &amp; Noble too.&lt;/p&gt;
6956
6957 &lt;p&gt;This French edition, Culture Libre, is the work of the
6958 &lt;a href=&quot;http://dblatex.sourceforge.net/&quot;&gt;dblatex&lt;/a&gt; developer Benoît
6959 Guillon, who created the PO file from the initial translation
6960 available from
6961 &lt;a href=&quot;http://www.wikilivres.ca/wiki/Culture_libre&quot;&gt;the Wikilivres
6962 wiki pages&lt;/a&gt; and completed and corrected the translation to match
6963 the original docbook edition my project is using, as well as
6964 coordinated the proof reading of the final result. I believe the end
6965 result look great, but I am biased and do not read French. In
6966 addition to the paperback edition, the book is available in PDF, EPUB
6967 and Mobi format from the github project page linked to above.&lt;/p&gt;
6968
6969 &lt;p&gt;When enabling book store distribution on Lulu.com, I had to nearly
6970 triple the price to allow the book stores some profit. I also had to
6971 accept that I will get some revenue when a book is sold via Lulu.com.
6972 But because of the non-commercial clause in the book license
6973 (CC-BY-NC), this might be a problem. To bypass the problem I
6974 discussed how to handle the revenue with the author, and we agreed
6975 that the revenue for these editions go to the
6976 &lt;a href=&quot;https://creativecommons.org/&quot;&gt;Creative Commons non-profit
6977 Corporation&lt;/a&gt; who handle donations to the Creative Commons project.
6978 So far they have earned around USD 70 on sales of the
6979 &lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-22440520.html&quot;&gt;English&lt;/a&gt;
6980 and
6981 &lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-22441576.html&quot;&gt;Norwegian
6982 Bokmål&lt;/a&gt; editions, according to Lulu.com. They will get the revenue
6983 for the French edition too. Their revenue is higher if you buy the
6984 book directly from Lulu.com instead of via a book store, so I
6985 recommend you buy directly from Lulu.com.&lt;/p&gt;
6986
6987 &lt;p&gt;Perhaps you would like to get the book published in your language?
6988 The translation is done using a web based translator service, so the
6989 technical bar to enter is fairly low. Get in touch if you would like
6990 to make this happen.&lt;/p&gt;
6991 </description>
6992 </item>
6993
6994 <item>
6995 <title>Lets make a Norwegian Bokmål edition of The Debian Administrator&#39;s Handbook</title>
6996 <link>http://people.skolelinux.org/pere/blog/Lets_make_a_Norwegian_Bokm_l_edition_of_The_Debian_Administrator_s_Handbook.html</link>
6997 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Lets_make_a_Norwegian_Bokm_l_edition_of_The_Debian_Administrator_s_Handbook.html</guid>
6998 <pubDate>Sun, 10 Apr 2016 23:20:00 +0200</pubDate>
6999 <description>&lt;p&gt;During this weekends
7000 &lt;a href=&quot;http://www.nuug.no/news/Oslo__Takk_for_feilfiksingsfesten.shtml&quot;&gt;bug
7001 squashing party and developer gathering&lt;/a&gt;, we decided to do our part
7002 to make sure there are good books about Debian available in Norwegian
7003 Bokmål, and got in touch with the people behind the
7004 &lt;a href=&quot;http://debian-handbook.info/&quot;&gt;Debian Administrator&#39;s Handbook
7005 project&lt;/a&gt; to get started. If you want to help out, please start
7006 contributing using
7007 &lt;a href=&quot;https://hosted.weblate.org/projects/debian-handbook/&quot;&gt;the
7008 hosted weblate project page&lt;/a&gt;, and get in touch using
7009 &lt;a href=&quot;http://lists.alioth.debian.org/mailman/listinfo/debian-handbook-translators&quot;&gt;the
7010 translators mailing list&lt;/a&gt;. Please also check out
7011 &lt;a href=&quot;https://debian-handbook.info/contribute/&quot;&gt;the instructions for
7012 contributors&lt;/a&gt;.&lt;/p&gt;
7013
7014 &lt;p&gt;The book is already available on paper in English, French and
7015 Japanese, and our goal is to get it available on paper in Norwegian
7016 Bokmål too. In addition to the paper edition, there are also EPUB and
7017 Mobi versions available. And there are incomplete translations
7018 available for many more languages.&lt;/p&gt;
7019 </description>
7020 </item>
7021
7022 <item>
7023 <title>One in two hundred Debian users using ZFS on Linux?</title>
7024 <link>http://people.skolelinux.org/pere/blog/One_in_two_hundred_Debian_users_using_ZFS_on_Linux_.html</link>
7025 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/One_in_two_hundred_Debian_users_using_ZFS_on_Linux_.html</guid>
7026 <pubDate>Thu, 7 Apr 2016 22:30:00 +0200</pubDate>
7027 <description>&lt;p&gt;Just for fun I had a look at the popcon number of ZFS related
7028 packages in Debian, and was quite surprised with what I found. I use
7029 ZFS myself at home, but did not really expect many others to do so.
7030 But I might be wrong.&lt;/p&gt;
7031
7032 &lt;p&gt;According to
7033 &lt;a href=&quot;https://qa.debian.org/popcon.php?package=spl-linux&quot;&gt;the popcon
7034 results for spl-linux&lt;/a&gt;, there are 1019 Debian installations, or
7035 0.53% of the population, with the package installed. As far as I know
7036 the only use of the spl-linux package is as a support library for ZFS
7037 on Linux, so I use it here as proxy for measuring the number of ZFS
7038 installation on Linux in Debian. In the kFreeBSD variant of Debian
7039 the ZFS feature is already available, and there
7040 &lt;a href=&quot;https://qa.debian.org/popcon.php?package=zfsutils&quot;&gt;the popcon
7041 results for zfsutils&lt;/a&gt; show 1625 Debian installations or 0.84% of
7042 the population. So I guess I am not alone in using ZFS on Debian.&lt;/p&gt;
7043
7044 &lt;p&gt;But even though the Debian project leader Lucas Nussbaum
7045 &lt;a href=&quot;https://lists.debian.org/debian-devel-announce/2015/04/msg00006.html&quot;&gt;announced
7046 in April 2015&lt;/a&gt; that the legal obstacles blocking ZFS on Debian were
7047 cleared, the package is still not in Debian. The package is again in
7048 the NEW queue. Several uploads have been rejected so far because the
7049 debian/copyright file was incomplete or wrong, but there is no reason
7050 to give up. The current status can be seen on
7051 &lt;a href=&quot;https://qa.debian.org/developer.php?login=pkg-zfsonlinux-devel@lists.alioth.debian.org&quot;&gt;the
7052 team status page&lt;/a&gt;, and
7053 &lt;a href=&quot;http://anonscm.debian.org/gitweb/?p=pkg-zfsonlinux/zfs.git&quot;&gt;the
7054 source code&lt;/a&gt; is available on Alioth.&lt;/p&gt;
7055
7056 &lt;p&gt;As I want ZFS to be included in next version of Debian to make sure
7057 my home server can function in the future using only official Debian
7058 packages, and the current blocker is to get the debian/copyright file
7059 accepted by the FTP masters in Debian, I decided a while back to try
7060 to help out the team. This was the background for my blog post about
7061 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Creating__updating_and_checking_debian_copyright_semi_automatically.html&quot;&gt;creating,
7062 updating and checking debian/copyright semi-automatically&lt;/a&gt;, and I
7063 used the techniques I explored there to try to find any errors in the
7064 copyright file. It is not very easy to check every one of the around
7065 2000 files in the source package, but I hope we this time got it
7066 right. If you want to help out, check out the git source and try to
7067 find missing entries in the debian/copyright file.&lt;/p&gt;
7068 </description>
7069 </item>
7070
7071 <item>
7072 <title>syslog-trusted-timestamp - chain of trusted timestamps for your syslog</title>
7073 <link>http://people.skolelinux.org/pere/blog/syslog_trusted_timestamp___chain_of_trusted_timestamps_for_your_syslog.html</link>
7074 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/syslog_trusted_timestamp___chain_of_trusted_timestamps_for_your_syslog.html</guid>
7075 <pubDate>Sat, 2 Apr 2016 09:50:00 +0200</pubDate>
7076 <description>&lt;p&gt;Two years ago, I had
7077 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Public_Trusted_Timestamping_services_for_everyone.html&quot;&gt;a
7078 look at trusted timestamping options available&lt;/a&gt;, and among
7079 other things noted a still open
7080 &lt;a href=&quot;https://bugs.debian.org/742553&quot;&gt;bug in the tsget script&lt;/a&gt;
7081 included in openssl that made it harder than necessary to use openssl
7082 as a trusted timestamping client. A few days ago I was told
7083 &lt;a href=&quot;https:/www.difi.no/&quot;&gt;the Norwegian government office DIFI&lt;/a&gt; is
7084 close to releasing their own trusted timestamp service, and in the
7085 process I was happy to learn about a replacement for the tsget script
7086 using only curl:&lt;/p&gt;
7087
7088 &lt;p&gt;&lt;pre&gt;
7089 openssl ts -query -data &quot;/etc/shells&quot; -cert -sha256 -no_nonce \
7090 | curl -s -H &quot;Content-Type: application/timestamp-query&quot; \
7091 --data-binary &quot;@-&quot; http://zeitstempel.dfn.de &gt; etc-shells.tsr
7092 openssl ts -reply -text -in etc-shells.tsr
7093 &lt;/pre&gt;&lt;/p&gt;
7094
7095 &lt;p&gt;This produces a binary timestamp file (etc-shells.tsr) which can be
7096 used to verify that the content of the file /etc/shell with the
7097 calculated sha256 hash existed at the point in time when the request
7098 was made. The last command extract the content of the etc-shells.tsr
7099 in human readable form. The idea behind such timestamp is to be able
7100 to prove using cryptography that the content of a file have not
7101 changed since the file was stamped.&lt;/p&gt;
7102
7103 &lt;p&gt;To verify that the file on disk match the public key signature in
7104 the timestamp file, run the following commands. It make sure you have
7105 the required certificate for the trusted timestamp service available
7106 and use it to compare the file content with the timestamp. In
7107 production, one should of course use a better method to verify the
7108 service certificate.&lt;/p&gt;
7109
7110 &lt;p&gt;&lt;pre&gt;
7111 wget -O ca-cert.txt https://pki.pca.dfn.de/global-services-ca/pub/cacert/chain.txt
7112 openssl ts -verify -data /etc/shells -in etc-shells.tsr -CAfile ca-cert.txt -text
7113 &lt;/pre&gt;&lt;/p&gt;
7114
7115 &lt;p&gt;Wikipedia have a lot more information about
7116 &lt;a href=&quot;https://en.wikipedia.org/wiki/Trusted_timestamping&quot;&gt;trusted
7117 Timestamping&lt;/a&gt; and
7118 &lt;a href=&quot;https://en.wikipedia.org/wiki/Linked_timestamping&quot;&gt;linked
7119 timestamping&lt;/a&gt;, and there are several trusted timestamping services
7120 around, both as commercial services and as free and public services.
7121 Among the latter is
7122 &lt;a href=&quot;https://www.pki.dfn.de/zeitstempeldienst/&quot;&gt;the
7123 zeitstempel.dfn.de service&lt;/a&gt; mentioned above and
7124 &lt;a href=&quot;https://freetsa.org/&quot;&gt;freetsa.org service&lt;/a&gt; linked to from the
7125 wikipedia web site. I believe the DIFI service should show up on
7126 https://tsa.difi.no, but it is not available to the public at the
7127 moment. I hope this will change when it is into production. The
7128 &lt;a href=&quot;https://tools.ietf.org/html/rfc3161&quot;&gt;RFC 3161&lt;/a&gt; trusted
7129 timestamping protocol standard is even implemented in LibreOffice,
7130 Microsoft Office and Adobe Acrobat, making it possible to verify when
7131 a document was created.&lt;/p&gt;
7132
7133 &lt;p&gt;I would find it useful to be able to use such trusted timestamp
7134 service to make it possible to verify that my stored syslog files have
7135 not been tampered with. This is not a new idea. I found one example
7136 implemented on the Endian network appliances where
7137 &lt;a href=&quot;http://help.endian.com/entries/21518508-Enabling-Timestamping-on-log-files-&quot;&gt;the
7138 configuration of such feature was described in 2012&lt;/a&gt;.&lt;/p&gt;
7139
7140 &lt;p&gt;But I could not find any free implementation of such feature when I
7141 searched, so I decided to try to
7142 &lt;a href=&quot;https://github.com/petterreinholdtsen/syslog-trusted-timestamp&quot;&gt;build
7143 a prototype named syslog-trusted-timestamp&lt;/a&gt;. My idea is to
7144 generate a timestamp of the old log files after they are rotated, and
7145 store the timestamp in the new log file just after rotation. This
7146 will form a chain that would make it possible to see if any old log
7147 files are tampered with. But syslog is bad at handling kilobytes of
7148 binary data, so I decided to base64 encode the timestamp and add an ID
7149 and line sequence numbers to the base64 data to make it possible to
7150 reassemble the timestamp file again. To use it, simply run it like
7151 this:
7152
7153 &lt;p&gt;&lt;pre&gt;
7154 syslog-trusted-timestamp /path/to/list-of-log-files
7155 &lt;/pre&gt;&lt;/p&gt;
7156
7157 &lt;p&gt;This will send a timestamp from one or more timestamp services (not
7158 yet decided nor implemented) for each listed file to the syslog using
7159 logger(1). To verify the timestamp, the same program is used with the
7160 --verify option:&lt;/p&gt;
7161
7162 &lt;p&gt;&lt;pre&gt;
7163 syslog-trusted-timestamp --verify /path/to/log-file /path/to/log-with-timestamp
7164 &lt;/pre&gt;&lt;/p&gt;
7165
7166 &lt;p&gt;The verification step is not yet well designed. The current
7167 implementation depend on the file path being unique and unchanging,
7168 and this is not a solid assumption. It also uses process number as
7169 timestamp ID, and this is bound to create ID collisions. I hope to
7170 have time to come up with a better way to handle timestamp IDs and
7171 verification later.&lt;/p&gt;
7172
7173 &lt;p&gt;Please check out
7174 &lt;a href=&quot;https://github.com/petterreinholdtsen/syslog-trusted-timestamp&quot;&gt;the
7175 prototype for syslog-trusted-timestamp on github&lt;/a&gt; and send
7176 suggestions and improvement, or let me know if there already exist a
7177 similar system for timestamping logs already to allow me to join
7178 forces with others with the same interest.&lt;/p&gt;
7179
7180 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
7181 activities, please send Bitcoin donations to my address
7182 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
7183 </description>
7184 </item>
7185
7186 <item>
7187 <title>Full battery stats collector is now available in Debian</title>
7188 <link>http://people.skolelinux.org/pere/blog/Full_battery_stats_collector_is_now_available_in_Debian.html</link>
7189 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Full_battery_stats_collector_is_now_available_in_Debian.html</guid>
7190 <pubDate>Wed, 23 Mar 2016 22:10:00 +0100</pubDate>
7191 <description>&lt;p&gt;Since this morning, the battery-stats package in Debian include an
7192 extended collector that will collect the complete battery history for
7193 later processing and graphing. The original collector store the
7194 battery level as percentage of last full level, while the new
7195 collector also record battery vendor, model, serial number, design
7196 full level, last full level and current battery level. This make it
7197 possible to predict the lifetime of the battery as well as visualise
7198 the energy flow when the battery is charging or discharging.&lt;/p&gt;
7199
7200 &lt;p&gt;The new tools are available in &lt;tt&gt;/usr/share/battery-stats/&lt;/tt&gt;
7201 in the version 0.5.1 package in unstable. Get the new battery level graph
7202 and lifetime prediction by running:
7203
7204 &lt;p&gt;&lt;pre&gt;
7205 /usr/share/battery-stats/battery-stats-graph /var/log/battery-stats.csv
7206 &lt;/pre&gt;&lt;/p&gt;
7207
7208 &lt;p&gt;Or select the &#39;Battery Level Graph&#39; from your application menu.&lt;/p&gt;
7209
7210 &lt;p&gt;The flow in/out of the battery can be seen by running (no menu
7211 entry yet):&lt;/p&gt;
7212
7213 &lt;p&gt;&lt;pre&gt;
7214 /usr/share/battery-stats/battery-stats-graph-flow
7215 &lt;/pre&gt;&lt;/p&gt;
7216
7217 &lt;p&gt;I&#39;m not quite happy with the way the data is visualised, at least
7218 when there are few data points. The graphs look a bit better with a
7219 few years of data.&lt;/p&gt;
7220
7221 &lt;p&gt;A while back one important feature I use in the battery stats
7222 collector broke in Debian. The scripts in
7223 &lt;tt&gt;/usr/lib/pm-utils/power.d/&lt;/tt&gt; were no longer executed. I
7224 suspect it happened when Jessie started using systemd, but I do not
7225 know. The issue is reported as
7226 &lt;a href=&quot;https://bugs.debian.org/818649&quot;&gt;bug #818649&lt;/a&gt; against
7227 pm-utils. I managed to work around it by adding an udev rule to call
7228 the collector script every time the power connector is connected and
7229 disconnected. With this fix in place it was finally time to make a
7230 new release of the package, and get it into Debian.&lt;/p&gt;
7231
7232 &lt;p&gt;If you are interested in how your laptop battery is doing, please
7233 check out the
7234 &lt;a href=&quot;https://tracker.debian.org/pkg/battery-stats&quot;&gt;battery-stats&lt;/a&gt;
7235 in Debian unstable, or rebuild it on Jessie to get it working on
7236 Debian stable. :) The upstream source is available from
7237 &lt;a href=&quot;https://github.com/petterreinholdtsen/battery-stats&quot;&gt;github&lt;/a&gt;.
7238 As always, patches are very welcome.&lt;/p&gt;
7239 </description>
7240 </item>
7241
7242 <item>
7243 <title>UsingQR - &quot;Electronic&quot; paper invoices using JSON and QR codes</title>
7244 <link>http://people.skolelinux.org/pere/blog/UsingQR____Electronic__paper_invoices_using_JSON_and_QR_codes.html</link>
7245 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/UsingQR____Electronic__paper_invoices_using_JSON_and_QR_codes.html</guid>
7246 <pubDate>Sat, 19 Mar 2016 09:40:00 +0100</pubDate>
7247 <description>&lt;p&gt;Back in 2013 I proposed
7248 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/_Electronic__paper_invoices___using_vCard_in_a_QR_code.html&quot;&gt;a
7249 way to make paper and PDF invoices easier to process electronically by
7250 adding a QR code with the key information about the invoice&lt;/a&gt;. I
7251 suggested using vCard field definition, to get some standard format
7252 for name and address, but any format would work. I did not do
7253 anything about the proposal, but hoped someone one day would make
7254 something like it. It would make it possible to efficiently send
7255 machine readable invoices directly between seller and buyer.&lt;/p&gt;
7256
7257 &lt;p&gt;This was the background when I came across a proposal and
7258 specification from the web based accounting and invoicing supplier
7259 &lt;a href=&quot;http://www.visma.com/&quot;&gt;Visma&lt;/a&gt; in Sweden called
7260 &lt;a href=&quot;http://usingqr.com/&quot;&gt;UsingQR&lt;/a&gt;. Their PDF invoices contain
7261 a QR code with the key information of the invoice in JSON format.
7262 This is the typical content of a QR code following the UsingQR
7263 specification (based on a real world example, some numbers replaced to
7264 get a more bogus entry). I&#39;ve reformatted the JSON to make it easier
7265 to read. Normally this is all on one long line:&lt;/p&gt;
7266
7267 &lt;p&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2016-03-19-qr-invoice.png&quot; align=&quot;right&quot;&gt;&lt;pre&gt;
7268 {
7269 &quot;vh&quot;:500.00,
7270 &quot;vm&quot;:0,
7271 &quot;vl&quot;:0,
7272 &quot;uqr&quot;:1,
7273 &quot;tp&quot;:1,
7274 &quot;nme&quot;:&quot;Din Leverandør&quot;,
7275 &quot;cc&quot;:&quot;NO&quot;,
7276 &quot;cid&quot;:&quot;997912345 MVA&quot;,
7277 &quot;iref&quot;:&quot;12300001&quot;,
7278 &quot;idt&quot;:&quot;20151022&quot;,
7279 &quot;ddt&quot;:&quot;20151105&quot;,
7280 &quot;due&quot;:2500.0000,
7281 &quot;cur&quot;:&quot;NOK&quot;,
7282 &quot;pt&quot;:&quot;BBAN&quot;,
7283 &quot;acc&quot;:&quot;17202612345&quot;,
7284 &quot;bc&quot;:&quot;BIENNOK1&quot;,
7285 &quot;adr&quot;:&quot;0313 OSLO&quot;
7286 }
7287 &lt;/pre&gt;&lt;/p&gt;
7288
7289 &lt;/p&gt;The interpretation of the fields can be found in the
7290 &lt;a href=&quot;http://usingqr.com/wp-content/uploads/2014/06/UsingQR_specification1.pdf&quot;&gt;format
7291 specification&lt;/a&gt; (revision 2 from june 2014). The format seem to
7292 have most of the information needed to handle accounting and payment
7293 of invoices, at least the fields I have needed so far here in
7294 Norway.&lt;/p&gt;
7295
7296 &lt;p&gt;Unfortunately, the site and document do not mention anything about
7297 the patent, trademark and copyright status of the format and the
7298 specification. Because of this, I asked the people behind it back in
7299 November to clarify. Ann-Christine Savlid (ann-christine.savlid (at)
7300 visma.com) replied that Visma had not applied for patent or trademark
7301 protection for this format, and that there were no copyright based
7302 usage limitations for the format. I urged her to make sure this was
7303 explicitly written on the web pages and in the specification, but
7304 unfortunately this has not happened yet. So I guess if there is
7305 submarine patents, hidden trademarks or a will to sue for copyright
7306 infringements, those starting to use the UsingQR format might be at
7307 risk, but if this happen there is some legal defense in the fact that
7308 the people behind the format claimed it was safe to do so. At least
7309 with patents, there is always
7310 &lt;a href=&quot;http://www.paperspecs.com/paper-news/beware-the-qr-code-patent-trap/&quot;&gt;a
7311 chance of getting sued...&lt;/a&gt;&lt;/p&gt;
7312
7313 &lt;p&gt;I also asked if they planned to maintain the format in an
7314 independent standard organization to give others more confidence that
7315 they would participate in the standardization process on equal terms
7316 with Visma, but they had no immediate plans for this. Their plan was
7317 to work with banks to try to get more users of the format, and
7318 evaluate the way forward if the format proved to be popular. I hope
7319 they conclude that using an open standard organisation like
7320 &lt;a href=&quot;http://www.ietf.org/&quot;&gt;IETF&lt;/a&gt; is the correct place to
7321 maintain such specification.&lt;/p&gt;
7322
7323 &lt;p&gt;&lt;strong&gt;Update 2016-03-20&lt;/strong&gt;: Via Twitter I became aware of
7324 &lt;a href=&quot;https://news.ycombinator.com/item?id=11319492&quot;&gt;some comments
7325 about this blog post&lt;/a&gt; that had several useful links and references to
7326 similar systems. In the Czech republic, the Czech Banking Association
7327 standard #26, with short name SPAYD, uses QR codes with payment
7328 information. More information is available from the Wikipedia page on
7329 &lt;a href=&quot;https://en.wikipedia.org/wiki/Short_Payment_Descriptor&quot;&gt;Short
7330 Payment Descriptor&lt;/a&gt;. And in Germany, there is a system named
7331 &lt;a href=&quot;http://www.bezahlcode.de/&quot;&gt;BezahlCode&lt;/a&gt;,
7332 (&lt;a href=&quot;http://www.bezahlcode.de/wp-content/uploads/BezahlCode_TechDok.pdf&quot;&gt;specification
7333 v1.8 2013-12-05 available as PDF&lt;/a&gt;), which uses QR codes with
7334 URL-like formatting using &quot;bank:&quot; as the URI schema/protocol to
7335 provide the payment information. There is also the
7336 &lt;a href=&quot;http://www.ferd-net.de/front_content.php?idcat=231&quot;&gt;ZUGFeRD&lt;/a&gt;
7337 file format that perhaps could be transfered using QR codes, but I am
7338 not sure if it is done already. Last, in Bolivia there are reports
7339 that tax information since november 2014 need to be printed in QR
7340 format on invoices. I have not been able to track down a
7341 specification for this format, because of my limited language skill
7342 sets.&lt;/p&gt;
7343 </description>
7344 </item>
7345
7346 <item>
7347 <title>Making battery measurements a little easier in Debian</title>
7348 <link>http://people.skolelinux.org/pere/blog/Making_battery_measurements_a_little_easier_in_Debian.html</link>
7349 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Making_battery_measurements_a_little_easier_in_Debian.html</guid>
7350 <pubDate>Tue, 15 Mar 2016 15:00:00 +0100</pubDate>
7351 <description>&lt;p&gt;Back in September, I blogged about
7352 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/The_life_and_death_of_a_laptop_battery.html&quot;&gt;the
7353 system I wrote to collect statistics about my laptop battery&lt;/a&gt;, and
7354 how it showed the decay and death of this battery (now replaced). I
7355 created a simple deb package to handle the collection and graphing,
7356 but did not want to upload it to Debian as there were already
7357 &lt;a href=&quot;https://tracker.debian.org/pkg/battery-stats&quot;&gt;a battery-stats
7358 package in Debian&lt;/a&gt; that should do the same thing, and I did not see
7359 a point of uploading a competing package when battery-stats could be
7360 fixed instead. I reported a few bugs about its non-function, and
7361 hoped someone would step in and fix it. But no-one did.&lt;/p&gt;
7362
7363 &lt;p&gt;I got tired of waiting a few days ago, and took matters in my own
7364 hands. The end result is that I am now the new upstream developer of
7365 battery stats (&lt;a href=&quot;https://github.com/petterreinholdtsen/battery-stats&quot;&gt;available from github&lt;/a&gt;) and part of the team maintaining
7366 battery-stats in Debian, and the package in Debian unstable is finally
7367 able to collect battery status using the &lt;tt&gt;/sys/class/power_supply/&lt;/tt&gt;
7368 information provided by the Linux kernel. If you install the
7369 battery-stats package from unstable now, you will be able to get a
7370 graph of the current battery fill level, to get some idea about the
7371 status of the battery. The source package build and work just fine in
7372 Debian testing and stable (and probably oldstable too, but I have not
7373 tested). The default graph you get for that system look like this:&lt;/p&gt;
7374
7375 &lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2016-03-15-battery-stats-graph-example.png&quot; width=&quot;70%&quot; align=&quot;center&quot;&gt;&lt;/p&gt;
7376
7377 &lt;p&gt;My plans for the future is to merge my old scripts into the
7378 battery-stats package, as my old scripts collected a lot more details
7379 about the battery. The scripts are merged into the upstream
7380 battery-stats git repository already, but I am not convinced they work
7381 yet, as I changed a lot of paths along the way. Will have to test a
7382 bit more before I make a new release.&lt;/p&gt;
7383
7384 &lt;p&gt;I will also consider changing the file format slightly, as I
7385 suspect the way I combine several values into one field might make it
7386 impossible to know the type of the value when using it for processing
7387 and graphing.&lt;/p&gt;
7388
7389 &lt;p&gt;If you would like I would like to keep an close eye on your laptop
7390 battery, check out the battery-stats package in
7391 &lt;a href=&quot;https://tracker.debian.org/pkg/battery-stats&quot;&gt;Debian&lt;/a&gt; and
7392 on
7393 &lt;a href=&quot;https://github.com/petterreinholdtsen/battery-stats&quot;&gt;github&lt;/a&gt;.
7394 I would love some help to improve the system further.&lt;/p&gt;
7395 </description>
7396 </item>
7397
7398 <item>
7399 <title>Creating, updating and checking debian/copyright semi-automatically</title>
7400 <link>http://people.skolelinux.org/pere/blog/Creating__updating_and_checking_debian_copyright_semi_automatically.html</link>
7401 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Creating__updating_and_checking_debian_copyright_semi_automatically.html</guid>
7402 <pubDate>Fri, 19 Feb 2016 15:00:00 +0100</pubDate>
7403 <description>&lt;p&gt;Making packages for Debian requires quite a lot of attention to
7404 details. And one of the details is the content of the
7405 debian/copyright file, which should list all relevant licenses used by
7406 the code in the package in question, preferably in
7407 &lt;a href=&quot;https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/&quot;&gt;machine
7408 readable DEP5 format&lt;/a&gt;.&lt;/p&gt;
7409
7410 &lt;p&gt;For large packages with lots of contributors it is hard to write
7411 and update this file manually, and if you get some detail wrong, the
7412 package is normally rejected by the ftpmasters. So getting it right
7413 the first time around get the package into Debian faster, and save
7414 both you and the ftpmasters some work.. Today, while trying to figure
7415 out what was wrong with
7416 &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686447&quot;&gt;the
7417 zfsonlinux copyright file&lt;/a&gt;, I decided to spend some time on
7418 figuring out the options for doing this job automatically, or at least
7419 semi-automatically.&lt;/p&gt;
7420
7421 &lt;p&gt;Lucikly, there are at least two tools available for generating the
7422 file based on the code in the source package,
7423 &lt;tt&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/debmake&quot;&gt;debmake&lt;/a&gt;&lt;/tt&gt;
7424 and &lt;tt&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/cme&quot;&gt;cme&lt;/a&gt;&lt;/tt&gt;. I&#39;m
7425 not sure which one of them came first, but both seem to be able to
7426 create a sensible draft file. As far as I can tell, none of them can
7427 be trusted to get the result just right, so the content need to be
7428 polished a bit before the file is OK to upload. I found the debmake
7429 option in
7430 &lt;a href=&quot;http://goofying-with-debian.blogspot.com/2014/07/debmake-checking-source-against-dep-5.html&quot;&gt;a
7431 blog posts from 2014&lt;/a&gt;.
7432
7433 &lt;p&gt;To generate using debmake, use the -cc option:
7434
7435 &lt;p&gt;&lt;pre&gt;
7436 debmake -cc &gt; debian/copyright
7437 &lt;/pre&gt;&lt;/p&gt;
7438
7439 &lt;p&gt;Note there are some problems with python and non-ASCII names, so
7440 this might not be the best option.&lt;/p&gt;
7441
7442 &lt;p&gt;The cme option is based on a config parsing library, and I found
7443 this approach in
7444 &lt;a href=&quot;https://ddumont.wordpress.com/2015/04/05/improving-creation-of-debian-copyright-file/&quot;&gt;a
7445 blog post from 2015&lt;/a&gt;. To generate using cme, use the &#39;update
7446 dpkg-copyright&#39; option:
7447
7448 &lt;p&gt;&lt;pre&gt;
7449 cme update dpkg-copyright
7450 &lt;/pre&gt;&lt;/p&gt;
7451
7452 &lt;p&gt;This will create or update debian/copyright. The cme tool seem to
7453 handle UTF-8 names better than debmake.&lt;/p&gt;
7454
7455 &lt;p&gt;When the copyright file is created, I would also like some help to
7456 check if the file is correct. For this I found two good options,
7457 &lt;tt&gt;debmake -k&lt;/tt&gt; and &lt;tt&gt;license-reconcile&lt;/tt&gt;. The former seem
7458 to focus on license types and file matching, and is able to detect
7459 ineffective blocks in the copyright file. The latter reports missing
7460 copyright holders and years, but was confused by inconsistent license
7461 names (like CDDL vs. CDDL-1.0). I suspect it is good to use both and
7462 fix all issues reported by them before uploading. But I do not know
7463 if the tools and the ftpmasters agree on what is important to fix in a
7464 copyright file, so the package might still be rejected.&lt;/p&gt;
7465
7466 &lt;p&gt;The devscripts tool &lt;tt&gt;licensecheck&lt;/tt&gt; deserve mentioning. It
7467 will read through the source and try to find all copyright statements.
7468 It is not comparing the result to the content of debian/copyright, but
7469 can be useful when verifying the content of the copyright file.&lt;/p&gt;
7470
7471 &lt;p&gt;Are you aware of better tools in Debian to create and update
7472 debian/copyright file. Please let me know, or blog about it on
7473 planet.debian.org.&lt;/p&gt;
7474
7475 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
7476 activities, please send Bitcoin donations to my address
7477 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
7478
7479 &lt;p&gt;&lt;strong&gt;Update 2016-02-20&lt;/strong&gt;: I got a tip from Mike Gabriel
7480 on how to use licensecheck and cdbs to create a draft copyright file
7481
7482 &lt;p&gt;&lt;pre&gt;
7483 licensecheck --copyright -r `find * -type f` | \
7484 /usr/lib/cdbs/licensecheck2dep5 &gt; debian/copyright.auto
7485 &lt;/pre&gt;&lt;/p&gt;
7486
7487 &lt;p&gt;He mentioned that he normally check the generated file into the
7488 version control system to make it easier to discover license and
7489 copyright changes in the upstream source. I will try to do the same
7490 with my packages in the future.&lt;/p&gt;
7491
7492 &lt;p&gt;&lt;strong&gt;Update 2016-02-21&lt;/strong&gt;: The cme author recommended
7493 against using -quiet for new users, so I removed it from the proposed
7494 command line.&lt;/p&gt;
7495 </description>
7496 </item>
7497
7498 <item>
7499 <title>Using appstream in Debian to locate packages with firmware and mime type support</title>
7500 <link>http://people.skolelinux.org/pere/blog/Using_appstream_in_Debian_to_locate_packages_with_firmware_and_mime_type_support.html</link>
7501 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Using_appstream_in_Debian_to_locate_packages_with_firmware_and_mime_type_support.html</guid>
7502 <pubDate>Thu, 4 Feb 2016 16:40:00 +0100</pubDate>
7503 <description>&lt;p&gt;The &lt;a href=&quot;https://wiki.debian.org/DEP-11&quot;&gt;appstream system&lt;/a&gt;
7504 is taking shape in Debian, and one provided feature is a very
7505 convenient way to tell you which package to install to make a given
7506 firmware file available when the kernel is looking for it. This can
7507 be done using apt-file too, but that is for someone else to blog
7508 about. :)&lt;/p&gt;
7509
7510 &lt;p&gt;Here is a small recipe to find the package with a given firmware
7511 file, in this example I am looking for ctfw-3.2.3.0.bin, randomly
7512 picked from the set of firmware announced using appstream in Debian
7513 unstable. In general you would be looking for the firmware requested
7514 by the kernel during kernel module loading. To find the package
7515 providing the example file, do like this:&lt;/p&gt;
7516
7517 &lt;blockquote&gt;&lt;pre&gt;
7518 % apt install appstream
7519 [...]
7520 % apt update
7521 [...]
7522 % appstreamcli what-provides firmware:runtime ctfw-3.2.3.0.bin | \
7523 awk &#39;/Package:/ {print $2}&#39;
7524 firmware-qlogic
7525 %
7526 &lt;/pre&gt;&lt;/blockquote&gt;
7527
7528 &lt;p&gt;See &lt;a href=&quot;https://wiki.debian.org/AppStream/Guidelines&quot;&gt;the
7529 appstream wiki&lt;/a&gt; page to learn how to embed the package metadata in
7530 a way appstream can use.&lt;/p&gt;
7531
7532 &lt;p&gt;This same approach can be used to find any package supporting a
7533 given MIME type. This is very useful when you get a file you do not
7534 know how to handle. First find the mime type using &lt;tt&gt;file
7535 --mime-type&lt;/tt&gt;, and next look up the package providing support for
7536 it. Lets say you got an SVG file. Its MIME type is image/svg+xml,
7537 and you can find all packages handling this type like this:&lt;/p&gt;
7538
7539 &lt;blockquote&gt;&lt;pre&gt;
7540 % apt install appstream
7541 [...]
7542 % apt update
7543 [...]
7544 % appstreamcli what-provides mimetype image/svg+xml | \
7545 awk &#39;/Package:/ {print $2}&#39;
7546 bkchem
7547 phototonic
7548 inkscape
7549 shutter
7550 tetzle
7551 geeqie
7552 xia
7553 pinta
7554 gthumb
7555 karbon
7556 comix
7557 mirage
7558 viewnior
7559 postr
7560 ristretto
7561 kolourpaint4
7562 eog
7563 eom
7564 gimagereader
7565 midori
7566 %
7567 &lt;/pre&gt;&lt;/blockquote&gt;
7568
7569 &lt;p&gt;I believe the MIME types are fetched from the desktop file for
7570 packages providing appstream metadata.&lt;/p&gt;
7571 </description>
7572 </item>
7573
7574 <item>
7575 <title>Creepy, visualise geotagged social media information - nice free software</title>
7576 <link>http://people.skolelinux.org/pere/blog/Creepy__visualise_geotagged_social_media_information___nice_free_software.html</link>
7577 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Creepy__visualise_geotagged_social_media_information___nice_free_software.html</guid>
7578 <pubDate>Sun, 24 Jan 2016 10:50:00 +0100</pubDate>
7579 <description>&lt;p&gt;Most people seem not to realise that every time they walk around
7580 with the computerised radio beacon known as a mobile phone their
7581 position is tracked by the phone company and often stored for a long
7582 time (like every time a SMS is received or sent). And if their
7583 computerised radio beacon is capable of running programs (often called
7584 mobile apps) downloaded from the Internet, these programs are often
7585 also capable of tracking their location (if the app requested access
7586 during installation). And when these programs send out information to
7587 central collection points, the location is often included, unless
7588 extra care is taken to not send the location. The provided
7589 information is used by several entities, for good and bad (what is
7590 good and bad, depend on your point of view). What is certain, is that
7591 the private sphere and the right to free movement is challenged and
7592 perhaps even eradicated for those announcing their location this way,
7593 when they share their whereabouts with private and public
7594 entities.&lt;/p&gt;
7595
7596 &lt;p align=&quot;center&quot;&gt;&lt;img width=&quot;70%&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2016-01-24-nice-creepy-desktop-window.png&quot;&gt;&lt;/p&gt;
7597
7598 &lt;p&gt;The phone company logs provide a register of locations to check out
7599 when one want to figure out what the tracked person was doing. It is
7600 unavailable for most of us, but provided to selected government
7601 officials, company staff, those illegally buying information from
7602 unfaithful servants and crackers stealing the information. But the
7603 public information can be collected and analysed, and a free software
7604 tool to do so is called
7605 &lt;a href=&quot;http://www.geocreepy.com/&quot;&gt;Creepy or Cree.py&lt;/a&gt;. I
7606 discovered it when I read
7607 &lt;a href=&quot;http://www.aftenposten.no/kultur/Slik-kan-du-bli-overvaket-pa-Twitter-og-Instagram-uten-a-ane-det-7787884.html&quot;&gt;an
7608 article about Creepy&lt;/a&gt; in the Norwegian newspaper Aftenposten i
7609 November 2014, and decided to check if it was available in Debian.
7610 The python program was in Debian, but
7611 &lt;a href=&quot;https://tracker.debian.org/pkg/creepy&quot;&gt;the version in
7612 Debian&lt;/a&gt; was completely broken and practically unmaintained. I
7613 uploaded a new version which did not work quite right, but did not
7614 have time to fix it then. This Christmas I decided to finally try to
7615 get Creepy operational in Debian. Now a fixed version is available in
7616 Debian unstable and testing, and almost all Debian specific patches
7617 are now included
7618 &lt;a href=&quot;https://github.com/jkakavas/creepy&quot;&gt;upstream&lt;/a&gt;.&lt;/p&gt;
7619
7620 &lt;p&gt;The Creepy program visualises geolocation information fetched from
7621 Twitter, Instagram, Flickr and Google+, and allow one to get a
7622 complete picture of every social media message posted recently in a
7623 given area, or track the movement of a given individual across all
7624 these services. Earlier it was possible to use the search API of at
7625 least some of these services without identifying oneself, but these
7626 days it is impossible. This mean that to use Creepy, you need to
7627 configure it to log in as yourself on these services, and provide
7628 information to them about your search interests. This should be taken
7629 into account when using Creepy, as it will also share information
7630 about yourself with the services.&lt;/p&gt;
7631
7632 &lt;p&gt;The picture above show the twitter messages sent from (or at least
7633 geotagged with a position from) the city centre of Oslo, the capital
7634 of Norway. One useful way to use Creepy is to first look at
7635 information tagged with an area of interest, and next look at all the
7636 information provided by one or more individuals who was in the area.
7637 I tested it by checking out which celebrity provide their location in
7638 twitter messages by checkout out who sent twitter messages near a
7639 Norwegian TV station, and next could track their position over time,
7640 making it possible to locate their home and work place, among other
7641 things. A similar technique have been
7642 &lt;a href=&quot;http://www.buzzfeed.com/maxseddon/does-this-soldiers-instagram-account-prove-russia-is-covertl&quot;&gt;used
7643 to locate Russian soldiers in Ukraine&lt;/a&gt;, and it is both a powerful
7644 tool to discover lying governments, and a useful tool to help people
7645 understand the value of the private information they provide to the
7646 public.&lt;/p&gt;
7647
7648 &lt;p&gt;The package is not trivial to backport to Debian Stable/Jessie, as
7649 it depend on several python modules currently missing in Jessie (at
7650 least python-instagram, python-flickrapi and
7651 python-requests-toolbelt).&lt;/p&gt;
7652
7653 &lt;p&gt;(I have uploaded
7654 &lt;a href=&quot;https://screenshots.debian.net/package/creepy&quot;&gt;the image to
7655 screenshots.debian.net&lt;/a&gt; and licensed it under the same terms as the
7656 Creepy program in Debian.)&lt;/p&gt;
7657 </description>
7658 </item>
7659
7660 <item>
7661 <title>Always download Debian packages using Tor - the simple recipe</title>
7662 <link>http://people.skolelinux.org/pere/blog/Always_download_Debian_packages_using_Tor___the_simple_recipe.html</link>
7663 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Always_download_Debian_packages_using_Tor___the_simple_recipe.html</guid>
7664 <pubDate>Fri, 15 Jan 2016 00:30:00 +0100</pubDate>
7665 <description>&lt;p&gt;During his DebConf15 keynote, Jacob Appelbaum
7666 &lt;a href=&quot;https://summit.debconf.org/debconf15/meeting/331/what-is-to-be-done/&quot;&gt;observed
7667 that those listening on the Internet lines would have good reason to
7668 believe a computer have a given security hole&lt;/a&gt; if it download a
7669 security fix from a Debian mirror. This is a good reason to always
7670 use encrypted connections to the Debian mirror, to make sure those
7671 listening do not know which IP address to attack. In August, Richard
7672 Hartmann observed that encryption was not enough, when it was possible
7673 to interfere download size to security patches or the fact that
7674 download took place shortly after a security fix was released, and
7675 &lt;a href=&quot;http://richardhartmann.de/blog/posts/2015/08/24-Tor-enabled_Debian_mirror/&quot;&gt;proposed
7676 to always use Tor to download packages from the Debian mirror&lt;/a&gt;. He
7677 was not the first to propose this, as the
7678 &lt;tt&gt;&lt;a href=&quot;https://tracker.debian.org/pkg/apt-transport-tor&quot;&gt;apt-transport-tor&lt;/a&gt;&lt;/tt&gt;
7679 package by Tim Retout already existed to make it easy to convince apt
7680 to use &lt;a href=&quot;https://www.torproject.org/&quot;&gt;Tor&lt;/a&gt;, but I was not
7681 aware of that package when I read the blog post from Richard.&lt;/p&gt;
7682
7683 &lt;p&gt;Richard discussed the idea with Peter Palfrader, one of the Debian
7684 sysadmins, and he set up a Tor hidden service on one of the central
7685 Debian mirrors using the address vwakviie2ienjx6t.onion, thus making
7686 it possible to download packages directly between two tor nodes,
7687 making sure the network traffic always were encrypted.&lt;/p&gt;
7688
7689 &lt;p&gt;Here is a short recipe for enabling this on your machine, by
7690 installing &lt;tt&gt;apt-transport-tor&lt;/tt&gt; and replacing http and https
7691 urls with tor+http and tor+https, and using the hidden service instead
7692 of the official Debian mirror site. I recommend installing
7693 &lt;tt&gt;etckeeper&lt;/tt&gt; before you start to have a history of the changes
7694 done in /etc/.&lt;/p&gt;
7695
7696 &lt;blockquote&gt;&lt;pre&gt;
7697 apt install apt-transport-tor
7698 sed -i &#39;s% http://ftp.debian.org/% tor+http://vwakviie2ienjx6t.onion/%&#39; /etc/apt/sources.list
7699 sed -i &#39;s% http% tor+http%&#39; /etc/apt/sources.list
7700 &lt;/pre&gt;&lt;/blockquote&gt;
7701
7702 &lt;p&gt;If you have more sources listed in /etc/apt/sources.list.d/, run
7703 the sed commands for these too. The sed command is assuming your are
7704 using the ftp.debian.org Debian mirror. Adjust the command (or just
7705 edit the file manually) to match your mirror.&lt;/p&gt;
7706
7707 &lt;p&gt;This work in Debian Jessie and later. Note that tools like
7708 &lt;tt&gt;apt-file&lt;/tt&gt; only recently started using the apt transport
7709 system, and do not work with these tor+http URLs. For
7710 &lt;tt&gt;apt-file&lt;/tt&gt; you need the version currently in experimental,
7711 which need a recent apt version currently only in unstable. So if you
7712 need a working &lt;tt&gt;apt-file&lt;/tt&gt;, this is not for you.&lt;/p&gt;
7713
7714 &lt;p&gt;Another advantage from this change is that your machine will start
7715 using Tor regularly and at fairly random intervals (every time you
7716 update the package lists or upgrade or install a new package), thus
7717 masking other Tor traffic done from the same machine. Using Tor will
7718 become normal for the machine in question.&lt;/p&gt;
7719
7720 &lt;p&gt;On &lt;a href=&quot;https://wiki.debian.org/FreedomBox&quot;&gt;Freedombox&lt;/a&gt;, APT
7721 is set up by default to use &lt;tt&gt;apt-transport-tor&lt;/tt&gt; when Tor is
7722 enabled. It would be great if it was the default on any Debian
7723 system.&lt;/p&gt;
7724 </description>
7725 </item>
7726
7727 <item>
7728 <title>OpenALPR, find car license plates in video streams - nice free software</title>
7729 <link>http://people.skolelinux.org/pere/blog/OpenALPR__find_car_license_plates_in_video_streams___nice_free_software.html</link>
7730 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/OpenALPR__find_car_license_plates_in_video_streams___nice_free_software.html</guid>
7731 <pubDate>Wed, 23 Dec 2015 01:00:00 +0100</pubDate>
7732 <description>&lt;p&gt;When I was a kid, we used to collect &quot;car numbers&quot;, as we used to
7733 call the car license plate numbers in those days. I would write the
7734 numbers down in my little book and compare notes with the other kids
7735 to see how many region codes we had seen and if we had seen some
7736 exotic or special region codes and numbers. It was a fun game to pass
7737 time, as we kids have plenty of it.&lt;/p&gt;
7738
7739 &lt;p&gt;A few days I came across
7740 &lt;a href=&quot;https://github.com/openalpr/openalpr&quot;&gt;the OpenALPR
7741 project&lt;/a&gt;, a free software project to automatically discover and
7742 report license plates in images and video streams, and provide the
7743 &quot;car numbers&quot; in a machine readable format. I&#39;ve been looking for
7744 such system for a while now, because I believe it is a bad idea that the
7745 &lt;a href=&quot;https://en.wikipedia.org/wiki/Automatic_number_plate_recognition&quot;&gt;automatic
7746 number plate recognition&lt;/a&gt; tool only is available in the hands of
7747 the powerful, and want it to be available also for the powerless to
7748 even the score when it comes to surveillance and sousveillance. I
7749 discovered the developer
7750 &lt;a href=&quot;https://bugs.debian.org/747509&quot;&gt;wanted to get the tool into
7751 Debian&lt;/a&gt;, and as I too wanted it to be in Debian, I volunteered to
7752 help him get it into shape to get the package uploaded into the Debian
7753 archive.&lt;/p&gt;
7754
7755 &lt;p&gt;Today we finally managed to get the package into shape and uploaded
7756 it into Debian, where it currently
7757 &lt;a href=&quot;https://ftp-master.debian.org//new/openalpr_2.2.1-1.html&quot;&gt;waits
7758 in the NEW queue&lt;/a&gt; for review by the Debian ftpmasters.&lt;/p&gt;
7759
7760 &lt;p&gt;I guess you are wondering why on earth such tool would be useful
7761 for the common folks, ie those not running a large government
7762 surveillance system? Well, I plan to put it in a computer on my bike
7763 and in my car, tracking the cars nearby and allowing me to be notified
7764 when number plates on my watch list are discovered. Another use case
7765 was suggested by a friend of mine, who wanted to set it up at his home
7766 to open the car port automatically when it discovered the plate on his
7767 car. When I mentioned it perhaps was a bit foolhardy to allow anyone
7768 capable of placing his license plate number of a piece of cardboard to
7769 open his car port, men replied that it was always unlocked anyway. I
7770 guess for such use case it make sense. I am sure there are other use
7771 cases too, for those with imagination and a vision.&lt;/p&gt;
7772
7773 &lt;p&gt;If you want to build your own version of the Debian package, check
7774 out the upstream git source and symlink ./distros/debian to ./debian/
7775 before running &quot;debuild&quot; to build the source. Or wait a bit until the
7776 package show up in unstable.&lt;/p&gt;
7777 </description>
7778 </item>
7779
7780 <item>
7781 <title>Using appstream with isenkram to install hardware related packages in Debian</title>
7782 <link>http://people.skolelinux.org/pere/blog/Using_appstream_with_isenkram_to_install_hardware_related_packages_in_Debian.html</link>
7783 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Using_appstream_with_isenkram_to_install_hardware_related_packages_in_Debian.html</guid>
7784 <pubDate>Sun, 20 Dec 2015 12:20:00 +0100</pubDate>
7785 <description>&lt;p&gt;Around three years ago, I created
7786 &lt;a href=&quot;http://packages.qa.debian.org/isenkram&quot;&gt;the isenkram
7787 system&lt;/a&gt; to get a more practical solution in Debian for handing
7788 hardware related packages. A GUI system in the isenkram package will
7789 present a pop-up dialog when some hardware dongle supported by
7790 relevant packages in Debian is inserted into the machine. The same
7791 lookup mechanism to detect packages is available as command line
7792 tools in the isenkram-cli package. In addition to mapping hardware,
7793 it will also map kernel firmware files to packages and make it easy to
7794 install needed firmware packages automatically. The key for this
7795 system to work is a good way to map hardware to packages, in other
7796 words, allow packages to announce what hardware they will work
7797 with.&lt;/p&gt;
7798
7799 &lt;p&gt;I started by providing data files in the isenkram source, and
7800 adding code to download the latest version of these data files at run
7801 time, to ensure every user had the most up to date mapping available.
7802 I also added support for storing the mapping in the Packages file in
7803 the apt repositories, but did not push this approach because while I
7804 was trying to figure out how to best store hardware/package mappings,
7805 &lt;a href=&quot;http://www.freedesktop.org/software/appstream/docs/&quot;&gt;the
7806 appstream system&lt;/a&gt; was announced. I got in touch and suggested to
7807 add the hardware mapping into that data set to be able to use
7808 appstream as a data source, and this was accepted at least for the
7809 Debian version of appstream.&lt;/p&gt;
7810
7811 &lt;p&gt;A few days ago using appstream in Debian for this became possible,
7812 and today I uploaded a new version 0.20 of isenkram adding support for
7813 appstream as a data source for mapping hardware to packages. The only
7814 package so far using appstream to announce its hardware support is my
7815 pymissile package. I got help from Matthias Klumpp with figuring out
7816 how do add the required
7817 &lt;a href=&quot;https://appstream.debian.org/html/sid/main/metainfo/pymissile.html&quot;&gt;metadata
7818 in pymissile&lt;/a&gt;. I added a file debian/pymissile.metainfo.xml with
7819 this content:&lt;/p&gt;
7820
7821 &lt;blockquote&gt;&lt;pre&gt;
7822 &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;
7823 &amp;lt;component&amp;gt;
7824 &amp;lt;id&amp;gt;pymissile&amp;lt;/id&amp;gt;
7825 &amp;lt;metadata_license&amp;gt;MIT&amp;lt;/metadata_license&amp;gt;
7826 &amp;lt;name&amp;gt;pymissile&amp;lt;/name&amp;gt;
7827 &amp;lt;summary&amp;gt;Control original Striker USB Missile Launcher&amp;lt;/summary&amp;gt;
7828 &amp;lt;description&amp;gt;
7829 &amp;lt;p&amp;gt;
7830 Pymissile provides a curses interface to control an original
7831 Marks and Spencer / Striker USB Missile Launcher, as well as a
7832 motion control script to allow a webcamera to control the
7833 launcher.
7834 &amp;lt;/p&amp;gt;
7835 &amp;lt;/description&amp;gt;
7836 &amp;lt;provides&amp;gt;
7837 &amp;lt;modalias&amp;gt;usb:v1130p0202d*&amp;lt;/modalias&amp;gt;
7838 &amp;lt;/provides&amp;gt;
7839 &amp;lt;/component&amp;gt;
7840 &lt;/pre&gt;&lt;/blockquote&gt;
7841
7842 &lt;p&gt;The key for isenkram is the component/provides/modalias value,
7843 which is a glob style match rule for hardware specific strings
7844 (modalias strings) provided by the Linux kernel. In this case, it
7845 will map to all USB devices with vendor code 1130 and product code
7846 0202.&lt;/p&gt;
7847
7848 &lt;p&gt;Note, it is important that the license of all the metadata files
7849 are compatible to have permissions to aggregate them into archive wide
7850 appstream files. Matthias suggested to use MIT or BSD licenses for
7851 these files. A challenge is figuring out a good id for the data, as
7852 it is supposed to be globally unique and shared across distributions
7853 (in other words, best to coordinate with upstream what to use). But
7854 it can be changed later or, so we went with the package name as
7855 upstream for this project is dormant.&lt;/p&gt;
7856
7857 &lt;p&gt;To get the metadata file installed in the correct location for the
7858 mirror update scripts to pick it up and include its content the
7859 appstream data source, the file must be installed in the binary
7860 package under /usr/share/appdata/. I did this by adding the following
7861 line to debian/pymissile.install:&lt;/p&gt;
7862
7863 &lt;blockquote&gt;&lt;pre&gt;
7864 debian/pymissile.metainfo.xml usr/share/appdata
7865 &lt;/pre&gt;&lt;/blockquote&gt;
7866
7867 &lt;p&gt;With that in place, the command line tool isenkram-lookup will list
7868 all packages useful on the current computer automatically, and the GUI
7869 pop-up handler will propose to install the package not already
7870 installed if a hardware dongle is inserted into the machine in
7871 question.&lt;/p&gt;
7872
7873 &lt;p&gt;Details of the modalias field in appstream is available from the
7874 &lt;a href=&quot;https://wiki.debian.org/DEP-11&quot;&gt;DEP-11&lt;/a&gt; proposal.&lt;/p&gt;
7875
7876 &lt;p&gt;To locate the modalias values of all hardware present in a machine,
7877 try running this command on the command line:&lt;/p&gt;
7878
7879 &lt;blockquote&gt;&lt;pre&gt;
7880 cat $(find /sys/devices/|grep modalias)
7881 &lt;/pre&gt;&lt;/blockquote&gt;
7882
7883 &lt;p&gt;To learn more about the isenkram system, please check out
7884 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/tags/isenkram/&quot;&gt;my
7885 blog posts tagged isenkram&lt;/a&gt;.&lt;/p&gt;
7886 </description>
7887 </item>
7888
7889 <item>
7890 <title>The GNU General Public License is not magic pixie dust</title>
7891 <link>http://people.skolelinux.org/pere/blog/The_GNU_General_Public_License_is_not_magic_pixie_dust.html</link>
7892 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_GNU_General_Public_License_is_not_magic_pixie_dust.html</guid>
7893 <pubDate>Mon, 30 Nov 2015 09:55:00 +0100</pubDate>
7894 <description>&lt;p&gt;A blog post from my fellow Debian developer Paul Wise titled
7895 &quot;&lt;a href=&quot;http://bonedaddy.net/pabs3/log/2015/11/27/sfc-supporter/&quot;&gt;The
7896 GPL is not magic pixie dust&lt;/a&gt;&quot; explain the importance of making sure
7897 the &lt;a href=&quot;http://www.gnu.org/copyleft/gpl.html&quot;&gt;GPL&lt;/a&gt; is enforced.
7898 I quote the blog post from Paul in full here with his permission:&lt;p&gt;
7899
7900 &lt;blockquote&gt;
7901
7902 &lt;p&gt;&lt;a href=&quot;https://sfconservancy.org/supporter/&quot;&gt;&lt;img src=&quot;https://sfconservancy.org/img/supporter-badge.png&quot; width=&quot;194&quot; height=&quot;90&quot; alt=&quot;Become a Software Freedom Conservancy Supporter!&quot; align=&quot;right&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
7903
7904 &lt;blockquote&gt;
7905 The GPL is not magic pixie dust. It does not work by itself.&lt;br/&gt;
7906
7907 The first step is to choose a
7908 &lt;a href=&quot;https://copyleft.org/&quot;&gt;copyleft&lt;/a&gt; license for your
7909 code.&lt;br/&gt;
7910
7911 The next step is, when someone fails to follow that copyleft license,
7912 &lt;b&gt;it must be enforced&lt;/b&gt;&lt;br/&gt;
7913
7914 and its a simple fact of our modern society that such type of
7915 work&lt;br/&gt;
7916
7917 is incredibly expensive to do and incredibly difficult to do.
7918 &lt;/blockquote&gt;
7919
7920 &lt;p&gt;&lt;small&gt;-- &lt;a href=&quot;http://ebb.org/bkuhn/&quot;&gt;Bradley Kuhn&lt;/a&gt;, in
7921 &lt;a href=&quot;http://faif.us/&quot; title=&quot;Free as in Freedom&quot;&gt;FaiF&lt;/a&gt;
7922 &lt;a href=&quot;http://faif.us/cast/2015/nov/24/0x57/&quot;&gt;episode
7923 0x57&lt;/a&gt;&lt;/small&gt;&lt;/p&gt;
7924
7925 &lt;p&gt;As the Debian Website
7926 &lt;a href=&quot;https://bugs.debian.org/794116&quot;&gt;used&lt;/a&gt;
7927 &lt;a href=&quot;https://anonscm.debian.org/viewvc/webwml/webwml/english/intro/free.wml?r1=1.24&amp;amp;r2=1.25&quot;&gt;to&lt;/a&gt;
7928 imply, public domain and permissively licensed software can lead to
7929 the production of more proprietary software as people discover useful
7930 software, extend it and or incorporate it into their hardware or
7931 software products. Copyleft licenses such as the GNU GPL were created
7932 to close off this avenue to the production of proprietary software but
7933 such licenses are not enough. With the ongoing adoption of Free
7934 Software by individuals and groups, inevitably the community&#39;s
7935 expectations of license compliance are violated, usually out of
7936 ignorance of the way Free Software works, but not always. As Karen
7937 and Bradley explained in &lt;a href=&quot;http://faif.us/&quot; title=&quot;Free as in
7938 Freedom&quot;&gt;FaiF&lt;/a&gt;
7939 &lt;a href=&quot;http://faif.us/cast/2015/nov/24/0x57/&quot;&gt;episode 0x57&lt;/a&gt;,
7940 copyleft is nothing if no-one is willing and able to stand up in court
7941 to protect it. The reality of today&#39;s world is that legal
7942 representation is expensive, difficult and time consuming. With
7943 &lt;a href=&quot;http://gpl-violations.org/&quot;&gt;gpl-violations.org&lt;/a&gt; in hiatus
7944 &lt;a href=&quot;http://gpl-violations.org/news/20151027-homepage-recovers/&quot;&gt;until&lt;/a&gt;
7945 some time in 2016, the &lt;a href=&quot;https://sfconservancy.org/&quot;&gt;Software
7946 Freedom Conservancy&lt;/a&gt; (a tax-exempt charity) is the major defender
7947 of the Linux project, Debian and other groups against GPL violations.
7948 In March the SFC supported a
7949 &lt;a href=&quot;https://sfconservancy.org/news/2015/mar/05/vmware-lawsuit/&quot;&gt;lawsuit
7950 by Christoph Hellwig&lt;/a&gt; against VMware for refusing to
7951 &lt;a href=&quot;https://sfconservancy.org/linux-compliance/vmware-lawsuit-faq.html&quot;&gt;comply
7952 with the GPL&lt;/a&gt; in relation to their use of parts of the Linux
7953 kernel. Since then two of their sponsors pulled corporate funding and
7954 conferences
7955 &lt;a href=&quot;https://sfconservancy.org/blog/2015/nov/24/faif-carols-fundraiser/&quot;&gt;blocked
7956 or cancelled their talks&lt;/a&gt;. As a result they have decided to rely
7957 less on corporate funding and more on the broad community of
7958 individuals who support Free Software and copyleft. So the SFC has
7959 &lt;a href=&quot;https://sfconservancy.org/news/2015/nov/23/2015fundraiser/&quot;&gt;launched&lt;/a&gt;
7960 a &lt;a href=&quot;https://sfconservancy.org/supporter/&quot;&gt;campaign&lt;/a&gt; to create
7961 a community of folks who stand up for copyleft and the GPL by
7962 supporting their work on promoting and supporting copyleft and Free
7963 Software.&lt;/p&gt;
7964
7965 &lt;p&gt;If you support Free Software,
7966 &lt;a href=&quot;https://sfconservancy.org/blog/2015/nov/26/like-what-I-do/&quot;&gt;like&lt;/a&gt;
7967 what the SFC do, agree with their
7968 &lt;a href=&quot;https://sfconservancy.org/linux-compliance/principles.html&quot;&gt;compliance
7969 principles&lt;/a&gt;, are happy about their
7970 &lt;a href=&quot;https://sfconservancy.org/supporter/&quot;&gt;successes&lt;/a&gt; in 2015,
7971 work on a project that is an SFC
7972 &lt;a href=&quot;https://sfconservancy.org/members/current/&quot;&gt;member&lt;/a&gt; and or
7973 just want to stand up for copyleft, please join
7974 &lt;a href=&quot;https://identi.ca/cwebber/image/JQGPA4qbTyyp3-MY8QpvuA&quot;&gt;Christopher
7975 Allan Webber&lt;/a&gt;,
7976 &lt;a href=&quot;https://sfconservancy.org/blog/2015/nov/24/faif-carols-fundraiser/&quot;&gt;Carol
7977 Smith&lt;/a&gt;,
7978 &lt;a href=&quot;http://www.jonobacon.org/2015/11/25/supporting-software-freedom-conservancy/&quot;&gt;Jono
7979 Bacon&lt;/a&gt;, myself and
7980 &lt;a href=&quot;https://sfconservancy.org/sponsors/#supporters&quot;&gt;others&lt;/a&gt; in
7981 becoming a
7982 &lt;a href=&quot;https://sfconservancy.org/supporter/&quot;&gt;supporter&lt;/a&gt;. For the
7983 next week your donation will be
7984 &lt;a href=&quot;https://sfconservancy.org/news/2015/nov/27/black-friday/&quot;&gt;matched&lt;/a&gt;
7985 by an anonymous donor. Please also consider asking your employer to
7986 match your donation or become a sponsor of SFC. Don&#39;t forget to
7987 spread the word about your support for SFC via email, your blog and or
7988 social media accounts.&lt;/p&gt;
7989
7990 &lt;/blockquote&gt;
7991
7992 &lt;p&gt;I agree with Paul on this topic and just signed up as a Supporter
7993 of Software Freedom Conservancy myself. Perhaps you should be a
7994 supporter too?&lt;/p&gt;
7995 </description>
7996 </item>
7997
7998 <item>
7999 <title>PGP key transition statement for key EE4E02F9</title>
8000 <link>http://people.skolelinux.org/pere/blog/PGP_key_transition_statement_for_key_EE4E02F9.html</link>
8001 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/PGP_key_transition_statement_for_key_EE4E02F9.html</guid>
8002 <pubDate>Tue, 17 Nov 2015 10:50:00 +0100</pubDate>
8003 <description>&lt;p&gt;I&#39;ve needed a new OpenPGP key for a while, but have not had time to
8004 set it up properly. I wanted to generate it offline and have it
8005 available on &lt;a href=&quot;http://shop.kernelconcepts.de/#openpgp&quot;&gt;a OpenPGP
8006 smart card&lt;/a&gt; for daily use, and learning how to do it and finding
8007 time to sit down with an offline machine almost took forever. But
8008 finally I&#39;ve been able to complete the process, and have now moved
8009 from my old GPG key to a new GPG key. See
8010 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/images/2015-11-17-new-gpg-key-transition.txt&quot;&gt;the
8011 full transition statement, signed with both my old and new key&lt;/a&gt; for
8012 the details. This is my new key:&lt;/p&gt;
8013
8014 &lt;pre&gt;
8015 pub 3936R/&lt;a href=&quot;http://pgp.cs.uu.nl/stats/111D6B29EE4E02F9.html&quot;&gt;111D6B29EE4E02F9&lt;/a&gt; 2015-11-03 [expires: 2019-11-14]
8016 Key fingerprint = 3AC7 B2E3 ACA5 DF87 78F1 D827 111D 6B29 EE4E 02F9
8017 uid Petter Reinholdtsen &amp;lt;pere@hungry.com&amp;gt;
8018 uid Petter Reinholdtsen &amp;lt;pere@debian.org&amp;gt;
8019 sub 4096R/87BAFB0E 2015-11-03 [expires: 2019-11-02]
8020 sub 4096R/F91E6DE9 2015-11-03 [expires: 2019-11-02]
8021 sub 4096R/A0439BAB 2015-11-03 [expires: 2019-11-02]
8022 &lt;/pre&gt;
8023
8024 &lt;p&gt;The key can be downloaded from the OpenPGP key servers, signed by
8025 my old key.&lt;/p&gt;
8026
8027 &lt;p&gt;If you signed my old key
8028 (&lt;a href=&quot;http://pgp.cs.uu.nl/stats/DB4CCC4B2A30D729.html&quot;&gt;DB4CCC4B2A30D729&lt;/a&gt;),
8029 I&#39;d very much appreciate a signature on my new key, details and
8030 instructions in the transition statement. I m happy to reciprocate if
8031 you have a similarly signed transition statement to present.&lt;/p&gt;
8032 </description>
8033 </item>
8034
8035 <item>
8036 <title>Is Pentagon deciding the Norwegian negotiating position on Internet governance?</title>
8037 <link>http://people.skolelinux.org/pere/blog/Is_Pentagon_deciding_the_Norwegian_negotiating_position_on_Internet_governance_.html</link>
8038 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Is_Pentagon_deciding_the_Norwegian_negotiating_position_on_Internet_governance_.html</guid>
8039 <pubDate>Tue, 3 Nov 2015 13:40:00 +0100</pubDate>
8040 <description>&lt;p&gt;In Norway, all government offices are required by law to keep a
8041 list of every document or letter arriving and leaving their offices.
8042 Internal notes should also be documented. The document list (called a mail
8043 journal - &quot;postjournal&quot; in Norwegian) is public information and thanks
8044 to the Norwegian Freedom of Information Act (Offentleglova) the mail
8045 journal is available for everyone. Most offices even publish the mail
8046 journal on their web pages, as PDFs or tables in web pages. The state-level offices even have a shared web based search service (called
8047 &lt;a href=&quot;https://www.oep.no/&quot;&gt;Offentlig Elektronisk Postjournal -
8048 OEP&lt;/a&gt;) to make it possible to search the entries in the list. Not
8049 all journal entries show up on OEP, and the search service is hard to
8050 use, but OEP does make it easier to find at least some interesting
8051 journal entries .&lt;/p&gt;
8052
8053 &lt;p&gt;In 2012 I came across a document in the mail journal for the
8054 Norwegian Ministry of Transport and Communications on OEP that
8055 piqued my interest. The title of the document was
8056 &quot;&lt;a href=&quot;https://www.oep.no/search/resultSingle.html?journalPostId=4192362&quot;&gt;Internet
8057 Governance and how it affects national security&lt;/a&gt;&quot; (Norwegian:
8058 &quot;Internet Governance og påvirkning på nasjonal sikkerhet&quot;). The
8059 document date was 2012-05-22, and it was said to be sent from the
8060 &quot;Permanent Mission of Norway to the United Nations&quot;. I asked for a
8061 copy, but my request was rejected with a reference to a legal clause said to authorize them to reject it
8062 (&lt;a href=&quot;http://lovdata.no/lov/2006-05-19-1620&quot;&gt;offentleglova § 20,
8063 letter c&lt;/a&gt;) and an explanation that the document was exempt because
8064 of foreign policy interests as it contained information related to the
8065 Norwegian negotiating position, negotiating strategies or similar. I
8066 was told the information in the document related to the ongoing
8067 negotiation in the International Telecommunications Union (ITU). The
8068 explanation made sense to me in early January 2013, as a ITU
8069 conference in Dubay discussing Internet Governance
8070 (&lt;a href=&quot;https://en.wikipedia.org/wiki/International_Telecommunication_Union#World_Conference_on_International_Telecommunications_2012_.28WCIT-12.29&quot;&gt;World
8071 Conference on International Telecommunications - WCIT-12&lt;/a&gt;) had just
8072 ended,
8073 &lt;a href=&quot;http://www.digi.no/kommentarer/2012/12/18/tvil-om-usas-rolle-pa-teletoppmote&quot;&gt;reportedly
8074 in chaos&lt;/a&gt; when USA walked out of the negotiations and 25 countries
8075 including Norway refused to sign the new treaty. It seemed
8076 reasonable to believe talks were still going on a few weeks later.
8077 Norway was represented at the ITU meeting by two authorities, the
8078 &lt;a href=&quot;http://www.nkom.no/&quot;&gt;Norwegian Communications Authority&lt;/a&gt;
8079 and the &lt;a href=&quot;https://www.regjeringen.no/no/dep/sd/&quot;&gt;Ministry of
8080 Transport and Communications&lt;/a&gt;. This might be the reason the letter
8081 was sent to the ministry. As I was unable to find the document in the
8082 mail journal of any Norwegian UN mission, I asked the ministry who had
8083 sent the document to the ministry, and was told that it was the Deputy
8084 Permanent Representative with the Permanent Mission of Norway in
8085 Geneva.&lt;/p&gt;
8086
8087 &lt;p&gt;Three years later, I was still curious about the content of that
8088 document, and again asked for a copy, believing the negotiation was
8089 over now. This time
8090 &lt;a href=&quot;https://mimesbronn.no/request/kopi_av_dokumenter_i_sak_2012914&quot;&gt;I
8091 asked both the Ministry of Transport and Communications as the
8092 receiver&lt;/a&gt; and
8093 &lt;a href=&quot;https://mimesbronn.no/request/brev_om_internet_governance_og_p&quot;&gt;asked
8094 the Permanent Mission of Norway in Geneva as the sender&lt;/a&gt; for a
8095 copy, to see if they both agreed that it should be withheld from the
8096 public. The ministry upheld its rejection quoting the same law
8097 reference as before, while the permanent mission rejected it quoting a
8098 different clause
8099 (&lt;a href=&quot;http://lovdata.no/lov/2006-05-19-1620&quot;&gt;offentleglova § 20
8100 letter b&lt;/a&gt;), claiming that they were required to keep the
8101 content of the document from the public because it contained
8102 information given to Norway with the expressed or implied expectation
8103 that the information should not be made public. I asked the permanent
8104 mission for an explanation, and was told that the document contained
8105 an account from a meeting held in the Pentagon for a limited group of NATO
8106 nations where the organiser of the meeting did not intend the content
8107 of the meeting to be publicly known. They explained that giving me a
8108 copy might cause Norway to not get access to similar information in
8109 the future and thus hurt the future foreign interests of Norway. They
8110 also explained that the Permanent Mission of Norway in Geneva was not
8111 the author of the document, they only got a copy of it, and because of
8112 this had not listed it in their mail journal.&lt;/p&gt;
8113
8114 &lt;p&gt;Armed with this
8115 knowledge I asked the Ministry to reconsider and asked who was the
8116 author of the document, now realising that it was not same as the
8117 &quot;sender&quot; according to Ministry of Transport and Communications. The
8118 ministry upheld its rejection but told me the name of the author of
8119 the document. According to
8120 &lt;a href=&quot;https://www.regjeringen.no/no/aktuelt/unga69_rapport1/id2001204/&quot;&gt;a
8121 government report&lt;/a&gt; the author was with the Permanent Mission of
8122 Norway in New York a bit more than a year later (2014-09-22), so I
8123 guessed that might be the office responsible for writing and sending
8124 the report initially and
8125 &lt;a href=&quot;https://www.mimesbronn.no/request/mote_2012_i_pentagon_om_itu&quot;&gt;asked
8126 them for a copy&lt;/a&gt; but I was obviously wrong as I was told that the
8127 document was unknown to them and that the author did not work there
8128 when the document was written. Next, I asked the Permanent Mission of
8129 Norway in Geneva and the Foreign Ministry to reconsider and at least
8130 tell me who sent the document to Deputy Permanent Representative with
8131 the Permanent Mission of Norway in Geneva. The Foreign Ministry also
8132 upheld its rejection, but told me that the person sending the document
8133 to Permanent Mission of Norway in Geneva was the defence attaché with
8134 the Norwegian Embassy in Washington. I do not know if this is the
8135 same person as the author of the document.&lt;/p&gt;
8136
8137 &lt;p&gt;If I understand the situation correctly, someone capable of
8138 inviting selected NATO nations to a meeting in Pentagon organised a
8139 meeting where someone representing the Norwegian defence attaché in
8140 Washington attended, and the account from this meeting is interpreted
8141 by the Ministry of Transport and Communications to expose Norways
8142 negotiating position, negotiating strategies and similar regarding the
8143 ITU negotiations on Internet Governance. It is truly amazing what can
8144 be derived from mere meta-data.&lt;/p&gt;
8145
8146 &lt;p&gt;I wonder which NATO countries besides Norway attended this meeting?
8147 And what exactly was said and done at the meeting? Anyone know?&lt;/p&gt;
8148 </description>
8149 </item>
8150
8151 <item>
8152 <title>New book, &quot;Fri kultur&quot; by @lessig, a Norwegian Bokmål translation of &quot;Free Culture&quot; from 2004</title>
8153 <link>http://people.skolelinux.org/pere/blog/New_book___Fri_kultur__by__lessig__a_Norwegian_Bokm_l_translation_of__Free_Culture__from_2004.html</link>
8154 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/New_book___Fri_kultur__by__lessig__a_Norwegian_Bokm_l_translation_of__Free_Culture__from_2004.html</guid>
8155 <pubDate>Sat, 31 Oct 2015 09:00:00 +0100</pubDate>
8156 <description>&lt;p&gt;People keep asking me where to get the various forms of the book I
8157 published last week, the Norwegian Bokmål edition of Lawrence Lessigs
8158 book &lt;a href=&quot;http://www.free-culture.cc/&quot;&gt;Free Culture&lt;/a&gt;. It was
8159 published on paper via lulu.com, and is also available in PDF, ePub
8160 and MOBI format. I currently sell the paper edition for self cost
8161 from lulu.com, but might extend the distribution to book stores like
8162 Amazon and Barnes &amp; Noble later. This will double the price and force
8163 me to make a profit from selling the book. Anyway, here are links to
8164 get the book in different formats:&lt;/p&gt;
8165
8166 &lt;ul&gt;
8167
8168 &lt;li&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-22406445.html&quot;&gt;Buy
8169 paper edition from lulu.com&lt;/a&gt;&lt;/li&gt;
8170
8171 &lt;li&gt;&lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/raw/master/archive/freeculture.nb.pdf&quot;&gt;Download
8172 PDF, size 7.9 MiB&lt;/a&gt; (gratis/free)&lt;/li&gt;
8173
8174 &lt;li&gt;&lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/raw/master/archive/freeculture.nb.epub&quot;&gt;Download
8175 ePub, size 11 MiB&lt;/a&gt; (gratis/free)&lt;/li&gt;
8176
8177 &lt;li&gt;&lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/raw/master/archive/freeculture.nb.mobi&quot;&gt;Download
8178 MOBI, size 3.8 MiB&lt;/a&gt; (gratis/free)&lt;/li&gt;
8179
8180 &lt;/ul&gt;
8181
8182 &lt;p&gt;Note that the MOBI version have problems with the table of content,
8183 at least with the viewers I have been able to test. And the ePub file
8184 have several problems according to
8185 &lt;a href=&quot;https://github.com/IDPF/epubcheck&quot;&gt;epubcheck&lt;/a&gt;, but seem
8186 to display fine in the viewers I have tested. All the files needed to
8187 create the book in various forms are available from
8188 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;the
8189 github project page&lt;/a&gt;.&lt;/p&gt;
8190
8191 &lt;p&gt;The project got press coverage from the Norwegian IT news site
8192 digi.no. Check out the article
8193 &quot;&lt;a href=&quot;http://www.digi.no/juss_og_samfunn/2015/10/29/vil-apne-politikernes-oyne-for-creative-commons&quot;&gt;Vil
8194 åpne politikernes øyne for Creative Commons&lt;/a&gt;&quot;.&lt;/li&gt;
8195
8196 &lt;p&gt;I&#39;ve &lt;a href=&quot;http://people.skolelinux.org/pere/blog/tags/freeculture&quot;&gt;blogged
8197 about the project&lt;/a&gt; as it moved along. The blogs document the translation
8198 progress and insights I had along the way.&lt;/p&gt;
8199 </description>
8200 </item>
8201
8202 <item>
8203 <title>&quot;Free Culture&quot; by @lessig - The background story for Creative Commons - new edition available</title>
8204 <link>http://people.skolelinux.org/pere/blog/_Free_Culture__by__lessig___The_background_story_for_Creative_Commons___new_edition_available.html</link>
8205 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/_Free_Culture__by__lessig___The_background_story_for_Creative_Commons___new_edition_available.html</guid>
8206 <pubDate>Fri, 23 Oct 2015 12:10:00 +0200</pubDate>
8207 <description>&lt;p&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-22402863.html&quot;&gt;Click
8208 here to buy the book&lt;/a&gt;.&lt;/p&gt;
8209
8210 &lt;p&gt;In 2004, as the &lt;a href=&quot;https://creativecommons.org/&quot;&gt;Creative Commons
8211 movement&lt;/a&gt; gained momentum, its creator Lawrence Lessig wrote the
8212 book &lt;a href=&quot;https://en.wikipedia.org/wiki/Free_Culture_(book)&quot;&gt;Free
8213 Culture&lt;/a&gt; to explain the problems with increasing copyright
8214 regulation and suggest some solutions. I read the book back then and
8215 was very moved by it. Reading the book inspired me and changed the
8216 way I looked on copyright law, and I would love it if more people
8217 would read it too.&lt;/p&gt;
8218
8219 &lt;p&gt;Because of this, I decided in the summer of 2012 to translate it to
8220 Norwegian Bokmål and publish it for those of my friends and family
8221 that prefer to read books in Norwegian. I translated the book using
8222 docbook and a gettext PO file, and a byproduct of this process is a
8223 new edition of the English original. I&#39;ve been in touch with the
8224 author during by work, and he said it was fine with him if I also
8225 published an English version. So I decided to do so. Today, I made
8226 this edition
8227 &lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-22402863.html&quot;&gt;available
8228 for sale on Lulu.com&lt;/a&gt;, for those interested in a paper book. This
8229 is the cover:
8230
8231 &lt;p align=&quot;center&quot;&gt;&lt;a href=&quot;http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-22402863.html&quot;&gt;&lt;img align=&quot;center&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2015-10-23-free-culture-english-published-cover.png&quot;/&gt;&lt;/a&gt;&lt;/p&gt;
8232
8233 &lt;p&gt;The Norwegian Bokmål version will be available for purchase in a
8234 few days. I also plan to publish a French version in a few weeks or
8235 months, depending on the amount of people with knowledge of French to
8236 join the translation project. So far there is only one active
8237 person, but the French book is almost completely translated but
8238 need some proof reading.&lt;/p&gt;
8239
8240 &lt;p&gt;The book is also available in PDF, ePub and MOBI formats from
8241 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;my
8242 github project page&lt;/a&gt;. Note the ePub and MOBI versions have some
8243 formatting problems I believe is due to bugs in the docbook tool
8244 dbtoepub (Debian BTS issues
8245 &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=795842&quot;&gt;#795842&lt;/a&gt;
8246 and
8247 &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=796871&quot;&gt;#796871&lt;/a&gt;),
8248 but I have not taken the time to investigate. I recommend the PDF and
8249 ePub version for now, as they seem to show up fine in the viewers I
8250 have available.&lt;/p&gt;
8251
8252 &lt;p&gt;After the translation to Norwegian Bokmål was complete, I was able
8253 to secure some sponsoring from
8254 &lt;a href=&quot;http://www.nuugfoundation.no/&quot;&gt;the NUUG Foundation&lt;/a&gt; to
8255 print the book. This is the reason their logo is located on the back
8256 cover. I am very grateful for their contribution, and will use it to
8257 give a copy of the Norwegian edition to members of the Norwegian
8258 Parliament and other decision makers here in Norway.&lt;/p&gt;
8259 </description>
8260 </item>
8261
8262 <item>
8263 <title>Lawrence Lessig interviewed Edward Snowden a year ago</title>
8264 <link>http://people.skolelinux.org/pere/blog/Lawrence_Lessig_interviewed_Edward_Snowden_a_year_ago.html</link>
8265 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Lawrence_Lessig_interviewed_Edward_Snowden_a_year_ago.html</guid>
8266 <pubDate>Mon, 19 Oct 2015 11:50:00 +0200</pubDate>
8267 <description>&lt;p&gt;Last year, &lt;a href=&quot;https://lessig2016.us/&quot;&gt;US president candidate
8268 in the Democratic Party&lt;/a&gt; Lawrence interviewed Edward Snowden. The
8269 one hour interview was
8270 &lt;a href=&quot;https://www.youtube.com/watch?v=o_Sr96TFQQE&quot;&gt;published by
8271 Harvard Law School 2014-10-23 on Youtube&lt;/a&gt;, and the meeting took
8272 place 2014-10-20.&lt;/p&gt;
8273
8274 &lt;p&gt;The questions are very good, and there is lots of useful
8275 information to be learned and very interesting issues to think about
8276 being raised. Please check it out.&lt;/p&gt;
8277
8278 &lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/o_Sr96TFQQE&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
8279
8280 &lt;p&gt;I find it especially interesting to hear again that Snowden did try
8281 to bring up his reservations through the official channels without any
8282 luck. It is in sharp contrast to the answers made 2013-11-06 by the
8283 Norwegian prime minister Erna Solberg to the Norwegian Parliament,
8284 &lt;a href=&quot;https://tale.holderdeord.no/speeches/s131106/68&quot;&gt;claiming
8285 Snowden is no Whistle-Blower&lt;/a&gt; because he should have taken up his
8286 concerns internally and using official channels. It make me sad
8287 that this is the political leadership we have here in Norway.&lt;/p&gt;
8288 </description>
8289 </item>
8290
8291 <item>
8292 <title>The Story of Aaron Swartz - Let us all weep!</title>
8293 <link>http://people.skolelinux.org/pere/blog/The_Story_of_Aaron_Swartz___Let_us_all_weep_.html</link>
8294 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_Story_of_Aaron_Swartz___Let_us_all_weep_.html</guid>
8295 <pubDate>Thu, 8 Oct 2015 12:10:00 +0200</pubDate>
8296 <description>&lt;p&gt;The movie &quot;&lt;a href=&quot;http://www.takepart.com/internets-own-boy&quot;&gt;The
8297 Internet&#39;s Own Boy: The Story of Aaron Swartz&lt;/a&gt;&quot; is both inspiring
8298 and depressing at the same time. The work of Aaron Swartz has
8299 inspired me in my work, and I am grateful of all the improvements he
8300 was able to initiate or complete. I wish I am able to do as much good
8301 in my life as he did in his. Every minute of this 1:45 long movie is
8302 inspiring in documenting how much impact a single person can have on
8303 improving the society and this world. And it is depressing in
8304 documenting how the law enforcement of USA (and other countries) is
8305 corrupted to a point where they can push a bright kid to his death for
8306 downloading too many scientific articles. Aaron is dead. Let us all
8307 weep.&lt;/p&gt;
8308
8309 &lt;p&gt;The movie is also available on
8310 &lt;a href=&quot;https://www.youtube.com/watch?v=vXr-2hwTk58&quot;&gt;Youtube&lt;/a&gt;. I
8311 wish there were Norwegian subtitles available, so I could show it to
8312 my parents.&lt;/p&gt;
8313 </description>
8314 </item>
8315
8316 <item>
8317 <title>French Docbook/PDF/EPUB/MOBI edition of the Free Culture book</title>
8318 <link>http://people.skolelinux.org/pere/blog/French_Docbook_PDF_EPUB_MOBI_edition_of_the_Free_Culture_book.html</link>
8319 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/French_Docbook_PDF_EPUB_MOBI_edition_of_the_Free_Culture_book.html</guid>
8320 <pubDate>Thu, 1 Oct 2015 13:20:00 +0200</pubDate>
8321 <description>&lt;p&gt;As I wrap up the Norwegian version of
8322 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;Free
8323 Culture&lt;/a&gt; book by Lawrence Lessig (still waiting for my final proof
8324 reading copy to arrive in the mail), my great
8325 &lt;a href=&quot;http://dblatex.sourceforge.net/&quot;&gt;dblatex&lt;/a&gt; helper and
8326 developer of the dblatex docbook processor, Benoît Guillon, decided a
8327 to try to create a French version of the book. He started with the
8328 French translation available from the
8329 &lt;a href=&quot;http://www.wikilivres.ca/wiki/Culture_libre&quot;&gt;Wikilivres wiki
8330 pages&lt;/a&gt;, and wrote a program to convert it into a PO file, allowing
8331 the translation to be integrated into the po4a based framework I use
8332 to create the Norwegian translation from the English edition. We meet
8333 on the &lt;a href=&quot;irc://irc.freenode.net/%23dblatex&quot;&gt;#dblatex IRC
8334 channel&lt;/a&gt; to discuss the work. If you want to help create a French
8335 edition, check out
8336 &lt;a href=&quot;https://github.com/marsgui/free-culture-lessig&quot;&gt;his git
8337 repository&lt;/a&gt; and join us on IRC. If the French edition look good,
8338 we might publish it as a paper book on lulu.com. A French version of
8339 the drawings and the cover need to be provided for this to happen.&lt;/p&gt;
8340 </description>
8341 </item>
8342
8343 <item>
8344 <title>The life and death of a laptop battery</title>
8345 <link>http://people.skolelinux.org/pere/blog/The_life_and_death_of_a_laptop_battery.html</link>
8346 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_life_and_death_of_a_laptop_battery.html</guid>
8347 <pubDate>Thu, 24 Sep 2015 16:00:00 +0200</pubDate>
8348 <description>&lt;p&gt;When I get a new laptop, the battery life time at the start is OK.
8349 But this do not last. The last few laptops gave me a feeling that
8350 within a year, the life time is just a fraction of what it used to be,
8351 and it slowly become painful to use the laptop without power connected
8352 all the time. Because of this, when I got a new Thinkpad X230 laptop
8353 about two years ago, I decided to monitor its battery state to have
8354 more hard facts when the battery started to fail.&lt;/p&gt;
8355
8356 &lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2015-09-24-laptop-battery-graph.png&quot;/&gt;
8357
8358 &lt;p&gt;First I tried to find a sensible Debian package to record the
8359 battery status, assuming that this must be a problem already handled
8360 by someone else. I found
8361 &lt;a href=&quot;https://tracker.debian.org/pkg/battery-stats&quot;&gt;battery-stats&lt;/a&gt;,
8362 which collects statistics from the battery, but it was completely
8363 broken. I sent a few suggestions to the maintainer, but decided to
8364 write my own collector as a shell script while I waited for feedback
8365 from him. Via
8366 &lt;a href=&quot;http://www.ifweassume.com/2013/08/the-de-evolution-of-my-laptop-battery.html&quot;&gt;a
8367 blog post about the battery development on a MacBook Air&lt;/a&gt; I also
8368 discovered
8369 &lt;a href=&quot;https://github.com/jradavenport/batlog.git&quot;&gt;batlog&lt;/a&gt;, not
8370 available in Debian.&lt;/p&gt;
8371
8372 &lt;p&gt;I started my collector 2013-07-15, and it has been collecting
8373 battery stats ever since. Now my
8374 /var/log/hjemmenett-battery-status.log file contain around 115,000
8375 measurements, from the time the battery was working great until now,
8376 when it is unable to charge above 7% of original capacity. My
8377 collector shell script is quite simple and look like this:&lt;/p&gt;
8378
8379 &lt;pre&gt;
8380 #!/bin/sh
8381 # Inspired by
8382 # http://www.ifweassume.com/2013/08/the-de-evolution-of-my-laptop-battery.html
8383 # See also
8384 # http://blog.sleeplessbeastie.eu/2013/01/02/debian-how-to-monitor-battery-capacity/
8385 logfile=/var/log/hjemmenett-battery-status.log
8386
8387 files=&quot;manufacturer model_name technology serial_number \
8388 energy_full energy_full_design energy_now cycle_count status&quot;
8389
8390 if [ ! -e &quot;$logfile&quot; ] ; then
8391 (
8392 printf &quot;timestamp,&quot;
8393 for f in $files; do
8394 printf &quot;%s,&quot; $f
8395 done
8396 echo
8397 ) &gt; &quot;$logfile&quot;
8398 fi
8399
8400 log_battery() {
8401 # Print complete message in one echo call, to avoid race condition
8402 # when several log processes run in parallel.
8403 msg=$(printf &quot;%s,&quot; $(date +%s); \
8404 for f in $files; do \
8405 printf &quot;%s,&quot; $(cat $f); \
8406 done)
8407 echo &quot;$msg&quot;
8408 }
8409
8410 cd /sys/class/power_supply
8411
8412 for bat in BAT*; do
8413 (cd $bat &amp;&amp; log_battery &gt;&gt; &quot;$logfile&quot;)
8414 done
8415 &lt;/pre&gt;
8416
8417 &lt;p&gt;The script is called when the power management system detect a
8418 change in the power status (power plug in or out), and when going into
8419 and out of hibernation and suspend. In addition, it collect a value
8420 every 10 minutes. This make it possible for me know when the battery
8421 is discharging, charging and how the maximum charge change over time.
8422 The code for the Debian package
8423 &lt;a href=&quot;https://github.com/petterreinholdtsen/battery-status&quot;&gt;is now
8424 available on github&lt;/a&gt;.&lt;/p&gt;
8425
8426 &lt;p&gt;The collected log file look like this:&lt;/p&gt;
8427
8428 &lt;pre&gt;
8429 timestamp,manufacturer,model_name,technology,serial_number,energy_full,energy_full_design,energy_now,cycle_count,status,
8430 1376591133,LGC,45N1025,Li-ion,974,62800000,62160000,39050000,0,Discharging,
8431 [...]
8432 1443090528,LGC,45N1025,Li-ion,974,4900000,62160000,4900000,0,Full,
8433 1443090601,LGC,45N1025,Li-ion,974,4900000,62160000,4900000,0,Full,
8434 &lt;/pre&gt;
8435
8436 &lt;p&gt;I wrote a small script to create a graph of the charge development
8437 over time. This graph depicted above show the slow death of my laptop
8438 battery.&lt;/p&gt;
8439
8440 &lt;p&gt;But why is this happening? Why are my laptop batteries always
8441 dying in a year or two, while the batteries of space probes and
8442 satellites keep working year after year. If we are to believe
8443 &lt;a href=&quot;http://batteryuniversity.com/learn/article/how_to_prolong_lithium_based_batteries&quot;&gt;Battery
8444 University&lt;/a&gt;, the cause is me charging the battery whenever I have a
8445 chance, and the fix is to not charge the Lithium-ion batteries to 100%
8446 all the time, but to stay below 90% of full charge most of the time.
8447 I&#39;ve been told that the Tesla electric cars
8448 &lt;a href=&quot;http://my.teslamotors.com/de_CH/forum/forums/battery-charge-limit&quot;&gt;limit
8449 the charge of their batteries to 80%&lt;/a&gt;, with the option to charge to
8450 100% when preparing for a longer trip (not that I would want a car
8451 like Tesla where rights to privacy is abandoned, but that is another
8452 story), which I guess is the option we should have for laptops on
8453 Linux too.&lt;/p&gt;
8454
8455 &lt;p&gt;Is there a good and generic way with Linux to tell the battery to
8456 stop charging at 80%, unless requested to charge to 100% once in
8457 preparation for a longer trip? I found
8458 &lt;a href=&quot;http://askubuntu.com/questions/34452/how-can-i-limit-battery-charging-to-80-capacity&quot;&gt;one
8459 recipe on askubuntu for Ubuntu to limit charging on Thinkpad to
8460 80%&lt;/a&gt;, but could not get it to work (kernel module refused to
8461 load).&lt;/p&gt;
8462
8463 &lt;p&gt;I wonder why the battery capacity was reported to be more than 100%
8464 at the start. I also wonder why the &quot;full capacity&quot; increases some
8465 times, and if it is possible to repeat the process to get the battery
8466 back to design capacity. And I wonder if the discharge and charge
8467 speed change over time, or if this stay the same. I did not yet try
8468 to write a tool to calculate the derivative values of the battery
8469 level, but suspect some interesting insights might be learned from
8470 those.&lt;/p&gt;
8471
8472 &lt;p&gt;Update 2015-09-24: I got a tip to install the packages
8473 acpi-call-dkms and tlp (unfortunately missing in Debian stable)
8474 packages instead of the tp-smapi-dkms package I had tried to use
8475 initially, and use &#39;tlp setcharge 40 80&#39; to change when charging start
8476 and stop. I&#39;ve done so now, but expect my existing battery is toast
8477 and need to be replaced. The proposal is unfortunately Thinkpad
8478 specific.&lt;/p&gt;
8479 </description>
8480 </item>
8481
8482 <item>
8483 <title>Book cover for the Free Culture book finally done</title>
8484 <link>http://people.skolelinux.org/pere/blog/Book_cover_for_the_Free_Culture_book_finally_done.html</link>
8485 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Book_cover_for_the_Free_Culture_book_finally_done.html</guid>
8486 <pubDate>Thu, 3 Sep 2015 21:00:00 +0200</pubDate>
8487 <description>&lt;p&gt;Creating a good looking book cover proved harder than I expected.
8488 I wanted to create a cover looking similar to the original cover of
8489 the
8490 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;Free
8491 Culture&lt;/a&gt; book we are translating to Norwegian, and I wanted it in
8492 vector format for high resolution printing. But my inkscape knowledge
8493 were not nearly good enough to pull that off.
8494
8495 &lt;p&gt;But thanks to the great inkscape community, I was able to wrap up
8496 the cover yesterday evening. I asked on the
8497 &lt;a href=&quot;irc://irc.freenode.net/%23inkscape&quot;&gt;#inkscape IRC channel&lt;/a&gt;
8498 on Freenode for help and clues, and Marc Jeanmougin (Mc-) volunteered
8499 to try to recreate it based on the PDF of the cover from the HTML
8500 version. Not only did he create a
8501 &lt;a href=&quot;https://marc.jeanmougin.fr/share/copy1.svg &quot;&gt;SVG document with
8502 the original and his vector version side by side&lt;/a&gt;, he even provided
8503 an &lt;a href=&quot;https://marc.jeanmougin.fr/share/out-1.ogv&quot;&gt;instruction
8504 video&lt;/a&gt; explaining how he did it&lt;/a&gt;. But the instruction video is
8505 not easy to follow for an untrained inkscape user. The video is a
8506 recording on how he did it, and he is obviously very experienced as
8507 the menu selections are very quick and he mentioned on IRC that he did
8508 use some keyboard shortcuts that can&#39;t be seen on the video, but it
8509 give a good idea about the inkscape operations to use to create the
8510 stripes with the embossed copyright sign in the center.&lt;/p&gt;
8511
8512 &lt;p&gt;I took his SVG file, copied the vector image and re-sized it to fit
8513 on the cover I was drawing. I am happy with the end result, and the
8514 current english version look like this:&lt;/p&gt;
8515
8516 &lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2015-09-03-free-culture-cover.png&quot; width=&quot;70%&quot; align=&quot;center&quot;/&gt;
8517
8518 &lt;p&gt;I am not quite sure about the text on the back, but guess it will
8519 do. I picked three quotes from the official site for the book, and
8520 hope it will work to trigger the interest of potential readers. The
8521 Norwegian cover will look the same, but with the texts and bar code
8522 replaced with the Norwegian version.&lt;/p&gt;
8523
8524 &lt;p&gt;The book is very close to being ready for publication, and I expect
8525 to upload the final draft to Lulu in the next few days and order a
8526 final proof reading copy to verify that everything look like it should
8527 before allowing everyone to order their own copy of Free Culture, in
8528 English or Norwegian Bokmål. I&#39;m waiting to give the the productive
8529 proof readers a chance to complete their work.&lt;/p&gt;
8530 </description>
8531 </item>
8532
8533 <item>
8534 <title>In my hand, a pocket book edition of the Norwegian Free Culture book!</title>
8535 <link>http://people.skolelinux.org/pere/blog/In_my_hand__a_pocket_book_edition_of_the_Norwegian_Free_Culture_book_.html</link>
8536 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/In_my_hand__a_pocket_book_edition_of_the_Norwegian_Free_Culture_book_.html</guid>
8537 <pubDate>Wed, 19 Aug 2015 22:10:00 +0200</pubDate>
8538 <description>&lt;p&gt;Today, finally, my first printed draft edition of the Norwegian
8539 translation of Free Culture I have been working on for the last few
8540 years arrived in the mail. I had to fake a cover to get the interior
8541 printed, and the exterior of the book look awful, but that is
8542 irrelevant at this point. I asked for a printed pocket book version
8543 to get an idea about the font sizes and paper format as well as how
8544 good the figures and images look in print, but also to test what the
8545 pocket book version would look like. After receiving the 500 page
8546 pocket book, it became obvious to me that that pocket book size is too
8547 small for this book. I believe the book is too thick, and several
8548 tables and figures do not look good in the size they get with that
8549 small page sizes. I believe I will go with the 5.5x8.5 inch size
8550 instead. A surprise discovery from the paper version was how bad the
8551 URLs look in print. They are very hard to read in the colophon page.
8552 The URLs are red in the PDF, but light gray on paper. I need to
8553 change the color of links somehow to look better. But there is a
8554 printed book in my hand, and it feels great. :)&lt;/p&gt;
8555
8556 &lt;p&gt;Now I only need to fix the cover, wrap up the postscript with the
8557 store behind the book, and collect the last corrections from the proof
8558 readers before the book is ready for proper printing. Cover artists
8559 willing to work for free and create a Creative Commons licensed vector
8560 file looking similar to the original is most welcome, as my skills as
8561 a graphics designer are mostly missing.&lt;/p&gt;
8562 </description>
8563 </item>
8564
8565 <item>
8566 <title>First paper version of the Norwegian Free Culture book heading my way</title>
8567 <link>http://people.skolelinux.org/pere/blog/First_paper_version_of_the_Norwegian_Free_Culture_book_heading_my_way.html</link>
8568 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_paper_version_of_the_Norwegian_Free_Culture_book_heading_my_way.html</guid>
8569 <pubDate>Sun, 9 Aug 2015 10:15:00 +0200</pubDate>
8570 <description>&lt;p&gt;Typesetting a book is harder than I hoped. As the translation is
8571 mostly done, and a volunteer proof reader was going to check the text
8572 on paper, it was time this summer to focus on formatting my translated
8573 &lt;a href=&quot;http://www.docbook.org/&quot;&gt;docbook&lt;/a&gt; based version of the
8574 &lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free Culture&lt;/a&gt; book by Lawrence
8575 Lessig. I&#39;ve been trying to get both docboox-xsl+fop and dblatex to
8576 give me a good looking PDF, but in the end I went with dblatex, because
8577 its Debian maintainer and upstream developer were responsive and very
8578 helpful in solving my formatting challenges.&lt;/p&gt;
8579
8580 &lt;p&gt;Last night, I finally managed to create a PDF that no longer made
8581 &lt;a href=&quot;http://www.lulu.com/&quot;&gt;Lulu.com&lt;/a&gt; complain after uploading,
8582 and I ordered a text version of the book on paper. It is lacking a
8583 proper book cover and is not tagged with the correct ISBN number, but
8584 should give me an idea what the finished book will look like.&lt;/p&gt;
8585
8586 &lt;p&gt;Instead of using Lulu, I did consider printing the book using
8587 &lt;a href=&quot;http://www.createspace.com/&quot;&gt;CreateSpace&lt;/a&gt;, but ended up
8588 using Lulu because it had smaller book size options (CreateSpace seem
8589 to lack pocket book with extended distribution). I looked for a
8590 similar service in Norway, but have not seen anything so far. Please
8591 let me know if I am missing out on something here.&lt;/p&gt;
8592
8593 &lt;p&gt;But I still struggle to decide the book size. Should I go for
8594 pocket book (4.25x6.875 inches / 10.8x17.5 cm) with 556 pages, Digest
8595 (5.5x8.5 inches / 14x21.6 cm) with 323 pages or US Trade (6x8 inches /
8596 15.3x22.9 cm) with 280 pages? Fewer pager give a cheaper book, and a
8597 smaller book is easier to carry around. The test book I ordered was
8598 pocket book sized, to give me an idea how well that fit in my hand,
8599 but I suspect I will end up using a digest sized book in the end to
8600 bring the prize down further.&lt;/p&gt;
8601
8602 &lt;p&gt;My biggest challenge at the moment is making nice cover art. My
8603 inkscape skills are not yet up to the task of replicating the original
8604 cover in SVG format. I also need to figure out what to write about
8605 the book on the back (will most likely use the same text as the
8606 description on web based book stores). I would love help with this,
8607 if you are willing to license the art source and final version using
8608 the same CC license as the book. My artistic skills are not really up
8609 to the task.&lt;/p&gt;
8610
8611 &lt;p&gt;I plan to publish the book in both English and Norwegian and on
8612 paper, in PDF form as well as EPUB and MOBI format. The current
8613 status can as usual be found on
8614 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;github&lt;/a&gt;
8615 in the archive/ directory. So far I have spent all time on making the
8616 PDF version look good. Someone should probably do the same with the
8617 dbtoepub generated e-book. Help is definitely needed here, as I
8618 expect to run out of steem before I find time to improve the epub
8619 formatting.&lt;/p&gt;
8620
8621 &lt;p&gt;Please let me know via github if you find typos in the book or
8622 discover translations that should be improved. The final proof
8623 reading is being done right now, and I expect to publish the finished
8624 result in a few months.&lt;/p&gt;
8625 </description>
8626 </item>
8627
8628 <item>
8629 <title>Typesetting DocBook footnotes as endnotes with dblatex</title>
8630 <link>http://people.skolelinux.org/pere/blog/Typesetting_DocBook_footnotes_as_endnotes_with_dblatex.html</link>
8631 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Typesetting_DocBook_footnotes_as_endnotes_with_dblatex.html</guid>
8632 <pubDate>Thu, 16 Jul 2015 18:10:00 +0200</pubDate>
8633 <description>&lt;p&gt;I&#39;m still working on the Norwegian version of the
8634 &lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free Culture book by Lawrence
8635 Lessig&lt;/a&gt;, and is now working on the final typesetting and layout.
8636 One of the features I want to get the structure similar to the
8637 original book is to typeset the footnotes as endnotes in the notes
8638 chapter. Based on the
8639 &lt;a href=&quot;https://bugs.debian.org/685063&quot;&gt;feedback from the Debian
8640 maintainer and the dblatex developer&lt;/a&gt;, I came up with this recipe I
8641 would like to share with you. The proposal was to create a new LaTeX
8642 class file and add the LaTeX code there, but this is not always
8643 practical, when I want to be able to replace the class using a make
8644 file variable. So my proposal misuses the latex.begindocument XSL
8645 parameter value, to get a small fragment into the correct location in
8646 the generated LaTeX File.&lt;/p&gt;
8647
8648 &lt;p&gt;First, decide where in the DocBook document to place the endnotes,
8649 and add this text there:&lt;/p&gt;
8650
8651 &lt;pre&gt;
8652 &amp;lt;?latex \theendnotes ?&amp;gt;
8653 &lt;/pre&gt;
8654
8655 &lt;p&gt;Next, create a xsl stylesheet file dblatex-endnotes.xsl to add the
8656 code needed to add the endnote instructions in the preamble of the
8657 generated LaTeX document, with content like this:&lt;/p&gt;
8658
8659 &lt;pre&gt;
8660 &amp;lt;?xml version=&#39;1.0&#39;?&amp;gt;
8661 &amp;lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; version=&#39;1.0&#39;&amp;gt;
8662 &amp;lt;xsl:param name=&quot;latex.begindocument&quot;&amp;gt;
8663 &amp;lt;xsl:text&amp;gt;
8664 \usepackage{endnotes}
8665 \let\footnote=\endnote
8666 \def\enoteheading{\mbox{}\par\vskip-\baselineskip }
8667 \begin{document}
8668 &amp;lt;/xsl:text&amp;gt;
8669 &amp;lt;/xsl:param&amp;gt;
8670 &amp;lt;/xsl:stylesheet&amp;gt;
8671 &lt;/pre&gt;
8672
8673 &lt;p&gt;Finally, load this xsl file when running dblatex, for example like
8674 this:&lt;/p&gt;
8675
8676 &lt;pre&gt;
8677 dblatex --xsl-user=dblatex-endnotes.xsl freeculture.nb.xml
8678 &lt;/pre&gt;
8679
8680 &lt;p&gt;The end result can be seen on github, where
8681 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;my
8682 book project&lt;/a&gt; is located.&lt;/p&gt;
8683 </description>
8684 </item>
8685
8686 <item>
8687 <title>MPEG LA on &quot;Internet Broadcast AVC Video&quot; licensing and non-private use</title>
8688 <link>http://people.skolelinux.org/pere/blog/MPEG_LA_on__Internet_Broadcast_AVC_Video__licensing_and_non_private_use.html</link>
8689 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/MPEG_LA_on__Internet_Broadcast_AVC_Video__licensing_and_non_private_use.html</guid>
8690 <pubDate>Tue, 7 Jul 2015 09:50:00 +0200</pubDate>
8691 <description>&lt;p&gt;After asking the Norwegian Broadcasting Company (NRK)
8692 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Hva_gj_r_at_NRK_kan_distribuere_H_264_video_uten_patentavtale_med_MPEG_LA_.html&quot;&gt;why
8693 they can broadcast and stream H.264 video without an agreement with
8694 the MPEG LA&lt;/a&gt;, I was wiser, but still confused. So I asked MPEG LA
8695 if their understanding matched that of NRK. As far as I can tell, it
8696 does not.&lt;/p&gt;
8697
8698 &lt;p&gt;I started by asking for more information about the various
8699 licensing classes and what exactly is covered by the &quot;Internet
8700 Broadcast AVC Video&quot; class that NRK pointed me at to explain why NRK
8701 did not need a license for streaming H.264 video:
8702
8703 &lt;p&gt;&lt;blockquote&gt;
8704
8705 &lt;p&gt;According to
8706 &lt;a href=&quot;http://www.mpegla.com/Lists/MPEG%20LA%20News%20List/Attachments/226/n-10-02-02.pdf&quot;&gt;a
8707 MPEG LA press release dated 2010-02-02&lt;/a&gt;, there is no charge when
8708 using MPEG AVC/H.264 according to the terms of &quot;Internet Broadcast AVC
8709 Video&quot;. I am trying to understand exactly what the terms of &quot;Internet
8710 Broadcast AVC Video&quot; is, and wondered if you could help me. What
8711 exactly is covered by these terms, and what is not?&lt;/p&gt;
8712
8713 &lt;p&gt;The only source of more information I have been able to find is a
8714 PDF named
8715 &lt;a href=&quot;http://www.mpegla.com/main/programs/avc/Documents/avcweb.pdf&quot;&gt;AVC
8716 Patent Portfolio License Briefing&lt;/a&gt;, which states this about the
8717 fees:&lt;/p&gt;
8718
8719 &lt;ul&gt;
8720 &lt;li&gt;Where End User pays for AVC Video
8721 &lt;ul&gt;
8722 &lt;li&gt;Subscription (not limited by title) – 100,000 or fewer
8723 subscribers/yr = no royalty; &amp;gt; 100,000 to 250,000 subscribers/yr =
8724 $25,000; &amp;gt;250,000 to 500,000 subscribers/yr = $50,000; &amp;gt;500,000 to
8725 1M subscribers/yr = $75,000; &amp;gt;1M subscribers/yr = $100,000&lt;/li&gt;
8726
8727 &lt;li&gt;Title-by-Title - 12 minutes or less = no royalty; &amp;gt;12 minutes in
8728 length = lower of (a) 2% or (b) $0.02 per title&lt;/li&gt;
8729 &lt;/ul&gt;&lt;/li&gt;
8730
8731 &lt;li&gt;Where remuneration is from other sources
8732 &lt;ul&gt;
8733 &lt;li&gt;Free Television - (a) one-time $2,500 per transmission encoder or
8734 (b) annual fee starting at $2,500 for &amp;gt; 100,000 HH rising to
8735 maximum $10,000 for &amp;gt;1,000,000 HH&lt;/li&gt;
8736
8737 &lt;li&gt;Internet Broadcast AVC Video (not title-by-title, not subscription)
8738 – no royalty for life of the AVC Patent Portfolio License&lt;/li&gt;
8739 &lt;/ul&gt;&lt;/li&gt;
8740 &lt;/ul&gt;
8741
8742 &lt;p&gt;Am I correct in assuming that the four categories listed is the
8743 categories used when selecting licensing terms, and that &quot;Internet
8744 Broadcast AVC Video&quot; is the category for things that do not fall into
8745 one of the other three categories? Can you point me to a good source
8746 explaining what is ment by &quot;title-by-title&quot; and &quot;Free Television&quot; in
8747 the license terms for AVC/H.264?&lt;/p&gt;
8748
8749 &lt;p&gt;Will a web service providing H.264 encoded video content in a
8750 &quot;video on demand&quot; fashing similar to Youtube and Vimeo, where no
8751 subscription is required and no payment is required from end users to
8752 get access to the videos, fall under the terms of the &quot;Internet
8753 Broadcast AVC Video&quot;, ie no royalty for life of the AVC Patent
8754 Portfolio license? Does it matter if some users are subscribed to get
8755 access to personalized services?&lt;/p&gt;
8756
8757 &lt;p&gt;Note, this request and all answers will be published on the
8758 Internet.&lt;/p&gt;
8759 &lt;/blockquote&gt;&lt;/p&gt;
8760
8761 &lt;p&gt;The answer came quickly from Benjamin J. Myers, Licensing Associate
8762 with the MPEG LA:&lt;/p&gt;
8763
8764 &lt;p&gt;&lt;blockquote&gt;
8765 &lt;p&gt;Thank you for your message and for your interest in MPEG LA. We
8766 appreciate hearing from you and I will be happy to assist you.&lt;/p&gt;
8767
8768 &lt;p&gt;As you are aware, MPEG LA offers our AVC Patent Portfolio License
8769 which provides coverage under patents that are essential for use of
8770 the AVC/H.264 Standard (MPEG-4 Part 10). Specifically, coverage is
8771 provided for end products and video content that make use of AVC/H.264
8772 technology. Accordingly, the party offering such end products and
8773 video to End Users concludes the AVC License and is responsible for
8774 paying the applicable royalties.&lt;/p&gt;
8775
8776 &lt;p&gt;Regarding Internet Broadcast AVC Video, the AVC License generally
8777 defines such content to be video that is distributed to End Users over
8778 the Internet free-of-charge. Therefore, if a party offers a service
8779 which allows users to upload AVC/H.264 video to its website, and such
8780 AVC Video is delivered to End Users for free, then such video would
8781 receive coverage under the sublicense for Internet Broadcast AVC
8782 Video, which is not subject to any royalties for the life of the AVC
8783 License. This would also apply in the scenario where a user creates a
8784 free online account in order to receive a customized offering of free
8785 AVC Video content. In other words, as long as the End User is given
8786 access to or views AVC Video content at no cost to the End User, then
8787 no royalties would be payable under our AVC License.&lt;/p&gt;
8788
8789 &lt;p&gt;On the other hand, if End Users pay for access to AVC Video for a
8790 specific period of time (e.g., one month, one year, etc.), then such
8791 video would constitute Subscription AVC Video. In cases where AVC
8792 Video is delivered to End Users on a pay-per-view basis, then such
8793 content would constitute Title-by-Title AVC Video. If a party offers
8794 Subscription or Title-by-Title AVC Video to End Users, then they would
8795 be responsible for paying the applicable royalties you noted below.&lt;/p&gt;
8796
8797 &lt;p&gt;Finally, in the case where AVC Video is distributed for free
8798 through an &quot;over-the-air, satellite and/or cable transmission&quot;, then
8799 such content would constitute Free Television AVC Video and would be
8800 subject to the applicable royalties.&lt;/p&gt;
8801
8802 &lt;p&gt;For your reference, I have attached
8803 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/images/2015-07-07-mpegla.pdf&quot;&gt;a
8804 .pdf copy of the AVC License&lt;/a&gt;. You will find the relevant
8805 sublicense information regarding AVC Video in Sections 2.2 through
8806 2.5, and the corresponding royalties in Section 3.1.2 through 3.1.4.
8807 You will also find the definitions of Title-by-Title AVC Video,
8808 Subscription AVC Video, Free Television AVC Video, and Internet
8809 Broadcast AVC Video in Section 1 of the License. Please note that the
8810 electronic copy is provided for informational purposes only and cannot
8811 be used for execution.&lt;/p&gt;
8812
8813 &lt;p&gt;I hope the above information is helpful. If you have additional
8814 questions or need further assistance with the AVC License, please feel
8815 free to contact me directly.&lt;/p&gt;
8816 &lt;/blockquote&gt;&lt;/p&gt;
8817
8818 &lt;p&gt;Having a fresh copy of the license text was useful, and knowing
8819 that the definition of Title-by-Title required payment per title made
8820 me aware that my earlier understanding of that phrase had been wrong.
8821 But I still had a few questions:&lt;/p&gt;
8822
8823 &lt;p&gt;&lt;blockquote&gt;
8824 &lt;p&gt;I have a small followup question. Would it be possible for me to get
8825 a license with MPEG LA even if there are no royalties to be paid? The
8826 reason I ask, is that some video related products have a copyright
8827 clause limiting their use without a license with MPEG LA. The clauses
8828 typically look similar to this:
8829
8830 &lt;p&gt;&lt;blockquote&gt;
8831 This product is licensed under the AVC patent portfolio license for
8832 the personal and non-commercial use of a consumer to (a) encode
8833 video in compliance with the AVC standard (&quot;AVC video&quot;) and/or (b)
8834 decode AVC video that was encoded by a consumer engaged in a
8835 personal and non-commercial activity and/or AVC video that was
8836 obtained from a video provider licensed to provide AVC video. No
8837 license is granted or shall be implied for any other use. additional
8838 information may be obtained from MPEG LA L.L.C.
8839 &lt;/blockquote&gt;&lt;/p&gt;
8840
8841 &lt;p&gt;It is unclear to me if this clause mean that I need to enter into
8842 an agreement with MPEG LA to use the product in question, even if
8843 there are no royalties to be paid to MPEG LA. I suspect it will
8844 differ depending on the jurisdiction, and mine is Norway. What is
8845 MPEG LAs view on this?&lt;/p&gt;
8846 &lt;/blockquote&gt;&lt;/p&gt;
8847
8848 &lt;p&gt;According to the answer, MPEG LA believe those using such tools for
8849 non-personal or commercial use need a license with them:&lt;/p&gt;
8850
8851 &lt;p&gt;&lt;blockquote&gt;
8852
8853 &lt;p&gt;With regard to the Notice to Customers, I would like to begin by
8854 clarifying that the Notice from Section 7.1 of the AVC License
8855 reads:&lt;/p&gt;
8856
8857 &lt;p&gt;THIS PRODUCT IS LICENSED UNDER THE AVC PATENT PORTFOLIO LICENSE FOR
8858 THE PERSONAL USE OF A CONSUMER OR OTHER USES IN WHICH IT DOES NOT
8859 RECEIVE REMUNERATION TO (i) ENCODE VIDEO IN COMPLIANCE WITH THE AVC
8860 STANDARD (&quot;AVC VIDEO&quot;) AND/OR (ii) DECODE AVC VIDEO THAT WAS ENCODED
8861 BY A CONSUMER ENGAGED IN A PERSONAL ACTIVITY AND/OR WAS OBTAINED FROM
8862 A VIDEO PROVIDER LICENSED TO PROVIDE AVC VIDEO. NO LICENSE IS GRANTED
8863 OR SHALL BE IMPLIED FOR ANY OTHER USE. ADDITIONAL INFORMATION MAY BE
8864 OBTAINED FROM MPEG LA, L.L.C. SEE HTTP://WWW.MPEGLA.COM&lt;/p&gt;
8865
8866 &lt;p&gt;The Notice to Customers is intended to inform End Users of the
8867 personal usage rights (for example, to watch video content) included
8868 with the product they purchased, and to encourage any party using the
8869 product for commercial purposes to contact MPEG LA in order to become
8870 licensed for such use (for example, when they use an AVC Product to
8871 deliver Title-by-Title, Subscription, Free Television or Internet
8872 Broadcast AVC Video to End Users, or to re-Sell a third party&#39;s AVC
8873 Product as their own branded AVC Product).&lt;/p&gt;
8874
8875 &lt;p&gt;Therefore, if a party is to be licensed for its use of an AVC
8876 Product to Sell AVC Video on a Title-by-Title, Subscription, Free
8877 Television or Internet Broadcast basis, that party would need to
8878 conclude the AVC License, even in the case where no royalties were
8879 payable under the License. On the other hand, if that party (either a
8880 Consumer or business customer) simply uses an AVC Product for their
8881 own internal purposes and not for the commercial purposes referenced
8882 above, then such use would be included in the royalty paid for the AVC
8883 Products by the licensed supplier.&lt;/p&gt;
8884
8885 &lt;p&gt;Finally, I note that our AVC License provides worldwide coverage in
8886 countries that have AVC Patent Portfolio Patents, including
8887 Norway.&lt;/p&gt;
8888
8889 &lt;p&gt;I hope this clarification is helpful. If I may be of any further
8890 assistance, just let me know.&lt;/p&gt;
8891 &lt;/blockquote&gt;&lt;/p&gt;
8892
8893 &lt;p&gt;The mentioning of Norwegian patents made me a bit confused, so I
8894 asked for more information:&lt;/p&gt;
8895
8896 &lt;p&gt;&lt;blockquote&gt;
8897
8898 &lt;p&gt;But one minor question at the end. If I understand you correctly,
8899 you state in the quote above that there are patents in the AVC Patent
8900 Portfolio that are valid in Norway. This make me believe I read the
8901 list available from &amp;lt;URL:
8902 &lt;a href=&quot;http://www.mpegla.com/main/programs/AVC/Pages/PatentList.aspx&quot;&gt;http://www.mpegla.com/main/programs/AVC/Pages/PatentList.aspx&lt;/a&gt;
8903 &amp;gt; incorrectly, as I believed the &quot;NO&quot; prefix in front of patents
8904 were Norwegian patents, and the only one I could find under Mitsubishi
8905 Electric Corporation expired in 2012. Which patents are you referring
8906 to that are relevant for Norway?&lt;/p&gt;
8907
8908 &lt;/blockquote&gt;&lt;/p&gt;
8909
8910 &lt;p&gt;Again, the quick answer explained how to read the list of patents
8911 in that list:&lt;/p&gt;
8912
8913 &lt;p&gt;&lt;blockquote&gt;
8914
8915 &lt;p&gt;Your understanding is correct that the last AVC Patent Portfolio
8916 Patent in Norway expired on 21 October 2012. Therefore, where AVC
8917 Video is both made and Sold in Norway after that date, then no
8918 royalties would be payable for such AVC Video under the AVC License.
8919 With that said, our AVC License provides historic coverage for AVC
8920 Products and AVC Video that may have been manufactured or Sold before
8921 the last Norwegian AVC patent expired. I would also like to clarify
8922 that coverage is provided for the country of manufacture and the
8923 country of Sale that has active AVC Patent Portfolio Patents.&lt;/p&gt;
8924
8925 &lt;p&gt;Therefore, if a party offers AVC Products or AVC Video for Sale in
8926 a country with active AVC Patent Portfolio Patents (for example,
8927 Sweden, Denmark, Finland, etc.), then that party would still need
8928 coverage under the AVC License even if such products or video are
8929 initially made in a country without active AVC Patent Portfolio
8930 Patents (for example, Norway). Similarly, a party would need to
8931 conclude the AVC License if they make AVC Products or AVC Video in a
8932 country with active AVC Patent Portfolio Patents, but eventually Sell
8933 such AVC Products or AVC Video in a country without active AVC Patent
8934 Portfolio Patents.&lt;/p&gt;
8935 &lt;/blockquote&gt;&lt;/p&gt;
8936
8937 &lt;p&gt;As far as I understand it, MPEG LA believe anyone using Adobe
8938 Premiere and other video related software with a H.264 distribution
8939 license need a license agreement with MPEG LA to use such tools for
8940 anything non-private or commercial, while it is OK to set up a
8941 Youtube-like service as long as no-one pays to get access to the
8942 content. I still have no clear idea how this applies to Norway, where
8943 none of the patents MPEG LA is licensing are valid. Will the
8944 copyright terms take precedence or can those terms be ignored because
8945 the patents are not valid in Norway?&lt;/p&gt;
8946 </description>
8947 </item>
8948
8949 <item>
8950 <title>New laptop - some more clues and ideas based on feedback</title>
8951 <link>http://people.skolelinux.org/pere/blog/New_laptop___some_more_clues_and_ideas_based_on_feedback.html</link>
8952 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/New_laptop___some_more_clues_and_ideas_based_on_feedback.html</guid>
8953 <pubDate>Sun, 5 Jul 2015 21:40:00 +0200</pubDate>
8954 <description>&lt;p&gt;Several people contacted me after my previous blog post about my
8955 need for a new laptop, and provided very useful feedback. I wish to
8956 thank every one of these. Several pointed me to the possibility of
8957 fixing my X230, and I am already in the process of getting Lenovo to
8958 do so thanks to the on site, next day support contract covering the
8959 machine. But the battery is almost useless (I expect to replace it
8960 with a non-official battery) and I do not expect the machine to live
8961 for many more years, so it is time to plan its replacement. If I did
8962 not have a support contract, it was suggested to find replacement parts
8963 using &lt;a href=&quot;http://www.francecrans.com/&quot;&gt;FrancEcrans&lt;/a&gt;, but it
8964 might present a language barrier as I do not understand French.&lt;/p&gt;
8965
8966 &lt;p&gt;One tip I got was to use the
8967 &lt;a href=&quot;https://skinflint.co.uk/?cat=nb&quot;&gt;Skinflint&lt;/a&gt; web service to
8968 compare laptop models. It seem to have more models available than
8969 prisjakt.no. Another tip I got from someone I know have similar
8970 keyboard preferences was that the HP EliteBook 840 keyboard is not
8971 very good, and this matches my experience with earlier EliteBook
8972 keyboards I tested. Because of this, I will not consider it any further.
8973
8974 &lt;p&gt;When I wrote my blog post, I was not aware of Thinkpad X250, the
8975 newest Thinkpad X model. The keyboard reintroduces mouse buttons
8976 (which is missing from the X240), and is working fairly well with
8977 Debian Sid/Unstable according to
8978 &lt;a href=&quot;http://www.corsac.net/X250/&quot;&gt;Corsac.net&lt;/a&gt;. The reports I
8979 got on the keyboard quality are not consistent. Some say the keyboard
8980 is good, others say it is ok, while others say it is not very good.
8981 Those with experience from X41 and and X60 agree that the X250
8982 keyboard is not as good as those trusty old laptops, and suggest I
8983 keep and fix my X230 instead of upgrading, or get a used X230 to
8984 replace it. I&#39;m also told that the X250 lack leds for caps lock, disk
8985 activity and battery status, which is very convenient on my X230. I&#39;m
8986 also told that the CPU fan is running very often, making it a bit
8987 noisy. In any case, the X250 do not work out of the box with Debian
8988 Stable/Jessie, one of my requirements.&lt;/p&gt;
8989
8990 &lt;p&gt;I have also gotten a few vendor proposals, one was
8991 &lt;a href=&quot;http://pro-star.com&quot;&gt;Pro-Star&lt;/a&gt;, another was
8992 &lt;a href=&quot;http://shop.gluglug.org.uk/product/libreboot-x200/&quot;&gt;Libreboot&lt;/a&gt;.
8993 The latter look very attractive to me.&lt;/p&gt;
8994
8995 &lt;p&gt;Again, thank you all for the very useful feedback. It help a lot
8996 as I keep looking for a replacement.&lt;/p&gt;
8997
8998 &lt;p&gt;Update 2015-07-06: I was recommended to check out the
8999 &lt;a href=&quot;&quot;&gt;lapstore.de&lt;/a&gt; web shop for used laptops. They got several
9000 different
9001 &lt;a href=&quot;http://www.lapstore.de/f.php/shop/lapstore/f/411/lang/x/kw/Lenovo_ThinkPad_X_Serie/&quot;&gt;old
9002 thinkpad X models&lt;/a&gt;, and provide one year warranty.&lt;/p&gt;
9003 </description>
9004 </item>
9005
9006 <item>
9007 <title>Time to find a new laptop, as the old one is broken after only two years</title>
9008 <link>http://people.skolelinux.org/pere/blog/Time_to_find_a_new_laptop__as_the_old_one_is_broken_after_only_two_years.html</link>
9009 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Time_to_find_a_new_laptop__as_the_old_one_is_broken_after_only_two_years.html</guid>
9010 <pubDate>Fri, 3 Jul 2015 07:10:00 +0200</pubDate>
9011 <description>&lt;p&gt;My primary work horse laptop is failing, and will need a
9012 replacement soon. The left 5 cm of the screen on my Thinkpad X230
9013 started flickering yesterday, and I suspect the cause is a broken
9014 cable, as changing the angle of the screen some times get rid of the
9015 flickering.&lt;/p&gt;
9016
9017 &lt;p&gt;My requirements have not really changed since I bought it, and is
9018 still as
9019 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Thank_you_Thinkpad_X41__for_your_long_and_trustworthy_service.html&quot;&gt;I
9020 described them in 2013&lt;/a&gt;. The last time I bought a laptop, I had
9021 good help from
9022 &lt;a href=&quot;http://www.prisjakt.no/category.php?k=353&quot;&gt;prisjakt.no&lt;/a&gt;
9023 where I could select at least a few of the requirements (mouse pin,
9024 wifi, weight) and go through the rest manually. Three button mouse
9025 and a good keyboard is not available as an option, and all the three
9026 laptop models proposed today (Thinkpad X240, HP EliteBook 820 G1 and
9027 G2) lack three mouse buttons). It is also unclear to me how good the
9028 keyboard on the HP EliteBooks are. I hope Lenovo have not messed up
9029 the keyboard, even if the quality and robustness in the X series have
9030 deteriorated since X41.&lt;/p&gt;
9031
9032 &lt;p&gt;I wonder how I can find a sensible laptop when none of the options
9033 seem sensible to me? Are there better services around to search the
9034 set of available laptops for features? Please send me an email if you
9035 have suggestions.&lt;/p&gt;
9036
9037 &lt;p&gt;Update 2015-07-23: I got a suggestion to check out the FSF
9038 &lt;a href=&quot;http://www.fsf.org/resources/hw/endorsement/respects-your-freedom&quot;&gt;list
9039 of endorsed hardware&lt;/a&gt;, which is useful background information.&lt;/p&gt;
9040 </description>
9041 </item>
9042
9043 <item>
9044 <title>MakerCon Nordic videos now available on Frikanalen</title>
9045 <link>http://people.skolelinux.org/pere/blog/MakerCon_Nordic_videos_now_available_on_Frikanalen.html</link>
9046 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/MakerCon_Nordic_videos_now_available_on_Frikanalen.html</guid>
9047 <pubDate>Thu, 2 Jul 2015 14:10:00 +0200</pubDate>
9048 <description>&lt;p&gt;Last oktober I was involved on behalf of
9049 &lt;a href=&quot;http://www.nuug.no/&quot;&gt;NUUG&lt;/a&gt; with recording the talks at
9050 &lt;a href=&quot;http://www.makercon.no/&quot;&gt;MakerCon Nordic&lt;/a&gt;, a conference for
9051 the Maker movement. Since then it has been the plan to publish the
9052 recordings on &lt;a href=&quot;http://www.frikanalen.no/&quot;&gt;Frikanalen&lt;/a&gt;, which
9053 finally happened the last few days. A few talks are missing because
9054 the speakers asked the organizers to not publish them, but most of the
9055 talks are available. The talks are being broadcasted on RiksTV
9056 channel 50 and using multicast on Uninett, as well as being available
9057 from the Frikanalen web site. The unedited recordings are
9058 &lt;a href=&quot;https://www.youtube.com/user/MakerConNordic/&quot;&gt;available on
9059 Youtube too&lt;/a&gt;.&lt;/p&gt;
9060
9061 &lt;p&gt;This is the list of talks available at the moment. Visit the
9062 &lt;a href=&quot;http://beta.frikanalen.no/video/?q=makercon&quot;&gt;Frikanalen video
9063 pages&lt;/a&gt; to view them.&lt;/p&gt;
9064
9065 &lt;ul&gt;
9066
9067 &lt;li&gt;Evolutionary algorithms as a design tool - from art
9068 to robotics (Kyrre Glette)&lt;/li&gt;
9069
9070 &lt;li&gt;Make and break (Hans Gerhard Meier)&lt;/li&gt;
9071
9072 &lt;li&gt;Making a one year school course for young makers
9073 (Olav Helland)&lt;/li&gt;
9074
9075 &lt;li&gt;Innovation Inspiration - IPR Databases as a Source of
9076 Inspiration (Hege Langlo)&lt;/li&gt;
9077
9078 &lt;li&gt;Making a toy for makers (Erik Torstensson)&lt;/li&gt;
9079
9080 &lt;li&gt;How to make 3D printer electronics (Elias Bakken)&lt;/li&gt;
9081
9082 &lt;li&gt;Hovering Clouds: Looking at online tool offerings for Product
9083 Design and 3D Printing (William Kempton)&lt;/li&gt;
9084
9085 &lt;li&gt;Travelling maker stories (Øyvind Nydal Dahl)&lt;/li&gt;
9086
9087 &lt;li&gt;Making the first Maker Faire in Sweden (Nils Olander)&lt;/li&gt;
9088
9089 &lt;li&gt;Breaking the mold: Printing 1000’s of parts (Espen Sivertsen)&lt;/li&gt;
9090
9091 &lt;li&gt;Ultimaker — and open source 3D printing (Erik de Bruijn)&lt;/li&gt;
9092
9093 &lt;li&gt;Autodesk’s 3D Printing Platform: Sparking innovation (Hilde
9094 Sevens)&lt;/li&gt;
9095
9096 &lt;li&gt;How Making is Changing the World – and How You Can Too!
9097 (Jennifer Turliuk)&lt;/li&gt;
9098
9099 &lt;li&gt;Open-Source Adventuring: OpenROV, OpenExplorer and the Future of
9100 Connected Exploration (David Lang)&lt;/li&gt;
9101
9102 &lt;li&gt;Making in Norway (Haakon Karlsen Jr., Graham Hayward and Jens
9103 Dyvik)&lt;/li&gt;
9104
9105 &lt;li&gt;The Impact of the Maker Movement (Mike Senese)&lt;/li&gt;
9106
9107 &lt;/ul&gt;
9108
9109 &lt;p&gt;Part of the reason this took so long was that the scripts NUUG had
9110 to prepare a recording for publication were five years old and no
9111 longer worked with the current video processing tools (command line
9112 argument changes). In addition, we needed better audio normalization,
9113 which sent me on a detour to
9114 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Measuring_and_adjusting_the_loudness_of_a_TV_channel_using_bs1770gain.html&quot;&gt;package
9115 bs1770gain for Debian&lt;/a&gt;. Now this is in place and it became a lot
9116 easier to publish NUUG videos on Frikanalen.&lt;/p&gt;
9117 </description>
9118 </item>
9119
9120 <item>
9121 <title>Graphing the Norwegian company ownership structure</title>
9122 <link>http://people.skolelinux.org/pere/blog/Graphing_the_Norwegian_company_ownership_structure.html</link>
9123 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Graphing_the_Norwegian_company_ownership_structure.html</guid>
9124 <pubDate>Mon, 15 Jun 2015 14:00:00 +0200</pubDate>
9125 <description>&lt;p&gt;It is a bit work to figure out the ownership structure of companies
9126 in Norway. The information is publicly available, but one need to
9127 recursively look up ownership for all owners to figure out the complete
9128 ownership graph of a given set of companies. To save me the work in
9129 the future, I wrote a script to do this automatically, outputting the
9130 ownership structure using the Graphviz/dotty format. The data source
9131 is web scraping from &lt;a href=&quot;http://www.proff.no/&quot;&gt;Proff&lt;/a&gt;, because
9132 I failed to find a useful source directly from the official keepers of
9133 the ownership data, &lt;a href=&quot;http://www.brreg.no/&quot;&gt;Brønnøysundsregistrene&lt;/a&gt;.&lt;/p&gt;
9134
9135 &lt;p&gt;To get an ownership graph for a set of companies, fetch
9136 &lt;a href=&quot;https://github.com/petterreinholdtsen/brreg-norway-ownership-graph&quot;&gt;the code from git&lt;/a&gt; and run it using the organisation number. I&#39;m
9137 using the Norwegian newspaper Dagbladet as an example here, as its
9138 ownership structure is very simple:&lt;/p&gt;
9139
9140 &lt;pre&gt;
9141 % time ./bin/eierskap-dotty 958033540 &gt; dagbladet.dot
9142
9143 real 0m2.841s
9144 user 0m0.184s
9145 sys 0m0.036s
9146 %
9147 &lt;/pre&gt;
9148
9149 &lt;p&gt;The script accept several organisation numbers on the command line,
9150 allowing a cluster of companies to be graphed in the same image. The
9151 resulting dot file for the example above look like this. The edges
9152 are labeled with the ownership percentage, and the nodes uses the
9153 organisation number as their name and the name as the label:&lt;/p&gt;
9154
9155 &lt;pre&gt;
9156 digraph ownership {
9157 rankdir = LR;
9158 &quot;Aller Holding A/s&quot; -&gt; &quot;910119877&quot; [label=&quot;100%&quot;]
9159 &quot;910119877&quot; -&gt; &quot;998689015&quot; [label=&quot;100%&quot;]
9160 &quot;998689015&quot; -&gt; &quot;958033540&quot; [label=&quot;99%&quot;]
9161 &quot;974530600&quot; -&gt; &quot;958033540&quot; [label=&quot;1%&quot;]
9162 &quot;958033540&quot; [label=&quot;AS DAGBLADET&quot;]
9163 &quot;998689015&quot; [label=&quot;Berner Media Holding AS&quot;]
9164 &quot;974530600&quot; [label=&quot;Dagbladets Stiftelse&quot;]
9165 &quot;910119877&quot; [label=&quot;Aller Media AS&quot;]
9166 }
9167 &lt;/pre&gt;
9168
9169 &lt;p&gt;To view the ownership graph, run &quot;&lt;tt&gt;dotty dagbladet.dot&lt;/tt&gt;&quot; or
9170 convert it to a PNG using &quot;&lt;tt&gt;dot -T png dagbladet.dot &gt;
9171 dagbladet.png&lt;/tt&gt;&quot;. The result can be seen below:&lt;/p&gt;
9172
9173 &lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2015-06-15-ownership-graphs-norway-dagbladet.png&quot; width=&quot;80%&quot;&gt;
9174
9175 &lt;p&gt;Note that I suspect the &quot;Aller Holding A/S&quot; entry to be incorrect
9176 data in the official ownership register, as that name is not
9177 registered in the official company register for Norway. The ownership
9178 register is sensitive to typos and there seem to be no strict checking
9179 of the ownership links.&lt;/p&gt;
9180
9181 &lt;p&gt;Let me know if you improve the script or find better data sources.
9182 The code is licensed according to GPL 2 or newer.&lt;/p&gt;
9183
9184 &lt;p&gt;Update 2015-06-15: Since the initial post I&#39;ve been told that
9185 &quot;&lt;a href=&quot;http://www.proff.dk/firma/carl-allers-etablissement-aktieselskab/københavn-v/hovedkontorer/13624518-3/&quot;&gt;Aller
9186 Holding A/S&lt;/a&gt;&quot; is a Danish company, which explain why it did not
9187 have a Norwegian organisation number. I&#39;ve also been told that there
9188 is a &lt;a href=&quot;http://www.brreg.no/automatiske/webservices/&quot;&gt;web
9189 services API available&lt;/a&gt; from Brønnøysundsregistrene, for those
9190 willing to accept the terms or pay the price.&lt;/p&gt;
9191 </description>
9192 </item>
9193
9194 <item>
9195 <title>Measuring and adjusting the loudness of a TV channel using bs1770gain</title>
9196 <link>http://people.skolelinux.org/pere/blog/Measuring_and_adjusting_the_loudness_of_a_TV_channel_using_bs1770gain.html</link>
9197 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Measuring_and_adjusting_the_loudness_of_a_TV_channel_using_bs1770gain.html</guid>
9198 <pubDate>Thu, 11 Jun 2015 13:40:00 +0200</pubDate>
9199 <description>&lt;p&gt;Television loudness is the source of frustration for viewers
9200 everywhere. Some channels are very load, others are less loud, and
9201 ads tend to shout very high to get the attention of the viewers, and
9202 the viewers do not like this. This fact is well known to the TV
9203 channels. See for example the BBC white paper
9204 &quot;&lt;a href=&quot;http://downloads.bbc.co.uk/rd/pubs/whp/whp-pdf-files/WHP202.pdf&quot;&gt;Terminology
9205 for loudness and level dBTP, LU, and all that&lt;/a&gt;&quot; from 2011 for a
9206 summary of the problem domain. To better address the need for even
9207 loadness, the TV channels got together several years ago to agree on a
9208 new way to measure loudness in digital files as one step in
9209 standardizing loudness. From this came the ITU-R standard BS.1770,
9210 &quot;&lt;a href=&quot;http://www.itu.int/rec/R-REC-BS.1770/en&quot;&gt;Algorithms to
9211 measure audio programme loudness and true-peak audio level&lt;/a&gt;&quot;.&lt;/p&gt;
9212
9213 &lt;p&gt;The ITU-R BS.1770 specification describe an algorithm to measure
9214 loadness in LUFS (Loudness Units, referenced to Full Scale). But
9215 having a way to measure is not enough. To get the same loudness
9216 across TV channels, one also need to decide which value to standardize
9217 on. For European TV channels, this was done in the EBU Recommondaton
9218 R128, &quot;&lt;a href=&quot;https://tech.ebu.ch/docs/r/r128.pdf&quot;&gt;Loudness
9219 normalisation and permitted maximum level of audio signals&lt;/a&gt;&quot;, which
9220 specifies a recommended level of -23 LUFS. In Norway, I have been
9221 told that NRK, TV2, MTG and SBS have decided among themselves to
9222 follow the R128 recommondation for playout from 2016-03-01.&lt;/p&gt;
9223
9224 &lt;p&gt;There are free software available to measure and adjust the loudness
9225 level using the LUFS. In Debian, I am aware of a library named
9226 &lt;a href=&quot;https://tracker.debian.org/pkg/libebur128&quot;&gt;libebur128&lt;/a&gt;
9227 able to measure the loudness and since yesterday morning a new binary
9228 named &lt;a href=&quot;http://bs1770gain.sourceforge.net&quot;&gt;bs1770gain&lt;/a&gt;
9229 capable of both measuring and adjusting was uploaded and is waiting
9230 for NEW processing. I plan to maintain the latter in Debian under the
9231 &lt;a href=&quot;https://qa.debian.org/developer.php?email=pkg-multimedia-maintainers%40lists.alioth.debian.org&quot;&gt;Debian
9232 multimedia&lt;/a&gt; umbrella.&lt;/p&gt;
9233
9234 &lt;p&gt;The free software based TV channel I am involved in,
9235 &lt;a href=&quot;http://www.frikanalen.no/&quot;&gt;Frikanalen&lt;/a&gt;, plan to follow the
9236 R128 recommondation ourself as soon as we can adjust the software to
9237 do so, and the bs1770gain tool seem like a good fit for that part of
9238 the puzzle to measure loudness on new video uploaded to Frikanalen.
9239 Personally, I plan to use bs1770gain to adjust the loudness of videos
9240 I upload to Frikanalen on behalf of &lt;a href=&quot;http://www.nuug.no/&quot;&gt;the
9241 NUUG member organisation&lt;/a&gt;. The program seem to be able to measure
9242 the LUFS value of any media file handled by ffmpeg, but I&#39;ve only
9243 successfully adjusted the LUFS value of WAV files. I suspect it
9244 should be able to adjust it for all the formats handled by ffmpeg.&lt;/p&gt;
9245 </description>
9246 </item>
9247
9248 <item>
9249 <title>Norwegian citizens now required by law to give their fingerprint to the police</title>
9250 <link>http://people.skolelinux.org/pere/blog/Norwegian_citizens_now_required_by_law_to_give_their_fingerprint_to_the_police.html</link>
9251 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Norwegian_citizens_now_required_by_law_to_give_their_fingerprint_to_the_police.html</guid>
9252 <pubDate>Sun, 10 May 2015 16:00:00 +0200</pubDate>
9253 <description>&lt;p&gt;5 days ago, the Norwegian Parliament decided, unanimously, that all
9254 citizens of Norway, no matter if they are suspected of something
9255 criminal or not, are
9256 &lt;a href=&quot;https://www.holderdeord.no/votes/1430838871e&quot;&gt;required to
9257 give fingerprints to the police&lt;/a&gt; (vote details from Holder de
9258 ord). The law make it sound like it will be optional, but in a few
9259 years there will be no option any more. The ID will be required to
9260 vote, to get a bank account, a bank card, to change address on the
9261 post office, to receive an electronic ID or to get a drivers license
9262 and many other tasks required to function in Norway. The banks plan
9263 to stop providing their own ID on the bank cards when this new
9264 national ID is introduced, and the national road authorities plan to
9265 change the drivers license to no longer be usable as identity cards.
9266 In effect, to function as a citizen in Norway a national ID card will
9267 be required, and to get it one need to provide the fingerprints to
9268 the police.&lt;/p&gt;
9269
9270 &lt;p&gt;In addition to handing the fingerprint to the police (which
9271 promised to not make a copy of the fingerprint image at that point in
9272 time, but say nothing about doing it later), a picture of the
9273 fingerprint will be stored on the RFID chip, along with a picture of
9274 the face and other information about the person. Some of the
9275 information will be encrypted, but the encryption will be the same
9276 system as currently used in the passports. The codes to decrypt will
9277 be available to a lot of government offices and their suppliers around
9278 the globe, but for those that do not know anyone in those circles it
9279 is good to know that
9280 &lt;a href=&quot;http://www.theguardian.com/technology/2006/nov/17/news.homeaffairs&quot;&gt;the
9281 encryption is already broken&lt;/a&gt;. And they
9282 &lt;a href=&quot;http://www.networkworld.com/article/2215057/wireless/bad-guys-could-read-rfid-passports-at-217-feet--maybe-a-lot-more.html&quot;&gt;can
9283 be read from 70 meters away&lt;/a&gt;. This can be mitigated a bit by
9284 keeping it in a Faraday cage (metal box or metal wire container), but
9285 one will be required to take it out of there often enough to expose
9286 ones private and personal information to a lot of people that have no
9287 business getting access to that information.&lt;/p&gt;
9288
9289 &lt;p&gt;The new Norwegian national IDs are a vehicle for identity theft,
9290 and I feel sorry for us all having politicians accepting such invasion
9291 of privacy without any objections. So are the Norwegian passports,
9292 but it has been possible to function in Norway without those so far.
9293 That option is going away with the passing of the new law. In this, I
9294 envy the Germans, because for them it is optional how much biometric
9295 information is stored in their national ID.&lt;/p&gt;
9296
9297 &lt;p&gt;And if forced collection of fingerprints was not bad enough, the
9298 information collected in the national ID card register can be handed
9299 over to foreign intelligence services and police authorities, &quot;when
9300 extradition is not considered disproportionate&quot;.&lt;/p&gt;
9301
9302 &lt;p&gt;Update 2015-05-12: For those unable to believe that the Parliament
9303 really could make such decision, I wrote
9304 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Blir_det_virkelig_krav_om_fingeravtrykk_i_nasjonale_ID_kort_.html&quot;&gt;a
9305 summary of the sources I have&lt;/a&gt; for concluding the way I do
9306 (Norwegian Only, as the sources are all in Norwegian).&lt;/p&gt;
9307 </description>
9308 </item>
9309
9310 <item>
9311 <title>What would it cost to store all phone calls in Norway?</title>
9312 <link>http://people.skolelinux.org/pere/blog/What_would_it_cost_to_store_all_phone_calls_in_Norway_.html</link>
9313 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/What_would_it_cost_to_store_all_phone_calls_in_Norway_.html</guid>
9314 <pubDate>Fri, 1 May 2015 19:30:00 +0200</pubDate>
9315 <description>&lt;p&gt;Many years ago, a friend of mine calculated how much it would cost
9316 to store the sound of all phone calls in Norway, and came up with the
9317 cost of around 20 million NOK (2.4 mill EUR) for all the calls in a
9318 year. I got curious and wondered what the same calculation would look
9319 like today. To do so one need an idea of how much data storage is
9320 needed for each minute of sound, how many minutes all the calls in
9321 Norway sums up to, and the cost of data storage.&lt;/p&gt;
9322
9323 &lt;p&gt;The 2005 numbers are from
9324 &lt;a href=&quot;http://www.digi.no/analyser/2005/10/04/vi-prater-stadig-mindre-i-roret&quot;&gt;digi.no&lt;/a&gt;,
9325 the 2012 numbers are from
9326 &lt;a href=&quot;http://www.nkom.no/aktuelt/nyheter/fortsatt-vekst-i-det-norske-ekommarkedet&quot;&gt;a
9327 NKOM report&lt;/a&gt;, and I got the 2013 numbers after asking NKOM via
9328 email. I was told the numbers for 2014 will be presented May 20th,
9329 and decided not to wait for those, as I doubt they will be very
9330 different from the numbers from 2013.&lt;/p&gt;
9331
9332 &lt;p&gt;The amount of data storage per minute sound depend on the wanted
9333 quality, and for phone calls it is generally believed that 8 Kbit/s is
9334 enough. See for example a
9335 &lt;a href=&quot;http://www.cisco.com/c/en/us/support/docs/voice/voice-quality/7934-bwidth-consume.html#topic1&quot;&gt;summary
9336 on voice quality from Cisco&lt;/a&gt; for some alternatives. 8 Kbit/s is 60
9337 Kbytes/min, and this can be multiplied with the number of call minutes
9338 to get the storage requirements.&lt;/p&gt;
9339
9340 &lt;p&gt;Storage prices varies a lot, depending on speed, backup strategies,
9341 availability requirements etc. But a simple way to calculate can be
9342 to use the price of a TiB-disk (around 1000 NOK / 120 EUR) and double
9343 it to take space, power and redundancy into account. It could be much
9344 higher with high speed and good redundancy requirements.&lt;/p&gt;
9345
9346 &lt;p&gt;But back to the question, What would it cost to store all phone
9347 calls in Norway? Not much. Here is a small table showing the
9348 estimated cost, which is within the budget constraint of most medium
9349 and large organisations:&lt;/p&gt;
9350
9351 &lt;table border=&quot;1&quot;&gt;
9352 &lt;tr&gt;&lt;th&gt;Year&lt;/th&gt;&lt;th&gt;Call minutes&lt;/th&gt;&lt;th&gt;Size&lt;/th&gt;&lt;th&gt;Price in NOK / EUR&lt;/th&gt;&lt;/tr&gt;
9353 &lt;tr&gt;&lt;td&gt;2005&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;24 000 000 000&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;1.3 PiB&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;3 mill / 358 000&lt;/td&gt;&lt;/tr&gt;
9354 &lt;tr&gt;&lt;td&gt;2012&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;18 000 000 000&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;1.0 PiB&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;2.2 mill / 262 000&lt;/td&gt;&lt;/tr&gt;
9355 &lt;tr&gt;&lt;td&gt;2013&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;17 000 000 000&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;950 TiB&lt;/td&gt;&lt;td align=&quot;right&quot;&gt;2.1 mill / 250 000&lt;/td&gt;&lt;/tr&gt;
9356 &lt;/table&gt;
9357
9358 &lt;p&gt;This is the cost of buying the storage. Maintenance need to be
9359 taken into account too, but calculating that is left as an exercise
9360 for the reader. But it is obvious to me from those numbers that
9361 recording the sound of all phone calls in Norway is not going to be
9362 stopped because it is too expensive. I wonder if someone already is
9363 collecting the data?&lt;/p&gt;
9364 </description>
9365 </item>
9366
9367 <item>
9368 <title>First Jessie based Debian Edu beta release</title>
9369 <link>http://people.skolelinux.org/pere/blog/First_Jessie_based_Debian_Edu_beta_release.html</link>
9370 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_Jessie_based_Debian_Edu_beta_release.html</guid>
9371 <pubDate>Sun, 26 Apr 2015 14:10:00 +0200</pubDate>
9372 <description>&lt;p&gt;I am happy to report that the Debian Edu team sent out
9373 &lt;a href=&quot;https://lists.debian.org/debian-edu-announce/2015/04/msg00000.html&quot;&gt;this
9374 announcement today&lt;/a&gt;:&lt;/p&gt;
9375
9376 &lt;pre&gt;
9377 the Debian Edu / Skolelinux project is pleased to announce the first
9378 *beta* release of Debian Edu &quot;Jessie&quot; 8.0+edu0~b1, which for the first
9379 time is composed entirely of packages from the current Debian stable
9380 release, Debian 8 &quot;Jessie&quot;.
9381
9382 (As most reading this will know, Debian &quot;Jessie&quot; hasn&#39;t actually been
9383 released by now. The release is still in progress but should finish
9384 later today ;)
9385
9386 We expect to make a final release of Debian Edu &quot;Jessie&quot; in the coming
9387 weeks, timed with the first point release of Debian Jessie. Upgrades
9388 from this beta release of Debian Edu Jessie to the final release will
9389 be possible and encouraged!
9390
9391 Please report feedback to debian-edu@lists.debian.org and/or submit
9392 bugs: http://wiki.debian.org/DebianEdu/HowTo/ReportBugs
9393
9394 Debian Edu - sometimes also known as &quot;Skolelinux&quot; - is a complete
9395 operating system for schools, universities and other
9396 organisations. Through its pre- prepared installation profiles
9397 administrators can install servers, workstations and laptops which
9398 will work in harmony on the school network. With Debian Edu, the
9399 teachers themselves or their technical support staff can roll out a
9400 complete multi-user, multi-machine study environment within hours or
9401 days.
9402
9403 Debian Edu is already in use at several hundred schools all over the
9404 world, particularly in Germany, Spain and Norway. Installations come
9405 with hundreds of applications pre-installed, plus the whole Debian
9406 archive of thousands of compatible packages within easy reach.
9407
9408 For those who want to give Debian Edu Jessie a try, download and
9409 installation instructions are available, including detailed
9410 instructions in the manual explaining the first steps, such as setting
9411 up a network or adding users. Please note that the password for the
9412 user your prompted for during installation must have a length of at
9413 least 5 characters!
9414
9415 == Where to download ==
9416
9417 A multi-architecture CD / usbstick image (649 MiB) for network booting
9418 can be downloaded at the following locations:
9419
9420 http://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~b1-CD.iso
9421 rsync -avzP ftp.skolelinux.org::skolelinux-cd/debian-edu-8.0+edu0~b1-CD.iso .
9422
9423 The SHA1SUM of this image is: 54a524d16246cddd8d2cfd6ea52f2dd78c47ee0a
9424
9425 Alternatively an extended DVD / usbstick image (4.9 GiB) is also
9426 available, with more software included (saving additional download
9427 time):
9428
9429 http://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~b1-USB.iso
9430 rsync -avzP ftp.skolelinux.org::skolelinux-cd/debian-edu-8.0+edu0~b1-USB.iso
9431
9432 The SHA1SUM of this image is: fb1f1504a490c077a48653898f9d6a461cb3c636
9433
9434 Sources are available from the Debian archive, see
9435 http://ftp.debian.org/debian-cd/8.0.0/source/ for some download
9436 options.
9437
9438 == Debian Edu Jessie manual in seven languages ==
9439
9440 Please see https://wiki.debian.org/DebianEdu/Documentation/Jessie/ for
9441 the English version of the Debian Edu jessie manual.
9442
9443 This manual has been fully translated to German, French, Italian,
9444 Danish, Dutch and Norwegian Bokmål. A partly translated version exists
9445 for Spanish. See http://maintainer.skolelinux.org/debian-edu-doc/ for
9446 online version of the translated manual.
9447
9448 More information about Debian 8 &quot;Jessie&quot; itself is provided in the
9449 release notes and the installation manual:
9450 - http://www.debian.org/releases/jessie/releasenotes
9451 - http://www.debian.org/releases/jessie/installmanual
9452
9453
9454 == Errata / known problems ==
9455
9456 It takes up to 15 minutes for a changed hostname to be updated via
9457 DHCP (#780461).
9458
9459 The hostname script fails to update LTSP server hostname (#783087).
9460
9461 Workaround: run update-hostname-from-ip on the client to update the
9462 hostname immediately.
9463
9464 Check https://wiki.debian.org/DebianEdu/Status/Jessie for a possibly
9465 more current and complete list.
9466
9467 == Some more details about Debian Edu 8.0+edu0~b1 Codename Jessie released 2015-04-25 ==
9468
9469 === Software updates ===
9470
9471 Everything which is new in Debian 8 Jessie, e.g.:
9472
9473 * Linux kernel 3.16.7-ctk9; for the i386 architecture, support for
9474 i486 processors has been dropped; oldest supported ones: i586 (like
9475 Intel Pentium and AMD K5).
9476
9477 * Desktop environments KDE Plasma Workspaces 4.11.13, GNOME 3.14,
9478 Xfce 4.12, LXDE 0.5.6
9479 * new optional desktop environment: MATE 1.8
9480 * KDE Plasma Workspaces is installed by default; to choose one of
9481 the others see the manual.
9482 * the browsers Iceweasel 31 ESR and Chromium 41
9483 * LibreOffice 4.3.3
9484 * GOsa 2.7.4
9485 * LTSP 5.5.4
9486 * CUPS print system 1.7.5
9487 * new boot framework: systemd
9488 * Educational toolbox GCompris 14.12
9489 * Music creator Rosegarden 14.02
9490 * Image editor Gimp 2.8.14
9491 * Virtual stargazer Stellarium 0.13.1
9492 * golearn 0.9
9493 * tuxpaint 0.9.22
9494 * New version of debian-installer from Debian Jessie.
9495 * Debian Jessie includes about 43000 packages available for installation.
9496 * More information about Debian 8 Jessie is provided in its release
9497 notes and the installation manual, see the link above.
9498
9499 === Installation changes ===
9500
9501 Installations done via PXE now also install firmware automatically
9502 for the hardware present.
9503
9504 === Fixed bugs ===
9505
9506 A number of bugs have been fixed in this release; the most noticeable
9507 from a user perspective:
9508
9509 * Inserting incorrect DNS information in Gosa will no longer break
9510 DNS completely, but instead stop DNS updates until the incorrect
9511 information is corrected (710362)
9512
9513 * shutdown-at-night now shuts the system down if gdm3 is used (775608).
9514
9515 === Sugar desktop removed ===
9516
9517 As the Sugar desktop was removed from Debian Jessie, it is also not
9518 available in Debian Edu jessie.
9519
9520
9521 == About Debian Edu / Skolelinux ==
9522
9523 Debian Edu, also known as Skolelinux, is a Linux distribution based on
9524 Debian providing an out-of-the box environment of a completely
9525 configured school network. Directly after installation a school server
9526 running all services needed for a school network is set up just
9527 waiting for users and machines being added via GOsa², a comfortable
9528 Web-UI. A netbooting environment is prepared using PXE, so after
9529 initial installation of the main server from CD or USB stick all other
9530 machines can be installed via the network. The provided school server
9531 provides LDAP database and Kerberos authentication service,
9532 centralized home directories, DHCP server, web proxy and many other
9533 services. The desktop contains more than 60 educational software
9534 packages and more are available from the Debian archive, and schools
9535 can choose between KDE, GNOME, LXDE, Xfce and MATE desktop
9536 environment.
9537
9538 == About Debian ==
9539
9540 The Debian Project was founded in 1993 by Ian Murdock to be a truly
9541 free community project. Since then the project has grown to be one of
9542 the largest and most influential open source projects. Thousands of
9543 volunteers from all over the world work together to create and
9544 maintain Debian software. Available in 70 languages, and supporting a
9545 huge range of computer types, Debian calls itself the universal
9546 operating system.
9547
9548 == Thanks ==
9549
9550 Thanks to everyone making Debian and Debian Edu / Skolelinux happen!
9551 You rock.
9552 &lt;/pre&gt;
9553 </description>
9554 </item>
9555
9556 <item>
9557 <title>Debian Edu interview: Shirish Agarwal</title>
9558 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Shirish_Agarwal.html</link>
9559 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Shirish_Agarwal.html</guid>
9560 <pubDate>Wed, 15 Apr 2015 09:20:00 +0200</pubDate>
9561 <description>&lt;p&gt;It was a surprise to me to learn that project to create a complete
9562 computer system for schools I&#39;ve involved in,
9563 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt;, was
9564 being used in India. But apparently it is, and I managed to get an
9565 interview with one of the friends of the project there, Shirish
9566 Agarwal.&lt;/p&gt;
9567
9568 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
9569
9570 &lt;p&gt;My name is Shirish Agarwal. Based out of the educational and
9571 historical city of Pune, from the western state of Maharashtra, India.
9572 My bread comes from giving training, giving policy tips,
9573 installations on free software to mom and pop shops in different
9574 fields from Desktop publishing to retail shops as well as work with
9575 few software start-ups as well.&lt;/p&gt;
9576
9577 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux / Debian Edu
9578 project?&lt;/strong&gt;&lt;/p&gt;
9579
9580 &lt;p&gt;It started innocently enough. I have been using Debian for a few
9581 years and in one local minidebconf / debutsav I was asked if there was
9582 anything for schools or education. I had worked / played with free
9583 educational softwares such as Gcompris and Stellarium for my many
9584 nieces and nephews so researched and found Debian Edu or Skolelinux as
9585 it was known then. Since then I have started using the various
9586 education meta-packages provided by the project.&lt;/p&gt;
9587
9588 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux / Debian
9589 Edu?&lt;/strong&gt;&lt;/p&gt;
9590
9591 &lt;p&gt;It&#39;s closest I have seen where a package full of educational
9592 software are packed, which are free and open (both literally and
9593 figuratively). Even if I take the simplest software which is
9594 gcompris, the number of activities therein are amazing. Another one of
9595 the softwares that I have liked for a long time is stellarium. Even
9596 pysycache is cool except for couple of issues I encountered
9597 &lt;a href=&quot;https://bugs.debian.org/781841&quot;&gt;#781841&lt;/a&gt; and
9598 &lt;a href=&quot;https://bugs.debian.org/781842&quot;&gt;#781842&lt;/a&gt;.&lt;/p&gt;
9599
9600 &lt;p&gt;I prefer software installed on the system over web based solutions,
9601 as a web site can disappear any time but the software on disk has the
9602 possibility of a larger life span. Of course with both it&#39;s more a
9603 question if it has enough users who make it fun or sustainable or both
9604 for the developer per-se.&lt;/p&gt;
9605
9606 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux / Debian
9607 Edu?&lt;/strong&gt;&lt;/p&gt;
9608
9609 &lt;p&gt;I do see that the Debian Edu team seems to be short-handed and I
9610 think more efforts should be made to make it popular and ask and take
9611 help from people and the larger community wherever possible.&lt;/p&gt;
9612
9613 &lt;p&gt;I don&#39;t see any disadvantage to use Skolelinux apart from the fact
9614 that most apps. are generic which is good or bad how you see it.
9615 However, saying that I do acknowledge the fact that the canvas is
9616 pretty big and there are lot of interesting ideas that could be done
9617 but for reasons not known not done or if done I don&#39;t know about them.
9618 Let me share some of the ideas (these are more upstream based but
9619 still) I have had for a long time :&lt;/p&gt;
9620
9621 &lt;p&gt;1. Classical maths question of two trains in opposing directions
9622 each running @x kmph/mph at y distance, when they will meet and how
9623 far would each travel and similar questions like these.
9624
9625 &lt;p&gt;The computer is a fantastic system where questions like these can
9626 be drawn, animated and the methodology and answers teased out in
9627 interactive manner. While sites such as the
9628 &lt;a href=&quot;http://mathforum.org/dr.math/faq/faq.two.trains.html&quot;&gt;Ask
9629 Dr. Math FAQ on The Two Trains problem&lt;/a&gt; (as an example or point of
9630 inspiration) can be used there is lot more that can be done. I dunno
9631 if there is a free software which does something like this. The idea
9632 being a blend of objects + animation + interaction which does
9633 this. The whole interaction could be gamified with points or sounds or
9634 colourful celebration whenever the user gets even part of the question
9635 or/and methodology right. That would help reinforce good behaviour.
9636 This understanding could be used to share/showcase everything from how
9637 the first wheel came to be, to evolution to how astronomy started,
9638 psychics and everything in-between.&lt;/p&gt;
9639
9640 &lt;p&gt;One specific idea in the train part was having the Linux mascot on
9641 one train and the BSD or GNU mascot on the other train and they
9642 meeting somewhere in-between. Characters from blender movies could
9643 also be used.&lt;/p&gt;
9644
9645 &lt;p&gt;2. Loads of crossword-puzzles with reference to subjects: We have
9646 enormous data sets in Wikipedia and Wikitionary. I don&#39;t think it
9647 should be a big job to design crossword puzzles. Using categories and
9648 sub-categories it should be doable to have Q&amp;A single word answers
9649 from the existing data-sets. What would make it easy or hard could be
9650 the length of the word + existence of many or few vowels depending on
9651 the user&#39;s input.&lt;/p&gt;
9652
9653 &lt;p&gt;3. Jigsaw puzzles - We already have a great software called
9654 palapeli with number of slicers making it pretty interesting. What
9655 needs to be done is to download large number of public domain and
9656 copyleft images, tease and use IPTC tags to categorise them into
9657 nature, history etc. and let it loose. This could turn to be really
9658 huge collection of images. One source could be taken from
9659 commons.wikimedia.org, others could be huge collection of royalty-free
9660 stock photos. Potential is immense.&lt;/p&gt;
9661
9662 &lt;p&gt;Apart from this, free software suffers in two directions, we lag
9663 both in development (of using new features per-se) and maintenance a
9664 lot. This is more so in educational software as these applications
9665 need to be timely and the opportunity cost of missing deadlines is
9666 immense. If we are able to solve issues of funding for development and
9667 maintenance of such software I don&#39;t see any big difficulties. I know
9668 of few start-ups in and around India who would love to develop and
9669 maintain such software if funding issues could be solved.&lt;/p&gt;
9670
9671 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
9672
9673 &lt;p&gt;That would be huge list. Some of the softwares are obviously apt,
9674 aptitude, debdelta, leafpad, the shell of course (zsh nowadays),
9675 quassel for IRC. In games I use shisen-sho while card-games are evenly
9676 between kpat and Aiselriot. In desktops it&#39;s a tie between
9677 gnome-flashback and mate.&lt;/p&gt;
9678
9679 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
9680 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
9681
9682 &lt;p&gt;I think it should first start with using specific FOSS apps. in
9683 whatever environment they are. If it&#39;s MS-Windows or Mac so be it.
9684 Once they are habitual with the apps. and there is buy-in from the
9685 school management then it could be installed anywhere. Most of the
9686 people now understand the concept of a repository because of the
9687 various online stores so it isn&#39;t hard to convince on that front.&lt;/p&gt;
9688
9689 &lt;p&gt;What is harder is having enough people with technical skills and
9690 passion to service them. If you get buy-in from one or two teachers
9691 then ideas like above could also be asked to be done as a project as
9692 well.&lt;/p&gt;
9693
9694 &lt;p&gt;I think where we fall short more than anything is in marketing. For
9695 instance, Debian has this whole range of fonts in its archive but
9696 there isn&#39;t even a page where all those different fonts in the La
9697 Ipsum format could be tried out for newcomers.&lt;/p&gt;
9698
9699 &lt;p&gt;One of the issues faced constantly in installations is with updates
9700 and upgrades. People have this myth that each update and upgrade
9701 means the user interface will / has to change. I have seen this
9702 innumerable times. That perhaps is one of the reasons which browsers
9703 like Iceweasel / Firefox change user interfaces so much, not because
9704 it might be needed or be functional but because people believe that
9705 changed user interfaces are better. This, can easily be pointed with
9706 the user interfaces changed with almost every MS-Windows and Mac OS
9707 releases.&lt;/p&gt;
9708
9709 &lt;p&gt;The problems with Debian Edu for deployment are many. The biggest
9710 is the huge gap between what is taught in schools and what Debian Edu
9711 is aimed at.
9712
9713 &lt;p&gt;Me and my friends did teach on week-ends in a government school for
9714 around 2 years, and
9715 &lt;a href=&quot;https://flossexperiences.wordpress.com/2012/10/08/sharings/&quot;&gt;gathered
9716 some experience&lt;/a&gt; there. Some of the things we learnt/discovered
9717 there was :&lt;/p&gt;
9718
9719 &lt;ol&gt;
9720
9721 &lt;li&gt;Most of the teachers are very territorial about their subjects
9722 and they do not want you to teach anything out of the
9723 portion/syllabus given.&lt;/li&gt;
9724
9725 &lt;li&gt;They want any activity on the system in accordance to whatever
9726 is in the syllabus.&lt;/li&gt;
9727
9728 &lt;li&gt;There are huge barriers both with the English language and at
9729 times with objects or whatever. An example, let&#39;s say in gcompris
9730 you have objects falling down and you have to name them and let&#39;s
9731 say the falling object is a hat or a fedora hat, this would not be
9732 as recognizable as say a
9733 &lt;a href=&quot;https://en.wikipedia.org/wiki/Puneri_Pagadi&quot;&gt;Puneri
9734 Pagdi&lt;/a&gt; so there is need to inject local objects, words wherever
9735 possible. Especially for word-games there are so many hindi words
9736 which have become part of english vocabulary (for instance in
9737 parley), those could be made into a hinglish collection or
9738 something but that is something for upstream to do.&lt;/li&gt;
9739
9740 &lt;/ol&gt;
9741 </description>
9742 </item>
9743
9744 <item>
9745 <title>I&#39;m going to the Open Source Developers&#39; Conference Nordic 2015!</title>
9746 <link>http://people.skolelinux.org/pere/blog/I_m_going_to_the_Open_Source_Developers__Conference_Nordic_2015_.html</link>
9747 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/I_m_going_to_the_Open_Source_Developers__Conference_Nordic_2015_.html</guid>
9748 <pubDate>Tue, 7 Apr 2015 10:30:00 +0200</pubDate>
9749 <description>&lt;p&gt;I am happy to let you all know that I&#39;m going to the &lt;a
9750 href=&quot;http://act.osdc.no/osdc2015no/&quot;&gt;Open Source Developers&#39;
9751 Conference Nordic 2015&lt;/a&gt;!&lt;/p&gt;
9752
9753 &lt;p&gt;It take place Friday 8th to Sunday 10th of May in Oslo next to
9754 where I work, and I finally got around to submitting
9755 &lt;a href=&quot;http://act.osdc.no/osdc2015no/talk/6192&quot;&gt;a talk proposal for
9756 it&lt;/a&gt; (dead link for most people until the talk is accepted). As
9757 part of my involvement with the
9758 &lt;a href=&quot;http://www.nuug.no/&quot;&gt;Norwegian Unix User Group member
9759 association&lt;/a&gt; I have been slightly involved in the planning of this
9760 conference for a while now, with a focus on organising a Civic Hacking
9761 Hackathon with our friends
9762 over at &lt;a href=&quot;http://www.mysociety.org/&quot;&gt;mySociety&lt;/a&gt; and
9763 &lt;a href=&quot;http://www.holderdeord.no/&quot;&gt;Holder de ord&lt;/a&gt;. This part is
9764 named the &#39;My Society&#39; track in the program. There is still space for
9765 more talks and participants. I hope to see you there.&lt;/p&gt;
9766
9767 &lt;p&gt;Check out &lt;a href=&quot;http://act.osdc.no/osdc2015no/talks&quot;&gt;the talks
9768 submitted and accepted so far&lt;/a&gt;.&lt;/p&gt;
9769 </description>
9770 </item>
9771
9772 <item>
9773 <title>Proof reading the Norwegian translation of Free Culture by Lessig</title>
9774 <link>http://people.skolelinux.org/pere/blog/Proof_reading_the_Norwegian_translation_of_Free_Culture_by_Lessig.html</link>
9775 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Proof_reading_the_Norwegian_translation_of_Free_Culture_by_Lessig.html</guid>
9776 <pubDate>Sat, 4 Apr 2015 09:30:00 +0200</pubDate>
9777 <description>&lt;p&gt;During eastern I had some time to continue working on the Norwegian
9778 &lt;a href=&quot;http://www.docbook.org/&quot;&gt;docbook&lt;/a&gt; version of the 2004 book
9779 &lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free Culture&lt;/a&gt; by Lawrence Lessig.
9780 At the moment I am proof reading the finished text, looking for typos,
9781 inconsistent wordings and sentences that do not flow as they should.
9782 I&#39;m more than two thirds done with the text, and welcome others to
9783 check the text up to chapter 13. The current status is available on the
9784 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;github&lt;/a&gt;
9785 project pages. You can also check out the
9786 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/blob/master/archive/freeculture.nb.pdf?raw=true&quot;&gt;PDF&lt;/a&gt;,
9787 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/blob/master/archive/freeculture.nb.epub?raw=true&quot;&gt;EPUB&lt;/a&gt;
9788 and HTML version available in the
9789 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/tree/master/archive&quot;&gt;archive
9790 directory&lt;/a&gt;.&lt;/p&gt;
9791
9792 &lt;p&gt;Please report typos, bugs and improvements to the github project if
9793 you find any.&lt;/p&gt;
9794 </description>
9795 </item>
9796
9797 <item>
9798 <title>Frikanalen, Norwegian TV channel for technical topics</title>
9799 <link>http://people.skolelinux.org/pere/blog/Frikanalen__Norwegian_TV_channel_for_technical_topics.html</link>
9800 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Frikanalen__Norwegian_TV_channel_for_technical_topics.html</guid>
9801 <pubDate>Mon, 9 Mar 2015 11:10:00 +0100</pubDate>
9802 <description>&lt;p&gt;The &lt;a href=&quot;http://www.nuug.no/&quot;&gt;Norwegian Unix User Group&lt;/a&gt;,
9803 where I am a member, and where people interested in free software,
9804 open standards and UNIX like operating systems like Linux and the BSDs
9805 come together, record our monthly technical presentations on video.
9806 The purpose is to document the talks and spread them to a wider
9807 audience. For this, the the Norwegian nationwide open channel
9808 &lt;a href=&quot;http://www.frikanalen.no/&quot;&gt;Frikanalen&lt;/a&gt; is a useful venue.
9809 Since a few days ago, when I figured out the
9810 &lt;a href=&quot;http://beta.frikanalen.no/api/&quot;&gt;REST API&lt;/a&gt; to program the
9811 &lt;a href=&quot;http://beta.frikanalen.tv/guide/&quot;&gt;channel time schedule&lt;/a&gt;,
9812 the channel has been filled with NUUG talks, related recordings and
9813 some Creative Commons licensed TED talks (from archive.org). I fill
9814 all &quot;leftover bits&quot; on the channel with content from NUUG, which at
9815 the moment is almost 17 of 24 hours every day.&lt;/p&gt;
9816
9817 &lt;p&gt;The list of NUUG videos
9818 &lt;a href=&quot;http://beta.frikanalen.tv/organization/82&quot;&gt;uploaded so far&lt;/a&gt;
9819 include things like a
9820 &lt;a href=&quot;http://beta.frikanalen.tv/video/625090&quot;&gt;one hour talk by John
9821 Perry Barlow when he visited Oslo&lt;/a&gt;, a presentation of
9822 &lt;a href=&quot;http://beta.frikanalen.tv/video/624275&quot;&gt;Haiku, the BeOS
9823 re-implementation&lt;/a&gt;, the
9824 &lt;a href=&quot;http://beta.frikanalen.tv/video/624493&quot;&gt;history of FiksGataMi,
9825 the Norwegian version of FixMyStreet&lt;/a&gt;, the good old
9826 &lt;a href=&quot;http://beta.frikanalen.tv/video/623566&quot;&gt;Warriors of the net
9827 video&lt;/A&gt; and many others.&lt;/p&gt;
9828
9829 &lt;p&gt;We have a large backlog of NUUG talks not yet uploaded to
9830 Frikanalen, and plan to upload every useful bit to the channel to
9831 spread the word there. I also hope to find useful recordings from the
9832 Chaos Computer Club and Debian conferences and spread them on the
9833 channel as well. But this require locating the videos and their meta
9834 information (title, description, license, etc), and preparing the
9835 recordings for broadcast, and I have not yet had the spare time to
9836 focus on this. Perhaps you want to help. Please join us on IRC,
9837 &lt;a href=&quot;irc://irc.freenode.net/%23nuug&quot;&gt;#nuug on irc.freenode.net&lt;/a&gt;
9838 if you want to help make this happen.&lt;/p&gt;
9839
9840 &lt;p&gt;But as I said, already the channel is already almost exclusively
9841 filled with technical topics, and if you want to learn something new
9842 today, check out the &lt;a href=&quot;http://www.frikanalen.tv/se&quot;&gt;Ogg Theora
9843 web stream&lt;/a&gt; or use one of the other ways to get access to the
9844 channel. Unfortunately the Ogg Theora recoding for distribution still
9845 do not properly sync the video and sound. It is generated by recoding
9846 a internal MPEG transport stream with MPEG4 coded video (ie H.264) to
9847 Ogg Theora / Vorbis, and we have not been able to find a way that
9848 produces acceptable quality. Help needed, please get in touch if you
9849 know how to fix it using free software.&lt;/p&gt;
9850 </description>
9851 </item>
9852
9853 <item>
9854 <title>The Citizenfour documentary on the Snowden confirmations to Norway</title>
9855 <link>http://people.skolelinux.org/pere/blog/The_Citizenfour_documentary_on_the_Snowden_confirmations_to_Norway.html</link>
9856 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_Citizenfour_documentary_on_the_Snowden_confirmations_to_Norway.html</guid>
9857 <pubDate>Sat, 28 Feb 2015 22:10:00 +0100</pubDate>
9858 <description>&lt;p&gt;Today I was happy to learn that the documentary
9859 &lt;a href=&quot;https://citizenfourfilm.com/&quot;&gt;Citizenfour&lt;/a&gt; by
9860 &lt;a href=&quot;https://en.wikipedia.org/wiki/Laura_Poitras&quot;&gt;Laura Poitras&lt;/a&gt;
9861 finally will show up in Norway. According to the magazine
9862 &lt;a href=&quot;http://montages.no/&quot;&gt;Montages&lt;/a&gt;, a deal has finally been
9863 made for
9864 &lt;a href=&quot;http://montages.no/nyheter/snowden-dokumentaren-citizenfour-far-norsk-kinodistribusjon/&quot;&gt;Cinema
9865 distribution in Norway&lt;/a&gt; and the movie will have its premiere soon.
9866 This is great news. As part of my involvement with
9867 &lt;a href=&quot;http://www.nuug.no/&quot;&gt;the Norwegian Unix User Group&lt;/a&gt;, me and
9868 a friend have
9869 &lt;a href=&quot;http://www.nuug.no/news/Dokumentar_om_Snowdenbekreftelsene_til_Norge_.shtml&quot;&gt;tried
9870 to get the movie to Norway&lt;/a&gt; ourselves, but obviously
9871 &lt;a href=&quot;http://www.nuug.no/news/Dokumentar_om_Snowdenbekreftelsene_endelig_til_Norge_.shtml&quot;&gt;we
9872 were too late&lt;/a&gt; and Tor Fosse beat us to it. I am happy he did, as
9873 the movie will make its way to the public and we do not have to make
9874 it happen ourselves.
9875 &lt;a href=&quot;https://www.youtube.com/watch?v=XiGwAvd5mvM&quot;&gt;The trailer&lt;/a&gt;
9876 can be seen on youtube, if you are curious what kind of film this
9877 is.&lt;/p&gt;
9878
9879 &lt;p&gt;The whistle blower Edward Snowden really deserve political asylum
9880 here in Norway, but I am afraid he would not be safe.&lt;/p&gt;
9881 </description>
9882 </item>
9883
9884 <item>
9885 <title>The Norwegian open channel Frikanalen - 24x7 on the Internet</title>
9886 <link>http://people.skolelinux.org/pere/blog/The_Norwegian_open_channel_Frikanalen___24x7_on_the_Internet.html</link>
9887 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_Norwegian_open_channel_Frikanalen___24x7_on_the_Internet.html</guid>
9888 <pubDate>Wed, 25 Feb 2015 09:10:00 +0100</pubDate>
9889 <description>&lt;p&gt;The Norwegian nationwide open channel
9890 &lt;a href=&quot;http://www.frikanalen.no/&quot;&gt;Frikanalen&lt;/a&gt; is still going
9891 strong. It allow everyone to send the video they want on national
9892 television. It is a TV station administrated completely using a web
9893 browser, running only &lt;ahref=&quot;https://github.com/Frikanalen&quot;&gt;Free
9894 Software&lt;/a&gt;, providing &lt;ahref=&quot;http://beta.frikanalen.tv/api&quot;&gt;a REST
9895 api&lt;/a&gt; for administrators and members, and with distribution on the
9896 national DVB-T distribution network RiksTV. But only between 12:00
9897 and 17:30 Norwegian time. This has finally changed, after many years
9898 with limited distribution. A few weeks ago, we set up a Ogg Theora
9899 stream via icecast to allow everyone with Internet access to check out
9900 the channel the rest of the day. This is presented on
9901 &lt;a href=&quot;http://www.frikanalen.tv/se&quot;&gt;the Frikanalen web site now&lt;/a&gt;. And
9902 since a few days ago, the channel is also available
9903 via &lt;a href=&quot;https://www.uninett.no/iptv-tilgang&quot;&gt;multicast on
9904 UNINETT&lt;/a&gt;, available for those using IPTV TVs and set-top boxes in
9905 the Norwegian National Research and Education network.&lt;/p&gt;
9906
9907 &lt;p&gt;If you want to see what is on the channel, point your media player
9908 to one of these sources. The first should work with most players and
9909 browsers, while as far as I know, the multicast UDP stream only work
9910 with VLC.&lt;/p&gt;
9911
9912 &lt;ul&gt;
9913 &lt;li&gt;&lt;a href=&quot;http://video.nuug.no/frikanalen.ogv&quot;&gt;http://video.nuug.no/frikanalen.ogv&lt;/a&gt;&lt;/li&gt;
9914 &lt;li&gt;udp://@224.17.43.129:1234&lt;/li&gt;
9915 &lt;/ul&gt;
9916
9917 &lt;p&gt;The Ogg Theora / icecast stream is not working well, as the video
9918 and audio is slightly out of sync. We have not been able to figure
9919 out how to fix it. It is generated by recoding a internal MPEG
9920 transport stream with MPEG4 coded video (ie H.264) to Ogg Theora /
9921 Vorbis, and the result is less then stellar. If you have ideas how to
9922 fix it, please let us know on frikanalen (at) nuug.no. We currently
9923 use this with ffmpeg2theora 0.29:&lt;/p&gt;
9924
9925 &lt;blockquote&gt;&lt;pre&gt;
9926 ./ffmpeg2theora.linux &amp;lt;OBE_gemini_URL.ts&amp;gt; -F 25 -x 720 -y 405 \
9927 --deinterlace --inputfps 25 -c 1 -H 48000 --keyint 8 --buf-delay 100 \
9928 --nosync -V 700 -o - | oggfwd video.nuug.no 8000 &amp;lt;pw&amp;gt; /frikanalen.ogv
9929 &lt;/pre&gt;&lt;/blockquote&gt;
9930
9931 &lt;p&gt;If you get the multicast UDP stream working, please let me know, as
9932 I am curious how far the multicast stream reach. It do not make it to
9933 my home network, nor any other commercially available network in
9934 Norway that I am aware of.&lt;/p&gt;
9935 </description>
9936 </item>
9937
9938 <item>
9939 <title>Nude body scanner now present on Norwegian airport</title>
9940 <link>http://people.skolelinux.org/pere/blog/Nude_body_scanner_now_present_on_Norwegian_airport.html</link>
9941 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Nude_body_scanner_now_present_on_Norwegian_airport.html</guid>
9942 <pubDate>Tue, 10 Feb 2015 15:20:00 +0100</pubDate>
9943 <description>&lt;p&gt;Aftenposten, one of the largest newspapers in Norway, today report
9944 that
9945 &lt;a href=&quot;http://www.aftenposten.no/reise/Slik-skannes-kroppen-din-i-fremtidens-sikkerhetskontroll-490666_1.snd&quot;&gt;three
9946 of the nude body scanners now is put to use at Gardermoen&lt;/a&gt;, the
9947 main airport in Norway. This way the travelers can have their body
9948 photographed without cloths when visiting Norway. Of course this
9949 horrible news is presented with a positive spin, stating that &quot;now
9950 travelers can move past the security check point faster and more
9951 efficiently&quot;, but fail to mention that the machines in question take
9952 pictures of their nude bodies and store them internally in the
9953 computer, while only presenting sketch figure of the body to the
9954 public. The article is written in a way that leave the impression
9955 that the new machines do not take these nude pictures and only create
9956 the sketch figures. In reality the same nude pictures are still
9957 taken, but not presented to everyone. They are still available for
9958 the owners of the system and the people doing maintenance of the
9959 scanners, as long as they are taken and stored.&lt;/p&gt;
9960
9961 &lt;p&gt;Wikipedia have a more on
9962 &lt;a href=&quot;https://en.wikipedia.org/wiki/Full_body_scanner&quot;&gt;Full body
9963 scanners&lt;/a&gt;, including example images and a summary of the
9964 controversy about these scanners.&lt;/p&gt;
9965
9966 &lt;p&gt;Personally I will decline to use these machines, as I believe strip
9967 searches of my body is a very intrusive attack on my privacy, and not
9968 something everyone should have to accept to travel.&lt;/p&gt;
9969 </description>
9970 </item>
9971
9972 <item>
9973 <title>Nagios module to check if the Frikanalen video stream is working</title>
9974 <link>http://people.skolelinux.org/pere/blog/Nagios_module_to_check_if_the_Frikanalen_video_stream_is_working.html</link>
9975 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Nagios_module_to_check_if_the_Frikanalen_video_stream_is_working.html</guid>
9976 <pubDate>Sun, 8 Feb 2015 13:00:00 +0100</pubDate>
9977 <description>&lt;p&gt;When running a TV station with both broadcast and web stream
9978 distribution, it is useful to know that the stream is working. As I
9979 am involved in the Norwegian open channel
9980 &lt;a href=&quot;http://www.frikanalen.no/&quot;&gt;Frikanalen&lt;/a&gt; as part of my
9981 activity in the &lt;a href=&quot;http://www.nuug.no/&quot;&gt;NUUG member
9982 organisation&lt;/a&gt;, I wrote a script to use mplayer to connect to a
9983 video stream, pick two images 35 seconds apart and compare them. If
9984 the images are missing or identical, something is probably wrong with
9985 the stream and an alarm should be triggered. The script is written as
9986 a Nagios plugin, allowing us to use Nagios to run the check regularly
9987 and sound the alarm when something is wrong. It is able to detect
9988 both a hanging and a broken video stream.&lt;/p&gt;
9989
9990 &lt;p&gt;I just uploaded the code for the script into the
9991 &lt;a href=&quot;https://github.com/Frikanalen/frikanalen/blob/master/nagios-plugin/check_video_stream_images&quot;&gt;Frikanalen
9992 git repository&lt;/a&gt; on github. If you run a TV station with web
9993 streaming, perhaps you can find it useful too.&lt;/p&gt;
9994
9995 &lt;p&gt;Last year, the Frikanalen public TV station transformed into using
9996 only Linux based free software to administrate, schedule and
9997 distribute the TV content. The
9998 &lt;a href=&quot;https://github.com/Frikanalen&quot;&gt;source code for the entire TV
9999 station&lt;/a&gt; is available from the Github project page. Everyone can
10000 use it to send their content on national TV, and we provide both a web
10001 GUI and &lt;a href=&quot;http://beta.frikanalen.tv/api/&quot;&gt;a web API&lt;/a&gt; to
10002 &lt;a href=&quot;http://beta.frikanalen.tv/login/?next=/members/video/&quot;&gt;add&lt;/a&gt;
10003 and &lt;a href=&quot;http://beta.frikanalen.tv/members/plan/&quot;&gt;schedule
10004 content&lt;/a&gt;. And thanks to last weeks developer gathering and
10005 following activity, we now have the schedule
10006 &lt;a href=&quot;http://beta.frikanalen.tv/xmltv/2015/01/01&quot;&gt;available as
10007 XMLTV&lt;/a&gt; too. Still a lot of work left to do, especially with the
10008 process to add videos and with the scheduling, so your contribution is
10009 most welcome. Perhaps you want to set up your own TV station?&lt;/p&gt;
10010
10011 &lt;p&gt;Update 2015-02-25: Got a tip from Uninett about their
10012 &lt;a href=&quot;https://scm.uninett.no/maalepaaler/qstream/&quot;&gt;qstream
10013 monitoring system&lt;/a&gt;, which gather connection time, jitter, packet
10014 loss and burst bandwidth usage. It look useful to check if UDP
10015 streams are working as they should.&lt;/p&gt;
10016 </description>
10017 </item>
10018
10019 <item>
10020 <title>Norwegian Bokmål subtitles for the FSF video User Liberation</title>
10021 <link>http://people.skolelinux.org/pere/blog/Norwegian_Bokm_l_subtitles_for_the_FSF_video_User_Liberation.html</link>
10022 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Norwegian_Bokm_l_subtitles_for_the_FSF_video_User_Liberation.html</guid>
10023 <pubDate>Mon, 12 Jan 2015 21:00:00 +0100</pubDate>
10024 <description>&lt;p&gt;A few days ago, the &lt;a href=&quot;https://www.fsf.org/&quot;&gt;Free Software
10025 Foundation&lt;/a&gt; announced a new video
10026 &lt;a href=&quot;https://www.fsf.org/blogs/community/user-liberation-watch-and-share-our-new-video&quot;&gt;explaining
10027 Free software&lt;/a&gt; in simple terms. The video named User Liberation is
10028 3 minutes long, and I recommend showing it to everyone you know as a
10029 way to explain what Free Software is all about. Unfortunately several
10030 of the people I know do not understand English and Spanish, so it did
10031 not make sense to show it to them.&lt;/p&gt;
10032
10033 &lt;p&gt;But today I was told that
10034 &lt;a href=&quot;https://www.fsf.org/blogs/community/user-liberation-watch-and-share-our-new-video&quot;&gt;English
10035 subtitles were available&lt;/a&gt; and set out to provide Norwegian Bokmål
10036 subtitles based on these. The result has been sent to FSF and made
10037 available in
10038 &lt;a href=&quot;https://github.com/petterreinholdtsen/fsf-video-user-liberation-subtitles&quot;&gt;a
10039 git repository&lt;/a&gt; provided by Github. Please let me know if you find
10040 errors or have improvements to the subtitles.&lt;/p&gt;
10041
10042 &lt;p&gt;Update 2015-02-03: Since I publised this post, FSF created a
10043 Libreplanet
10044 &lt;a href=&quot;http://libreplanet.org/wiki/Group:FSF/User_Liberation_Video_Translation&quot;&gt;project
10045 to track subtitles&lt;/A&gt; for the video.&lt;/p&gt;
10046 </description>
10047 </item>
10048
10049 <item>
10050 <title>Updated version of the Norwegian web service FiksGataMi</title>
10051 <link>http://people.skolelinux.org/pere/blog/Updated_version_of_the_Norwegian_web_service_FiksGataMi.html</link>
10052 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Updated_version_of_the_Norwegian_web_service_FiksGataMi.html</guid>
10053 <pubDate>Tue, 30 Dec 2014 17:55:00 +0100</pubDate>
10054 <description>&lt;p&gt;I am very happy that we in the
10055 &lt;a href=&quot;http://www.nuug.no/&quot;&gt;Norwegian Unix User group (NUUG)&lt;/a&gt;,
10056 spearheaded by Marius Halden from NUUG and Matthew Somerville from
10057 &lt;a href=&quot;http://www.mysociety.org/&quot;&gt;mySociety&lt;/a&gt;, finally managed to
10058 upgrade the code base for the Norwegian version of
10059 &lt;a href=&quot;http://fixmystreet.org/&quot;&gt;FixMyStreet&lt;/a&gt;. This
10060 was the first major update since 2011. The refurbished
10061 &lt;a href=&quot;http://www.fiksgatami.no/&quot;&gt;FiksGataMi&lt;/a&gt; is already live, and
10062 seem to hold up the pressure. The
10063 &lt;a href=&quot;http://www.nuug.no/news/Pressemelding__FiksGataMi_i_oppdatert_og_mobilvennlig_klesdrakt.shtml&quot;&gt;press
10064 release and announcement&lt;/a&gt; went out this morning.&lt;/p&gt;
10065
10066 &lt;p&gt;FixMyStreet is a web platform for allowing the citizens to easily
10067 report problems with public infrastructure to the responsible
10068 authorities. Think of it as a shared mail client with map support,
10069 allowing everyone to see what already was reported and comment on the
10070 reports in public.&lt;/p&gt;
10071 </description>
10072 </item>
10073
10074 <item>
10075 <title>Of course USA loses in cyber war - NSA and friends made sure it would happen</title>
10076 <link>http://people.skolelinux.org/pere/blog/Of_course_USA_loses_in_cyber_war___NSA_and_friends_made_sure_it_would_happen.html</link>
10077 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Of_course_USA_loses_in_cyber_war___NSA_and_friends_made_sure_it_would_happen.html</guid>
10078 <pubDate>Fri, 19 Dec 2014 13:10:00 +0100</pubDate>
10079 <description>&lt;p&gt;So, Sony caved in
10080 (&lt;a href=&quot;https://twitter.com/RobLowe/status/545338568512917504&quot;&gt;according
10081 to Rob Lowe&lt;/a&gt;) and demonstrated that America lost its first cyberwar
10082 (&lt;a href=&quot;https://twitter.com/newtgingrich/status/545339074975109122&quot;&gt;according
10083 to Newt Gingrich&lt;/a&gt;). It should not surprise anyone, after the
10084 whistle blower Edward Snowden documented that the government of USA
10085 and their allies for many years have done their best to make sure the
10086 technology used by its citizens is filled with security holes allowing
10087 the secret services to spy on its own population. No one in their
10088 right minds could believe that the ability to snoop on the people all
10089 over the globe could only be used by the personnel authorized to do so
10090 by the president of the United States of America. If the capabilities
10091 are there, they will be used by friend and foe alike, and now they are
10092 being used to bring Sony on its knees.&lt;/p&gt;
10093
10094 &lt;p&gt;I doubt it will a lesson learned, and expect USA to lose its next
10095 cyber war too, given how eager the western intelligence communities
10096 (and probably the non-western too, but it is less in the news) seem to
10097 be to continue its current dragnet surveillance practice.&lt;/p&gt;
10098
10099 &lt;p&gt;There is a reason why China and others are trying to move away from
10100 Windows to Linux and other alternatives, and it is not to avoid
10101 sending its hard earned dollars to Cayman Islands (or whatever
10102 &lt;a href=&quot;https://en.wikipedia.org/wiki/Tax_haven&quot;&gt;tax haven&lt;/a&gt;
10103 Microsoft is using these days to collect the majority of its
10104 income. :)&lt;/p&gt;
10105 </description>
10106 </item>
10107
10108 <item>
10109 <title>How to stay with sysvinit in Debian Jessie</title>
10110 <link>http://people.skolelinux.org/pere/blog/How_to_stay_with_sysvinit_in_Debian_Jessie.html</link>
10111 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_stay_with_sysvinit_in_Debian_Jessie.html</guid>
10112 <pubDate>Sat, 22 Nov 2014 01:00:00 +0100</pubDate>
10113 <description>&lt;p&gt;By now, it is well known that Debian Jessie will not be using
10114 sysvinit as its boot system by default. But how can one keep using
10115 sysvinit in Jessie? It is fairly easy, and here are a few recipes,
10116 courtesy of
10117 &lt;a href=&quot;http://www.vitavonni.de/blog/201410/2014102101-avoiding-systemd.html&quot;&gt;Erich
10118 Schubert&lt;/a&gt; and
10119 &lt;a href=&quot;http://smcv.pseudorandom.co.uk/2014/still_universal/&quot;&gt;Simon
10120 McVittie&lt;/a&gt;.
10121
10122 &lt;p&gt;If you already are using Wheezy and want to upgrade to Jessie and
10123 keep sysvinit as your boot system, create a file
10124 &lt;tt&gt;/etc/apt/preferences.d/use-sysvinit&lt;/tt&gt; with this content before
10125 you upgrade:&lt;/p&gt;
10126
10127 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
10128 Package: systemd-sysv
10129 Pin: release o=Debian
10130 Pin-Priority: -1
10131 &lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;
10132
10133 &lt;p&gt;This file content will tell apt and aptitude to not consider
10134 installing systemd-sysv as part of any installation and upgrade
10135 solution when resolving dependencies, and thus tell it to avoid
10136 systemd as a default boot system. The end result should be that the
10137 upgraded system keep using sysvinit.&lt;/p&gt;
10138
10139 &lt;p&gt;If you are installing Jessie for the first time, there is no way to
10140 get sysvinit installed by default (debootstrap used by
10141 debian-installer have no option for this), but one can tell the
10142 installer to switch to sysvinit before the first boot. Either by
10143 using a kernel argument to the installer, or by adding a line to the
10144 preseed file used. First, the kernel command line argument:
10145
10146 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
10147 preseed/late_command=&quot;in-target apt-get install --purge -y sysvinit-core&quot;
10148 &lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;
10149
10150 &lt;p&gt;Next, the line to use in a preseed file:&lt;/p&gt;
10151
10152 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
10153 d-i preseed/late_command string in-target apt-get install -y sysvinit-core
10154 &lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;
10155
10156 &lt;p&gt;One can of course also do this after the first boot by installing
10157 the sysvinit-core package.&lt;/p&gt;
10158
10159 &lt;p&gt;I recommend only using sysvinit if you really need it, as the
10160 sysvinit boot sequence in Debian have several hardware specific bugs
10161 on Linux caused by the fact that it is unpredictable when hardware
10162 devices show up during boot. But on the other hand, the new default
10163 boot system still have a few rough edges I hope will be fixed before
10164 Jessie is released.&lt;/p&gt;
10165
10166 &lt;p&gt;Update 2014-11-26: Inspired by
10167 &lt;ahref=&quot;https://www.mirbsd.org/permalinks/wlog-10-tg_e20141125-tg.htm#e20141125-tg_wlog-10-tg&quot;&gt;a
10168 blog post by Torsten Glaser&lt;/a&gt;, added --purge to the preseed
10169 line.&lt;/p&gt;
10170 </description>
10171 </item>
10172
10173 <item>
10174 <title>A Debian package for SMTP via Tor (aka SMTorP) using exim4</title>
10175 <link>http://people.skolelinux.org/pere/blog/A_Debian_package_for_SMTP_via_Tor__aka_SMTorP__using_exim4.html</link>
10176 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_Debian_package_for_SMTP_via_Tor__aka_SMTorP__using_exim4.html</guid>
10177 <pubDate>Mon, 10 Nov 2014 13:40:00 +0100</pubDate>
10178 <description>&lt;p&gt;The right to communicate with your friends and family in private,
10179 without anyone snooping, is a right every citicen have in a liberal
10180 democracy. But this right is under serious attack these days.&lt;/p&gt;
10181
10182 &lt;p&gt;A while back it occurred to me that one way to make the dragnet
10183 surveillance conducted by NSA, GCHQ, FRA and others (and confirmed by
10184 the whisleblower Snowden) more expensive for Internet email,
10185 is to deliver all email using SMTP via Tor. Such SMTP option would be
10186 a nice addition to the FreedomBox project if we could send email
10187 between FreedomBox machines without leaking metadata about the emails
10188 to the people peeking on the wire. I
10189 &lt;a href=&quot;http://lists.alioth.debian.org/pipermail/freedombox-discuss/2014-October/006493.html&quot;&gt;proposed
10190 this on the FreedomBox project mailing list in October&lt;/a&gt; and got a
10191 lot of useful feedback and suggestions. It also became obvious to me
10192 that this was not a novel idea, as the same idea was tested and
10193 documented by Johannes Berg as early as 2006, and both
10194 &lt;a href=&quot;https://github.com/pagekite/Mailpile/wiki/SMTorP&quot;&gt;the
10195 Mailpile&lt;/a&gt; and &lt;a href=&quot;http://dee.su/cables&quot;&gt;the Cables&lt;/a&gt; systems
10196 propose a similar method / protocol to pass emails between users.&lt;/p&gt;
10197
10198 &lt;p&gt;To implement such system one need to set up a Tor hidden service
10199 providing the SMTP protocol on port 25, and use email addresses
10200 looking like username@hidden-service-name.onion. With such addresses
10201 the connections to port 25 on hidden-service-name.onion using Tor will
10202 go to the correct SMTP server. To do this, one need to configure the
10203 Tor daemon to provide the hidden service and the mail server to accept
10204 emails for this .onion domain. To learn more about Exim configuration
10205 in Debian and test the design provided by Johannes Berg in his FAQ, I
10206 set out yesterday to create a Debian package for making it trivial to
10207 set up such SMTP over Tor service based on Debian. Getting it to work
10208 were fairly easy, and
10209 &lt;a href=&quot;https://github.com/petterreinholdtsen/exim4-smtorp&quot;&gt;the
10210 source code for the Debian package&lt;/a&gt; is available from github. I
10211 plan to move it into Debian if further testing prove this to be a
10212 useful approach.&lt;/p&gt;
10213
10214 &lt;p&gt;If you want to test this, set up a blank Debian machine without any
10215 mail system installed (or run &lt;tt&gt;apt-get purge exim4-config&lt;/tt&gt; to
10216 get rid of exim4). Install tor, clone the git repository mentioned
10217 above, build the deb and install it on the machine. Next, run
10218 &lt;tt&gt;/usr/lib/exim4-smtorp/setup-exim-hidden-service&lt;/tt&gt; and follow
10219 the instructions to get the service up and running. Restart tor and
10220 exim when it is done, and test mail delivery using swaks like
10221 this:&lt;/p&gt;
10222
10223 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
10224 torsocks swaks --server dutlqrrmjhtfa3vp.onion \
10225 --to fbx@dutlqrrmjhtfa3vp.onion
10226 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
10227
10228 &lt;p&gt;This will test the SMTP delivery using tor. Replace the email
10229 address with your own address to test your server. :)&lt;/p&gt;
10230
10231 &lt;p&gt;The setup procedure is still to complex, and I hope it can be made
10232 easier and more automatic. Especially the tor setup need more work.
10233 Also, the package include a tor-smtp tool written in C, but its task
10234 should probably be rewritten in some script language to make the deb
10235 architecture independent. It would probably also make the code easier
10236 to review. The tor-smtp tool currently need to listen on a socket for
10237 exim to talk to it and is started using xinetd. It would be better if
10238 no daemon and no socket is needed. I suspect it is possible to get
10239 exim to run a command line tool for delivery instead of talking to a
10240 socket, and hope to figure out how in a future version of this
10241 system.&lt;/p&gt;
10242
10243 &lt;p&gt;Until I wipe my test machine, I can be reached using the
10244 &lt;tt&gt;fbx@dutlqrrmjhtfa3vp.onion&lt;/tt&gt; mail address, deliverable over
10245 SMTorP. :)&lt;/p&gt;
10246 </description>
10247 </item>
10248
10249 <item>
10250 <title>First Jessie based Debian Edu released (alpha0)</title>
10251 <link>http://people.skolelinux.org/pere/blog/First_Jessie_based_Debian_Edu_released__alpha0_.html</link>
10252 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_Jessie_based_Debian_Edu_released__alpha0_.html</guid>
10253 <pubDate>Mon, 27 Oct 2014 20:40:00 +0100</pubDate>
10254 <description>&lt;p&gt;I am happy to report that I on behalf of the Debian Edu team just
10255 sent out
10256 &lt;a href=&quot;https://lists.debian.org/debian-edu-announce/2014/10/msg00000.html&quot;&gt;this
10257 announcement&lt;/a&gt;:&lt;/p&gt;
10258
10259 &lt;pre&gt;
10260 The Debian Edu Team is pleased to announce the release of Debian Edu
10261 Jessie 8.0+edu0~alpha0
10262
10263 Debian Edu is a complete operating system for schools. Through its
10264 various installation profiles you can install servers, workstations
10265 and laptops which will work together on the school network. With
10266 Debian Edu, the teachers themselves or their technical support can
10267 roll out a complete multi-user multi-machine study environment within
10268 hours or a few days. Debian Edu comes with hundreds of applications
10269 pre-installed, but you can always add more packages from Debian.
10270
10271 For those who want to give Debian Edu Jessie a try, download and
10272 installation instructions are available, including detailed
10273 instructions in the manual[1] explaining the first steps, such as
10274 setting up a network or adding users. Please note that the password
10275 for the user your prompted for during installation must have a length
10276 of at least 5 characters!
10277
10278 [1] &amp;lt;URL: &lt;a href=&quot;https://wiki.debian.org/DebianEdu/Documentation/Jessie&quot;&gt;https://wiki.debian.org/DebianEdu/Documentation/Jessie&lt;/a&gt; &amp;gt;
10279
10280 Would you like to give your school&#39;s computer a longer life? Are you
10281 tired of sneaker administration, running from computer to computer
10282 reinstalling the operating system? Would you like to administrate all
10283 the computers in your school using only a couple of hours every week?
10284 Check out Debian Edu Jessie!
10285
10286 Skolelinux is used by at least two hundred schools all over the world,
10287 mostly in Germany and Norway.
10288
10289 About Debian Edu and Skolelinux
10290 ===============================
10291
10292 Debian Edu, also known as Skolelinux[2], is a Linux distribution based
10293 on Debian providing an out-of-the box environment of a completely
10294 configured school network. Immediately after installation a school
10295 server running all services needed for a school network is set up just
10296 waiting for users and machines being added via GOsa², a comfortable
10297 Web-UI. A netbooting environment is prepared using PXE, so after
10298 initial installation of the main server from CD or USB stick all other
10299 machines can be installed via the network. The provided school server
10300 provides LDAP database and Kerberos authentication service,
10301 centralized home directories, DHCP server, web proxy and many other
10302 services. The desktop contains more than 60 educational software
10303 packages[3] and more are available from the Debian archive, and
10304 schools can choose between KDE, Gnome, LXDE, Xfce and MATE desktop
10305 environment.
10306
10307 [2] &amp;lt;URL: &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;http://www.skolelinux.org/&lt;/a&gt; &amp;gt;
10308 [3] &amp;lt;URL: &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Educational_applications_included_in_Debian_Edu___Skolelinux__the_screenshot_collection____.html&quot;&gt;http://people.skolelinux.org/pere/blog/Educational_applications_included_in_Debian_Edu___Skolelinux__the_screenshot_collection____.html&lt;/a&gt; &amp;gt;
10309
10310 Full release notes and manual
10311 =============================
10312
10313 Below the download URLs there is a list of some of the new features
10314 and bugfixes of Debian Edu 8.0+edu0~alpha0 Codename Jessie. The full
10315 list is part of the manual. (See the feature list in the manual[4] for
10316 the English version.) For some languages manual translations are
10317 available, see the manual translation overview[5].
10318
10319 [4] &amp;lt;URL: &lt;a href=&quot;https://wiki.debian.org/DebianEdu/Documentation/Jessie/Features&quot;&gt;https://wiki.debian.org/DebianEdu/Documentation/Jessie/Features&lt;/a&gt; &amp;gt;
10320 [5] &amp;lt;URL: &lt;a href=&quot;http://maintainer.skolelinux.org/debian-edu-doc/&quot;&gt;http://maintainer.skolelinux.org/debian-edu-doc/&lt;/a&gt; &amp;gt;
10321
10322 Where to get it
10323 ---------------
10324
10325 To download the multiarch netinstall CD release (624 MiB) you can use
10326
10327 * &lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso&lt;/a&gt;
10328 * &lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso&lt;/a&gt;
10329 * rsync -avzP ftp.skolelinux.org::skolelinux-cd/debian-edu-8.0+edu0~alpha0-CD.iso .
10330
10331 The SHA1SUM of this image is: 361188818e036ce67280a572f757de82ebfeb095
10332
10333 New features for Debian Edu 8.0+edu0~alpha0 Codename Jessie released 2014-10-27
10334 ===============================================================================
10335
10336
10337 Installation changes
10338 --------------------
10339
10340 * PXE installation now installs firmware automatically for the hardware present.
10341
10342 Software updates
10343 ----------------
10344
10345 Everything which is new in Debian Jessie 8.0, eg:
10346
10347 * Linux kernel 3.16.x
10348 * Desktop environments KDE &quot;Plasma&quot; 4.11.12, GNOME 3.14, Xfce 4.10,
10349 LXDE 0.5.6 and MATE 1.8 (KDE &quot;Plasma&quot; is installed by default; to
10350 choose one of the others see manual.)
10351 * the browsers Iceweasel 31 ESR and Chromium 38
10352 * !LibreOffice 4.3.3
10353 * GOsa 2.7.4
10354 * LTSP 5.5.4
10355 * CUPS print system 1.7.5
10356 * new boot framework: systemd
10357 * Educational toolbox GCompris 14.07
10358 * Music creator Rosegarden 14.02
10359 * Image editor Gimp 2.8.14
10360 * Virtual stargazer Stellarium 0.13.0
10361 * golearn 0.9
10362 * tuxpaint 0.9.22
10363 * New version of debian-installer from Debian Jessie.
10364 * Debian Jessie includes about 42000 packages available for
10365 installation.
10366 * More information about Debian Jessie 8.0 is provided in the release
10367 notes[6] and the installation manual[7].
10368
10369 [6] &amp;lt;URL: &lt;a href=&quot;http://www.debian.org/releases/jessie/releasenotes&quot;&gt;http://www.debian.org/releases/jessie/releasenotes&lt;/a&gt; &amp;gt;
10370 [7] &amp;lt;URL: &lt;a href=&quot;http://www.debian.org/releases/jessie/installmanual&quot;&gt;http://www.debian.org/releases/jessie/installmanual&lt;/a&gt; &amp;gt;
10371
10372 Fixed bugs
10373 ----------
10374
10375 * Inserting incorrect DNS information in Gosa will no longer break
10376 DNS completely, but instead stop DNS updates until the incorrect
10377 information is corrected (Debian bug #710362)
10378 * and many others.
10379
10380 Documentation and translation updates
10381 -------------------------------------
10382
10383 * The Debian Edu Jessie Manual is fully translated to German, French,
10384 Italian, Danish and Dutch. Partly translated versions exist for
10385 Norwegian Bokmal and Spanish.
10386
10387 Other changes
10388 -------------
10389
10390 * Due to new Squid settings, powering off or rebooting the main
10391 server takes more time.
10392 * To manage printers localhost:631 has to be used, currently www:631
10393 doesn&#39;t work.
10394
10395 Regressions / known problems
10396 ----------------------------
10397
10398 * Installing LTSP chroot fails with a bug related to eatmydata about
10399 exim4-config failing to run its postinst (see Debian bug #765694
10400 and Debian bug #762103).
10401 * Munin collection is not properly configured on clients (Debian bug
10402 #764594). The fix is available in a newer version of munin-node.
10403 * PXE setup for Main Server and Thin Client Server setup does not
10404 work when installing on a machine without direct Internet access.
10405 Will be fixed when Debian bug #766960 is fixed in Jessie.
10406
10407 See the status page[8] for the complete list.
10408
10409 [8] &amp;lt;URL: &lt;a href=&quot;https://wiki.debian.org/DebianEdu/Status/Jessie&quot;&gt;https://wiki.debian.org/DebianEdu/Status/Jessie&lt;/a&gt; &amp;gt;
10410
10411 How to report bugs
10412 ------------------
10413
10414 &amp;lt;URL: &lt;a href=&quot;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&quot;&gt;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&lt;/a&gt; &amp;gt;
10415
10416 About Debian
10417 ============
10418
10419 The Debian Project was founded in 1993 by Ian Murdock to be a truly
10420 free community project. Since then the project has grown to be one of
10421 the largest and most influential open source projects. Thousands of
10422 volunteers from all over the world work together to create and
10423 maintain Debian software. Available in 70 languages, and supporting a
10424 huge range of computer types, Debian calls itself the universal
10425 operating system.
10426
10427 Contact Information
10428 For further information, please visit the Debian web pages[9] or send
10429 mail to press@debian.org.
10430
10431 [9] &amp;lt;URL: &lt;a href=&quot;http://www.debian.org/&quot;&gt;http://www.debian.org/&lt;/a&gt; &amp;gt;
10432 &lt;/pre&gt;
10433 </description>
10434 </item>
10435
10436 <item>
10437 <title>I spent last weekend recording MakerCon Nordic</title>
10438 <link>http://people.skolelinux.org/pere/blog/I_spent_last_weekend_recording_MakerCon_Nordic.html</link>
10439 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/I_spent_last_weekend_recording_MakerCon_Nordic.html</guid>
10440 <pubDate>Thu, 23 Oct 2014 23:00:00 +0200</pubDate>
10441 <description>&lt;p&gt;I spent last weekend at &lt;a href=&quot;http://www.makercon.no/&quot;&gt;Makercon
10442 Nordic&lt;/a&gt;, a great conference and workshop for makers in Norway and
10443 the surrounding countries. I had volunteered on behalf of the
10444 Norwegian Unix Users Group (NUUG) to video record the talks, and we
10445 had a great and exhausting time recording the entire day, two days in
10446 a row. There were only two of us, Hans-Petter and me, and we used the
10447 regular video equipment for NUUG, with a
10448 &lt;a href=&quot;http://dvswitch.alioth.debian.org/wiki/&quot;&gt;dvswitch&lt;/a&gt;, a
10449 camera and a VGA to DV convert box, and mixed video and slides
10450 live.&lt;/p&gt;
10451
10452 &lt;p&gt;Hans-Petter did the post-processing, consisting of uploading the
10453 around 180 GiB of raw video to Youtube, and the result is
10454 &lt;a href=&quot;https://www.youtube.com/user/MakerConNordic/&quot;&gt;now becoming
10455 public&lt;/a&gt; on the MakerConNordic account. The videos have the license
10456 NUUG always use on our recordings, which is
10457 &lt;a href=&quot;http://creativecommons.org/licenses/by-sa/3.0/no/&quot;&gt;Creative
10458 Commons Navngivelse-Del på samme vilkår 3.0 Norge&lt;/a&gt;. Many great
10459 talks available. Check it out! :)&lt;/p&gt;
10460 </description>
10461 </item>
10462
10463 <item>
10464 <title>listadmin, the quick way to moderate mailman lists - nice free software</title>
10465 <link>http://people.skolelinux.org/pere/blog/listadmin__the_quick_way_to_moderate_mailman_lists___nice_free_software.html</link>
10466 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/listadmin__the_quick_way_to_moderate_mailman_lists___nice_free_software.html</guid>
10467 <pubDate>Wed, 22 Oct 2014 20:00:00 +0200</pubDate>
10468 <description>&lt;p&gt;If you ever had to moderate a mailman list, like the ones on
10469 alioth.debian.org, you know the web interface is fairly slow to
10470 operate. First you visit one web page, enter the moderation password
10471 and get a new page shown with a list of all the messages to moderate
10472 and various options for each email address. This take a while for
10473 every list you moderate, and you need to do it regularly to do a good
10474 job as a list moderator. But there is a quick alternative,
10475 &lt;a href=&quot;http://heim.ifi.uio.no/kjetilho/hacks/#listadmin&quot;&gt;the
10476 listadmin program&lt;/a&gt;. It allow you to check lists for new messages
10477 to moderate in a fraction of a second. Here is a test run on two
10478 lists I recently took over:&lt;/p&gt;
10479
10480 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
10481 % time listadmin xiph
10482 fetching data for pkg-xiph-commits@lists.alioth.debian.org ... nothing in queue
10483 fetching data for pkg-xiph-maint@lists.alioth.debian.org ... nothing in queue
10484
10485 real 0m1.709s
10486 user 0m0.232s
10487 sys 0m0.012s
10488 %
10489 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
10490
10491 &lt;p&gt;In 1.7 seconds I had checked two mailing lists and confirmed that
10492 there are no message in the moderation queue. Every morning I
10493 currently moderate 68 mailman lists, and it normally take around two
10494 minutes. When I took over the two pkg-xiph lists above a few days
10495 ago, there were 400 emails waiting in the moderator queue. It took me
10496 less than 15 minutes to process them all using the listadmin
10497 program.&lt;/p&gt;
10498
10499 &lt;p&gt;If you install
10500 &lt;a href=&quot;https://tracker.debian.org/pkg/listadmin&quot;&gt;the listadmin
10501 package&lt;/a&gt; from Debian and create a file &lt;tt&gt;~/.listadmin.ini&lt;/tt&gt;
10502 with content like this, the moderation task is a breeze:&lt;/p&gt;
10503
10504 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
10505 username username@example.org
10506 spamlevel 23
10507 default discard
10508 discard_if_reason &quot;Posting restricted to members only. Remove us from your mail list.&quot;
10509
10510 password secret
10511 adminurl https://{domain}/mailman/admindb/{list}
10512 mailman-list@lists.example.com
10513
10514 password hidden
10515 other-list@otherserver.example.org
10516 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
10517
10518 &lt;p&gt;There are other options to set as well. Check the manual page to
10519 learn the details.&lt;/p&gt;
10520
10521 &lt;p&gt;If you are forced to moderate lists on a mailman installation where
10522 the SSL certificate is self signed or not properly signed by a
10523 generally accepted signing authority, you can set a environment
10524 variable when calling listadmin to disable SSL verification:&lt;/p&gt;
10525
10526 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
10527 PERL_LWP_SSL_VERIFY_HOSTNAME=0 listadmin
10528 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
10529
10530 &lt;p&gt;If you want to moderate a subset of the lists you take care of, you
10531 can provide an argument to the listadmin script like I do in the
10532 initial screen dump (the xiph argument). Using an argument, only
10533 lists matching the argument string will be processed. This make it
10534 quick to accept messages if you notice the moderation request in your
10535 email.&lt;/p&gt;
10536
10537 &lt;p&gt;Without the listadmin program, I would never be the moderator of 68
10538 mailing lists, as I simply do not have time to spend on that if the
10539 process was any slower. The listadmin program have saved me hours of
10540 time I could spend elsewhere over the years. It truly is nice free
10541 software.&lt;/p&gt;
10542
10543 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
10544 activities, please send Bitcoin donations to my address
10545 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
10546
10547 &lt;p&gt;Update 2014-10-27: Added missing &#39;username&#39; statement in
10548 configuration example. Also, I&#39;ve been told that the
10549 PERL_LWP_SSL_VERIFY_HOSTNAME=0 setting do not work for everyone. Not
10550 sure why.&lt;/p&gt;
10551 </description>
10552 </item>
10553
10554 <item>
10555 <title>Debian Jessie, PXE and automatic firmware installation</title>
10556 <link>http://people.skolelinux.org/pere/blog/Debian_Jessie__PXE_and_automatic_firmware_installation.html</link>
10557 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Jessie__PXE_and_automatic_firmware_installation.html</guid>
10558 <pubDate>Fri, 17 Oct 2014 14:10:00 +0200</pubDate>
10559 <description>&lt;p&gt;When PXE installing laptops with Debian, I often run into the
10560 problem that the WiFi card require some firmware to work properly.
10561 And it has been a pain to fix this using preseeding in Debian.
10562 Normally something more is needed. But thanks to
10563 &lt;a href=&quot;https://packages.qa.debian.org/i/isenkram.html&quot;&gt;my isenkram
10564 package&lt;/a&gt; and its recent tasksel extension, it has now become easy
10565 to do this using simple preseeding.&lt;/p&gt;
10566
10567 &lt;p&gt;The isenkram-cli package provide tasksel tasks which will install
10568 firmware for the hardware found in the machine (actually, requested by
10569 the kernel modules for the hardware). (It can also install user space
10570 programs supporting the hardware detected, but that is not the focus
10571 of this story.)&lt;/p&gt;
10572
10573 &lt;p&gt;To get this working in the default installation, two preeseding
10574 values are needed. First, the isenkram-cli package must be installed
10575 into the target chroot (aka the hard drive) before tasksel is executed
10576 in the pkgsel step of the debian-installer system. This is done by
10577 preseeding the base-installer/includes debconf value to include the
10578 isenkram-cli package. The package name is next passed to debootstrap
10579 for installation. With the isenkram-cli package in place, tasksel
10580 will automatically use the isenkram tasks to detect hardware specific
10581 packages for the machine being installed and install them, because
10582 isenkram-cli contain tasksel tasks.&lt;/p&gt;
10583
10584 &lt;p&gt;Second, one need to enable the non-free APT repository, because
10585 most firmware unfortunately is non-free. This is done by preseeding
10586 the apt-mirror-setup step. This is unfortunate, but for a lot of
10587 hardware it is the only option in Debian.&lt;/p&gt;
10588
10589 &lt;p&gt;The end result is two lines needed in your preseeding file to get
10590 firmware installed automatically by the installer:&lt;/p&gt;
10591
10592 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
10593 base-installer base-installer/includes string isenkram-cli
10594 apt-mirror-setup apt-setup/non-free boolean true
10595 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
10596
10597 &lt;p&gt;The current version of isenkram-cli in testing/jessie will install
10598 both firmware and user space packages when using this method. It also
10599 do not work well, so use version 0.15 or later. Installing both
10600 firmware and user space packages might give you a bit more than you
10601 want, so I decided to split the tasksel task in two, one for firmware
10602 and one for user space programs. The firmware task is enabled by
10603 default, while the one for user space programs is not. This split is
10604 implemented in the package currently in unstable.&lt;/p&gt;
10605
10606 &lt;p&gt;If you decide to give this a go, please let me know (via email) how
10607 this recipe work for you. :)&lt;/p&gt;
10608
10609 &lt;p&gt;So, I bet you are wondering, how can this work. First and
10610 foremost, it work because tasksel is modular, and driven by whatever
10611 files it find in /usr/lib/tasksel/ and /usr/share/tasksel/. So the
10612 isenkram-cli package place two files for tasksel to find. First there
10613 is the task description file (/usr/share/tasksel/descs/isenkram.desc):&lt;/p&gt;
10614
10615 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
10616 Task: isenkram-packages
10617 Section: hardware
10618 Description: Hardware specific packages (autodetected by isenkram)
10619 Based on the detected hardware various hardware specific packages are
10620 proposed.
10621 Test-new-install: show show
10622 Relevance: 8
10623 Packages: for-current-hardware
10624
10625 Task: isenkram-firmware
10626 Section: hardware
10627 Description: Hardware specific firmware packages (autodetected by isenkram)
10628 Based on the detected hardware various hardware specific firmware
10629 packages are proposed.
10630 Test-new-install: mark show
10631 Relevance: 8
10632 Packages: for-current-hardware-firmware
10633 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
10634
10635 &lt;p&gt;The key parts are Test-new-install which indicate how the task
10636 should be handled and the Packages line referencing to a script in
10637 /usr/lib/tasksel/packages/. The scripts use other scripts to get a
10638 list of packages to install. The for-current-hardware-firmware script
10639 look like this to list relevant firmware for the machine:
10640
10641 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
10642 #!/bin/sh
10643 #
10644 PATH=/usr/sbin:$PATH
10645 export PATH
10646 isenkram-autoinstall-firmware -l
10647 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
10648
10649 &lt;p&gt;With those two pieces in place, the firmware is installed by
10650 tasksel during the normal d-i run. :)&lt;/p&gt;
10651
10652 &lt;p&gt;If you want to test what tasksel will install when isenkram-cli is
10653 installed, run &lt;tt&gt;DEBIAN_PRIORITY=critical tasksel --test
10654 --new-install&lt;/tt&gt; to get the list of packages that tasksel would
10655 install.&lt;/p&gt;
10656
10657 &lt;p&gt;&lt;a href=&quot;https://wiki.debian.org/DebianEdu/&quot;&gt;Debian Edu&lt;/a&gt; will be
10658 pilots in testing this feature, as isenkram is used there now to
10659 install firmware, replacing the earlier scripts.&lt;/p&gt;
10660 </description>
10661 </item>
10662
10663 <item>
10664 <title>Ubuntu used to show the bread prizes at ICA Storo</title>
10665 <link>http://people.skolelinux.org/pere/blog/Ubuntu_used_to_show_the_bread_prizes_at_ICA_Storo.html</link>
10666 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Ubuntu_used_to_show_the_bread_prizes_at_ICA_Storo.html</guid>
10667 <pubDate>Sat, 4 Oct 2014 15:20:00 +0200</pubDate>
10668 <description>&lt;p&gt;Today I came across an unexpected Ubuntu boot screen. Above the
10669 bread shelf on the ICA shop at Storo in Oslo, the grub menu of Ubuntu
10670 with Linux kernel 3.2.0-23 (ie probably version 12.04 LTS) was stuck
10671 on a screen normally showing the bread types and prizes:&lt;/p&gt;
10672
10673 &lt;p align=&quot;center&quot;&gt;&lt;img width=&quot;70%&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2014-10-04-ubuntu-ica-storo-crop.jpeg&quot;&gt;&lt;/p&gt;
10674
10675 &lt;p&gt;If it had booted as it was supposed to, I would never had known
10676 about this hidden Linux installation. It is interesting what
10677 &lt;a href=&quot;http://revealingerrors.com/&quot;&gt;errors can reveal&lt;/a&gt;.&lt;/p&gt;
10678 </description>
10679 </item>
10680
10681 <item>
10682 <title>New lsdvd release version 0.17 is ready</title>
10683 <link>http://people.skolelinux.org/pere/blog/New_lsdvd_release_version_0_17_is_ready.html</link>
10684 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/New_lsdvd_release_version_0_17_is_ready.html</guid>
10685 <pubDate>Sat, 4 Oct 2014 08:40:00 +0200</pubDate>
10686 <description>&lt;p&gt;The &lt;a href=&quot;https://sourceforge.net/p/lsdvd/&quot;&gt;lsdvd project&lt;/a&gt;
10687 got a new set of developers a few weeks ago, after the original
10688 developer decided to step down and pass the project to fresh blood.
10689 This project is now maintained by Petter Reinholdtsen and Steve
10690 Dibb.&lt;/p&gt;
10691
10692 &lt;p&gt;I just wrapped up
10693 &lt;a href=&quot;https://sourceforge.net/p/lsdvd/mailman/message/32896061/&quot;&gt;a
10694 new lsdvd release&lt;/a&gt;, available in git or from
10695 &lt;a href=&quot;https://sourceforge.net/projects/lsdvd/files/lsdvd/&quot;&gt;the
10696 download page&lt;/a&gt;. This is the changelog dated 2014-10-03 for version
10697 0.17.&lt;/p&gt;
10698
10699 &lt;ul&gt;
10700
10701 &lt;li&gt;Ignore &#39;phantom&#39; audio, subtitle tracks&lt;/li&gt;
10702 &lt;li&gt;Check for garbage in the program chains, which indicate that a track is
10703 non-existant, to work around additional copy protection&lt;/li&gt;
10704 &lt;li&gt;Fix displaying content type for audio tracks, subtitles&lt;/li&gt;
10705 &lt;li&gt;Fix pallete display of first entry&lt;/li&gt;
10706 &lt;li&gt;Fix include orders&lt;/li&gt;
10707 &lt;li&gt;Ignore read errors in titles that would not be displayed anyway&lt;/li&gt;
10708 &lt;li&gt;Fix the chapter count&lt;/li&gt;
10709 &lt;li&gt;Make sure the array size and the array limit used when initialising
10710 the palette size is the same.&lt;/li&gt;
10711 &lt;li&gt;Fix array printing.&lt;/li&gt;
10712 &lt;li&gt;Correct subsecond calculations.&lt;/li&gt;
10713 &lt;li&gt;Add sector information to the output format.&lt;/li&gt;
10714 &lt;li&gt;Clean up code to be closer to ANSI C and compile without warnings
10715 with more GCC compiler warnings.&lt;/li&gt;
10716
10717 &lt;/ul&gt;
10718
10719 &lt;p&gt;This change bring together patches for lsdvd in use in various
10720 Linux and Unix distributions, as well as patches submitted to the
10721 project the last nine years. Please check it out. :)&lt;/p&gt;
10722 </description>
10723 </item>
10724
10725 <item>
10726 <title>How to test Debian Edu Jessie despite some fatal problems with the installer</title>
10727 <link>http://people.skolelinux.org/pere/blog/How_to_test_Debian_Edu_Jessie_despite_some_fatal_problems_with_the_installer.html</link>
10728 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_test_Debian_Edu_Jessie_despite_some_fatal_problems_with_the_installer.html</guid>
10729 <pubDate>Fri, 26 Sep 2014 12:20:00 +0200</pubDate>
10730 <description>&lt;p&gt;The &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux
10731 project&lt;/a&gt; provide a Linux solution for schools, including a
10732 powerful desktop with education software, a central server providing
10733 web pages, user database, user home directories, central login and PXE
10734 boot of both clients without disk and the installation to install Debian
10735 Edu on machines with disk (and a few other services perhaps to small
10736 to mention here). We in the Debian Edu team are currently working on
10737 the Jessie based version, trying to get everything in shape before the
10738 freeze, to avoid having to maintain our own package repository in the
10739 future. The
10740 &lt;a href=&quot;https://wiki.debian.org/DebianEdu/Status/Jessie&quot;&gt;current
10741 status&lt;/a&gt; can be seen on the Debian wiki, and there is still heaps of
10742 work left. Some fatal problems block testing, breaking the installer,
10743 but it is possible to work around these to get anyway. Here is a
10744 recipe on how to get the installation limping along.&lt;/p&gt;
10745
10746 &lt;p&gt;First, download the test ISO via
10747 &lt;a href=&quot;ftp://ftp.skolelinux.no/cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso&quot;&gt;ftp&lt;/a&gt;,
10748 &lt;a href=&quot;http://ftp.skolelinux.no/cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso&quot;&gt;http&lt;/a&gt;
10749 or rsync (use
10750 ftp.skolelinux.org::cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso).
10751 The ISO build was broken on Tuesday, so we do not get a new ISO every
10752 12 hours or so, but thankfully the ISO we already got we are able to
10753 install with some tweaking.&lt;/p&gt;
10754
10755 &lt;p&gt;When you get to the Debian Edu profile question, go to tty2
10756 (use Alt-Ctrl-F2), run&lt;/p&gt;
10757
10758 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
10759 nano /usr/bin/edu-eatmydata-install
10760 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
10761
10762 &lt;p&gt;and add &#39;exit 0&#39; as the second line, disabling the eatmydata
10763 optimization. Return to the installation, select the profile you want
10764 and continue. Without this change, exim4-config will fail to install
10765 due to a known bug in eatmydata.&lt;/p&gt;
10766
10767 &lt;p&gt;When you get the grub question at the end, answer /dev/sda (or if
10768 this do not work, figure out what your correct value would be. All my
10769 test machines need /dev/sda, so I have no advice if it do not fit
10770 your need.&lt;/p&gt;
10771
10772 &lt;p&gt;If you installed a profile including a graphical desktop, log in as
10773 root after the initial boot from hard drive, and install the
10774 education-desktop-XXX metapackage. XXX can be kde, gnome, lxde, xfce
10775 or mate. If you want several desktop options, install more than one
10776 metapackage. Once this is done, reboot and you should have a working
10777 graphical login screen. This workaround should no longer be needed
10778 once the education-tasks package version 1.801 enter testing in two
10779 days.&lt;/p&gt;
10780
10781 &lt;p&gt;I believe the ISO build will start working on two days when the new
10782 tasksel package enter testing and Steve McIntyre get a chance to
10783 update the debian-cd git repository. The eatmydata, grub and desktop
10784 issues are already fixed in unstable and testing, and should show up
10785 on the ISO as soon as the ISO build start working again. Well the
10786 eatmydata optimization is really just disabled. The proper fix
10787 require an upload by the eatmydata maintainer applying the patch
10788 provided in bug &lt;a href=&quot;https://bugs.debian.org/702711&quot;&gt;#702711&lt;/a&gt;.
10789 The rest have proper fixes in unstable.&lt;/p&gt;
10790
10791 &lt;p&gt;I hope this get you going with the installation testing, as we are
10792 quickly running out of time trying to get our Jessie based
10793 installation ready before the distribution freeze in a month.&lt;/p&gt;
10794 </description>
10795 </item>
10796
10797 <item>
10798 <title>Suddenly I am the new upstream of the lsdvd command line tool</title>
10799 <link>http://people.skolelinux.org/pere/blog/Suddenly_I_am_the_new_upstream_of_the_lsdvd_command_line_tool.html</link>
10800 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Suddenly_I_am_the_new_upstream_of_the_lsdvd_command_line_tool.html</guid>
10801 <pubDate>Thu, 25 Sep 2014 11:20:00 +0200</pubDate>
10802 <description>&lt;p&gt;I use the &lt;a href=&quot;https://sourceforge.net/p/lsdvd/&quot;&gt;lsdvd tool&lt;/a&gt;
10803 to handle my fairly large DVD collection. It is a nice command line
10804 tool to get details about a DVD, like title, tracks, track length,
10805 etc, in XML, Perl or human readable format. But lsdvd have not seen
10806 any new development since 2006 and had a few irritating bugs affecting
10807 its use with some DVDs. Upstream seemed to be dead, and in January I
10808 sent a small probe asking for a version control repository for the
10809 project, without any reply. But I use it regularly and would like to
10810 get &lt;a href=&quot;https://packages.qa.debian.org/lsdvd&quot;&gt;an updated version
10811 into Debian&lt;/a&gt;. So two weeks ago I tried harder to get in touch with
10812 the project admin, and after getting a reply from him explaining that
10813 he was no longer interested in the project, I asked if I could take
10814 over. And yesterday, I became project admin.&lt;/p&gt;
10815
10816 &lt;p&gt;I&#39;ve been in touch with a Gentoo developer and the Debian
10817 maintainer interested in joining forces to maintain the upstream
10818 project, and I hope we can get a new release out fairly quickly,
10819 collecting the patches spread around on the internet into on place.
10820 I&#39;ve added the relevant Debian patches to the freshly created git
10821 repository, and expect the Gentoo patches to make it too. If you got
10822 a DVD collection and care about command line tools, check out
10823 &lt;a href=&quot;https://sourceforge.net/p/lsdvd/git/ci/master/tree/&quot;&gt;the git source&lt;/a&gt; and join
10824 &lt;a href=&quot;https://sourceforge.net/p/lsdvd/mailman/&quot;&gt;the project mailing
10825 list&lt;/a&gt;. :)&lt;/p&gt;
10826 </description>
10827 </item>
10828
10829 <item>
10830 <title>Speeding up the Debian installer using eatmydata and dpkg-divert</title>
10831 <link>http://people.skolelinux.org/pere/blog/Speeding_up_the_Debian_installer_using_eatmydata_and_dpkg_divert.html</link>
10832 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Speeding_up_the_Debian_installer_using_eatmydata_and_dpkg_divert.html</guid>
10833 <pubDate>Tue, 16 Sep 2014 14:00:00 +0200</pubDate>
10834 <description>&lt;p&gt;The &lt;a href=&quot;https://www.debian.org/&quot;&gt;Debian&lt;/a&gt; installer could be
10835 a lot quicker. When we install more than 2000 packages in
10836 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Skolelinux / Debian Edu&lt;/a&gt; using
10837 tasksel in the installer, unpacking the binary packages take forever.
10838 A part of the slow I/O issue was discussed in
10839 &lt;a href=&quot;https://bugs.debian.org/613428&quot;&gt;bug #613428&lt;/a&gt; about too
10840 much file system sync-ing done by dpkg, which is the package
10841 responsible for unpacking the binary packages. Other parts (like code
10842 executed by postinst scripts) might also sync to disk during
10843 installation. All this sync-ing to disk do not really make sense to
10844 me. If the machine crash half-way through, I start over, I do not try
10845 to salvage the half installed system. So the failure sync-ing is
10846 supposed to protect against, hardware or system crash, is not really
10847 relevant while the installer is running.&lt;/p&gt;
10848
10849 &lt;p&gt;A few days ago, I thought of a way to get rid of all the file
10850 system sync()-ing in a fairly non-intrusive way, without the need to
10851 change the code in several packages. The idea is not new, but I have
10852 not heard anyone propose the approach using dpkg-divert before. It
10853 depend on the small and clever package
10854 &lt;a href=&quot;https://packages.qa.debian.org/eatmydata&quot;&gt;eatmydata&lt;/a&gt;, which
10855 uses LD_PRELOAD to replace the system functions for syncing data to
10856 disk with functions doing nothing, thus allowing programs to live
10857 dangerous while speeding up disk I/O significantly. Instead of
10858 modifying the implementation of dpkg, apt and tasksel (which are the
10859 packages responsible for selecting, fetching and installing packages),
10860 it occurred to me that we could just divert the programs away, replace
10861 them with a simple shell wrapper calling
10862 &quot;eatmydata&amp;nbsp;$program&amp;nbsp;$@&quot;, to get the same effect.
10863 Two days ago I decided to test the idea, and wrapped up a simple
10864 implementation for the Debian Edu udeb.&lt;/p&gt;
10865
10866 &lt;p&gt;The effect was stunning. In my first test it reduced the running
10867 time of the pkgsel step (installing tasks) from 64 to less than 44
10868 minutes (20 minutes shaved off the installation) on an old Dell
10869 Latitude D505 machine. I am not quite sure what the optimised time
10870 would have been, as I messed up the testing a bit, causing the debconf
10871 priority to get low enough for two questions to pop up during
10872 installation. As soon as I saw the questions I moved the installation
10873 along, but do not know how long the question were holding up the
10874 installation. I did some more measurements using Debian Edu Jessie,
10875 and got these results. The time measured is the time stamp in
10876 /var/log/syslog between the &quot;pkgsel: starting tasksel&quot; and the
10877 &quot;pkgsel: finishing up&quot; lines, if you want to do the same measurement
10878 yourself. In Debian Edu, the tasksel dialog do not show up, and the
10879 timing thus do not depend on how quickly the user handle the tasksel
10880 dialog.&lt;/p&gt;
10881
10882 &lt;p&gt;&lt;table&gt;
10883
10884 &lt;tr&gt;
10885 &lt;th&gt;Machine/setup&lt;/th&gt;
10886 &lt;th&gt;Original tasksel&lt;/th&gt;
10887 &lt;th&gt;Optimised tasksel&lt;/th&gt;
10888 &lt;th&gt;Reduction&lt;/th&gt;
10889 &lt;/tr&gt;
10890
10891 &lt;tr&gt;
10892 &lt;td&gt;Latitude D505 Main+LTSP LXDE&lt;/td&gt;
10893 &lt;td&gt;64 min (07:46-08:50)&lt;/td&gt;
10894 &lt;td&gt;&lt;44 min (11:27-12:11)&lt;/td&gt;
10895 &lt;td&gt;&gt;20 min 18%&lt;/td&gt;
10896 &lt;/tr&gt;
10897
10898 &lt;tr&gt;
10899 &lt;td&gt;Latitude D505 Roaming LXDE&lt;/td&gt;
10900 &lt;td&gt;57 min (08:48-09:45)&lt;/td&gt;
10901 &lt;td&gt;34 min (07:43-08:17)&lt;/td&gt;
10902 &lt;td&gt;23 min 40%&lt;/td&gt;
10903 &lt;/tr&gt;
10904
10905 &lt;tr&gt;
10906 &lt;td&gt;Latitude D505 Minimal&lt;/td&gt;
10907 &lt;td&gt;22 min (10:37-10:59)&lt;/td&gt;
10908 &lt;td&gt;11 min (11:16-11:27)&lt;/td&gt;
10909 &lt;td&gt;11 min 50%&lt;/td&gt;
10910 &lt;/tr&gt;
10911
10912 &lt;tr&gt;
10913 &lt;td&gt;Thinkpad X200 Minimal&lt;/td&gt;
10914 &lt;td&gt;6 min (08:19-08:25)&lt;/td&gt;
10915 &lt;td&gt;4 min (08:04-08:08)&lt;/td&gt;
10916 &lt;td&gt;2 min 33%&lt;/td&gt;
10917 &lt;/tr&gt;
10918
10919 &lt;tr&gt;
10920 &lt;td&gt;Thinkpad X200 Roaming KDE&lt;/td&gt;
10921 &lt;td&gt;19 min (09:21-09:40)&lt;/td&gt;
10922 &lt;td&gt;15 min (10:25-10:40)&lt;/td&gt;
10923 &lt;td&gt;4 min 21%&lt;/td&gt;
10924 &lt;/tr&gt;
10925
10926 &lt;/table&gt;&lt;/p&gt;
10927
10928 &lt;p&gt;The test is done using a netinst ISO on a USB stick, so some of the
10929 time is spent downloading packages. The connection to the Internet
10930 was 100Mbit/s during testing, so downloading should not be a
10931 significant factor in the measurement. Download typically took a few
10932 seconds to a few minutes, depending on the amount of packages being
10933 installed.&lt;/p&gt;
10934
10935 &lt;p&gt;The speedup is implemented by using two hooks in
10936 &lt;a href=&quot;https://www.debian.org/devel/debian-installer/&quot;&gt;Debian
10937 Installer&lt;/a&gt;, the pre-pkgsel.d hook to set up the diverts, and the
10938 finish-install.d hook to remove the divert at the end of the
10939 installation. I picked the pre-pkgsel.d hook instead of the
10940 post-base-installer.d hook because I test using an ISO without the
10941 eatmydata package included, and the post-base-installer.d hook in
10942 Debian Edu can only operate on packages included in the ISO. The
10943 negative effect of this is that I am unable to activate this
10944 optimization for the kernel installation step in d-i. If the code is
10945 moved to the post-base-installer.d hook, the speedup would be larger
10946 for the entire installation.&lt;/p&gt;
10947
10948 &lt;p&gt;I&#39;ve implemented this in the
10949 &lt;a href=&quot;https://packages.qa.debian.org/debian-edu-install&quot;&gt;debian-edu-install&lt;/a&gt;
10950 git repository, and plan to provide the optimization as part of the
10951 Debian Edu installation. If you want to test this yourself, you can
10952 create two files in the installer (or in an udeb). One shell script
10953 need do go into /usr/lib/pre-pkgsel.d/, with content like this:&lt;/p&gt;
10954
10955 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
10956 #!/bin/sh
10957 set -e
10958 . /usr/share/debconf/confmodule
10959 info() {
10960 logger -t my-pkgsel &quot;info: $*&quot;
10961 }
10962 error() {
10963 logger -t my-pkgsel &quot;error: $*&quot;
10964 }
10965 override_install() {
10966 apt-install eatmydata || true
10967 if [ -x /target/usr/bin/eatmydata ] ; then
10968 for bin in dpkg apt-get aptitude tasksel ; do
10969 file=/usr/bin/$bin
10970 # Test that the file exist and have not been diverted already.
10971 if [ -f /target$file ] ; then
10972 info &quot;diverting $file using eatmydata&quot;
10973 printf &quot;#!/bin/sh\neatmydata $bin.distrib \&quot;\$@\&quot;\n&quot; \
10974 &gt; /target$file.edu
10975 chmod 755 /target$file.edu
10976 in-target dpkg-divert --package debian-edu-config \
10977 --rename --quiet --add $file
10978 ln -sf ./$bin.edu /target$file
10979 else
10980 error &quot;unable to divert $file, as it is missing.&quot;
10981 fi
10982 done
10983 else
10984 error &quot;unable to find /usr/bin/eatmydata after installing the eatmydata pacage&quot;
10985 fi
10986 }
10987
10988 override_install
10989 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
10990
10991 &lt;p&gt;To clean up, another shell script should go into
10992 /usr/lib/finish-install.d/ with code like this:
10993
10994 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
10995 #! /bin/sh -e
10996 . /usr/share/debconf/confmodule
10997 error() {
10998 logger -t my-finish-install &quot;error: $@&quot;
10999 }
11000 remove_install_override() {
11001 for bin in dpkg apt-get aptitude tasksel ; do
11002 file=/usr/bin/$bin
11003 if [ -x /target$file.edu ] ; then
11004 rm /target$file
11005 in-target dpkg-divert --package debian-edu-config \
11006 --rename --quiet --remove $file
11007 rm /target$file.edu
11008 else
11009 error &quot;Missing divert for $file.&quot;
11010 fi
11011 done
11012 sync # Flush file buffers before continuing
11013 }
11014
11015 remove_install_override
11016 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
11017
11018 &lt;p&gt;In Debian Edu, I placed both code fragments in a separate script
11019 edu-eatmydata-install and call it from the pre-pkgsel.d and
11020 finish-install.d scripts.&lt;/p&gt;
11021
11022 &lt;p&gt;By now you might ask if this change should get into the normal
11023 Debian installer too? I suspect it should, but am not sure the
11024 current debian-installer coordinators find it useful enough. It also
11025 depend on the side effects of the change. I&#39;m not aware of any, but I
11026 guess we will see if the change is safe after some more testing.
11027 Perhaps there is some package in Debian depending on sync() and
11028 fsync() having effect? Perhaps it should go into its own udeb, to
11029 allow those of us wanting to enable it to do so without affecting
11030 everyone.&lt;/p&gt;
11031
11032 &lt;p&gt;Update 2014-09-24: Since a few days ago, enabling this optimization
11033 will break installation of all programs using gnutls because of
11034 &lt;a href=&quot;https://bugs.debian.org/702711&quot;&gt;bug #702711&lt;/a&gt;. An updated
11035 eatmydata package in Debian will solve it.&lt;/p&gt;
11036
11037 &lt;p&gt;Update 2014-10-17: The bug mentioned above is fixed in testing and
11038 the optimization work again. And I have discovered that the
11039 dpkg-divert trick is not really needed and implemented a slightly
11040 simpler approach as part of the debian-edu-install package. See
11041 tools/edu-eatmydata-install in the source package.&lt;/p&gt;
11042
11043 &lt;p&gt;Update 2014-11-11: Unfortunately, a new
11044 &lt;a href=&quot;http://bugs.debian.org/765738&quot;&gt;bug #765738&lt;/a&gt; in eatmydata only
11045 triggering on i386 made it into testing, and broke this installation
11046 optimization again. If &lt;a href=&quot;http://bugs.debian.org/768893&quot;&gt;unblock
11047 request 768893&lt;/a&gt; is accepted, it should be working again.&lt;/p&gt;
11048 </description>
11049 </item>
11050
11051 <item>
11052 <title>Good bye subkeys.pgp.net, welcome pool.sks-keyservers.net</title>
11053 <link>http://people.skolelinux.org/pere/blog/Good_bye_subkeys_pgp_net__welcome_pool_sks_keyservers_net.html</link>
11054 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Good_bye_subkeys_pgp_net__welcome_pool_sks_keyservers_net.html</guid>
11055 <pubDate>Wed, 10 Sep 2014 13:10:00 +0200</pubDate>
11056 <description>&lt;p&gt;Yesterday, I had the pleasure of attending a talk with the
11057 &lt;a href=&quot;http://www.nuug.no/&quot;&gt;Norwegian Unix User Group&lt;/a&gt; about
11058 &lt;a href=&quot;http://www.nuug.no/aktiviteter/20140909-sks-keyservers/&quot;&gt;the
11059 OpenPGP keyserver pool sks-keyservers.net&lt;/a&gt;, and was very happy to
11060 learn that there is a large set of publicly available key servers to
11061 use when looking for peoples public key. So far I have used
11062 subkeys.pgp.net, and some times wwwkeys.nl.pgp.net when the former
11063 were misbehaving, but those days are ended. The servers I have used
11064 up until yesterday have been slow and some times unavailable. I hope
11065 those problems are gone now.&lt;/p&gt;
11066
11067 &lt;p&gt;Behind the round robin DNS entry of the
11068 &lt;a href=&quot;https://sks-keyservers.net/&quot;&gt;sks-keyservers.net&lt;/a&gt; service
11069 there is a pool of more than 100 keyservers which are checked every
11070 day to ensure they are well connected and up to date. It must be
11071 better than what I have used so far. :)&lt;/p&gt;
11072
11073 &lt;p&gt;Yesterdays speaker told me that the service is the default
11074 keyserver provided by the default configuration in GnuPG, but this do
11075 not seem to be used in Debian. Perhaps it should?&lt;/p&gt;
11076
11077 &lt;p&gt;Anyway, I&#39;ve updated my ~/.gnupg/options file to now include this
11078 line:&lt;/p&gt;
11079
11080 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
11081 keyserver pool.sks-keyservers.net
11082 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
11083
11084 &lt;p&gt;With GnuPG version 2 one can also locate the keyserver using SRV
11085 entries in DNS. Just for fun, I did just that at work, so now every
11086 user of GnuPG at the University of Oslo should find a OpenGPG
11087 keyserver automatically should their need it:&lt;/p&gt;
11088
11089 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
11090 % host -t srv _pgpkey-http._tcp.uio.no
11091 _pgpkey-http._tcp.uio.no has SRV record 0 100 11371 pool.sks-keyservers.net.
11092 %
11093 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
11094
11095 &lt;p&gt;Now if only
11096 &lt;a href=&quot;http://ietfreport.isoc.org/idref/draft-shaw-openpgp-hkp/&quot;&gt;the
11097 HKP lookup protocol&lt;/a&gt; supported finding signature paths, I would be
11098 very happy. It can look up a given key or search for a user ID, but I
11099 normally do not want that, but to find a trust path from my key to
11100 another key. Given a user ID or key ID, I would like to find (and
11101 download) the keys representing a signature path from my key to the
11102 key in question, to be able to get a trust path between the two keys.
11103 This is as far as I can tell not possible today. Perhaps something
11104 for a future version of the protocol?&lt;/p&gt;
11105 </description>
11106 </item>
11107
11108 <item>
11109 <title>Do you need an agreement with MPEG-LA to publish and broadcast H.264 video in Norway?</title>
11110 <link>http://people.skolelinux.org/pere/blog/Do_you_need_an_agreement_with_MPEG_LA_to_publish_and_broadcast_H_264_video_in_Norway_.html</link>
11111 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Do_you_need_an_agreement_with_MPEG_LA_to_publish_and_broadcast_H_264_video_in_Norway_.html</guid>
11112 <pubDate>Mon, 25 Aug 2014 22:10:00 +0200</pubDate>
11113 <description>&lt;p&gt;Two years later, I am still not sure if it is legal here in Norway
11114 to use or publish a video in H.264 or MPEG4 format edited by the
11115 commercially licensed video editors, without limiting the use to
11116 create &quot;personal&quot; or &quot;non-commercial&quot; videos or get a license
11117 agreement with &lt;a href=&quot;http://www.mpegla.com&quot;&gt;MPEG LA&lt;/a&gt;. If one
11118 want to publish and broadcast video in a non-personal or commercial
11119 setting, it might be that those tools can not be used, or that video
11120 format can not be used, without breaking their copyright license. I
11121 am not sure.
11122 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Trenger_en_avtale_med_MPEG_LA_for___publisere_og_kringkaste_H_264_video_.html&quot;&gt;Back
11123 then&lt;/a&gt;, I found that the copyright license terms for Adobe Premiere
11124 and Apple Final Cut Pro both specified that one could not use the
11125 program to produce anything else without a patent license from MPEG
11126 LA. The issue is not limited to those two products, though. Other
11127 much used products like those from Avid and Sorenson Media have terms
11128 of use are similar to those from Adobe and Apple. The complicating
11129 factor making me unsure if those terms have effect in Norway or not is
11130 that the patents in question are not valid in Norway, but copyright
11131 licenses are.&lt;/p&gt;
11132
11133 &lt;p&gt;These are the terms for Avid Artist Suite, according to their
11134 &lt;a href=&quot;http://www.avid.com/US/about-avid/legal-notices/legal-enduserlicense2&quot;&gt;published
11135 end user&lt;/a&gt;
11136 &lt;a href=&quot;http://www.avid.com/static/resources/common/documents/corporate/LICENSE.pdf&quot;&gt;license
11137 text&lt;/a&gt; (converted to lower case text for easier reading):&lt;/p&gt;
11138
11139 &lt;p&gt;&lt;blockquote&gt;
11140 &lt;p&gt;18.2. MPEG-4. MPEG-4 technology may be included with the
11141 software. MPEG LA, L.L.C. requires this notice: &lt;/p&gt;
11142
11143 &lt;p&gt;This product is licensed under the MPEG-4 visual patent portfolio
11144 license for the personal and non-commercial use of a consumer for (i)
11145 encoding video in compliance with the MPEG-4 visual standard (“MPEG-4
11146 video”) and/or (ii) decoding MPEG-4 video that was encoded by a
11147 consumer engaged in a personal and non-commercial activity and/or was
11148 obtained from a video provider licensed by MPEG LA to provide MPEG-4
11149 video. No license is granted or shall be implied for any other
11150 use. Additional information including that relating to promotional,
11151 internal and commercial uses and licensing may be obtained from MPEG
11152 LA, LLC. See http://www.mpegla.com. This product is licensed under
11153 the MPEG-4 systems patent portfolio license for encoding in compliance
11154 with the MPEG-4 systems standard, except that an additional license
11155 and payment of royalties are necessary for encoding in connection with
11156 (i) data stored or replicated in physical media which is paid for on a
11157 title by title basis and/or (ii) data which is paid for on a title by
11158 title basis and is transmitted to an end user for permanent storage
11159 and/or use, such additional license may be obtained from MPEG LA,
11160 LLC. See http://www.mpegla.com for additional details.&lt;/p&gt;
11161
11162 &lt;p&gt;18.3. H.264/AVC. H.264/AVC technology may be included with the
11163 software. MPEG LA, L.L.C. requires this notice:&lt;/p&gt;
11164
11165 &lt;p&gt;This product is licensed under the AVC patent portfolio license for
11166 the personal use of a consumer or other uses in which it does not
11167 receive remuneration to (i) encode video in compliance with the AVC
11168 standard (“AVC video”) and/or (ii) decode AVC video that was encoded
11169 by a consumer engaged in a personal activity and/or was obtained from
11170 a video provider licensed to provide AVC video. No license is granted
11171 or shall be implied for any other use. Additional information may be
11172 obtained from MPEG LA, L.L.C. See http://www.mpegla.com.&lt;/p&gt;
11173 &lt;/blockquote&gt;&lt;/p&gt;
11174
11175 &lt;p&gt;Note the requirement that the videos created can only be used for
11176 personal or non-commercial purposes.&lt;/p&gt;
11177
11178 &lt;p&gt;The Sorenson Media software have
11179 &lt;a href=&quot;http://www.sorensonmedia.com/terms/&quot;&gt;similar terms&lt;/a&gt;:&lt;/p&gt;
11180
11181 &lt;p&gt;&lt;blockquote&gt;
11182
11183 &lt;p&gt;With respect to a license from Sorenson pertaining to MPEG-4 Video
11184 Decoders and/or Encoders: Any such product is licensed under the
11185 MPEG-4 visual patent portfolio license for the personal and
11186 non-commercial use of a consumer for (i) encoding video in compliance
11187 with the MPEG-4 visual standard (“MPEG-4 video”) and/or (ii) decoding
11188 MPEG-4 video that was encoded by a consumer engaged in a personal and
11189 non-commercial activity and/or was obtained from a video provider
11190 licensed by MPEG LA to provide MPEG-4 video. No license is granted or
11191 shall be implied for any other use. Additional information including
11192 that relating to promotional, internal and commercial uses and
11193 licensing may be obtained from MPEG LA, LLC. See
11194 http://www.mpegla.com.&lt;/p&gt;
11195
11196 &lt;p&gt;With respect to a license from Sorenson pertaining to MPEG-4
11197 Consumer Recorded Data Encoder, MPEG-4 Systems Internet Data Encoder,
11198 MPEG-4 Mobile Data Encoder, and/or MPEG-4 Unique Use Encoder: Any such
11199 product is licensed under the MPEG-4 systems patent portfolio license
11200 for encoding in compliance with the MPEG-4 systems standard, except
11201 that an additional license and payment of royalties are necessary for
11202 encoding in connection with (i) data stored or replicated in physical
11203 media which is paid for on a title by title basis and/or (ii) data
11204 which is paid for on a title by title basis and is transmitted to an
11205 end user for permanent storage and/or use. Such additional license may
11206 be obtained from MPEG LA, LLC. See http://www.mpegla.com for
11207 additional details.&lt;/p&gt;
11208
11209 &lt;/blockquote&gt;&lt;/p&gt;
11210
11211 &lt;p&gt;Some free software like
11212 &lt;a href=&quot;https://handbrake.fr/&quot;&gt;Handbrake&lt;/A&gt; and
11213 &lt;a href=&quot;http://ffmpeg.org/&quot;&gt;FFMPEG&lt;/a&gt; uses GPL/LGPL licenses and do
11214 not have any such terms included, so for those, there is no
11215 requirement to limit the use to personal and non-commercial.&lt;/p&gt;
11216 </description>
11217 </item>
11218
11219 <item>
11220 <title>Debian Edu interview: Bernd Zeitzen</title>
11221 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Bernd_Zeitzen.html</link>
11222 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Bernd_Zeitzen.html</guid>
11223 <pubDate>Thu, 31 Jul 2014 08:30:00 +0200</pubDate>
11224 <description>&lt;p&gt;The complete and free “out of the box” software solution for
11225 schools, &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu /
11226 Skolelinux&lt;/a&gt;, is used quite a lot in Germany, and one of the people
11227 involved is Bernd Zeitzen, who show up on the project mailing lists
11228 from time to time with interesting questions and tips on how to adjust
11229 the setup. I managed to interview him this summer.&lt;/p&gt;
11230
11231 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
11232
11233 &lt;p&gt;My name is Bernd Zeitzen and I&#39;m married with Hedda, a self
11234 employed physiotherapist. My former profession is tool maker, but I
11235 haven&#39;t worked for 30 years in this job. 30 years ago I started to
11236 support my wife and become her officeworker and a few years later the
11237 administrator for a small computer network, today based on Ubuntu
11238 Server (Samba, OpenVPN). For her daily work she has to use Windows
11239 Desktops because the software she needs to organize her business only
11240 works with Windows . :-(&lt;/p&gt;
11241
11242 &lt;p&gt;In 1988 we started with one PC and DOS, then I learned to use
11243 Windows 98, 2000, XP, …, 8, Ubuntu, MacOSX. Today we are running a
11244 Linux server with 6 Windows clients and 10 persons (teacher of
11245 children with special needs, speech therapist, occupational therapist,
11246 psychologist and officeworkers) using our Samba shares via OpenVPN to
11247 work with the documentations of our patients.&lt;/p&gt;
11248
11249 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux / Debian Edu
11250 project?&lt;/strong&gt;&lt;/p&gt;
11251
11252 &lt;p&gt;Two years ago a friend of mine asked me, if I want to get a job in
11253 his school (&lt;a href=&quot;http://www.gymnasium-harsewinkel.de/&quot;&gt;Gymnasium
11254 Harsewinkel&lt;/a&gt;). They started with Skolelinux / Debian Edu and they
11255 were looking for people to give support to the teachers using the
11256 software and the network and teaching the pupils increasing their
11257 computer skills in optional lessons. I&#39;m spending 4-6 hours a week
11258 with this job.&lt;/p&gt;
11259
11260 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux / Debian
11261 Edu?&lt;/strong&gt;&lt;/p&gt;
11262
11263 &lt;p&gt;The independence.&lt;/p&gt;
11264
11265 &lt;p&gt;First: Every person is allowed to use, share and develop the
11266 software. Even if you are poor, you are allowed to use the software
11267 included in Skolelinux/Debian Edu and all the other Free Software.&lt;/p&gt;
11268
11269 &lt;p&gt;Second: The software runs on old machines and this gives us the
11270 possibility to recycle computers, weeded out from offices. The
11271 servers and desktops are running for more than two years and they are
11272 working reliable. &lt;/p&gt;
11273
11274 &lt;p&gt;We have two servers (one tjener and one terminal server), 45
11275 workstations in three classrooms and seven laptops as a mobile
11276 solution for all classrooms. These machines are all booting from the
11277 terminal server. In the moment we are installing 30 laptops as mobile
11278 workstations. Then the pupils have the possibility to work with these
11279 machines in their classrooms. Internet access is realized by a WLAN
11280 router, connected to the schools network. This is all done without a
11281 dedicated system administrator or a computer science teacher.&lt;/p&gt;
11282
11283 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux / Debian
11284 Edu?&lt;/strong&gt;&lt;/p&gt;
11285
11286 &lt;p&gt;Teachers and pupils are Windows users. &amp;lt;Irony on&amp;gt; And Linux
11287 isn&#39;t cool. It&#39;s software for freaks using the command line. &amp;lt;Irony
11288 off&amp;gt; They don&#39;t realize the stability of the system. &lt;/p&gt;
11289
11290 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
11291
11292 &lt;p&gt;Firefox, Thunderbird, LibreOffice, Ubuntu Server 12.04 (Samba,
11293 Apache, MySQL, Joomla!, … and Skolelinux / Debian Edu)&lt;/p&gt;
11294
11295 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
11296 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
11297
11298 &lt;p&gt;In Germany we have the situation: every school is free to decide
11299 which software they want to use. This decision is influenced by
11300 teachers who learned to use Windows and MS Office. They buy a PC with
11301 Windows preinstalled and an additional testing version of MS
11302 Office. They don&#39;t know about the possibility to use Free Software
11303 instead. Another problem are the publisher of school books. They
11304 develop their software, added to the school books, for Windows.&lt;/p&gt;
11305 </description>
11306 </item>
11307
11308 <item>
11309 <title>98.6 percent done with the Norwegian draft translation of Free Culture</title>
11310 <link>http://people.skolelinux.org/pere/blog/98_6_percent_done_with_the_Norwegian_draft_translation_of_Free_Culture.html</link>
11311 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/98_6_percent_done_with_the_Norwegian_draft_translation_of_Free_Culture.html</guid>
11312 <pubDate>Wed, 23 Jul 2014 22:40:00 +0200</pubDate>
11313 <description>&lt;p&gt;This summer I finally had time to continue working on the Norwegian
11314 &lt;a href=&quot;http://www.docbook.org/&quot;&gt;docbook&lt;/a&gt; version of the 2004 book
11315 &lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free Culture&lt;/a&gt; by Lawrence Lessig,
11316 to get a Norwegian text explaining the problems with todays copyright
11317 law. Yesterday, I finally completed translated the book text. There
11318 are still some foot/end notes left to translate, the colophon page
11319 need to be rewritten, and a few words and phrases still need to be
11320 translated, but the Norwegian text is ready for the first proof
11321 reading. :) More spell checking is needed, and several illustrations
11322 need to be cleaned up. The work stopped up because I had to give
11323 priority to other projects the last year, and the progress graph of
11324 the translation show this very well:&lt;/p&gt;
11325
11326 &lt;p&gt;&lt;img width=&quot;80%&quot; align=&quot;center&quot; src=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/raw/master/progress.png&quot;&gt;&lt;/p&gt;
11327
11328 &lt;p&gt;If you want to read the result, check out the
11329 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;github&lt;/a&gt;
11330 project pages and the
11331 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/blob/master/archive/freeculture.nb.pdf?raw=true&quot;&gt;PDF&lt;/a&gt;,
11332 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/blob/master/archive/freeculture.nb.epub?raw=true&quot;&gt;EPUB&lt;/a&gt;
11333 and HTML version available in the
11334 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/tree/master/archive&quot;&gt;archive
11335 directory&lt;/a&gt;.&lt;/p&gt;
11336
11337 &lt;p&gt;Please report typos, bugs and improvements to the github project if
11338 you find any.&lt;/p&gt;
11339 </description>
11340 </item>
11341
11342 <item>
11343 <title>From English wiki to translated PDF and epub via Docbook</title>
11344 <link>http://people.skolelinux.org/pere/blog/From_English_wiki_to_translated_PDF_and_epub_via_Docbook.html</link>
11345 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/From_English_wiki_to_translated_PDF_and_epub_via_Docbook.html</guid>
11346 <pubDate>Tue, 17 Jun 2014 11:30:00 +0200</pubDate>
11347 <description>&lt;p&gt;The &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux
11348 project&lt;/a&gt; provide an instruction manual for teachers, system
11349 administrators and other users that contain useful tips for setting up
11350 and maintaining a Debian Edu installation. This text is about how the
11351 text processing of this manual is handled in the project.&lt;/p&gt;
11352
11353 &lt;p&gt;One goal of the project is to provide information in the native
11354 language of its users, and for this we need to handle translations.
11355 But we also want to make sure each language contain the same
11356 information, so for this we need a good way to keep the translations
11357 in sync. And we want it to be easy for our users to improve the
11358 documentation, avoiding the need to learn special formats or tools to
11359 contribute, and the obvious way to do this is to make it possible to
11360 edit the documentation using a web browser. We also want it to be
11361 easy for translators to keep the translation up to date, and give them
11362 help in figuring out what need to be translated. Here is the list of
11363 tools and the process we have found trying to reach all these
11364 goals.&lt;/p&gt;
11365
11366 &lt;p&gt;We maintain the authoritative source of our manual in the
11367 &lt;a href=&quot;https://wiki.debian.org/DebianEdu/Documentation/Wheezy/&quot;&gt;Debian
11368 wiki&lt;/a&gt;, as several wiki pages written in English. It consist of one
11369 front page with references to the different chapters, several pages
11370 for each chapter, and finally one &quot;collection page&quot; gluing all the
11371 chapters together into one large web page (aka
11372 &lt;a href=&quot;https://wiki.debian.org/DebianEdu/Documentation/Wheezy/AllInOne&quot;&gt;the
11373 AllInOne page&lt;/a&gt;). The AllInOne page is the one used for further
11374 processing and translations. Thanks to the fact that the
11375 &lt;a href=&quot;http://moinmo.in/&quot;&gt;MoinMoin&lt;/a&gt; installation on
11376 wiki.debian.org support exporting pages in
11377 &lt;a href=&quot;http://www.docbook.org/&quot;&gt;the Docbook format&lt;/a&gt;, we can fetch
11378 the list of pages to export using the raw version of the AllInOne
11379 page, loop over each of them to generate a Docbook XML version of the
11380 manual. This process also download images and transform image
11381 references to use the locally downloaded images. The generated
11382 Docbook XML files are slightly broken, so some post-processing is done
11383 using the &lt;tt&gt;documentation/scripts/get_manual&lt;/tt&gt; program, and the
11384 result is a nice Docbook XML file (debian-edu-wheezy-manual.xml) and
11385 a handfull of images. The XML file can now be used to generate PDF, HTML
11386 and epub versions of the English manual. This is the basic step of
11387 our process, making PDF (using dblatex), HTML (using xsltproc) and
11388 epub (using dbtoepub) version from Docbook XML, and the resulting files
11389 are placed in the debian-edu-doc-en binary package.&lt;/p&gt;
11390
11391 &lt;p&gt;But English documentation is not enough for us. We want translated
11392 documentation too, and we want to make it easy for translators to
11393 track the English original. For this we use the
11394 &lt;a href=&quot;http://packages.qa.debian.org/p/poxml.html&quot;&gt;poxml&lt;/a&gt; package,
11395 which allow us to transform the English Docbook XML file into a
11396 translation file (a .pot file), usable with the normal gettext based
11397 translation tools used by those translating free software. The pot
11398 file is used to create and maintain translation files (several .po
11399 files), which the translations update with the native language
11400 translations of all titles, paragraphs and blocks of text in the
11401 original. The next step is combining the original English Docbook XML
11402 and the translation file (say debian-edu-wheezy-manual.nb.po), to
11403 create a translated Docbook XML file (in this case
11404 debian-edu-wheezy-manual.nb.xml). This translated (or partly
11405 translated, if the translation is not complete) Docbook XML file can
11406 then be used like the original to create a PDF, HTML and epub version
11407 of the documentation.&lt;/p&gt;
11408
11409 &lt;p&gt;The translators use different tools to edit the .po files. We
11410 recommend using
11411 &lt;a href=&quot;http://www.kde.org/applications/development/lokalize/&quot;&gt;lokalize&lt;/a&gt;,
11412 while some use emacs and vi, others can use web based editors like
11413 &lt;a href=&quot;http://pootle.translatehouse.org/&quot;&gt;Poodle&lt;/a&gt; or
11414 &lt;a href=&quot;https://www.transifex.com/&quot;&gt;Transifex&lt;/a&gt;. All we care about
11415 is where the .po file end up, in our git repository. Updated
11416 translations can either be committed directly to git, or submitted as
11417 &lt;a href=&quot;https://bugs.debian.org/src:debian-edu-doc&quot;&gt;bug reports
11418 against the debian-edu-doc package&lt;/a&gt;.&lt;/p&gt;
11419
11420 &lt;p&gt;One challenge is images, which both might need to be translated (if
11421 they show translated user applications), and are needed in different
11422 formats when creating PDF and HTML versions (epub is a HTML version in
11423 this regard). For this we transform the original PNG images to the
11424 needed density and format during build, and have a way to provide
11425 translated images by storing translated versions in
11426 images/$LANGUAGECODE/. I am a bit unsure about the details here. The
11427 package maintainers know more.&lt;/p&gt;
11428
11429 &lt;p&gt;If you wonder what the result look like, we provide
11430 &lt;a href=&quot;http://maintainer.skolelinux.org/debian-edu-doc/&quot;&gt;the content
11431 of the documentation packages on the web&lt;/a&gt;. See for example the
11432 &lt;a href=&quot;http://maintainer.skolelinux.org/debian-edu-doc/it/debian-edu-wheezy-manual.pdf&quot;&gt;Italian
11433 PDF version&lt;/a&gt; or the
11434 &lt;a href=&quot;http://maintainer.skolelinux.org/debian-edu-doc/de/debian-edu-wheezy-manual.html&quot;&gt;German
11435 HTML version&lt;/a&gt;. We do not yet build the epub version by default,
11436 but perhaps it will be done in the future.&lt;/p&gt;
11437
11438 &lt;p&gt;To learn more, check out
11439 &lt;a href=&quot;http://packages.qa.debian.org/d/debian-edu-doc.html&quot;&gt;the
11440 debian-edu-doc package&lt;/a&gt;,
11441 &lt;a href=&quot;https://wiki.debian.org/DebianEdu/Documentation/Wheezy/&quot;&gt;the
11442 manual on the wiki&lt;/a&gt; and
11443 &lt;a href=&quot;https://wiki.debian.org/DebianEdu/Documentation/Wheezy/Translations&quot;&gt;the
11444 translation instructions&lt;/a&gt; in the manual.&lt;/p&gt;
11445 </description>
11446 </item>
11447
11448 <item>
11449 <title>Free software car computer solution?</title>
11450 <link>http://people.skolelinux.org/pere/blog/Free_software_car_computer_solution_.html</link>
11451 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Free_software_car_computer_solution_.html</guid>
11452 <pubDate>Thu, 29 May 2014 18:45:00 +0200</pubDate>
11453 <description>&lt;p&gt;Dear lazyweb. I&#39;m planning to set up a small Raspberry Pi computer
11454 in my car, connected to
11455 &lt;a href=&quot;http://www.dx.com/p/400a-4-0-tft-lcd-digital-monitor-for-vehicle-parking-reverse-camera-1440x272-12v-dc-57776&quot;&gt;a
11456 small screen&lt;/a&gt; next to the rear mirror. I plan to hook it up with a
11457 GPS and a USB wifi card too. The idea is to get my own
11458 &quot;&lt;a href=&quot;http://en.wikipedia.org/wiki/Carputer&quot;&gt;Carputer&lt;/a&gt;&quot;. But I
11459 wonder if someone already created a good free software solution for
11460 such car computer.&lt;/p&gt;
11461
11462 &lt;p&gt;This is my current wish list for such system:&lt;/p&gt;
11463
11464 &lt;ul&gt;
11465
11466 &lt;li&gt;Work on Raspberry Pi.&lt;/li&gt;
11467
11468 &lt;li&gt;Show current speed limit based on location, and warn if going too
11469 fast (for example using color codes yellow and red on the screen,
11470 or make a sound). This could be done either using either data from
11471 &lt;a href=&quot;http://www.openstreetmap.org/&quot;&gt;Openstreetmap&lt;/a&gt; or OCR
11472 info gathered from a dashboard camera.&lt;/li&gt;
11473
11474 &lt;li&gt;Track automatic toll road passes and their cost, show total spent
11475 and make it possible to calculate toll costs for planned
11476 route.&lt;/li&gt;
11477
11478 &lt;li&gt;Collect GPX tracks for use with OpenStreetMap.&lt;/li&gt;
11479
11480 &lt;li&gt;Automatically detect and use any wireless connection to connect
11481 to home server. Try IP over DNS
11482 (&lt;a href=&quot;http://dev.kryo.se/iodine/&quot;&gt;iodine&lt;/a&gt;) or ICMP
11483 (&lt;a href=&quot;http://code.gerade.org/hans/&quot;&gt;Hans&lt;/a&gt;) if direct
11484 connection do not work.&lt;/li&gt;
11485
11486 &lt;li&gt;Set up mesh network to talk to other cars with the same system,
11487 or some standard car mesh protocol.&lt;/li&gt;
11488
11489 &lt;li&gt;Warn when approaching speed cameras and speed camera ranges
11490 (speed calculated between two cameras).&lt;/li&gt;
11491
11492 &lt;li&gt;Suport dashboard/front facing camera to discover speed limits and
11493 run OCR to track registration number of passing cars.&lt;/li&gt;
11494
11495 &lt;/ul&gt;
11496
11497 &lt;p&gt;If you know of any free software car computer system supporting
11498 some or all of these features, please let me know.&lt;/p&gt;
11499 </description>
11500 </item>
11501
11502 <item>
11503 <title>Half the Coverity issues in Gnash fixed in the next release</title>
11504 <link>http://people.skolelinux.org/pere/blog/Half_the_Coverity_issues_in_Gnash_fixed_in_the_next_release.html</link>
11505 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Half_the_Coverity_issues_in_Gnash_fixed_in_the_next_release.html</guid>
11506 <pubDate>Tue, 29 Apr 2014 14:20:00 +0200</pubDate>
11507 <description>&lt;p&gt;I&#39;ve been following &lt;a href=&quot;http://www.getgnash.org/&quot;&gt;the Gnash
11508 project&lt;/a&gt; for quite a while now. It is a free software
11509 implementation of Adobe Flash, both a standalone player and a browser
11510 plugin. Gnash implement support for the AVM1 format (and not the
11511 newer AVM2 format - see
11512 &lt;a href=&quot;http://lightspark.github.io/&quot;&gt;Lightspark&lt;/a&gt; for that one),
11513 allowing several flash based sites to work. Thanks to the friendly
11514 developers at Youtube, it also work with Youtube videos, because the
11515 Javascript code at Youtube detect Gnash and serve a AVM1 player to
11516 those users. :) Would be great if someone found time to implement AVM2
11517 support, but it has not happened yet. If you install both Lightspark
11518 and Gnash, Lightspark will invoke Gnash if it find a AVM1 flash file,
11519 so you can get both handled as free software. Unfortunately,
11520 Lightspark so far only implement a small subset of AVM2, and many
11521 sites do not work yet.&lt;/p&gt;
11522
11523 &lt;p&gt;A few months ago, I started looking at
11524 &lt;a href=&quot;http://scan.coverity.com/&quot;&gt;Coverity&lt;/a&gt;, the static source
11525 checker used to find heaps and heaps of bugs in free software (thanks
11526 to the donation of a scanning service to free software projects by the
11527 company developing this non-free code checker), and Gnash was one of
11528 the projects I decided to check out. Coverity is able to find lock
11529 errors, memory errors, dead code and more. A few days ago they even
11530 extended it to also be able to find the heartbleed bug in OpenSSL.
11531 There are heaps of checks being done on the instrumented code, and the
11532 amount of bogus warnings is quite low compared to the other static
11533 code checkers I have tested over the years.&lt;/p&gt;
11534
11535 &lt;p&gt;Since a few weeks ago, I&#39;ve been working with the other Gnash
11536 developers squashing bugs discovered by Coverity. I was quite happy
11537 today when I checked the current status and saw that of the 777 issues
11538 detected so far, 374 are marked as fixed. This make me confident that
11539 the next Gnash release will be more stable and more dependable than
11540 the previous one. Most of the reported issues were and are in the
11541 test suite, but it also found a few in the rest of the code.&lt;/p&gt;
11542
11543 &lt;p&gt;If you want to help out, you find us on
11544 &lt;a href=&quot;https://lists.gnu.org/mailman/listinfo/gnash-dev&quot;&gt;the
11545 gnash-dev mailing list&lt;/a&gt; and on
11546 &lt;a href=&quot;irc://irc.freenode.net/#gnash&quot;&gt;the #gnash channel on
11547 irc.freenode.net IRC server&lt;/a&gt;.&lt;/p&gt;
11548 </description>
11549 </item>
11550
11551 <item>
11552 <title>Install hardware dependent packages using tasksel (Isenkram 0.7)</title>
11553 <link>http://people.skolelinux.org/pere/blog/Install_hardware_dependent_packages_using_tasksel__Isenkram_0_7_.html</link>
11554 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Install_hardware_dependent_packages_using_tasksel__Isenkram_0_7_.html</guid>
11555 <pubDate>Wed, 23 Apr 2014 14:50:00 +0200</pubDate>
11556 <description>&lt;p&gt;It would be nice if it was easier in Debian to get all the hardware
11557 related packages relevant for the computer installed automatically.
11558 So I implemented one, using
11559 &lt;a href=&quot;http://packages.qa.debian.org/isenkram&quot;&gt;my Isenkram
11560 package&lt;/a&gt;. To use it, install the tasksel and isenkram packages and
11561 run tasksel as user root. You should be presented with a new option,
11562 &quot;Hardware specific packages (autodetected by isenkram)&quot;. When you
11563 select it, tasksel will install the packages isenkram claim is fit for
11564 the current hardware, hot pluggable or not.&lt;p&gt;
11565
11566 &lt;p&gt;The implementation is in two files, one is the tasksel menu entry
11567 description, and the other is the script used to extract the list of
11568 packages to install. The first part is in
11569 &lt;tt&gt;/usr/share/tasksel/descs/isenkram.desc&lt;/tt&gt; and look like
11570 this:&lt;/p&gt;
11571
11572 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
11573 Task: isenkram
11574 Section: hardware
11575 Description: Hardware specific packages (autodetected by isenkram)
11576 Based on the detected hardware various hardware specific packages are
11577 proposed.
11578 Test-new-install: mark show
11579 Relevance: 8
11580 Packages: for-current-hardware
11581 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
11582
11583 &lt;p&gt;The second part is in
11584 &lt;tt&gt;/usr/lib/tasksel/packages/for-current-hardware&lt;/tt&gt; and look like
11585 this:&lt;/p&gt;
11586
11587 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
11588 #!/bin/sh
11589 #
11590 (
11591 isenkram-lookup
11592 isenkram-autoinstall-firmware -l
11593 ) | sort -u
11594 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
11595
11596 &lt;p&gt;All in all, a very short and simple implementation making it
11597 trivial to install the hardware dependent package we all may want to
11598 have installed on our machines. I&#39;ve not been able to find a way to
11599 get tasksel to tell you exactly which packages it plan to install
11600 before doing the installation. So if you are curious or careful,
11601 check the output from the isenkram-* command line tools first.&lt;/p&gt;
11602
11603 &lt;p&gt;The information about which packages are handling which hardware is
11604 fetched either from the isenkram package itself in
11605 /usr/share/isenkram/, from git.debian.org or from the APT package
11606 database (using the Modaliases header). The APT package database
11607 parsing have caused a nasty resource leak in the isenkram daemon (bugs
11608 &lt;a href=&quot;http://bugs.debian.org/719837&quot;&gt;#719837&lt;/a&gt; and
11609 &lt;a href=&quot;http://bugs.debian.org/730704&quot;&gt;#730704&lt;/a&gt;). The cause is in
11610 the python-apt code (bug
11611 &lt;a href=&quot;http://bugs.debian.org/745487&quot;&gt;#745487&lt;/a&gt;), but using a
11612 workaround I was able to get rid of the file descriptor leak and
11613 reduce the memory leak from ~30 MiB per hardware detection down to
11614 around 2 MiB per hardware detection. It should make the desktop
11615 daemon a lot more useful. The fix is in version 0.7 uploaded to
11616 unstable today.&lt;/p&gt;
11617
11618 &lt;p&gt;I believe the current way of mapping hardware to packages in
11619 Isenkram is is a good draft, but in the future I expect isenkram to
11620 use the AppStream data source for this. A proposal for getting proper
11621 AppStream support into Debian is floating around as
11622 &lt;a href=&quot;https://wiki.debian.org/DEP-11&quot;&gt;DEP-11&lt;/a&gt;, and
11623 &lt;a href=&quot;https://wiki.debian.org/SummerOfCode2014/Projects#SummerOfCode2014.2FProjects.2FAppStreamDEP11Implementation.AppStream.2FDEP-11_for_the_Debian_Archive&quot;&gt;GSoC
11624 project&lt;/a&gt; will take place this summer to improve the situation. I
11625 look forward to seeing the result, and welcome patches for isenkram to
11626 start using the information when it is ready.&lt;/p&gt;
11627
11628 &lt;p&gt;If you want your package to map to some specific hardware, either
11629 add a &quot;Xb-Modaliases&quot; header to your control file like I did in
11630 &lt;a href=&quot;http://packages.qa.debian.org/pymissile&quot;&gt;the pymissile
11631 package&lt;/a&gt; or submit a bug report with the details to the isenkram
11632 package. See also
11633 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/tags/isenkram/&quot;&gt;all my
11634 blog posts tagged isenkram&lt;/a&gt; for details on the notation. I expect
11635 the information will be migrated to AppStream eventually, but for the
11636 moment I got no better place to store it.&lt;/p&gt;
11637 </description>
11638 </item>
11639
11640 <item>
11641 <title>FreedomBox milestone - all packages now in Debian Sid</title>
11642 <link>http://people.skolelinux.org/pere/blog/FreedomBox_milestone___all_packages_now_in_Debian_Sid.html</link>
11643 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/FreedomBox_milestone___all_packages_now_in_Debian_Sid.html</guid>
11644 <pubDate>Tue, 15 Apr 2014 22:10:00 +0200</pubDate>
11645 <description>&lt;p&gt;The &lt;a href=&quot;https://wiki.debian.org/FreedomBox&quot;&gt;Freedombox
11646 project&lt;/a&gt; is working on providing the software and hardware to make
11647 it easy for non-technical people to host their data and communication
11648 at home, and being able to communicate with their friends and family
11649 encrypted and away from prying eyes. It is still going strong, and
11650 today a major mile stone was reached.&lt;/p&gt;
11651
11652 &lt;p&gt;Today, the last of the packages currently used by the project to
11653 created the system images were accepted into Debian Unstable. It was
11654 the freedombox-setup package, which is used to configure the images
11655 during build and on the first boot. Now all one need to get going is
11656 the build code from the freedom-maker git repository and packages from
11657 Debian. And once the freedombox-setup package enter testing, we can
11658 build everything directly from Debian. :)&lt;/p&gt;
11659
11660 &lt;p&gt;Some key packages used by Freedombox are
11661 &lt;a href=&quot;http://packages.qa.debian.org/freedombox-setup&quot;&gt;freedombox-setup&lt;/a&gt;,
11662 &lt;a href=&quot;http://packages.qa.debian.org/plinth&quot;&gt;plinth&lt;/a&gt;,
11663 &lt;a href=&quot;http://packages.qa.debian.org/pagekite&quot;&gt;pagekite&lt;/a&gt;,
11664 &lt;a href=&quot;http://packages.qa.debian.org/tor&quot;&gt;tor&lt;/a&gt;,
11665 &lt;a href=&quot;http://packages.qa.debian.org/privoxy&quot;&gt;privoxy&lt;/a&gt;,
11666 &lt;a href=&quot;http://packages.qa.debian.org/owncloud&quot;&gt;owncloud&lt;/a&gt; and
11667 &lt;a href=&quot;http://packages.qa.debian.org/dnsmasq&quot;&gt;dnsmasq&lt;/a&gt;. There
11668 are plans to integrate more packages into the setup. User
11669 documentation is maintained on the Debian wiki. Please
11670 &lt;a href=&quot;https://wiki.debian.org/FreedomBox/Manual/Jessie&quot;&gt;check out
11671 the manual&lt;/a&gt; and help us improve it.&lt;/p&gt;
11672
11673 &lt;p&gt;To test for yourself and create boot images with the FreedomBox
11674 setup, run this on a Debian machine using a user with sudo rights to
11675 become root:&lt;/p&gt;
11676
11677 &lt;p&gt;&lt;pre&gt;
11678 sudo apt-get install git vmdebootstrap mercurial python-docutils \
11679 mktorrent extlinux virtualbox qemu-user-static binfmt-support \
11680 u-boot-tools
11681 git clone http://anonscm.debian.org/git/freedombox/freedom-maker.git \
11682 freedom-maker
11683 make -C freedom-maker dreamplug-image raspberry-image virtualbox-image
11684 &lt;/pre&gt;&lt;/p&gt;
11685
11686 &lt;p&gt;Root access is needed to run debootstrap and mount loopback
11687 devices. See the README in the freedom-maker git repo for more
11688 details on the build. If you do not want all three images, trim the
11689 make line. Note that the virtualbox-image target is not really
11690 virtualbox specific. It create a x86 image usable in kvm, qemu,
11691 vmware and any other x86 virtual machine environment. You might need
11692 the version of vmdebootstrap in Jessie to get the build working, as it
11693 include fixes for a race condition with kpartx.&lt;/p&gt;
11694
11695 &lt;p&gt;If you instead want to install using a Debian CD and the preseed
11696 method, boot a Debian Wheezy ISO and use this boot argument to load
11697 the preseed values:&lt;/p&gt;
11698
11699 &lt;p&gt;&lt;pre&gt;
11700 url=&lt;a href=&quot;http://www.reinholdtsen.name/freedombox/preseed-jessie.dat&quot;&gt;http://www.reinholdtsen.name/freedombox/preseed-jessie.dat&lt;/a&gt;
11701 &lt;/pre&gt;&lt;/p&gt;
11702
11703 &lt;p&gt;I have not tested it myself the last few weeks, so I do not know if
11704 it still work.&lt;/p&gt;
11705
11706 &lt;p&gt;If you wonder how to help, one task you could look at is using
11707 systemd as the boot system. It will become the default for Linux in
11708 Jessie, so we need to make sure it is usable on the Freedombox. I did
11709 a simple test a few weeks ago, and noticed dnsmasq failed to start
11710 during boot when using systemd. I suspect there are other problems
11711 too. :) To detect problems, there is a test suite included, which can
11712 be run from the plinth web interface.&lt;/p&gt;
11713
11714 &lt;p&gt;Give it a go and let us know how it goes on the mailing list, and help
11715 us get the new release published. :) Please join us on
11716 &lt;a href=&quot;irc://irc.debian.org:6667/%23freedombox&quot;&gt;IRC (#freedombox on
11717 irc.debian.org)&lt;/a&gt; and
11718 &lt;a href=&quot;http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss&quot;&gt;the
11719 mailing list&lt;/a&gt; if you want to help make this vision come true.&lt;/p&gt;
11720 </description>
11721 </item>
11722
11723 <item>
11724 <title>S3QL, a locally mounted cloud file system - nice free software</title>
11725 <link>http://people.skolelinux.org/pere/blog/S3QL__a_locally_mounted_cloud_file_system___nice_free_software.html</link>
11726 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/S3QL__a_locally_mounted_cloud_file_system___nice_free_software.html</guid>
11727 <pubDate>Wed, 9 Apr 2014 11:30:00 +0200</pubDate>
11728 <description>&lt;p&gt;For a while now, I have been looking for a sensible offsite backup
11729 solution for use at home. My requirements are simple, it must be
11730 cheap and locally encrypted (in other words, I keep the encryption
11731 keys, the storage provider do not have access to my private files).
11732 One idea me and my friends had many years ago, before the cloud
11733 storage providers showed up, was to use Google mail as storage,
11734 writing a Linux block device storing blocks as emails in the mail
11735 service provided by Google, and thus get heaps of free space. On top
11736 of this one can add encryption, RAID and volume management to have
11737 lots of (fairly slow, I admit that) cheap and encrypted storage. But
11738 I never found time to implement such system. But the last few weeks I
11739 have looked at a system called
11740 &lt;a href=&quot;https://bitbucket.org/nikratio/s3ql/&quot;&gt;S3QL&lt;/a&gt;, a locally
11741 mounted network backed file system with the features I need.&lt;/p&gt;
11742
11743 &lt;p&gt;S3QL is a fuse file system with a local cache and cloud storage,
11744 handling several different storage providers, any with Amazon S3,
11745 Google Drive or OpenStack API. There are heaps of such storage
11746 providers. S3QL can also use a local directory as storage, which
11747 combined with sshfs allow for file storage on any ssh server. S3QL
11748 include support for encryption, compression, de-duplication, snapshots
11749 and immutable file systems, allowing me to mount the remote storage as
11750 a local mount point, look at and use the files as if they were local,
11751 while the content is stored in the cloud as well. This allow me to
11752 have a backup that should survive fire. The file system can not be
11753 shared between several machines at the same time, as only one can
11754 mount it at the time, but any machine with the encryption key and
11755 access to the storage service can mount it if it is unmounted.&lt;/p&gt;
11756
11757 &lt;p&gt;It is simple to use. I&#39;m using it on Debian Wheezy, where the
11758 package is included already. So to get started, run &lt;tt&gt;apt-get
11759 install s3ql&lt;/tt&gt;. Next, pick a storage provider. I ended up picking
11760 Greenqloud, after reading their nice recipe on
11761 &lt;a href=&quot;https://greenqloud.zendesk.com/entries/44611757-How-To-Use-S3QL-to-mount-a-StorageQloud-bucket-on-Debian-Wheezy&quot;&gt;how
11762 to use S3QL with their Amazon S3 service&lt;/a&gt;, because I trust the laws
11763 in Iceland more than those in USA when it come to keeping my personal
11764 data safe and private, and thus would rather spend money on a company
11765 in Iceland. Another nice recipe is available from the article
11766 &lt;a href=&quot;http://www.admin-magazine.com/HPC/Articles/HPC-Cloud-Storage&quot;&gt;S3QL
11767 Filesystem for HPC Storage&lt;/a&gt; by Jeff Layton in the HPC section of
11768 Admin magazine. When the provider is picked, figure out how to get
11769 the API key needed to connect to the storage API. With Greencloud,
11770 the key did not show up until I had added payment details to my
11771 account.&lt;/p&gt;
11772
11773 &lt;p&gt;Armed with the API access details, it is time to create the file
11774 system. First, create a new bucket in the cloud. This bucket is the
11775 file system storage area. I picked a bucket name reflecting the
11776 machine that was going to store data there, but any name will do.
11777 I&#39;ll refer to it as &lt;tt&gt;bucket-name&lt;/tt&gt; below. In addition, one need
11778 the API login and password, and a locally created password. Store it
11779 all in ~root/.s3ql/authinfo2 like this:
11780
11781 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
11782 [s3c]
11783 storage-url: s3c://s.greenqloud.com:443/bucket-name
11784 backend-login: API-login
11785 backend-password: API-password
11786 fs-passphrase: local-password
11787 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
11788
11789 &lt;p&gt;I create my local passphrase using &lt;tt&gt;pwget 50&lt;/tt&gt; or similar,
11790 but any sensible way to create a fairly random password should do it.
11791 Armed with these details, it is now time to run mkfs, entering the API
11792 details and password to create it:&lt;/p&gt;
11793
11794 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
11795 # mkdir -m 700 /var/lib/s3ql-cache
11796 # mkfs.s3ql --cachedir /var/lib/s3ql-cache --authfile /root/.s3ql/authinfo2 \
11797 --ssl s3c://s.greenqloud.com:443/bucket-name
11798 Enter backend login:
11799 Enter backend password:
11800 Before using S3QL, make sure to read the user&#39;s guide, especially
11801 the &#39;Important Rules to Avoid Loosing Data&#39; section.
11802 Enter encryption password:
11803 Confirm encryption password:
11804 Generating random encryption key...
11805 Creating metadata tables...
11806 Dumping metadata...
11807 ..objects..
11808 ..blocks..
11809 ..inodes..
11810 ..inode_blocks..
11811 ..symlink_targets..
11812 ..names..
11813 ..contents..
11814 ..ext_attributes..
11815 Compressing and uploading metadata...
11816 Wrote 0.00 MB of compressed metadata.
11817 # &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
11818
11819 &lt;p&gt;The next step is mounting the file system to make the storage available.
11820
11821 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
11822 # mount.s3ql --cachedir /var/lib/s3ql-cache --authfile /root/.s3ql/authinfo2 \
11823 --ssl --allow-root s3c://s.greenqloud.com:443/bucket-name /s3ql
11824 Using 4 upload threads.
11825 Downloading and decompressing metadata...
11826 Reading metadata...
11827 ..objects..
11828 ..blocks..
11829 ..inodes..
11830 ..inode_blocks..
11831 ..symlink_targets..
11832 ..names..
11833 ..contents..
11834 ..ext_attributes..
11835 Mounting filesystem...
11836 # df -h /s3ql
11837 Filesystem Size Used Avail Use% Mounted on
11838 s3c://s.greenqloud.com:443/bucket-name 1.0T 0 1.0T 0% /s3ql
11839 #
11840 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
11841
11842 &lt;p&gt;The file system is now ready for use. I use rsync to store my
11843 backups in it, and as the metadata used by rsync is downloaded at
11844 mount time, no network traffic (and storage cost) is triggered by
11845 running rsync. To unmount, one should not use the normal umount
11846 command, as this will not flush the cache to the cloud storage, but
11847 instead running the umount.s3ql command like this:
11848
11849 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
11850 # umount.s3ql /s3ql
11851 #
11852 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
11853
11854 &lt;p&gt;There is a fsck command available to check the file system and
11855 correct any problems detected. This can be used if the local server
11856 crashes while the file system is mounted, to reset the &quot;already
11857 mounted&quot; flag. This is what it look like when processing a working
11858 file system:&lt;/p&gt;
11859
11860 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
11861 # fsck.s3ql --force --ssl s3c://s.greenqloud.com:443/bucket-name
11862 Using cached metadata.
11863 File system seems clean, checking anyway.
11864 Checking DB integrity...
11865 Creating temporary extra indices...
11866 Checking lost+found...
11867 Checking cached objects...
11868 Checking names (refcounts)...
11869 Checking contents (names)...
11870 Checking contents (inodes)...
11871 Checking contents (parent inodes)...
11872 Checking objects (reference counts)...
11873 Checking objects (backend)...
11874 ..processed 5000 objects so far..
11875 ..processed 10000 objects so far..
11876 ..processed 15000 objects so far..
11877 Checking objects (sizes)...
11878 Checking blocks (referenced objects)...
11879 Checking blocks (refcounts)...
11880 Checking inode-block mapping (blocks)...
11881 Checking inode-block mapping (inodes)...
11882 Checking inodes (refcounts)...
11883 Checking inodes (sizes)...
11884 Checking extended attributes (names)...
11885 Checking extended attributes (inodes)...
11886 Checking symlinks (inodes)...
11887 Checking directory reachability...
11888 Checking unix conventions...
11889 Checking referential integrity...
11890 Dropping temporary indices...
11891 Backing up old metadata...
11892 Dumping metadata...
11893 ..objects..
11894 ..blocks..
11895 ..inodes..
11896 ..inode_blocks..
11897 ..symlink_targets..
11898 ..names..
11899 ..contents..
11900 ..ext_attributes..
11901 Compressing and uploading metadata...
11902 Wrote 0.89 MB of compressed metadata.
11903 #
11904 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
11905
11906 &lt;p&gt;Thanks to the cache, working on files that fit in the cache is very
11907 quick, about the same speed as local file access. Uploading large
11908 amount of data is to me limited by the bandwidth out of and into my
11909 house. Uploading 685 MiB with a 100 MiB cache gave me 305 kiB/s,
11910 which is very close to my upload speed, and downloading the same
11911 Debian installation ISO gave me 610 kiB/s, close to my download speed.
11912 Both were measured using &lt;tt&gt;dd&lt;/tt&gt;. So for me, the bottleneck is my
11913 network, not the file system code. I do not know what a good cache
11914 size would be, but suspect that the cache should e larger than your
11915 working set.&lt;/p&gt;
11916
11917 &lt;p&gt;I mentioned that only one machine can mount the file system at the
11918 time. If another machine try, it is told that the file system is
11919 busy:&lt;/p&gt;
11920
11921 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
11922 # mount.s3ql --cachedir /var/lib/s3ql-cache --authfile /root/.s3ql/authinfo2 \
11923 --ssl --allow-root s3c://s.greenqloud.com:443/bucket-name /s3ql
11924 Using 8 upload threads.
11925 Backend reports that fs is still mounted elsewhere, aborting.
11926 #
11927 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
11928
11929 &lt;p&gt;The file content is uploaded when the cache is full, while the
11930 metadata is uploaded once every 24 hour by default. To ensure the
11931 file system content is flushed to the cloud, one can either umount the
11932 file system, or ask S3QL to flush the cache and metadata using
11933 s3qlctrl:
11934
11935 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
11936 # s3qlctrl upload-meta /s3ql
11937 # s3qlctrl flushcache /s3ql
11938 #
11939 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
11940
11941 &lt;p&gt;If you are curious about how much space your data uses in the
11942 cloud, and how much compression and deduplication cut down on the
11943 storage usage, you can use s3qlstat on the mounted file system to get
11944 a report:&lt;/p&gt;
11945
11946 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
11947 # s3qlstat /s3ql
11948 Directory entries: 9141
11949 Inodes: 9143
11950 Data blocks: 8851
11951 Total data size: 22049.38 MB
11952 After de-duplication: 21955.46 MB (99.57% of total)
11953 After compression: 21877.28 MB (99.22% of total, 99.64% of de-duplicated)
11954 Database size: 2.39 MB (uncompressed)
11955 (some values do not take into account not-yet-uploaded dirty blocks in cache)
11956 #
11957 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
11958
11959 &lt;p&gt;I mentioned earlier that there are several possible suppliers of
11960 storage. I did not try to locate them all, but am aware of at least
11961 &lt;a href=&quot;https://www.greenqloud.com/&quot;&gt;Greenqloud&lt;/a&gt;,
11962 &lt;a href=&quot;http://drive.google.com/&quot;&gt;Google Drive&lt;/a&gt;,
11963 &lt;a href=&quot;http://aws.amazon.com/s3/&quot;&gt;Amazon S3 web serivces&lt;/a&gt;,
11964 &lt;a href=&quot;http://www.rackspace.com/&quot;&gt;Rackspace&lt;/a&gt; and
11965 &lt;a href=&quot;http://crowncloud.net/&quot;&gt;Crowncloud&lt;/A&gt;. The latter even
11966 accept payment in Bitcoin. Pick one that suit your need. Some of
11967 them provide several GiB of free storage, but the prize models are
11968 quite different and you will have to figure out what suits you
11969 best.&lt;/p&gt;
11970
11971 &lt;p&gt;While researching this blog post, I had a look at research papers
11972 and posters discussing the S3QL file system. There are several, which
11973 told me that the file system is getting a critical check by the
11974 science community and increased my confidence in using it. One nice
11975 poster is titled
11976 &quot;&lt;a href=&quot;http://www.lanl.gov/orgs/adtsc/publications/science_highlights_2013/docs/pg68_69.pdf&quot;&gt;An
11977 Innovative Parallel Cloud Storage System using OpenStack’s SwiftObject
11978 Store and Transformative Parallel I/O Approach&lt;/a&gt;&quot; by Hsing-Bung
11979 Chen, Benjamin McClelland, David Sherrill, Alfred Torrez, Parks Fields
11980 and Pamela Smith. Please have a look.&lt;/p&gt;
11981
11982 &lt;p&gt;Given my problems with different file systems earlier, I decided to
11983 check out the mounted S3QL file system to see if it would be usable as
11984 a home directory (in other word, that it provided POSIX semantics when
11985 it come to locking and umask handling etc). Running
11986 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Testing_if_a_file_system_can_be_used_for_home_directories___.html&quot;&gt;my
11987 test code to check file system semantics&lt;/a&gt;, I was happy to discover that
11988 no error was found. So the file system can be used for home
11989 directories, if one chooses to do so.&lt;/p&gt;
11990
11991 &lt;p&gt;If you do not want a locally file system, and want something that
11992 work without the Linux fuse file system, I would like to mention the
11993 &lt;a href=&quot;http://www.tarsnap.com/&quot;&gt;Tarsnap service&lt;/a&gt;, which also
11994 provide locally encrypted backup using a command line client. It have
11995 a nicer access control system, where one can split out read and write
11996 access, allowing some systems to write to the backup and others to
11997 only read from it.&lt;/p&gt;
11998
11999 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
12000 activities, please send Bitcoin donations to my address
12001 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
12002 </description>
12003 </item>
12004
12005 <item>
12006 <title>ReactOS Windows clone - nice free software</title>
12007 <link>http://people.skolelinux.org/pere/blog/ReactOS_Windows_clone___nice_free_software.html</link>
12008 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/ReactOS_Windows_clone___nice_free_software.html</guid>
12009 <pubDate>Tue, 1 Apr 2014 12:10:00 +0200</pubDate>
12010 <description>&lt;p&gt;Microsoft have announced that Windows XP reaches its end of life
12011 2014-04-08, in 7 days. But there are heaps of machines still running
12012 Windows XP, and depending on Windows XP to run their applications, and
12013 upgrading will be expensive, both when it comes to money and when it
12014 comes to the amount of effort needed to migrate from Windows XP to a
12015 new operating system. Some obvious options (buy new a Windows
12016 machine, buy a MacOSX machine, install Linux on the existing machine)
12017 are already well known and covered elsewhere. Most of them involve
12018 leaving the user applications installed on Windows XP behind and
12019 trying out replacements or updated versions. In this blog post I want
12020 to mention one strange bird that allow people to keep the hardware and
12021 the existing Windows XP applications and run them on a free software
12022 operating system that is Windows XP compatible.&lt;/p&gt;
12023
12024 &lt;p&gt;&lt;a href=&quot;http://www.reactos.org/&quot;&gt;ReactOS&lt;/a&gt; is a free software
12025 operating system (GNU GPL licensed) working on providing a operating
12026 system that is binary compatible with Windows, able to run windows
12027 programs directly and to use Windows drivers for hardware directly.
12028 The project goal is for Windows user to keep their existing machines,
12029 drivers and software, and gain the advantages from user a operating
12030 system without usage limitations caused by non-free licensing. It is
12031 a Windows clone running directly on the hardware, so quite different
12032 from the approach taken by &lt;a href=&quot;http://www.winehq.org/&quot;&gt;the Wine
12033 project&lt;/a&gt;, which make it possible to run Windows binaries on
12034 Linux.&lt;/p&gt;
12035
12036 &lt;p&gt;The ReactOS project share code with the Wine project, so most
12037 shared libraries available on Windows are already implemented already.
12038 There is also a software manager like the one we are used to on Linux,
12039 allowing the user to install free software applications with a simple
12040 click directly from the Internet. Check out the
12041 &lt;a href=&quot;http://www.reactos.org/screenshots&quot;&gt;screen shots on the
12042 project web site&lt;/a&gt; for an idea what it look like (it looks just like
12043 Windows before metro).&lt;/p&gt;
12044
12045 &lt;p&gt;I do not use ReactOS myself, preferring Linux and Unix like
12046 operating systems. I&#39;ve tested it, and it work fine in a virt-manager
12047 virtual machine. The browser, minesweeper, notepad etc is working
12048 fine as far as I can tell. Unfortunately, my main test application
12049 is the software included on a CD with the Lego Mindstorms NXT, which
12050 seem to install just fine from CD but fail to leave any binaries on
12051 the disk after the installation. So no luck with that test software.
12052 No idea why, but hope someone else figure out and fix the problem.
12053 I&#39;ve tried the ReactOS Live ISO on a physical machine, and it seemed
12054 to work just fine. If you like Windows and want to keep running your
12055 old Windows binaries, check it out by
12056 &lt;a href=&quot;http://www.reactos.org/download&quot;&gt;downloading&lt;/a&gt; the
12057 installation CD, the live CD or the preinstalled virtual machine
12058 image.&lt;/p&gt;
12059 </description>
12060 </item>
12061
12062 <item>
12063 <title>Debian Edu interview: Roger Marsal</title>
12064 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Roger_Marsal.html</link>
12065 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Roger_Marsal.html</guid>
12066 <pubDate>Sun, 30 Mar 2014 11:40:00 +0200</pubDate>
12067 <description>&lt;p&gt;&lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt;
12068 keep gaining new users. Some weeks ago, a person showed up on IRC,
12069 &lt;a href=&quot;irc://irc.debian.org/#debian-edu&quot;&gt;#debian-edu&lt;/a&gt;, with a
12070 wish to contribute, and I managed to get a interview with this great
12071 contributor Roger Marsal to learn more about his background.&lt;/p&gt;
12072
12073 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
12074
12075 &lt;p&gt;My name is Roger Marsal, I&#39;m 27 years old (1986 generation) and I
12076 live in Barcelona, Spain. I&#39;ve got a strong business background and I
12077 work as a patrimony manager and as a real estate agent. Additionally,
12078 I&#39;ve co-founded a British based tech company that is nowadays on the
12079 last development phase of a new social networking concept.&lt;/p&gt;
12080
12081 &lt;p&gt;I&#39;m a Linux enthusiast that started its journey with Ubuntu four years
12082 ago and have recently switched to Debian seeking rock solid stability
12083 and as a necessary step to gain expertise.&lt;/p&gt;
12084
12085 &lt;p&gt;In a nutshell, I spend my days working and learning as much as I
12086 can to face both my job, entrepreneur project and feed my Linux
12087 hunger.&lt;/p&gt;
12088
12089 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux / Debian Edu
12090 project?&lt;/strong&gt;&lt;/p&gt;
12091
12092 &lt;p&gt;I discovered the &lt;a href=&quot;http://www.ltsp.org/&quot;&gt;LTSP&lt;/a&gt; advantages
12093 with &quot;Ubuntu 12.04 alternate install&quot; and after a year of use I
12094 started looking for an alternative. Even though I highly value and
12095 respect the Ubuntu project, I thought it was necessary for me to
12096 change to a more robust and stable alternative. As far as I was using
12097 Debian on my personal laptop I thought it would be fine to install
12098 Debian and configure an LTSP server myself. Surprised, I discovered
12099 that the Debian project also supported a kind of Edubuntu equivalent,
12100 and after having some pain I obtained a Debian Edu network up and
12101 running. I just loved it.&lt;/p&gt;
12102
12103 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux / Debian
12104 Edu?&lt;/strong&gt;&lt;/p&gt;
12105
12106 &lt;p&gt;I found a main advantage in that, once you know &quot;the tips and
12107 tricks&quot;, a new installation just works out of the box. It&#39;s the most
12108 complete alternative I&#39;ve found to create an LTSP network. All the
12109 other distributions seems to be made of plastic, Debian Edu seems to
12110 be made of steel.&lt;/p&gt;
12111
12112 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux / Debian
12113 Edu?&lt;/strong&gt;&lt;/p&gt;
12114
12115 &lt;p&gt;I found two main disadvantages.&lt;/p&gt;
12116
12117 &lt;p&gt;I&#39;m not an expert but I&#39;ve got notions and I had to spent a considerable
12118 amount of time trying to bring up a standard network topology. I&#39;m quite
12119 stubborn and I just worked until I did but I&#39;m sure many people with few
12120 resources (not big schools, but academies for example) would have switched
12121 or dropped.&lt;/p&gt;
12122
12123 &lt;p&gt;It&#39;s amazing how such a complex system like Debian Edu has achieved
12124 this out-of-the-box state. Even though tweaking without breaking gets
12125 more difficult, as more factors have to be considered. This can
12126 discourage many people too.&lt;/p&gt;
12127
12128 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
12129
12130 &lt;p&gt;I use Debian, Firefox, Okular, Inkscape, LibreOffice and
12131 Virtualbox.&lt;/p&gt;
12132
12133
12134 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
12135 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
12136
12137 &lt;p&gt;I don&#39;t think there is a need for a particular strategy. The free
12138 attribute in both &quot;freedom&quot; and &quot;no price&quot; meanings is what will
12139 really bring free software to schools. In my experience I can think of
12140 the &lt;a href=&quot;http://www.r-project.org/&quot;&gt;&quot;R&quot; statistical language&lt;/a&gt;; a
12141 few years a ago was an extremely nerd tool for university people.
12142 Today it&#39;s being increasingly used to teach statistics at many
12143 different level of studies. I believe free and open software will
12144 increasingly gain popularity, but I&#39;m sure schools will be one of the
12145 first scenarios where this will happen.&lt;/p&gt;
12146 </description>
12147 </item>
12148
12149 <item>
12150 <title>Public Trusted Timestamping services for everyone</title>
12151 <link>http://people.skolelinux.org/pere/blog/Public_Trusted_Timestamping_services_for_everyone.html</link>
12152 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Public_Trusted_Timestamping_services_for_everyone.html</guid>
12153 <pubDate>Tue, 25 Mar 2014 12:50:00 +0100</pubDate>
12154 <description>&lt;p&gt;Did you ever need to store logs or other files in a way that would
12155 allow it to be used as evidence in court, and needed a way to
12156 demonstrate without reasonable doubt that the file had not been
12157 changed since it was created? Or, did you ever need to document that
12158 a given document was received at some point in time, like some
12159 archived document or the answer to an exam, and not changed after it
12160 was received? The problem in these settings is to remove the need to
12161 trust yourself and your computers, while still being able to prove
12162 that a file is the same as it was at some given time in the past.&lt;/p&gt;
12163
12164 &lt;p&gt;A solution to these problems is to have a trusted third party
12165 &quot;stamp&quot; the document and verify that at some given time the document
12166 looked a given way. Such
12167 &lt;a href=&quot;https://en.wikipedia.org/wiki/Notarius&quot;&gt;notarius&lt;/a&gt; service
12168 have been around for thousands of years, and its digital equivalent is
12169 called a
12170 &lt;a href=&quot;http://en.wikipedia.org/wiki/Trusted_timestamping&quot;&gt;trusted
12171 timestamping service&lt;/a&gt;. &lt;a href=&quot;http://www.ietf.org/&quot;&gt;The Internet
12172 Engineering Task Force&lt;/a&gt; standardised how such service could work a
12173 few years ago as &lt;a href=&quot;http://tools.ietf.org/html/rfc3161&quot;&gt;RFC
12174 3161&lt;/a&gt;. The mechanism is simple. Create a hash of the file in
12175 question, send it to a trusted third party which add a time stamp to
12176 the hash and sign the result with its private key, and send back the
12177 signed hash + timestamp. Both email, FTP and HTTP can be used to
12178 request such signature, depending on what is provided by the service
12179 used. Anyone with the document and the signature can then verify that
12180 the document matches the signature by creating their own hash and
12181 checking the signature using the trusted third party public key.
12182 There are several commercial services around providing such
12183 timestamping. A quick search for
12184 &quot;&lt;a href=&quot;https://duckduckgo.com/?q=rfc+3161+service&quot;&gt;rfc 3161
12185 service&lt;/a&gt;&quot; pointed me to at least
12186 &lt;a href=&quot;https://www.digistamp.com/technical/how-a-digital-time-stamp-works/&quot;&gt;DigiStamp&lt;/a&gt;,
12187 &lt;a href=&quot;http://www.quovadisglobal.co.uk/CertificateServices/SigningServices/TimeStamp.aspx&quot;&gt;Quo
12188 Vadis&lt;/a&gt;,
12189 &lt;a href=&quot;https://www.globalsign.com/timestamp-service/&quot;&gt;Global Sign&lt;/a&gt;
12190 and &lt;a href=&quot;http://www.globaltrustfinder.com/TSADefault.aspx&quot;&gt;Global
12191 Trust Finder&lt;/a&gt;. The system work as long as the private key of the
12192 trusted third party is not compromised.&lt;/p&gt;
12193
12194 &lt;p&gt;But as far as I can tell, there are very few public trusted
12195 timestamp services available for everyone. I&#39;ve been looking for one
12196 for a while now. But yesterday I found one over at
12197 &lt;a href=&quot;https://www.pki.dfn.de/zeitstempeldienst/&quot;&gt;Deutches
12198 Forschungsnetz&lt;/a&gt; mentioned in
12199 &lt;a href=&quot;http://www.d-mueller.de/blog/dealing-with-trusted-timestamps-in-php-rfc-3161/&quot;&gt;a
12200 blog by David Müller&lt;/a&gt;. I then found
12201 &lt;a href=&quot;http://www.rz.uni-greifswald.de/support/dfn-pki-zertifikate/zeitstempeldienst.html&quot;&gt;a
12202 good recipe on how to use the service&lt;/a&gt; over at the University of
12203 Greifswald.&lt;/p&gt;
12204
12205 &lt;p&gt;&lt;a href=&quot;http://www.openssl.org/&quot;&gt;The OpenSSL library&lt;/a&gt; contain
12206 both server and tools to use and set up your own signing service. See
12207 the ts(1SSL), tsget(1SSL) manual pages for more details. The
12208 following shell script demonstrate how to extract a signed timestamp
12209 for any file on the disk in a Debian environment:&lt;/p&gt;
12210
12211 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
12212 #!/bin/sh
12213 set -e
12214 url=&quot;http://zeitstempel.dfn.de&quot;
12215 caurl=&quot;https://pki.pca.dfn.de/global-services-ca/pub/cacert/chain.txt&quot;
12216 reqfile=$(mktemp -t tmp.XXXXXXXXXX.tsq)
12217 resfile=$(mktemp -t tmp.XXXXXXXXXX.tsr)
12218 cafile=chain.txt
12219 if [ ! -f $cafile ] ; then
12220 wget -O $cafile &quot;$caurl&quot;
12221 fi
12222 openssl ts -query -data &quot;$1&quot; -cert | tee &quot;$reqfile&quot; \
12223 | /usr/lib/ssl/misc/tsget -h &quot;$url&quot; -o &quot;$resfile&quot;
12224 openssl ts -reply -in &quot;$resfile&quot; -text 1&gt;&amp;2
12225 openssl ts -verify -data &quot;$1&quot; -in &quot;$resfile&quot; -CAfile &quot;$cafile&quot; 1&gt;&amp;2
12226 base64 &lt; &quot;$resfile&quot;
12227 rm &quot;$reqfile&quot; &quot;$resfile&quot;
12228 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
12229
12230 &lt;p&gt;The argument to the script is the file to timestamp, and the output
12231 is a base64 encoded version of the signature to STDOUT and details
12232 about the signature to STDERR. Note that due to
12233 &lt;a href=&quot;http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=742553&quot;&gt;a bug
12234 in the tsget script&lt;/a&gt;, you might need to modify the included script
12235 and remove the last line. Or just write your own HTTP uploader using
12236 curl. :) Now you too can prove and verify that files have not been
12237 changed.&lt;/p&gt;
12238
12239 &lt;p&gt;But the Internet need more public trusted timestamp services.
12240 Perhaps something for &lt;a href=&quot;http://www.uninett.no/&quot;&gt;Uninett&lt;/a&gt; or
12241 my work place the &lt;a href=&quot;http://www.uio.no/&quot;&gt;University of Oslo&lt;/a&gt;
12242 to set up?&lt;/p&gt;
12243 </description>
12244 </item>
12245
12246 <item>
12247 <title>Video DVD reader library / python-dvdvideo - nice free software</title>
12248 <link>http://people.skolelinux.org/pere/blog/Video_DVD_reader_library___python_dvdvideo___nice_free_software.html</link>
12249 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Video_DVD_reader_library___python_dvdvideo___nice_free_software.html</guid>
12250 <pubDate>Fri, 21 Mar 2014 15:25:00 +0100</pubDate>
12251 <description>&lt;p&gt;Keeping your DVD collection safe from scratches and curious
12252 children fingers while still having it available when you want to see a
12253 movie is not straight forward. My preferred method at the moment is
12254 to store a full copy of the ISO on a hard drive, and use VLC, Popcorn
12255 Hour or other useful players to view the resulting file. This way the
12256 subtitles and bonus material are still available and using the ISO is
12257 just like inserting the original DVD record in the DVD player.&lt;/p&gt;
12258
12259 &lt;p&gt;Earlier I used dd for taking security copies, but it do not handle
12260 DVDs giving read errors (which are quite a few of them). I&#39;ve also
12261 tried using
12262 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Ripping_problematic_DVDs_using_dvdbackup_and_genisoimage.html&quot;&gt;dvdbackup
12263 and genisoimage&lt;/a&gt;, but these days I use the marvellous python library
12264 and program
12265 &lt;a href=&quot;http://bblank.thinkmo.de/blog/new-software-python-dvdvideo&quot;&gt;python-dvdvideo&lt;/a&gt;
12266 written by Bastian Blank. It is
12267 &lt;a href=&quot;http://packages.qa.debian.org/p/python-dvdvideo.html&quot;&gt;in Debian
12268 already&lt;/a&gt; and the binary package name is python3-dvdvideo. Instead
12269 of trying to read every block from the DVD, it parses the file
12270 structure and figure out which block on the DVD is actually in used,
12271 and only read those blocks from the DVD. This work surprisingly well,
12272 and I have been able to almost backup my entire DVD collection using
12273 this method.&lt;/p&gt;
12274
12275 &lt;p&gt;So far, python-dvdvideo have failed on between 10 and
12276 20 DVDs, which is a small fraction of my collection. The most common
12277 problem is
12278 &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=720831&quot;&gt;DVDs
12279 using UTF-16 instead of UTF-8 characters&lt;/a&gt;, which according to
12280 Bastian is against the DVD specification (and seem to cause some
12281 players to fail too). A rarer problem is what seem to be inconsistent
12282 DVD structures, as the python library
12283 &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=723079&quot;&gt;claim
12284 there is a overlap between objects&lt;/a&gt;. An equally rare problem claim
12285 &lt;a href=&quot;https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=741878&quot;&gt;some
12286 value is out of range&lt;/a&gt;. No idea what is going on there. I wish I
12287 knew enough about the DVD format to fix these, to ensure my movie
12288 collection will stay with me in the future.&lt;/p&gt;
12289
12290 &lt;p&gt;So, if you need to keep your DVDs safe, back them up using
12291 python-dvdvideo. :)&lt;/p&gt;
12292 </description>
12293 </item>
12294
12295 <item>
12296 <title>Freedombox on Dreamplug, Raspberry Pi and virtual x86 machine</title>
12297 <link>http://people.skolelinux.org/pere/blog/Freedombox_on_Dreamplug__Raspberry_Pi_and_virtual_x86_machine.html</link>
12298 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Freedombox_on_Dreamplug__Raspberry_Pi_and_virtual_x86_machine.html</guid>
12299 <pubDate>Fri, 14 Mar 2014 11:00:00 +0100</pubDate>
12300 <description>&lt;p&gt;The &lt;a href=&quot;https://wiki.debian.org/FreedomBox&quot;&gt;Freedombox
12301 project&lt;/a&gt; is working on providing the software and hardware for
12302 making it easy for non-technical people to host their data and
12303 communication at home, and being able to communicate with their
12304 friends and family encrypted and away from prying eyes. It has been
12305 going on for a while, and is slowly progressing towards a new test
12306 release (0.2).&lt;/p&gt;
12307
12308 &lt;p&gt;And what day could be better than the Pi day to announce that the
12309 new version will provide &quot;hard drive&quot; / SD card / USB stick images for
12310 Dreamplug, Raspberry Pi and VirtualBox (or any other virtualization
12311 system), and can also be installed using a Debian installer preseed
12312 file. The Debian based Freedombox is now based on Debian Jessie,
12313 where most of the needed packages used are already present. Only one,
12314 the freedombox-setup package, is missing. To try to build your own
12315 boot image to test the current status, fetch the freedom-maker scripts
12316 and build using
12317 &lt;a href=&quot;http://packages.qa.debian.org/vmdebootstrap&quot;&gt;vmdebootstrap&lt;/a&gt;
12318 with a user with sudo access to become root:
12319
12320 &lt;pre&gt;
12321 git clone http://anonscm.debian.org/git/freedombox/freedom-maker.git \
12322 freedom-maker
12323 sudo apt-get install git vmdebootstrap mercurial python-docutils \
12324 mktorrent extlinux virtualbox qemu-user-static binfmt-support \
12325 u-boot-tools
12326 make -C freedom-maker dreamplug-image raspberry-image virtualbox-image
12327 &lt;/pre&gt;
12328
12329 &lt;p&gt;Root access is needed to run debootstrap and mount loopback
12330 devices. See the README for more details on the build. If you do not
12331 want all three images, trim the make line. But note that thanks to &lt;a
12332 href=&quot;https://bugs.debian.org/741407&quot;&gt;a race condition in
12333 vmdebootstrap&lt;/a&gt;, the build might fail without the patch to the
12334 kpartx call.&lt;/p&gt;
12335
12336 &lt;p&gt;If you instead want to install using a Debian CD and the preseed
12337 method, boot a Debian Wheezy ISO and use this boot argument to load
12338 the preseed values:&lt;/p&gt;
12339
12340 &lt;pre&gt;
12341 url=&lt;a href=&quot;http://www.reinholdtsen.name/freedombox/preseed-jessie.dat&quot;&gt;http://www.reinholdtsen.name/freedombox/preseed-jessie.dat&lt;/a&gt;
12342 &lt;/pre&gt;
12343
12344 &lt;p&gt;But note that due to &lt;a href=&quot;https://bugs.debian.org/740673&quot;&gt;a
12345 recently introduced bug in apt in Jessie&lt;/a&gt;, the installer will
12346 currently hang while setting up APT sources. Killing the
12347 &#39;&lt;tt&gt;apt-cdrom ident&lt;/tt&gt;&#39; process when it hang a few times during the
12348 installation will get the installation going. This affect all
12349 installations in Jessie, and I expect it will be fixed soon.&lt;/p&gt;
12350
12351 &lt;p&gt;Give it a go and let us know how it goes on the mailing list, and help
12352 us get the new release published. :) Please join us on
12353 &lt;a href=&quot;irc://irc.debian.org:6667/%23freedombox&quot;&gt;IRC (#freedombox on
12354 irc.debian.org)&lt;/a&gt; and
12355 &lt;a href=&quot;http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss&quot;&gt;the
12356 mailing list&lt;/a&gt; if you want to help make this vision come true.&lt;/p&gt;
12357 </description>
12358 </item>
12359
12360 <item>
12361 <title>How to add extra storage servers in Debian Edu / Skolelinux</title>
12362 <link>http://people.skolelinux.org/pere/blog/How_to_add_extra_storage_servers_in_Debian_Edu___Skolelinux.html</link>
12363 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_add_extra_storage_servers_in_Debian_Edu___Skolelinux.html</guid>
12364 <pubDate>Wed, 12 Mar 2014 12:50:00 +0100</pubDate>
12365 <description>&lt;p&gt;On larger sites, it is useful to use a dedicated storage server for
12366 storing user home directories and data. The design for handling this
12367 in &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt;, is
12368 to update the automount rules in LDAP and let the automount daemon on
12369 the clients take care of the rest. I was reminded about the need to
12370 document this better when one of the customers of
12371 &lt;a href=&quot;http://www.slxdrift.no/&quot;&gt;Skolelinux Drift AS&lt;/a&gt;, where I am
12372 on the board of directors, asked about how to do this. The steps to
12373 get this working are the following:&lt;/p&gt;
12374
12375 &lt;p&gt;&lt;ol&gt;
12376
12377 &lt;li&gt;Add new storage server in DNS. I use nas-server.intern as the
12378 example host here.&lt;/li&gt;
12379
12380 &lt;li&gt;Add automoun LDAP information about this server in LDAP, to allow
12381 all clients to automatically mount it on reqeust.&lt;/li&gt;
12382
12383 &lt;li&gt;Add the relevant entries in tjener.intern:/etc/fstab, because
12384 tjener.intern do not use automount to avoid mounting loops.&lt;/li&gt;
12385
12386 &lt;/ol&gt;&lt;/p&gt;
12387
12388 &lt;p&gt;DNS entries are added in GOsa², and not described here. Follow the
12389 &lt;a href=&quot;https://wiki.debian.org/DebianEdu/Documentation/Wheezy/GettingStarted&quot;&gt;instructions
12390 in the manual&lt;/a&gt; (Machine Management with GOsa² in section Getting
12391 started).&lt;/p&gt;
12392
12393 &lt;p&gt;Ensure that the NFS export points on the server are exported to the
12394 relevant subnets or machines:&lt;/p&gt;
12395
12396 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
12397 root@tjener:~# showmount -e nas-server
12398 Export list for nas-server:
12399 /storage 10.0.0.0/8
12400 root@tjener:~#
12401 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
12402
12403 &lt;p&gt;Here everything on the backbone network is granted access to the
12404 /storage export. With NFSv3 it is slightly better to limit it to
12405 netgroup membership or single IP addresses to have some limits on the
12406 NFS access.&lt;/p&gt;
12407
12408 &lt;p&gt;The next step is to update LDAP. This can not be done using GOsa²,
12409 because it lack a module for automount. Instead, use ldapvi and add
12410 the required LDAP objects using an editor.&lt;/p&gt;
12411
12412 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
12413 ldapvi --ldap-conf -ZD &#39;(cn=admin)&#39; -b ou=automount,dc=skole,dc=skolelinux,dc=no
12414 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
12415
12416 &lt;p&gt;When the editor show up, add the following LDAP objects at the
12417 bottom of the document. The &quot;/&amp;&quot; part in the last LDAP object is a
12418 wild card matching everything the nas-server exports, removing the
12419 need to list individual mount points in LDAP.&lt;/p&gt;
12420
12421 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
12422 add cn=nas-server,ou=auto.skole,ou=automount,dc=skole,dc=skolelinux,dc=no
12423 objectClass: automount
12424 cn: nas-server
12425 automountInformation: -fstype=autofs --timeout=60 ldap:ou=auto.nas-server,ou=automount,dc=skole,dc=skolelinux,dc=no
12426
12427 add ou=auto.nas-server,ou=automount,dc=skole,dc=skolelinux,dc=no
12428 objectClass: top
12429 objectClass: automountMap
12430 ou: auto.nas-server
12431
12432 add cn=/,ou=auto.nas-server,ou=automount,dc=skole,dc=skolelinux,dc=no
12433 objectClass: automount
12434 cn: /
12435 automountInformation: -fstype=nfs,tcp,rsize=32768,wsize=32768,rw,intr,hard,nodev,nosuid,noatime nas-server.intern:/&amp;
12436 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
12437
12438 &lt;p&gt;The last step to remember is to mount the relevant mount points in
12439 tjener.intern by adding them to /etc/fstab, creating the mount
12440 directories using mkdir and running &quot;mount -a&quot; to mount them.&lt;/p&gt;
12441
12442 &lt;p&gt;When this is done, your users should be able to access the files on
12443 the storage server directly by just visiting the
12444 /tjener/nas-server/storage/ directory using any application on any
12445 workstation, LTSP client or LTSP server.&lt;/p&gt;
12446 </description>
12447 </item>
12448
12449 <item>
12450 <title>New home and release 1.0 for netgroup and innetgr (aka ng-utils)</title>
12451 <link>http://people.skolelinux.org/pere/blog/New_home_and_release_1_0_for_netgroup_and_innetgr__aka_ng_utils_.html</link>
12452 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/New_home_and_release_1_0_for_netgroup_and_innetgr__aka_ng_utils_.html</guid>
12453 <pubDate>Sat, 22 Feb 2014 21:45:00 +0100</pubDate>
12454 <description>&lt;p&gt;Many years ago, I wrote a GPL licensed version of the netgroup and
12455 innetgr tools, because I needed them in
12456 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Skolelinux&lt;/a&gt;. I called the project
12457 ng-utils, and it has served me well. I placed the project under the
12458 &lt;a href=&quot;http://www.hungry.com/&quot;&gt;Hungry Programmer&lt;/a&gt; umbrella, and it was maintained in our CVS
12459 repository. But many years ago, the CVS repository was dropped (lost,
12460 not migrated to new hardware, not sure), and the project have lacked a
12461 proper home since then.&lt;/p&gt;
12462
12463 &lt;p&gt;Last summer, I had a look at the package and made a new release
12464 fixing a irritating crash bug, but was unable to store the changes in
12465 a proper source control system. I applied for a project on
12466 &lt;a href=&quot;https://alioth.debian.org/&quot;&gt;Alioth&lt;/a&gt;, but did not have time
12467 to follow up on it. Until today. :)&lt;/p&gt;
12468
12469 &lt;p&gt;After many hours of cleaning and migration, the ng-utils project
12470 now have a new home, and a git repository with the highlight of the
12471 history of the project. I published all release tarballs and imported
12472 them into the git repository. As the project is really stable and not
12473 expected to gain new features any time soon, I decided to make a new
12474 release and call it 1.0. Visit the new project home on
12475 &lt;a href=&quot;https://alioth.debian.org/projects/ng-utils/&quot;&gt;https://alioth.debian.org/projects/ng-utils/&lt;/a&gt;
12476 if you want to check it out. The new version is also uploaded into
12477 &lt;a href=&quot;http://packages.qa.debian.org/n/ng-utils.html&quot;&gt;Debian Unstable&lt;/a&gt;.&lt;/p&gt;
12478 </description>
12479 </item>
12480
12481 <item>
12482 <title>Testing sysvinit from experimental in Debian Hurd</title>
12483 <link>http://people.skolelinux.org/pere/blog/Testing_sysvinit_from_experimental_in_Debian_Hurd.html</link>
12484 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Testing_sysvinit_from_experimental_in_Debian_Hurd.html</guid>
12485 <pubDate>Mon, 3 Feb 2014 13:40:00 +0100</pubDate>
12486 <description>&lt;p&gt;A few days ago I decided to try to help the Hurd people to get
12487 their changes into sysvinit, to allow them to use the normal sysvinit
12488 boot system instead of their old one. This follow up on the
12489 &lt;a href=&quot;https://teythoon.cryptobitch.de//categories/gsoc.html&quot;&gt;great
12490 Google Summer of Code work&lt;/a&gt; done last summer by Justus Winter to
12491 get Debian on Hurd working more like Debian on Linux. To get started,
12492 I downloaded a prebuilt hard disk image from
12493 &lt;a href=&quot;http://ftp.debian-ports.org/debian-cd/hurd-i386/current/debian-hurd.img.tar.gz&quot;&gt;http://ftp.debian-ports.org/debian-cd/hurd-i386/current/debian-hurd.img.tar.gz&lt;/a&gt;,
12494 and started it using virt-manager.&lt;/p&gt;
12495
12496 &lt;p&gt;The first think I had to do after logging in (root without any
12497 password) was to get the network operational. I followed
12498 &lt;a href=&quot;https://www.debian.org/ports/hurd/hurd-install&quot;&gt;the
12499 instructions on the Debian GNU/Hurd ports page&lt;/a&gt; and ran these
12500 commands as root to get the machine to accept a IP address from the
12501 kvm internal DHCP server:&lt;/p&gt;
12502
12503 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
12504 settrans -fgap /dev/netdde /hurd/netdde
12505 kill $(ps -ef|awk &#39;/[p]finet/ { print $2}&#39;)
12506 kill $(ps -ef|awk &#39;/[d]evnode/ { print $2}&#39;)
12507 dhclient /dev/eth0
12508 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
12509
12510 &lt;p&gt;After this, the machine had internet connectivity, and I could
12511 upgrade it and install the sysvinit packages from experimental and
12512 enable it as the default boot system in Hurd.&lt;/p&gt;
12513
12514 &lt;p&gt;But before I did that, I set a password on the root user, as ssh is
12515 running on the machine it for ssh login to work a password need to be
12516 set. Also, note that a bug somewhere in openssh on Hurd block
12517 compression from working. Remember to turn that off on the client
12518 side.&lt;/p&gt;
12519
12520 &lt;p&gt;Run these commands as root to upgrade and test the new sysvinit
12521 stuff:&lt;/p&gt;
12522
12523 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
12524 cat &gt; /etc/apt/sources.list.d/experimental.list &amp;lt;&amp;lt;EOF
12525 deb http://http.debian.net/debian/ experimental main
12526 EOF
12527 apt-get update
12528 apt-get dist-upgrade
12529 apt-get install -t experimental initscripts sysv-rc sysvinit \
12530 sysvinit-core sysvinit-utils
12531 update-alternatives --config runsystem
12532 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
12533
12534 &lt;p&gt;To reboot after switching boot system, you have to use
12535 &lt;tt&gt;reboot-hurd&lt;/tt&gt; instead of just &lt;tt&gt;reboot&lt;/tt&gt;, as there is not
12536 yet a sysvinit process able to receive the signals from the normal
12537 &#39;reboot&#39; command. After switching to sysvinit as the boot system,
12538 upgrading every package and rebooting, the network come up with DHCP
12539 after boot as it should, and the settrans/pkill hack mentioned at the
12540 start is no longer needed. But for some strange reason, there are no
12541 longer any login prompt in the virtual console, so I logged in using
12542 ssh instead.
12543
12544 &lt;p&gt;Note that there are some race conditions in Hurd making the boot
12545 fail some times. No idea what the cause is, but hope the Hurd porters
12546 figure it out. At least Justus said on IRC (#debian-hurd on
12547 irc.debian.org) that they are aware of the problem. A way to reduce
12548 the impact is to upgrade to the Hurd packages built by Justus by
12549 adding this repository to the machine:&lt;/p&gt;
12550
12551 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
12552 cat &gt; /etc/apt/sources.list.d/hurd-ci.list &amp;lt;&amp;lt;EOF
12553 deb http://darnassus.sceen.net/~teythoon/hurd-ci/ sid main
12554 EOF
12555 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
12556
12557 &lt;p&gt;At the moment the prebuilt virtual machine get some packages from
12558 http://ftp.debian-ports.org/debian, because some of the packages in
12559 unstable do not yet include the required patches that are lingering in
12560 BTS. This is the completely list of &quot;unofficial&quot; packages installed:&lt;/p&gt;
12561
12562 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
12563 # aptitude search &#39;?narrow(?version(CURRENT),?origin(Debian Ports))&#39;
12564 i emacs - GNU Emacs editor (metapackage)
12565 i gdb - GNU Debugger
12566 i hurd-recommended - Miscellaneous translators
12567 i isc-dhcp-client - ISC DHCP client
12568 i isc-dhcp-common - common files used by all the isc-dhcp* packages
12569 i libc-bin - Embedded GNU C Library: Binaries
12570 i libc-dev-bin - Embedded GNU C Library: Development binaries
12571 i libc0.3 - Embedded GNU C Library: Shared libraries
12572 i A libc0.3-dbg - Embedded GNU C Library: detached debugging symbols
12573 i libc0.3-dev - Embedded GNU C Library: Development Libraries and Hea
12574 i multiarch-support - Transitional package to ensure multiarch compatibilit
12575 i A x11-common - X Window System (X.Org) infrastructure
12576 i xorg - X.Org X Window System
12577 i A xserver-xorg - X.Org X server
12578 i A xserver-xorg-input-all - X.Org X server -- input driver metapackage
12579 #
12580 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
12581
12582 &lt;p&gt;All in all, testing hurd has been an interesting experience. :)
12583 X.org did not work out of the box and I never took the time to follow
12584 the porters instructions to fix it. This time I was interested in the
12585 command line stuff.&lt;p&gt;
12586 </description>
12587 </item>
12588
12589 <item>
12590 <title>A fist full of non-anonymous Bitcoins</title>
12591 <link>http://people.skolelinux.org/pere/blog/A_fist_full_of_non_anonymous_Bitcoins.html</link>
12592 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_fist_full_of_non_anonymous_Bitcoins.html</guid>
12593 <pubDate>Wed, 29 Jan 2014 14:10:00 +0100</pubDate>
12594 <description>&lt;p&gt;Bitcoin is a incredible use of peer to peer communication and
12595 encryption, allowing direct and immediate money transfer without any
12596 central control. It is sometimes claimed to be ideal for illegal
12597 activity, which I believe is quite a long way from the truth. At least
12598 I would not conduct illegal money transfers using a system where the
12599 details of every transaction are kept forever. This point is
12600 investigated in
12601 &lt;a href=&quot;https://www.usenix.org/publications/login&quot;&gt;USENIX ;login:&lt;/a&gt;
12602 from December 2013, in the article
12603 &quot;&lt;a href=&quot;https://www.usenix.org/system/files/login/articles/03_meiklejohn-online.pdf&quot;&gt;A
12604 Fistful of Bitcoins - Characterizing Payments Among Men with No
12605 Names&lt;/a&gt;&quot; by Sarah Meiklejohn, Marjori Pomarole,Grant Jordan, Kirill
12606 Levchenko, Damon McCoy, Geoffrey M. Voelker, and Stefan Savage. They
12607 analyse the transaction log in the Bitcoin system, using it to find
12608 addresses belong to individuals and organisations and follow the flow
12609 of money from both Bitcoin theft and trades on Silk Road to where the
12610 money end up. This is how they wrap up their article:&lt;/p&gt;
12611
12612 &lt;p&gt;&lt;blockquote&gt;
12613 &lt;p&gt;&quot;To demonstrate the usefulness of this type of analysis, we turned
12614 our attention to criminal activity. In the Bitcoin economy, criminal
12615 activity can appear in a number of forms, such as dealing drugs on
12616 Silk Road or simply stealing someone else’s bitcoins. We followed the
12617 flow of bitcoins out of Silk Road (in particular, from one notorious
12618 address) and from a number of highly publicized thefts to see whether
12619 we could track the bitcoins to known services. Although some of the
12620 thieves attempted to use sophisticated mixing techniques (or possibly
12621 mix services) to obscure the flow of bitcoins, for the most part
12622 tracking the bitcoins was quite straightforward, and we ultimately saw
12623 large quantities of bitcoins flow to a variety of exchanges directly
12624 from the point of theft (or the withdrawal from Silk Road).&lt;/p&gt;
12625
12626 &lt;p&gt;As acknowledged above, following stolen bitcoins to the point at
12627 which they are deposited into an exchange does not in itself identify
12628 the thief; however, it does enable further de-anonymization in the
12629 case in which certain agencies can determine (through, for example,
12630 subpoena power) the real-world owner of the account into which the
12631 stolen bitcoins were deposited. Because such exchanges seem to serve
12632 as chokepoints into and out of the Bitcoin economy (i.e., there are
12633 few alternative ways to cash out), we conclude that using Bitcoin for
12634 money laundering or other illicit purposes does not (at least at
12635 present) seem to be particularly attractive.&quot;&lt;/p&gt;
12636 &lt;/blockquote&gt;&lt;p&gt;
12637
12638 &lt;p&gt;These researches are not the first to analyse the Bitcoin
12639 transaction log. The 2011 paper
12640 &quot;&lt;a href=&quot;http://arxiv.org/abs/1107.4524&quot;&gt;An Analysis of Anonymity in
12641 the Bitcoin System&lt;/A&gt;&quot; by Fergal Reid and Martin Harrigan is
12642 summarized like this:&lt;/p&gt;
12643
12644 &lt;p&gt;&lt;blockquote&gt;
12645 &quot;Anonymity in Bitcoin, a peer-to-peer electronic currency system, is a
12646 complicated issue. Within the system, users are identified by
12647 public-keys only. An attacker wishing to de-anonymize its users will
12648 attempt to construct the one-to-many mapping between users and
12649 public-keys and associate information external to the system with the
12650 users. Bitcoin tries to prevent this attack by storing the mapping of
12651 a user to his or her public-keys on that user&#39;s node only and by
12652 allowing each user to generate as many public-keys as required. In
12653 this chapter we consider the topological structure of two networks
12654 derived from Bitcoin&#39;s public transaction history. We show that the
12655 two networks have a non-trivial topological structure, provide
12656 complementary views of the Bitcoin system and have implications for
12657 anonymity. We combine these structures with external information and
12658 techniques such as context discovery and flow analysis to investigate
12659 an alleged theft of Bitcoins, which, at the time of the theft, had a
12660 market value of approximately half a million U.S. dollars.&quot;
12661 &lt;/blockquote&gt;&lt;/p&gt;
12662
12663 &lt;p&gt;I hope these references can help kill the urban myth that Bitcoin
12664 is anonymous. It isn&#39;t really a good fit for illegal activites. Use
12665 cash if you need to stay anonymous, at least until regular DNA
12666 sampling of notes and coins become the norm. :)&lt;/p&gt;
12667
12668 &lt;p&gt;As usual, if you use Bitcoin and want to show your support of my
12669 activities, please send Bitcoin donations to my address
12670 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
12671 </description>
12672 </item>
12673
12674 <item>
12675 <title>New chrpath release 0.16</title>
12676 <link>http://people.skolelinux.org/pere/blog/New_chrpath_release_0_16.html</link>
12677 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/New_chrpath_release_0_16.html</guid>
12678 <pubDate>Tue, 14 Jan 2014 11:00:00 +0100</pubDate>
12679 <description>&lt;p&gt;&lt;a href=&quot;http://www.coverity.com/&quot;&gt;Coverity&lt;/a&gt; is a nice tool to
12680 find problems in C, C++ and Java code using static source code
12681 analysis. It can detect a lot of different problems, and is very
12682 useful to find memory and locking bugs in the error handling part of
12683 the source. The company behind it provide
12684 &lt;a href=&quot;https://scan.coverity.com/&quot;&gt;check of free software projects as
12685 a community service&lt;/a&gt;, and many hundred free software projects are
12686 already checked. A few days ago I decided to have a closer look at
12687 the Coverity system, and discovered that the
12688 &lt;a href=&quot;http://www.gnu.org/software/gnash/&quot;&gt;gnash&lt;/a&gt; and
12689 &lt;a href=&quot;http://sourceforge.net/projects/ipmitool/&quot;&gt;ipmitool&lt;/a&gt;
12690 projects I am involved with was already registered. But these are
12691 fairly big, and I would also like to have a small and easy project to
12692 check, and decided to &lt;a href=&quot;http://scan.coverity.com/projects/1179&quot;&gt;request
12693 checking of the chrpath project&lt;/a&gt;. It was
12694 added to the checker and discovered seven potential defects. Six of
12695 these were real, mostly resource &quot;leak&quot; when the program detected an
12696 error. Nothing serious, as the resources would be released a fraction
12697 of a second later when the program exited because of the error, but it
12698 is nice to do it right in case the source of the program some time in
12699 the future end up in a library. Having fixed all defects and added
12700 &lt;a href=&quot;https://lists.alioth.debian.org/mailman/listinfo/chrpath-devel&quot;&gt;a
12701 mailing list for the chrpath developers&lt;/a&gt;, I decided it was time to
12702 publish a new release. These are the release notes:&lt;/p&gt;
12703
12704 &lt;p&gt;New in 0.16 released 2014-01-14:&lt;/p&gt;
12705
12706 &lt;ul&gt;
12707
12708 &lt;li&gt;Fixed all minor bugs discovered by Coverity.&lt;/li&gt;
12709 &lt;li&gt;Updated config.sub and config.guess from the GNU project.&lt;/li&gt;
12710 &lt;li&gt;Mention new project mailing list in the documentation.&lt;/li&gt;
12711
12712 &lt;/ul&gt;
12713
12714 &lt;p&gt;You can
12715 &lt;a href=&quot;https://alioth.debian.org/frs/?group_id=31052&quot;&gt;download the
12716 new version 0.16 from alioth&lt;/a&gt;. Please let us know via the Alioth
12717 project if something is wrong with the new release. The test suite
12718 did not discover any old errors, so if you find a new one, please also
12719 include a test suite check.&lt;/p&gt;
12720 </description>
12721 </item>
12722
12723 <item>
12724 <title>Debian Edu interview: Dominik George</title>
12725 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Dominik_George.html</link>
12726 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Dominik_George.html</guid>
12727 <pubDate>Wed, 25 Dec 2013 13:40:00 +0100</pubDate>
12728 <description>&lt;p&gt;The &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux
12729 project&lt;/a&gt; consist of both newcomers and old timers, and this time I
12730 was able to get an interview with a newcomer in the project who showed
12731 up on the IRC channel a few weeks ago to let us know about his
12732 successful installation of Debian Edu Wheezy in his School. Say hello
12733 to &lt;a href=&quot;https://www.ohloh.net/accounts/Natureshadow&quot;&gt;Dominik
12734 George&lt;/a&gt;.&lt;/p&gt;
12735
12736 &lt;!-- http://www.dominik-george.de/images/foto.jpg --&gt;
12737
12738 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
12739
12740 &lt;p&gt;I am a 23 year-old student from Germany who has spent half of his
12741 life with open source. In &quot;real life&quot;, I am, as already mentioned, a
12742 student in the fields of Computer Science, Electrical Engineering,
12743 Information Technologies and Anglistics. Due to my (only partially
12744 voluntary) huge engagement in the open source world, these things are
12745 a bit vacant right now however.&lt;/p&gt;
12746
12747 &lt;p&gt;I also have been working as a project teacher at a Gymasnium
12748 (public school) for various years now. I took up that work some time
12749 around 2005 when still attending that school myself and have continued
12750 it until today. I also had been running the (kind of very advanced)
12751 network of that school together with a team of very interested and
12752 talented students in the age of 11 to 15 years, who took the chance to
12753 learn a lot about open source and networking before I left the school
12754 to help building another school&#39;s informational education concept from
12755 scratch.&lt;/p&gt;
12756
12757 &lt;p&gt;That said, one might see me as a kind of &quot;glue&quot; between school kids
12758 and the elderly of teachers as well as between the open source
12759 ecosystem and the (even more complex) educational ecosystem.&lt;/p&gt;
12760
12761 &lt;p&gt;When I am not busy with open source or education, I like Geocaching
12762 and cycling.&lt;/p&gt;
12763
12764 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux / Debian Edu
12765 project?&lt;/strong&gt;&lt;/p&gt;
12766
12767 &lt;p&gt;I think that happened some time around 2009 when I first attended
12768 &lt;a href=&quot;http://www.froscon.org&quot;&gt;FrOSCon&lt;/a&gt; and visited the project
12769 booth. I think I wasn&#39;t too interested back then because I used to
12770 have an attitude of disliking software that does too much stuff on its
12771 own. Maybe I was too inexperienced to realise the upsides of an
12772 &quot;out-of-the-box&quot; solution ;).&lt;/p&gt;
12773
12774 &lt;p&gt;The first time I actively talked to Skolelinux people was at
12775 &lt;a href=&quot;http://www.openrheinruhr.de&quot;&gt;OpenRheinRuhr&lt;/a&gt; 2011 when the
12776 BiscuIT project, a home-grewn software used by my school for various
12777 really cool things from timetables and class contact lists to lunch
12778 ordering, student ID card printing and project elections first got to
12779 a stage where it could have been published. I asked the Skolelinux
12780 guys running the booth if the project were interested in it and gave a
12781 small demonstration, but there wasn&#39;t any real feedback and the guys
12782 seemed rather uninterested.&lt;/p&gt;
12783
12784 &lt;p&gt;After I left the school where I developed the software, it got
12785 mostly lost, but I am now reimplementing it for my new school. I have
12786 reusability and compatibility in mind, and I hop there will be a new
12787 basis for contributing it to the Skolelinux project ;)!&lt;/p&gt;
12788
12789 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux / Debian
12790 Edu?&lt;/strong&gt;&lt;/p&gt;
12791
12792 &lt;p&gt;The most important advantage seems to be that it &quot;just
12793 works&quot;. After overcoming some minor (but still very annoying) glitches
12794 in the installer, I got a fully functional, working school network,
12795 without the month-long hassle I experienced when setting all that up
12796 from scratch in earlier years. And above that, it rocked - I didn&#39;t
12797 have any real hardware at hand, because the school was just founded
12798 and has no money whatsoever, so I installed a combined server (main
12799 server, terminal services and workstation) in a VM on my personal
12800 notebook, bridging the LTSP network interface to the ethernet port,
12801 and then PXE-booted the Windows notebooks that were lying around from
12802 it. I could use 8 clients without any performance issues, by using a
12803 tiny little VM on a tiny little notebook. I think that&#39;s enough to say
12804 that it rocks!&lt;/p&gt;
12805
12806 &lt;p&gt;Secondly, there are marketing reasons. Life&#39;s bad, and so no
12807 politician will ever permit a setup described as &quot;Debian, an universal
12808 operating system, with some really cool educational tools&quot; while they
12809 will be jsut fine with &quot;Skolelinux, a single-purpose solution for your
12810 school network&quot;, even if both turn out to be the very same thing (yes,
12811 this is unfair towards the Skolelinux project, and must not be taken
12812 too seriously - you get the idea, anyway).&lt;/p&gt;
12813
12814 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux / Debian
12815 Edu?&lt;/strong&gt;&lt;/p&gt;
12816
12817 &lt;p&gt;I have not been involved with Skolelinux long enough to really
12818 answer this question in a fair way. Thus, please allow me to put it in
12819 other words: &quot;What do you expect from Skolelinux to keep liking it?&quot; I
12820 can list a few points about that:&lt;/p&gt;
12821
12822 &lt;ul&gt;
12823
12824 &lt;li&gt;always strive to get all things integrated into Debian upstream
12825 &lt;li&gt;be open to discussion about changes and the like, even with newcomers
12826 &lt;li&gt;be helpful at being helpful ;)
12827
12828 &lt;/ul&gt;
12829
12830 &lt;p&gt;I&#39;m really sorry I cannot say much more about that :(!&lt;/p&gt;
12831
12832 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
12833
12834 &lt;p&gt;First of all, all software I use is free and open. I have abandoned
12835 all non-free software (except for firmware on my darned phone) this
12836 year.&lt;/p&gt;
12837
12838 &lt;p&gt;I run Debian GNU/Linux on all PC systems I use. On that, I mostly
12839 run text tools. I use
12840 &lt;a href=&quot;https://www.mirbsd.org/mksh.htm&quot;&gt;mksh&lt;/a&gt; as shell,
12841 &lt;a href=&quot;https://www.mirbsd.org/jupp.htm&quot;&gt;jupp&lt;/a&gt; as very advanced
12842 text editor (I even got the developer to help me write a script/macro
12843 based full-featured student management software with the two),
12844 &lt;a href=&quot;http://mcabber.com/&quot;&gt;mcabber&lt;/a&gt; for XMPP and
12845 &lt;a href=&quot;http://www.irssi.org/&quot;&gt;irssi&lt;/a&gt; for IRC. For that overly
12846 coloured world called the WWW, I use
12847 &lt;a href=&quot;https://www.mozilla.org/en-US/firefox/new/&quot;&gt;Iceweasel
12848 (Firefox)&lt;/a&gt;. Oh, and &lt;a href=&quot;http://www.mutt.org/&quot;&gt;mutt&lt;/a&gt; for
12849 e-mail.&lt;/p&gt;
12850
12851 &lt;p&gt;However, while I am personally aware of the fact that text tools
12852 are more efficient and powerful than anything else, I also use (or at
12853 least operate) some tools that are suitable to bring open source to
12854 kids. One of these things is &lt;a href=&quot;http://jappix.org/&quot;&gt;Jappix&lt;/a&gt;,
12855 which I already introduced to some kids even before they got aware of
12856 Facebook, making them see for themselves that they do not need
12857 Facebook now ;).&lt;/p&gt;
12858
12859 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
12860 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
12861
12862 &lt;p&gt;Well, that&#39;s a two-sided thing. One side is what I believe, and one
12863 side is what I have experienced.&lt;/p&gt;
12864
12865 &lt;p&gt;I believe that the right strategy is showing them the benefits. But
12866 that won&#39;t work out as long as the acceptance of free alternatives
12867 grows globally. What I mean is that if all the kids are almost forced
12868 to use Windows, Facebook, Skype, you name it at home, they will not
12869 see why they would want to use alternatives at school. I have seen
12870 students take seat in front of a fully-functional, modern Debian
12871 desktop that could do anything their Windows at home could do, and
12872 they jsut refused to use it because &quot;Linux sucks&quot;. It is something
12873 that makes the council of our city spend around 600000 € to buy
12874 software - not including hardware, mind you - for operating school
12875 networks, and for installing a system that, as has been proved, does
12876 not work. For those of you readers who are good at maths, have you
12877 already found out how many lives could have been saved with that money
12878 if we had instead used it to bring education to parts of the world
12879 that need it? I have, and found it to be nothing less dramatic than
12880 plain criminal.&lt;/p&gt;
12881
12882 &lt;p&gt;That said, the only feasible way appears to be the bottom up
12883 method. We have to bring free software to kids and parents. I have
12884 founded an association named
12885 &lt;a href=&quot;https://www.teckids.org&quot;&gt;Teckids&lt;/a&gt; here in Germany that does
12886 just that. We organise several events for kids and adolescents in the
12887 area of free and open source software, for example the
12888 &lt;a href=&quot;http://kids.froscon.org&quot;&gt;FrogLabs&lt;/a&gt;, which share staff with
12889 Teckids and are the youth programme of
12890 &lt;a href=&quot;http://www.froscon.org&quot;&gt;the Free and Open Source Software
12891 Conference (FrOSCon)&lt;/a&gt;. We do a lot more than most other conferences
12892 - this year, we first offered the FrogLabs as a holiday camp for kids
12893 aged 10 to 16. It was a huge success, with approx. 30 kids taking part
12894 and learning with and about free software through a whole weekend. All
12895 of us had a lot of fun, and the results were really exciting.&lt;/p&gt;
12896
12897 &lt;p&gt;Apart from that, we are preparing a campaign that is supposed to bring
12898 the message of free alternatives to stuff kids use every day to them and
12899 their parents, e.g. the use of Jabber / Jappix instead of Facebook and
12900 Skype. To make that possible, we are planning to get together a team of
12901 clever kids who understand very well what their peers need and can bring
12902 it across to them. So we will have a peer-driven network of adolescents
12903 who teach each other and collect feedback from the community of minors.
12904 We then take that feedback and our own experience to work closely with
12905 open source projects, such as Skolelinux or Jappix, at improving their
12906 software in a way that makes it more and more attractive for the target
12907 group. At least I hope that we will have good cooperation with
12908 Skolelinux in the future ;)!&lt;/p&gt;
12909
12910 &lt;p&gt;So in conclusion, what I believe is that, if it weren&#39;t for the world
12911 being so bad, it should be very clear to the political decision makers
12912 that the only way to go nowadays is free software for various reasons,
12913 but I have learnt that the only way that seems to work is bottom up.&lt;/p&gt;
12914
12915 &lt;!--
12916
12917 &gt; * Who should be interviewed with this questions in the future?
12918
12919 That&#39;s probably the hardest question of them all, as I do not know the
12920 community. However, I would be willing to do the following:
12921
12922 &lt;li&gt;Run an interview with a German headteacher who is very open to
12923 free software, and also prefers it, but cannot really use it because
12924 of the decision makers above;
12925 &lt;li&gt;Run interviews with some kids, both with and without previous
12926 knowledge about free software
12927
12928 If that is wanted, just let me know ;).
12929
12930 --&gt;
12931 </description>
12932 </item>
12933
12934 <item>
12935 <title>Debian Edu interview: Klaus Knopper</title>
12936 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Klaus_Knopper.html</link>
12937 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Klaus_Knopper.html</guid>
12938 <pubDate>Fri, 6 Dec 2013 09:50:00 +0100</pubDate>
12939 <description>&lt;p&gt;It has been a while since I managed to publish the last interview,
12940 but the &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu /
12941 Skolelinux&lt;/a&gt; community is still going strong, and yesterday we even
12942 had a new school administrator show up on
12943 &lt;a href=&quot;irc://irc.debian.org/#debian-edu&quot;&gt;#debian-edu&lt;/a&gt; to share
12944 his success story with installing Debian Edu at their school. This
12945 time I have been able to get some helpful comments from the creator of
12946 Knoppix, Klaus Knopper, who was involved in a Skolelinux project in
12947 Germany a few years ago.&lt;/p&gt;
12948
12949 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
12950
12951 &lt;p&gt;I am Klaus Knopper. I have a master degree in electrical
12952 engineering, and is currently professor in information management at
12953 the university of applied sciences Kaiserslautern / Germany and
12954 freelance Open Source software developer and consultant.&lt;/p&gt;
12955
12956 &lt;p&gt;All of this is pretty much of the work I spend my days with. Apart
12957 from teaching, I&#39;m also conducting some more or less experimental
12958 projects like the &lt;a href=&quot;http://www.knoppix.org&quot;&gt;Knoppix GNU/Linux live
12959 system&lt;/a&gt; (Debian-based like Skolelinux),
12960 &lt;a href=&quot;http://www.knopper.net/knoppix-adriane/index-en.html&quot;&gt;ADRIANE&lt;/a&gt;
12961 (a blind-friendly talking desktop system) and
12962 &lt;a href=&quot;http://www.knopper.net/linbo/index-en.html&quot;&gt;LINBO&lt;/a&gt;
12963 (Linux-based network boot console, a fast remote install and repair
12964 system supporting various operating systems).&lt;/p&gt;
12965
12966 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux / Debian Edu
12967 project?&lt;/strong&gt;&lt;/p&gt;
12968
12969 &lt;p&gt;The credit for this have to go to Kurt Gramlich, who is the German
12970 coordinator for Skolelinux. We were looking for an all-in-one open
12971 source community-supported distribution for schools, and Kurt
12972 introduced us to Skolelinux for this purpose.&lt;/p&gt;
12973
12974 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux / Debian
12975 Edu?&lt;/strong&gt;&lt;/p&gt;
12976
12977 &lt;ul&gt;
12978 &lt;li&gt;Quick installation,&lt;/li&gt;
12979 &lt;li&gt;works (almost) out of the box,&lt;/li&gt;
12980 &lt;li&gt;contains many useful software packages for teaching and learning,&lt;/li&gt;
12981 &lt;li&gt;is a purely community-based distro and not controlled by a
12982 single company,&lt;/li&gt;
12983 &lt;li&gt;has a large number of supporters and teachers who share their
12984 experience and problem solutions.&lt;/li&gt;
12985 &lt;/ul&gt;
12986
12987 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux / Debian
12988 Edu?&lt;/strong&gt;&lt;/p&gt;
12989
12990 &lt;ul&gt;
12991 &lt;li&gt;Skolelinux is - as we had to learn - not easily upgradable to
12992 the next version. Opposed to its genuine Debian base, upgrading to
12993 a new version means a full new installation from scratch to get it
12994 working again reliably.
12995
12996 &lt;li&gt;Skolelinux is based on Debian/stable, and therefore always a
12997 little outdated in terms of program versions compared to Edubuntu or
12998 similar educational Linux distros, which rather use Debian/testing
12999 as their base.
13000
13001 &lt;li&gt;Skolelinux has some very self-opinionated and stubborn default
13002 configuration which in my opinion adds unnecessary complexity and is
13003 not always suitable for a schools needs, the preset network
13004 configuration is actually a core definition feature of Skolelinux
13005 and not easy to change, so schools sometimes have to change their
13006 network configuration to make it &quot;Skolelinux-compatible&quot;.
13007
13008 &lt;li&gt;Some proposed extensions, which were made available as
13009 contribution, like secure examination mode and lecture material
13010 distribution and collection, were not accepted into the mainline
13011 Skolelinux development and are now not easy to maintain in the
13012 future because of Skolelinux somewhat undeterministic update
13013 schemes.&lt;/li&gt;
13014
13015 &lt;li&gt;Skolelinux has only a very tiny number of base developers
13016 compared to Debian.&lt;/li&gt;
13017
13018 &lt;/ul&gt;
13019
13020 &lt;p&gt;For these reasons and experience from our project, I would now
13021 rather consider using plain Debian for schools next time, until
13022 Skolelinux is more closely integrated into Debian and becomes
13023 upgradeable without reinstallation.&lt;/p&gt;
13024
13025 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
13026
13027 &lt;p&gt;GNU/Linux with LXDE desktop, bash for interactive dialog and
13028 programming, texlive for documentation and correspondence,
13029 occasionally LibreOffice for document format conversion. Various
13030 programming languages for teaching.&lt;/p&gt;
13031
13032 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
13033 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
13034
13035 &lt;p&gt;Strong arguments are&lt;/p&gt;
13036
13037 &lt;ul&gt;
13038
13039 &lt;li&gt;Knowledge is free, and so should be methods and tools for
13040 teaching and learning.&lt;/li&gt;
13041
13042 &lt;li&gt;Students can learn with and use the same software at school, at
13043 home, and at their working place without running into license or
13044 conversion problems.&lt;/li&gt;
13045
13046 &lt;li&gt;Closed source or proprietary software hides knowledge rather
13047 than exposing it, and proprietary software vendors try to bind
13048 customers to certain products. But teachers need to teach
13049 science, not products.&lt;/li&gt;
13050
13051 &lt;li&gt;If you have everything you for daily work as open source, what
13052 would you need proprietary software for?&lt;/li&gt;
13053
13054 &lt;/ul&gt;
13055 </description>
13056 </item>
13057
13058 <item>
13059 <title>Dugnadsnett for alle, a wireless community network in Oslo, take shape</title>
13060 <link>http://people.skolelinux.org/pere/blog/Dugnadsnett_for_alle__a_wireless_community_network_in_Oslo__take_shape.html</link>
13061 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Dugnadsnett_for_alle__a_wireless_community_network_in_Oslo__take_shape.html</guid>
13062 <pubDate>Sat, 30 Nov 2013 10:10:00 +0100</pubDate>
13063 <description>&lt;p&gt;If you want the ability to electronically communicate directly with
13064 your neighbors and friends using a network controlled by your peers in
13065 stead of centrally controlled by a few corporations, or would like to
13066 experiment with interesting network technology, the
13067 &lt;a href=&quot;http://www.dugnadsnett.no/&quot;&gt;Dugnasnett for alle i Oslo&lt;/a&gt;
13068 might be project for you. 39 mesh nodes are currently being planned,
13069 in the freshly started initiative from NUUG and Hackeriet to create a
13070 wireless community network. The work is inspired by
13071 &lt;a href=&quot;http://freifunk.net/&quot;&gt;Freifunk&lt;/a&gt;,
13072 &lt;a href=&quot;http://www.awmn.net/&quot;&gt;Athens Wireless Metropolitan
13073 Network&lt;/a&gt;, &lt;a href=&quot;http://en.wikipedia.org/wiki/Roofnet&quot;&gt;Roofnet&lt;/a&gt;
13074 and other successful mesh networks around the globe. Two days ago we
13075 held a workshop to try to get people started on setting up their own
13076 mesh node, and there we decided to create a new mailing list
13077 &lt;a href=&quot;http://lists.nuug.no/mailman/listinfo/dugnadsnett&quot;&gt;dugnadsnett
13078 (at) nuug.no&lt;/a&gt; and IRC channel
13079 &lt;a href=&quot;irc://irc.freenode.net/#dugnadsnett.no&quot;&gt;#dugnadsnett.no&lt;/a&gt; to
13080 coordinate the work. See also the NUUG blog post
13081 &lt;a href=&quot;http://www.nuug.no/news/E_postliste_og_IRC_kanal_for_Dugnadsnett_for_alle_i_Oslo.shtml&quot;&gt;announcing
13082 the mailing list and IRC channel&lt;/a&gt;.&lt;/p&gt;
13083 </description>
13084 </item>
13085
13086 <item>
13087 <title>New chrpath release 0.15</title>
13088 <link>http://people.skolelinux.org/pere/blog/New_chrpath_release_0_15.html</link>
13089 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/New_chrpath_release_0_15.html</guid>
13090 <pubDate>Sun, 24 Nov 2013 09:30:00 +0100</pubDate>
13091 <description>&lt;p&gt;After many years break from the package and a vain hope that
13092 development would be continued by someone else, I finally pulled my
13093 acts together this morning and wrapped up a new release of chrpath,
13094 the command line tool to modify the rpath and runpath of already
13095 compiled ELF programs. The update was triggered by the persistence of
13096 Isha Vishnoi at IBM, which needed a new config.guess file to get
13097 support for the ppc64le architecture (powerpc 64-bit Little Endian) he
13098 is working on. I checked the
13099 &lt;a href=&quot;http://packages.qa.debian.org/chrpath&quot;&gt;Debian&lt;/a&gt;,
13100 &lt;a href=&quot;https://launchpad.net/ubuntu/+source/chrpath&quot;&gt;Ubuntu&lt;/a&gt; and
13101 &lt;a href=&quot;https://admin.fedoraproject.org/pkgdb/acls/name/chrpath&quot;&gt;Fedora&lt;/a&gt;
13102 packages for interesting patches (failed to find the source from
13103 OpenSUSE and Mandriva packages), and found quite a few nice fixes.
13104 These are the release notes:&lt;/p&gt;
13105
13106 &lt;p&gt;New in 0.15 released 2013-11-24:&lt;/p&gt;
13107
13108 &lt;ul&gt;
13109
13110 &lt;li&gt;Updated config.sub and config.guess from the GNU project to work
13111 with newer architectures. Thanks to isha vishnoi for the heads
13112 up.&lt;/li&gt;
13113
13114 &lt;li&gt;Updated README with current URLs.&lt;/li&gt;
13115
13116 &lt;li&gt;Added byteswap fix found in Ubuntu, credited Jeremy Kerr and
13117 Matthias Klose.&lt;/li&gt;
13118
13119 &lt;li&gt;Added missing help for -k|--keepgoing option, using patch by
13120 Petr Machata found in Fedora.&lt;/li&gt;
13121
13122 &lt;li&gt;Rewrite removal of RPATH/RUNPATH to make sure the entry in
13123 .dynamic is a NULL terminated string. Based on patch found in
13124 Fedora credited Axel Thimm and Christian Krause.&lt;/li&gt;
13125
13126 &lt;/ul&gt;
13127
13128 &lt;p&gt;You can
13129 &lt;a href=&quot;https://alioth.debian.org/frs/?group_id=31052&quot;&gt;download the
13130 new version 0.15 from alioth&lt;/a&gt;. Please let us know via the Alioth
13131 project if something is wrong with the new release. The test suite
13132 did not discover any old errors, so if you find a new one, please also
13133 include a testsuite check.&lt;/p&gt;
13134 </description>
13135 </item>
13136
13137 <item>
13138 <title>All drones should be radio marked with what they do and who they belong to</title>
13139 <link>http://people.skolelinux.org/pere/blog/All_drones_should_be_radio_marked_with_what_they_do_and_who_they_belong_to.html</link>
13140 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/All_drones_should_be_radio_marked_with_what_they_do_and_who_they_belong_to.html</guid>
13141 <pubDate>Thu, 21 Nov 2013 15:40:00 +0100</pubDate>
13142 <description>&lt;p&gt;Drones, flying robots, are getting more and more popular. The most
13143 know ones are the killer drones used by some government to murder
13144 people they do not like without giving them the chance of a fair
13145 trial, but the technology have many good uses too, from mapping and
13146 forest maintenance to photography and search and rescue. I am sure it
13147 is just a question of time before &quot;bad drones&quot; are in the hands of
13148 private enterprises and not only state criminals but petty criminals
13149 too. The drone technology is very useful and very dangerous. To have
13150 some control over the use of drones, I agree with Daniel Suarez in his
13151 TED talk
13152 &quot;&lt;a href=&quot;https://archive.org/details/DanielSuarez_2013G&quot;&gt;The kill
13153 decision shouldn&#39;t belong to a robot&lt;/a&gt;&quot;, where he suggested this
13154 little gem to keep the good while limiting the bad use of drones:&lt;/p&gt;
13155
13156 &lt;blockquote&gt;
13157
13158 &lt;p&gt;Each robot and drone should have a cryptographically signed
13159 I.D. burned in at the factory that can be used to track its movement
13160 through public spaces. We have license plates on cars, tail numbers on
13161 aircraft. This is no different. And every citizen should be able to
13162 download an app that shows the population of drones and autonomous
13163 vehicles moving through public spaces around them, both right now and
13164 historically. And civic leaders should deploy sensors and civic drones
13165 to detect rogue drones, and instead of sending killer drones of their
13166 own up to shoot them down, they should notify humans to their
13167 presence. And in certain very high-security areas, perhaps civic
13168 drones would snare them and drag them off to a bomb disposal facility.&lt;/p&gt;
13169
13170 &lt;p&gt;But notice, this is more an immune system than a weapons system. It
13171 would allow us to avail ourselves of the use of autonomous vehicles
13172 and drones while still preserving our open, civil society.&lt;/p&gt;
13173
13174 &lt;/blockquote&gt;
13175
13176 &lt;p&gt;The key is that &lt;em&gt;every citizen&lt;/em&gt; should be able to read the
13177 radio beacons sent from the drones in the area, to be able to check
13178 both the government and others use of drones. For such control to be
13179 effective, everyone must be able to do it. What should such beacon
13180 contain? At least formal owner, purpose, contact information and GPS
13181 location. Probably also the origin and target position of the current
13182 flight. And perhaps some registration number to be able to look up
13183 the drone in a central database tracking their movement. Robots
13184 should not have privacy. It is people who need privacy.&lt;/p&gt;
13185 </description>
13186 </item>
13187
13188 <item>
13189 <title>Lets make a wireless community network in Oslo!</title>
13190 <link>http://people.skolelinux.org/pere/blog/Lets_make_a_wireless_community_network_in_Oslo_.html</link>
13191 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Lets_make_a_wireless_community_network_in_Oslo_.html</guid>
13192 <pubDate>Wed, 13 Nov 2013 21:00:00 +0100</pubDate>
13193 <description>&lt;p&gt;Today NUUG and Hackeriet announced
13194 &lt;a href=&quot;http://www.nuug.no/news/Bli_med___bygge_dugnadsnett_for_alle_i_Oslo.shtml&quot;&gt;our
13195 plans to join forces and create a wireless community network in
13196 Oslo&lt;/a&gt;. The workshop to help people get started will take place
13197 Thursday 2013-11-28, but we already are collecting the geolocation of
13198 people joining forces to make this happen. We have
13199 &lt;a href=&quot;https://github.com/petterreinholdtsen/meshfx-node/blob/master/oslo-nodes.geojson&quot;&gt;9
13200 locations plotted on the map&lt;/a&gt;, but we will need more before we have
13201 a connected mesh spread across Oslo. If this sound interesting to
13202 you, please join us at the workshop. If you are too impatient to wait
13203 15 days, please join us on the IRC channel
13204 &lt;a href=&quot;irc://irc.freenode.net/%23nuug&quot;&gt;#nuug on irc.freenode.net&lt;/a&gt;
13205 right away. :)&lt;/p&gt;
13206 </description>
13207 </item>
13208
13209 <item>
13210 <title>Running TP-Link MR3040 as a batman-adv mesh node using openwrt</title>
13211 <link>http://people.skolelinux.org/pere/blog/Running_TP_Link_MR3040_as_a_batman_adv_mesh_node_using_openwrt.html</link>
13212 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Running_TP_Link_MR3040_as_a_batman_adv_mesh_node_using_openwrt.html</guid>
13213 <pubDate>Sun, 10 Nov 2013 23:00:00 +0100</pubDate>
13214 <description>&lt;p&gt;Continuing my research into mesh networking, I was recommended to
13215 use TP-Link 3040 and 3600 access points as mesh nodes, and the pair I
13216 bought arrived on Friday. Here are my notes on how to set up the
13217 MR3040 as a mesh node using
13218 &lt;a href=&quot;http://www.openwrt.org/&quot;&gt;OpenWrt&lt;/a&gt;.&lt;/p&gt;
13219
13220 &lt;p&gt;I started by following the instructions on the OpenWRT wiki for
13221 &lt;a href=&quot;http://wiki.openwrt.org/toh/tp-link/tl-mr3040&quot;&gt;TL-MR3040&lt;/a&gt;,
13222 and downloaded
13223 &lt;a href=&quot;http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-mr3040-v2-squashfs-factory.bin&quot;&gt;the
13224 recommended firmware image&lt;/a&gt;
13225 (openwrt-ar71xx-generic-tl-mr3040-v2-squashfs-factory.bin) and
13226 uploaded it into the original web interface. The flashing went fine,
13227 and the machine was available via telnet on the ethernet port. After
13228 logging in and setting the root password, ssh was available and I
13229 could start to set it up as a batman-adv mesh node.&lt;/p&gt;
13230
13231 &lt;p&gt;I started off by reading the instructions from
13232 &lt;a href=&quot;http://wirelessafrica.meraka.org.za/wiki/index.php?title=Antoine&#39;s_Research&quot;&gt;Wireless
13233 Africa&lt;/a&gt;, which had quite a lot of useful information, but
13234 eventually I followed the recipe from the Open Mesh wiki for
13235 &lt;a href=&quot;http://www.open-mesh.org/projects/batman-adv/wiki/Batman-adv-openwrt-config&quot;&gt;using
13236 batman-adv on OpenWrt&lt;/a&gt;. A small snag was the fact that the
13237 &lt;tt&gt;opkg install kmod-batman-adv&lt;/tt&gt; command did not work as it
13238 should. The batman-adv kernel module would fail to load because its
13239 dependency crc16 was not already loaded. I
13240 &lt;a href=&quot;https://dev.openwrt.org/ticket/14452&quot;&gt;reported the bug&lt;/a&gt; to
13241 the openwrt project and hope it will be fixed soon. But the problem
13242 only seem to affect initial testing of batman-adv, as configuration
13243 seem to work when booting from scratch.&lt;/p&gt;
13244
13245 &lt;p&gt;The setup is done using files in /etc/config/. I did not bridge
13246 the Ethernet and mesh interfaces this time, to be able to hook up the
13247 box on my local network and log into it for configuration updates.
13248 The following files were changed and look like this after modifying
13249 them:&lt;/p&gt;
13250
13251 &lt;p&gt;&lt;tt&gt;/etc/config/network&lt;/tt&gt;&lt;/p&gt;
13252
13253 &lt;pre&gt;
13254
13255 config interface &#39;loopback&#39;
13256 option ifname &#39;lo&#39;
13257 option proto &#39;static&#39;
13258 option ipaddr &#39;127.0.0.1&#39;
13259 option netmask &#39;255.0.0.0&#39;
13260
13261 config globals &#39;globals&#39;
13262 option ula_prefix &#39;fdbf:4c12:3fed::/48&#39;
13263
13264 config interface &#39;lan&#39;
13265 option ifname &#39;eth0&#39;
13266 option type &#39;bridge&#39;
13267 option proto &#39;dhcp&#39;
13268 option ipaddr &#39;192.168.1.1&#39;
13269 option netmask &#39;255.255.255.0&#39;
13270 option hostname &#39;tl-mr3040&#39;
13271 option ip6assign &#39;60&#39;
13272
13273 config interface &#39;mesh&#39;
13274 option ifname &#39;adhoc0&#39;
13275 option mtu &#39;1528&#39;
13276 option proto &#39;batadv&#39;
13277 option mesh &#39;bat0&#39;
13278 &lt;/pre&gt;
13279
13280 &lt;p&gt;&lt;tt&gt;/etc/config/wireless&lt;/tt&gt;&lt;/p&gt;
13281 &lt;pre&gt;
13282
13283 config wifi-device &#39;radio0&#39;
13284 option type &#39;mac80211&#39;
13285 option channel &#39;11&#39;
13286 option hwmode &#39;11ng&#39;
13287 option path &#39;platform/ar933x_wmac&#39;
13288 option htmode &#39;HT20&#39;
13289 list ht_capab &#39;SHORT-GI-20&#39;
13290 list ht_capab &#39;SHORT-GI-40&#39;
13291 list ht_capab &#39;RX-STBC1&#39;
13292 list ht_capab &#39;DSSS_CCK-40&#39;
13293 option disabled &#39;0&#39;
13294
13295 config wifi-iface &#39;wmesh&#39;
13296 option device &#39;radio0&#39;
13297 option ifname &#39;adhoc0&#39;
13298 option network &#39;mesh&#39;
13299 option encryption &#39;none&#39;
13300 option mode &#39;adhoc&#39;
13301 option bssid &#39;02:BA:00:00:00:01&#39;
13302 option ssid &#39;meshfx@hackeriet&#39;
13303 &lt;/pre&gt;
13304 &lt;p&gt;&lt;tt&gt;/etc/config/batman-adv&lt;/tt&gt;&lt;/p&gt;
13305 &lt;pre&gt;
13306
13307 config &#39;mesh&#39; &#39;bat0&#39;
13308 option interfaces &#39;adhoc0&#39;
13309 option &#39;aggregated_ogms&#39;
13310 option &#39;ap_isolation&#39;
13311 option &#39;bonding&#39;
13312 option &#39;fragmentation&#39;
13313 option &#39;gw_bandwidth&#39;
13314 option &#39;gw_mode&#39;
13315 option &#39;gw_sel_class&#39;
13316 option &#39;log_level&#39;
13317 option &#39;orig_interval&#39;
13318 option &#39;vis_mode&#39;
13319 option &#39;bridge_loop_avoidance&#39;
13320 option &#39;distributed_arp_table&#39;
13321 option &#39;network_coding&#39;
13322 option &#39;hop_penalty&#39;
13323
13324 # yet another batX instance
13325 # config &#39;mesh&#39; &#39;bat5&#39;
13326 # option &#39;interfaces&#39; &#39;second_mesh&#39;
13327 &lt;/pre&gt;
13328
13329 &lt;p&gt;The mesh node is now operational. I have yet to test its range,
13330 but I hope it is good. I have not yet tested the TP-Link 3600 box
13331 still wrapped up in plastic.&lt;/p&gt;
13332 </description>
13333 </item>
13334
13335 <item>
13336 <title>Debian init.d boot script example for rsyslog</title>
13337 <link>http://people.skolelinux.org/pere/blog/Debian_init_d_boot_script_example_for_rsyslog.html</link>
13338 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_init_d_boot_script_example_for_rsyslog.html</guid>
13339 <pubDate>Sat, 2 Nov 2013 22:40:00 +0100</pubDate>
13340 <description>&lt;p&gt;If one of the points of switching to a new init system in Debian is
13341 &lt;a href=&quot;http://thomas.goirand.fr/blog/?p=147&quot;&gt;to get rid of huge
13342 init.d scripts&lt;/a&gt;, I doubt we need to switch away from sysvinit and
13343 init.d scripts at all. Here is an example init.d script, ie a rewrite
13344 of /etc/init.d/rsyslog:&lt;/p&gt;
13345
13346 &lt;p&gt;&lt;pre&gt;
13347 #!/lib/init/init-d-script
13348 ### BEGIN INIT INFO
13349 # Provides: rsyslog
13350 # Required-Start: $remote_fs $time
13351 # Required-Stop: umountnfs $time
13352 # X-Stop-After: sendsigs
13353 # Default-Start: 2 3 4 5
13354 # Default-Stop: 0 1 6
13355 # Short-Description: enhanced syslogd
13356 # Description: Rsyslog is an enhanced multi-threaded syslogd.
13357 # It is quite compatible to stock sysklogd and can be
13358 # used as a drop-in replacement.
13359 ### END INIT INFO
13360 DESC=&quot;enhanced syslogd&quot;
13361 DAEMON=/usr/sbin/rsyslogd
13362 &lt;/pre&gt;&lt;/p&gt;
13363
13364 &lt;p&gt;Pretty minimalistic to me... For the record, the original sysv-rc
13365 script was 137 lines, and the above is just 15 lines, most of it meta
13366 info/comments.&lt;/p&gt;
13367
13368 &lt;p&gt;How to do this, you ask? Well, one create a new script
13369 /lib/init/init-d-script looking something like this:
13370
13371 &lt;p&gt;&lt;pre&gt;
13372 #!/bin/sh
13373
13374 # Define LSB log_* functions.
13375 # Depend on lsb-base (&gt;= 3.2-14) to ensure that this file is present
13376 # and status_of_proc is working.
13377 . /lib/lsb/init-functions
13378
13379 #
13380 # Function that starts the daemon/service
13381
13382 #
13383 do_start()
13384 {
13385 # Return
13386 # 0 if daemon has been started
13387 # 1 if daemon was already running
13388 # 2 if daemon could not be started
13389 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test &gt; /dev/null \
13390 || return 1
13391 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
13392 $DAEMON_ARGS \
13393 || return 2
13394 # Add code here, if necessary, that waits for the process to be ready
13395 # to handle requests from services started subsequently which depend
13396 # on this one. As a last resort, sleep for some time.
13397 }
13398
13399 #
13400 # Function that stops the daemon/service
13401 #
13402 do_stop()
13403 {
13404 # Return
13405 # 0 if daemon has been stopped
13406 # 1 if daemon was already stopped
13407 # 2 if daemon could not be stopped
13408 # other if a failure occurred
13409 start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
13410 RETVAL=&quot;$?&quot;
13411 [ &quot;$RETVAL&quot; = 2 ] &amp;&amp; return 2
13412 # Wait for children to finish too if this is a daemon that forks
13413 # and if the daemon is only ever run from this initscript.
13414 # If the above conditions are not satisfied then add some other code
13415 # that waits for the process to drop all resources that could be
13416 # needed by services started subsequently. A last resort is to
13417 # sleep for some time.
13418 start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
13419 [ &quot;$?&quot; = 2 ] &amp;&amp; return 2
13420 # Many daemons don&#39;t delete their pidfiles when they exit.
13421 rm -f $PIDFILE
13422 return &quot;$RETVAL&quot;
13423 }
13424
13425 #
13426 # Function that sends a SIGHUP to the daemon/service
13427 #
13428 do_reload() {
13429 #
13430 # If the daemon can reload its configuration without
13431 # restarting (for example, when it is sent a SIGHUP),
13432 # then implement that here.
13433 #
13434 start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
13435 return 0
13436 }
13437
13438 SCRIPTNAME=$1
13439 scriptbasename=&quot;$(basename $1)&quot;
13440 echo &quot;SN: $scriptbasename&quot;
13441 if [ &quot;$scriptbasename&quot; != &quot;init-d-library&quot; ] ; then
13442 script=&quot;$1&quot;
13443 shift
13444 . $script
13445 else
13446 exit 0
13447 fi
13448
13449 NAME=$(basename $DAEMON)
13450 PIDFILE=/var/run/$NAME.pid
13451
13452 # Exit if the package is not installed
13453 #[ -x &quot;$DAEMON&quot; ] || exit 0
13454
13455 # Read configuration variable file if it is present
13456 [ -r /etc/default/$NAME ] &amp;&amp; . /etc/default/$NAME
13457
13458 # Load the VERBOSE setting and other rcS variables
13459 . /lib/init/vars.sh
13460
13461 case &quot;$1&quot; in
13462 start)
13463 [ &quot;$VERBOSE&quot; != no ] &amp;&amp; log_daemon_msg &quot;Starting $DESC&quot; &quot;$NAME&quot;
13464 do_start
13465 case &quot;$?&quot; in
13466 0|1) [ &quot;$VERBOSE&quot; != no ] &amp;&amp; log_end_msg 0 ;;
13467 2) [ &quot;$VERBOSE&quot; != no ] &amp;&amp; log_end_msg 1 ;;
13468 esac
13469 ;;
13470 stop)
13471 [ &quot;$VERBOSE&quot; != no ] &amp;&amp; log_daemon_msg &quot;Stopping $DESC&quot; &quot;$NAME&quot;
13472 do_stop
13473 case &quot;$?&quot; in
13474 0|1) [ &quot;$VERBOSE&quot; != no ] &amp;&amp; log_end_msg 0 ;;
13475 2) [ &quot;$VERBOSE&quot; != no ] &amp;&amp; log_end_msg 1 ;;
13476 esac
13477 ;;
13478 status)
13479 status_of_proc &quot;$DAEMON&quot; &quot;$NAME&quot; &amp;&amp; exit 0 || exit $?
13480 ;;
13481 #reload|force-reload)
13482 #
13483 # If do_reload() is not implemented then leave this commented out
13484 # and leave &#39;force-reload&#39; as an alias for &#39;restart&#39;.
13485 #
13486 #log_daemon_msg &quot;Reloading $DESC&quot; &quot;$NAME&quot;
13487 #do_reload
13488 #log_end_msg $?
13489 #;;
13490 restart|force-reload)
13491 #
13492 # If the &quot;reload&quot; option is implemented then remove the
13493 # &#39;force-reload&#39; alias
13494 #
13495 log_daemon_msg &quot;Restarting $DESC&quot; &quot;$NAME&quot;
13496 do_stop
13497 case &quot;$?&quot; in
13498 0|1)
13499 do_start
13500 case &quot;$?&quot; in
13501 0) log_end_msg 0 ;;
13502 1) log_end_msg 1 ;; # Old process is still running
13503 *) log_end_msg 1 ;; # Failed to start
13504 esac
13505 ;;
13506 *)
13507 # Failed to stop
13508 log_end_msg 1
13509 ;;
13510 esac
13511 ;;
13512 *)
13513 echo &quot;Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}&quot; &gt;&amp;2
13514 exit 3
13515 ;;
13516 esac
13517
13518 :
13519 &lt;/pre&gt;&lt;/p&gt;
13520
13521 &lt;p&gt;It is based on /etc/init.d/skeleton, and could be improved quite a
13522 lot. I did not really polish the approach, so it might not always
13523 work out of the box, but you get the idea. I did not try very hard to
13524 optimize it nor make it more robust either.&lt;/p&gt;
13525
13526 &lt;p&gt;A better argument for switching init system in Debian than reducing
13527 the size of init scripts (which is a good thing to do anyway), is to
13528 get boot system that is able to handle the kernel events sensibly and
13529 robustly, and do not depend on the boot to run sequentially. The boot
13530 and the kernel have not behaved sequentially in years.&lt;/p&gt;
13531 </description>
13532 </item>
13533
13534 <item>
13535 <title>Browser plugin for SPICE (spice-xpi) uploaded to Debian</title>
13536 <link>http://people.skolelinux.org/pere/blog/Browser_plugin_for_SPICE__spice_xpi__uploaded_to_Debian.html</link>
13537 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Browser_plugin_for_SPICE__spice_xpi__uploaded_to_Debian.html</guid>
13538 <pubDate>Fri, 1 Nov 2013 11:00:00 +0100</pubDate>
13539 <description>&lt;p&gt;&lt;a href=&quot;http://www.spice-space.org/&quot;&gt;The SPICE protocol&lt;/a&gt; for
13540 remote display access is the preferred solution with oVirt and RedHat
13541 Enterprise Virtualization, and I was sad to discover the other day
13542 that the browser plugin needed to use these systems seamlessly was
13543 missing in Debian. The &lt;a href=&quot;http://bugs.debian.org/668284&quot;&gt;request
13544 for a package&lt;/a&gt; was from 2012-04-10 with no progress since
13545 2013-04-01, so I decided to wrap up a package based on the great work
13546 from Cajus Pollmeier and put it in a collab-maint maintained git
13547 repository to get a package I could use. I would very much like
13548 others to help me maintain the package (or just take over, I do not
13549 mind), but as no-one had volunteered so far, I just uploaded it to
13550 NEW. I hope it will be available in Debian in a few days.&lt;/p&gt;
13551
13552 &lt;p&gt;The source is now available from
13553 &lt;a href=&quot;http://anonscm.debian.org/gitweb/?p=collab-maint/spice-xpi.git;a=summary&quot;&gt;http://anonscm.debian.org/gitweb/?p=collab-maint/spice-xpi.git;a=summary&lt;/a&gt;.&lt;/p&gt;
13554 </description>
13555 </item>
13556
13557 <item>
13558 <title>Teaching vmdebootstrap to create Raspberry Pi SD card images</title>
13559 <link>http://people.skolelinux.org/pere/blog/Teaching_vmdebootstrap_to_create_Raspberry_Pi_SD_card_images.html</link>
13560 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Teaching_vmdebootstrap_to_create_Raspberry_Pi_SD_card_images.html</guid>
13561 <pubDate>Sun, 27 Oct 2013 17:00:00 +0100</pubDate>
13562 <description>&lt;p&gt;The
13563 &lt;a href=&quot;http://packages.qa.debian.org/v/vmdebootstrap.html&quot;&gt;vmdebootstrap&lt;/a&gt;
13564 program is a a very nice system to create virtual machine images. It
13565 create a image file, add a partition table, mount it and run
13566 debootstrap in the mounted directory to create a Debian system on a
13567 stick. Yesterday, I decided to try to teach it how to make images for
13568 &lt;a href=&quot;https://wiki.debian.org/RaspberryPi&quot;&gt;Raspberry Pi&lt;/a&gt;, as part
13569 of a plan to simplify the build system for
13570 &lt;a href=&quot;https://wiki.debian.org/FreedomBox&quot;&gt;the FreedomBox
13571 project&lt;/a&gt;. The FreedomBox project already uses vmdebootstrap for
13572 the virtualbox images, but its current build system made multistrap
13573 based system for Dreamplug images, and it is lacking support for
13574 Raspberry Pi.&lt;/p&gt;
13575
13576 &lt;p&gt;Armed with the knowledge on how to build &quot;foreign&quot; (aka non-native
13577 architecture) chroots for Raspberry Pi, I dived into the vmdebootstrap
13578 code and adjusted it to be able to build armel images on my amd64
13579 Debian laptop. I ended up giving vmdebootstrap five new options,
13580 allowing me to replicate the image creation process I use to make
13581 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/A_Raspberry_Pi_based_batman_adv_Mesh_network_node.html&quot;&gt;Debian
13582 Jessie based mesh node images for the Raspberry Pi&lt;/a&gt;. First, the
13583 &lt;tt&gt;--foreign /path/to/binfm_handler&lt;/tt&gt; option tell vmdebootstrap to
13584 call debootstrap with --foreign and to copy the handler into the
13585 generated chroot before running the second stage. This allow
13586 vmdebootstrap to create armel images on an amd64 host. Next I added
13587 two new options &lt;tt&gt;--bootsize size&lt;/tt&gt; and &lt;tt&gt;--boottype
13588 fstype&lt;/tt&gt; to teach it to create a separate /boot/ partition with the
13589 given file system type, allowing me to create an image with a vfat
13590 partition for the /boot/ stuff. I also added a &lt;tt&gt;--variant
13591 variant&lt;/tt&gt; option to allow me to create smaller images without the
13592 Debian base system packages installed. Finally, I added an option
13593 &lt;tt&gt;--no-extlinux&lt;/tt&gt; to tell vmdebootstrap to not install extlinux
13594 as a boot loader. It is not needed on the Raspberry Pi and probably
13595 most other non-x86 architectures. The changes were accepted by the
13596 upstream author of vmdebootstrap yesterday and today, and is now
13597 available from
13598 &lt;a href=&quot;http://git.liw.fi/cgi-bin/cgit/cgit.cgi/vmdebootstrap/&quot;&gt;the
13599 upstream project page&lt;/a&gt;.&lt;/p&gt;
13600
13601 &lt;p&gt;To use it to build a Raspberry Pi image using Debian Jessie, first
13602 create a small script (the customize script) to add the non-free
13603 binary blob needed to boot the Raspberry Pi and the APT source
13604 list:&lt;/p&gt;
13605
13606 &lt;p&gt;&lt;pre&gt;
13607 #!/bin/sh
13608 set -e # Exit on first error
13609 rootdir=&quot;$1&quot;
13610 cd &quot;$rootdir&quot;
13611 cat &amp;lt;&amp;lt;EOF &gt; etc/apt/sources.list
13612 deb http://http.debian.net/debian/ jessie main contrib non-free
13613 EOF
13614 # Install non-free binary blob needed to boot Raspberry Pi. This
13615 # install a kernel somewhere too.
13616 wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update \
13617 -O $rootdir/usr/bin/rpi-update
13618 chmod a+x $rootdir/usr/bin/rpi-update
13619 mkdir -p $rootdir/lib/modules
13620 touch $rootdir/boot/start.elf
13621 chroot $rootdir rpi-update
13622 &lt;/pre&gt;&lt;/p&gt;
13623
13624 &lt;p&gt;Next, fetch the latest vmdebootstrap script and call it like this
13625 to build the image:&lt;/p&gt;
13626
13627 &lt;pre&gt;
13628 sudo ./vmdebootstrap \
13629 --variant minbase \
13630 --arch armel \
13631 --distribution jessie \
13632 --mirror http://http.debian.net/debian \
13633 --image test.img \
13634 --size 600M \
13635 --bootsize 64M \
13636 --boottype vfat \
13637 --log-level debug \
13638 --verbose \
13639 --no-kernel \
13640 --no-extlinux \
13641 --root-password raspberry \
13642 --hostname raspberrypi \
13643 --foreign /usr/bin/qemu-arm-static \
13644 --customize `pwd`/customize \
13645 --package netbase \
13646 --package git-core \
13647 --package binutils \
13648 --package ca-certificates \
13649 --package wget \
13650 --package kmod
13651 &lt;/pre&gt;&lt;/p&gt;
13652
13653 &lt;p&gt;The list of packages being installed are the ones needed by
13654 rpi-update to make the image bootable on the Raspberry Pi, with the
13655 exception of netbase, which is needed by debootstrap to find
13656 /etc/hosts with the minbase variant. I really wish there was a way to
13657 set up an Raspberry Pi using only packages in the Debian archive, but
13658 that is not possible as far as I know, because it boots from the GPU
13659 using a non-free binary blob.&lt;/p&gt;
13660
13661 &lt;p&gt;The build host need debootstrap, kpartx and qemu-user-static and
13662 probably a few others installed. I have not checked the complete
13663 build dependency list.&lt;/p&gt;
13664
13665 &lt;p&gt;The resulting image will not use the hardware floating point unit
13666 on the Raspberry PI, because the armel architecture in Debian is not
13667 optimized for that use. So the images created will be a bit slower
13668 than &lt;a href=&quot;http://www.raspbian.org/&quot;&gt;Raspbian&lt;/a&gt; based images.&lt;/p&gt;
13669 </description>
13670 </item>
13671
13672 <item>
13673 <title>A Raspberry Pi based batman-adv Mesh network node</title>
13674 <link>http://people.skolelinux.org/pere/blog/A_Raspberry_Pi_based_batman_adv_Mesh_network_node.html</link>
13675 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_Raspberry_Pi_based_batman_adv_Mesh_network_node.html</guid>
13676 <pubDate>Mon, 21 Oct 2013 11:40:00 +0200</pubDate>
13677 <description>&lt;p&gt;The last few days I have been experimenting with
13678 &lt;a href=&quot;http://www.open-mesh.org/projects/batman-adv/wiki&quot;&gt;the
13679 batman-adv mesh technology&lt;/a&gt;. I want to gain some experience to see
13680 if it will fit &lt;a href=&quot;https://wiki.debian.org/FreedomBox&quot;&gt;the
13681 Freedombox project&lt;/a&gt;, and together with my neighbors try to build a
13682 mesh network around the park where I live. Batman-adv is a layer 2
13683 mesh system (&quot;ethernet&quot; in other words), where the mesh network appear
13684 as if all the mesh clients are connected to the same switch.&lt;/p&gt;
13685
13686 &lt;p&gt;My hardware of choice was the Linksys WRT54GL routers I had lying
13687 around, but I&#39;ve been unable to get them working with batman-adv. So
13688 instead, I started playing with a
13689 &lt;a href=&quot;http://www.raspberrypi.org/&quot;&gt;Raspberry Pi&lt;/a&gt;, and tried to
13690 get it working as a mesh node. My idea is to use it to create a mesh
13691 node which function as a switch port, where everything connected to
13692 the Raspberry Pi ethernet plug is connected (bridged) to the mesh
13693 network. This allow me to hook a wifi base station like the Linksys
13694 WRT54GL to the mesh by plugging it into a Raspberry Pi, and allow
13695 non-mesh clients to hook up to the mesh. This in turn is useful for
13696 Android phones using &lt;a href=&quot;http://servalproject.org/&quot;&gt;the Serval
13697 Project&lt;/a&gt; voip client, allowing every one around the playground to
13698 phone and message each other for free. The reason is that Android
13699 phones do not see ad-hoc wifi networks (they are filtered away from
13700 the GUI view), and can not join the mesh without being rooted. But if
13701 they are connected using a normal wifi base station, they can talk to
13702 every client on the local network.&lt;/p&gt;
13703
13704 &lt;p&gt;To get this working, I&#39;ve created a debian package
13705 &lt;a href=&quot;https://github.com/petterreinholdtsen/meshfx-node&quot;&gt;meshfx-node&lt;/a&gt;
13706 and a script
13707 &lt;a href=&quot;https://github.com/petterreinholdtsen/meshfx-node/blob/master/build-rpi-mesh-node&quot;&gt;build-rpi-mesh-node&lt;/a&gt;
13708 to create the Raspberry Pi boot image. I&#39;m using Debian Jessie (and
13709 not Raspbian), to get more control over the packages available.
13710 Unfortunately a huge binary blob need to be inserted into the boot
13711 image to get it booting, but I&#39;ll ignore that for now. Also, as
13712 Debian lack support for the CPU features available in the Raspberry
13713 Pi, the system do not use the hardware floating point unit. I hope
13714 the routing performance isn&#39;t affected by the lack of hardware FPU
13715 support.&lt;/p&gt;
13716
13717 &lt;p&gt;To create an image, run the following with a sudo enabled user
13718 after inserting the target SD card into the build machine:&lt;/p&gt;
13719
13720 &lt;p&gt;&lt;pre&gt;
13721 % wget -O build-rpi-mesh-node \
13722 https://raw.github.com/petterreinholdtsen/meshfx-node/master/build-rpi-mesh-node
13723 % sudo bash -x ./build-rpi-mesh-node &gt; build.log 2&gt;&amp;1
13724 % dd if=/root/rpi/rpi_basic_jessie_$(date +%Y%m%d).img of=/dev/mmcblk0 bs=1M
13725 %
13726 &lt;/pre&gt;&lt;/p&gt;
13727
13728 &lt;p&gt;Booting with the resulting SD card on a Raspberry PI with a USB
13729 wifi card inserted should give you a mesh node. At least it does for
13730 me with a the wifi card I am using. The default mesh settings are the
13731 ones used by the Oslo mesh project at Hackeriet, as I mentioned in
13732 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Oslo_community_mesh_network___with_NUUG_and_Hackeriet_at_Hausmania.html&quot;&gt;an
13733 earlier blog post about this mesh testing&lt;/a&gt;.&lt;/p&gt;
13734
13735 &lt;p&gt;The mesh node was not horribly expensive either. I bought
13736 everything over the counter in shops nearby. If I had ordered online
13737 from the lowest bidder, the price should be significantly lower:&lt;/p&gt;
13738
13739 &lt;p&gt;&lt;table&gt;
13740
13741 &lt;tr&gt;&lt;th&gt;Supplier&lt;/th&gt;&lt;th&gt;Model&lt;/th&gt;&lt;th&gt;NOK&lt;/th&gt;&lt;/tr&gt;
13742 &lt;tr&gt;&lt;td&gt;Teknikkmagasinet&lt;/td&gt;&lt;td&gt;Raspberry Pi model B&lt;/td&gt;&lt;td&gt;349.90&lt;/td&gt;&lt;/tr&gt;
13743 &lt;tr&gt;&lt;td&gt;Teknikkmagasinet&lt;/td&gt;&lt;td&gt;Raspberry Pi type B case&lt;/td&gt;&lt;td&gt;99.90&lt;/td&gt;&lt;/tr&gt;
13744 &lt;tr&gt;&lt;td&gt;Lefdal&lt;/td&gt;&lt;td&gt;Jensen Air:Link 25150&lt;/td&gt;&lt;td&gt;295.-&lt;/td&gt;&lt;/tr&gt;
13745 &lt;tr&gt;&lt;td&gt;Clas Ohlson&lt;/td&gt;&lt;td&gt;Kingston 16 GB SD card&lt;/td&gt;&lt;td&gt;199.-&lt;/td&gt;&lt;/tr&gt;
13746 &lt;tr&gt;&lt;td&gt;Total cost&lt;/td&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;943.80&lt;/td&gt;&lt;/tr&gt;
13747
13748 &lt;/table&gt;&lt;/p&gt;
13749
13750 &lt;p&gt;Now my mesh network at home consist of one laptop in the basement
13751 connected to my production network, one Raspberry Pi node on the 1th
13752 floor that can be seen by my neighbor across the park, and one
13753 play-node I use to develop the image building script. And some times
13754 I hook up my work horse laptop to the mesh to test it. I look forward
13755 to figuring out what kind of latency the batman-adv setup will give,
13756 and how much packet loss we will experience around the park. :)&lt;/p&gt;
13757 </description>
13758 </item>
13759
13760 <item>
13761 <title>Perl library to control the Spykee robot moved to github</title>
13762 <link>http://people.skolelinux.org/pere/blog/Perl_library_to_control_the_Spykee_robot_moved_to_github.html</link>
13763 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Perl_library_to_control_the_Spykee_robot_moved_to_github.html</guid>
13764 <pubDate>Sat, 19 Oct 2013 10:20:00 +0200</pubDate>
13765 <description>&lt;p&gt;Back in 2010, I created a Perl library to talk to
13766 &lt;a href=&quot;http://en.wikipedia.org/wiki/Spykee&quot;&gt;the Spykee robot&lt;/a&gt;
13767 (with two belts, wifi, USB and Linux) and made it available from my
13768 web page. Today I concluded that it should move to a site that is
13769 easier to use to cooperate with others, and moved it to github. If
13770 you got a Spykee robot, you might want to check out
13771 &lt;a href=&quot;https://github.com/petterreinholdtsen/libspykee-perl&quot;&gt;the
13772 libspykee-perl github repository&lt;/a&gt;.&lt;/p&gt;
13773 </description>
13774 </item>
13775
13776 <item>
13777 <title>Good causes: Debian Outreach Program for Women, EFF documenting the spying and Open access in Norway</title>
13778 <link>http://people.skolelinux.org/pere/blog/Good_causes__Debian_Outreach_Program_for_Women__EFF_documenting_the_spying_and_Open_access_in_Norway.html</link>
13779 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Good_causes__Debian_Outreach_Program_for_Women__EFF_documenting_the_spying_and_Open_access_in_Norway.html</guid>
13780 <pubDate>Tue, 15 Oct 2013 21:30:00 +0200</pubDate>
13781 <description>&lt;p&gt;The last few days I came across a few good causes that should get
13782 wider attention. I recommend signing and donating to each one of
13783 these. :)&lt;/p&gt;
13784
13785 &lt;p&gt;Via &lt;a href=&quot;http://www.debian.org/News/weekly/2013/18/&quot;&gt;Debian
13786 Project News for 2013-10-14&lt;/a&gt; I came across the Outreach Program for
13787 Women program which is a Google Summer of Code like initiative to get
13788 more women involved in free software. One debian sponsor has offered
13789 to match &lt;a href=&quot;http://debian.ch/opw2013&quot;&gt;any donation done to Debian
13790 earmarked&lt;/a&gt; for this initiative. I donated a few minutes ago, and
13791 hope you will to. :)&lt;/p&gt;
13792
13793 &lt;p&gt;And the Electronic Frontier Foundation just announced plans to
13794 create &lt;a href=&quot;https://supporters.eff.org/donate/nsa-videos&quot;&gt;video
13795 documentaries about the excessive spying&lt;/a&gt; on every Internet user that
13796 take place these days, and their need to fund the work. I&#39;ve already
13797 donated. Are you next?&lt;/p&gt;
13798
13799 &lt;p&gt;For my Norwegian audience, the organisation Studentenes og
13800 Akademikernes Internasjonale Hjelpefond is collecting signatures for a
13801 statement under the heading
13802 &lt;a href=&quot;http://saih.no/Bloggers_United/&quot;&gt;Bloggers United for Open
13803 Access&lt;/a&gt; for those of us asking for more focus on open access in the
13804 Norwegian government. So far 499 signatures. I hope you will sign it
13805 too.&lt;/p&gt;
13806 </description>
13807 </item>
13808
13809 <item>
13810 <title>Oslo community mesh network - with NUUG and Hackeriet at Hausmania</title>
13811 <link>http://people.skolelinux.org/pere/blog/Oslo_community_mesh_network___with_NUUG_and_Hackeriet_at_Hausmania.html</link>
13812 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Oslo_community_mesh_network___with_NUUG_and_Hackeriet_at_Hausmania.html</guid>
13813 <pubDate>Fri, 11 Oct 2013 14:10:00 +0200</pubDate>
13814 <description>&lt;p&gt;Wireless mesh networks are self organising and self healing
13815 networks that can be used to connect computers across small and large
13816 areas, depending on the radio technology used. Normal wifi equipment
13817 can be used to create home made radio networks, and there are several
13818 successful examples like
13819 &lt;a href=&quot;http://www.freifunk.net/&quot;&gt;Freifunk&lt;/a&gt; and
13820 &lt;a href=&quot;http://www.awmn.net/&quot;&gt;Athens Wireless Metropolitan Network&lt;/a&gt;
13821 (see
13822 &lt;a href=&quot;http://en.wikipedia.org/wiki/List_of_wireless_community_networks_by_region#Greece&quot;&gt;wikipedia
13823 for a large list&lt;/a&gt;) around the globe. To give you an idea how it
13824 work, check out the nice overview of the Kiel Freifunk community which
13825 can be seen from their
13826 &lt;a href=&quot;http://freifunk.in-kiel.de/ffmap/nodes.html&quot;&gt;dynamically
13827 updated node graph and map&lt;/a&gt;, where one can see how the mesh nodes
13828 automatically handle routing and recover from nodes disappearing.
13829 There is also a small community mesh network group in Oslo, Norway,
13830 and that is the main topic of this blog post.&lt;/p&gt;
13831
13832 &lt;p&gt;I&#39;ve wanted to check out mesh networks for a while now, and hoped
13833 to do it as part of my involvement with the &lt;a
13834 href=&quot;http://www.nuug.no/&quot;&gt;NUUG member organisation&lt;/a&gt; community, and
13835 my recent involvement in
13836 &lt;a href=&quot;https://wiki.debian.org/FreedomBox&quot;&gt;the Freedombox project&lt;/a&gt;
13837 finally lead me to give mesh networks some priority, as I suspect a
13838 Freedombox should use mesh networks to connect neighbours and family
13839 when possible, given that most communication between people are
13840 between those nearby (as shown for example by research on Facebook
13841 communication patterns). It also allow people to communicate without
13842 any central hub to tap into for those that want to listen in on the
13843 private communication of citizens, which have become more and more
13844 important over the years.&lt;/p&gt;
13845
13846 &lt;p&gt;So far I have only been able to find one group of people in Oslo
13847 working on community mesh networks, over at the hack space
13848 &lt;a href=&quot;http://hackeriet.no/&quot;&gt;Hackeriet&lt;/a&gt; at Husmania. They seem to
13849 have started with some Freifunk based effort using OLSR, called
13850 &lt;a href=&quot;http://oslo.freifunk.net/index.php?title=Main_Page&quot;&gt;the Oslo
13851 Freifunk project&lt;/a&gt;, but that effort is now dead and the people
13852 behind it have moved on to a batman-adv based system called
13853 &lt;a href=&quot;http://meshfx.org/trac&quot;&gt;meshfx&lt;/a&gt;. Unfortunately the wiki
13854 site for the Oslo Freifunk project is no longer possible to update to
13855 reflect this fact, so the old project page can&#39;t be updated to point to
13856 the new project. A while back, the people at Hackeriet invited people
13857 from the Freifunk community to Oslo to talk about mesh networks. I
13858 came across this video where Hans Jørgen Lysglimt interview the
13859 speakers about this talk (from
13860 &lt;a href=&quot;https://www.youtube.com/watch?v=N2Kd7CLkhSY&quot;&gt;youtube&lt;/a&gt;):&lt;/p&gt;
13861
13862 &lt;p&gt;&lt;iframe width=&quot;420&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/N2Kd7CLkhSY&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/p&gt;
13863
13864 &lt;p&gt;I mentioned OLSR and batman-adv, which are mesh routing protocols.
13865 There are heaps of different protocols, and I am still struggling to
13866 figure out which one would be &quot;best&quot; for some definitions of best, but
13867 given that the community mesh group in Oslo is so small, I believe it
13868 is best to hook up with the existing one instead of trying to create a
13869 completely different setup, and thus I have decided to focus on
13870 batman-adv for now. It sure help me to know that the very cool
13871 &lt;a href=&quot;http://www.servalproject.org/&quot;&gt;Serval project in Australia&lt;/a&gt;
13872 is using batman-adv as their meshing technology when it create a self
13873 organizing and self healing telephony system for disaster areas and
13874 less industrialized communities. Check out this cool video presenting
13875 that project (from
13876 &lt;a href=&quot;https://www.youtube.com/watch?v=30qNfzJCQOA&quot;&gt;youtube&lt;/a&gt;):&lt;/p&gt;
13877
13878 &lt;p&gt;&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;https://www.youtube.com/embed/30qNfzJCQOA&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;&lt;/p&gt;
13879
13880 &lt;p&gt;According to the wikipedia page on
13881 &lt;a href=&quot;http://en.wikipedia.org/wiki/Wireless_mesh_network&quot;&gt;Wireless
13882 mesh network&lt;/a&gt; there are around 70 competing schemes for routing
13883 packets across mesh networks, and OLSR, B.A.T.M.A.N. and
13884 B.A.T.M.A.N. advanced are protocols used by several free software
13885 based community mesh networks.&lt;/p&gt;
13886
13887 &lt;p&gt;The batman-adv protocol is a bit special, as it provide layer 2
13888 (as in ethernet ) routing, allowing ipv4 and ipv6 to work on the same
13889 network. One way to think about it is that it provide a mesh based
13890 vlan you can bridge to or handle like any other vlan connected to your
13891 computer. The required drivers are already in the Linux kernel at
13892 least since Debian Wheezy, and it is fairly easy to set up. A
13893 &lt;a href=&quot;http://www.open-mesh.org/projects/batman-adv/wiki/Quick-start-guide&quot;&gt;good
13894 introduction&lt;/a&gt; is available from the Open Mesh project. These are
13895 the key settings needed to join the Oslo meshfx network:&lt;/p&gt;
13896
13897 &lt;p&gt;&lt;table&gt;
13898 &lt;tr&gt;&lt;th&gt;Setting&lt;/th&gt;&lt;th&gt;Value&lt;/th&gt;&lt;/tr&gt;
13899 &lt;tr&gt;&lt;td&gt;Protocol / kernel module&lt;/td&gt;&lt;td&gt;batman-adv&lt;/td&gt;&lt;/tr&gt;
13900 &lt;tr&gt;&lt;td&gt;ESSID&lt;/td&gt;&lt;td&gt;meshfx@hackeriet&lt;/td&gt;&lt;/tr&gt;
13901 &lt;td&gt;Channel / Frequency&lt;/td&gt;&lt;td&gt;11 / 2462&lt;/td&gt;&lt;/tr&gt;
13902 &lt;td&gt;Cell ID&lt;/td&gt;&lt;td&gt;02:BA:00:00:00:01&lt;/td&gt;
13903 &lt;/table&gt;&lt;/p&gt;
13904
13905 &lt;p&gt;The reason for setting ad-hoc wifi Cell ID is to work around bugs
13906 in firmware used in wifi card and wifi drivers. (See a nice post from
13907 VillageTelco about
13908 &quot;&lt;a href=&quot;http://tiebing.blogspot.no/2009/12/ad-hoc-cell-splitting-re-post-original.html&quot;&gt;Information
13909 about cell-id splitting, stuck beacons, and failed IBSS merges!&lt;/a&gt;
13910 for details.) When these settings are activated and you have some
13911 other mesh node nearby, your computer will be connected to the mesh
13912 network and can communicate with any mesh node that is connected to
13913 any of the nodes in your network of nodes. :)&lt;/p&gt;
13914
13915 &lt;p&gt;My initial plan was to reuse my old Linksys WRT54GL as a mesh node,
13916 but that seem to be very hard, as I have not been able to locate a
13917 firmware supporting batman-adv. If anyone know how to use that old
13918 wifi access point with batman-adv these days, please let me know.&lt;/p&gt;
13919
13920 &lt;p&gt;If you find this project interesting and want to join, please join
13921 us on IRC, either channel
13922 &lt;a href=&quot;irc://irc.freenode.net/#oslohackerspace&quot;&gt;#oslohackerspace&lt;/a&gt;
13923 or &lt;a href=&quot;irc://irc.freenode.net/#nuug&quot;&gt;#nuug&lt;/a&gt; on
13924 irc.freenode.net.&lt;/p&gt;
13925
13926 &lt;p&gt;While investigating mesh networks in Oslo, I came across an old
13927 research paper from the university of Stavanger and Telenor Research
13928 and Innovation called
13929 &lt;a href=&quot;http://folk.uio.no/paalee/publications/netrel-egeland-iswcs-2008.pdf&quot;&gt;The
13930 reliability of wireless backhaul mesh networks&lt;/a&gt; and elsewhere
13931 learned that Telenor have been experimenting with mesh networks at
13932 Grünerløkka in Oslo. So mesh networks are also interesting for
13933 commercial companies, even though Telenor discovered that it was hard
13934 to figure out a good business plan for mesh networking and as far as I
13935 know have closed down the experiment. Perhaps Telenor or others would
13936 be interested in a cooperation?&lt;/p&gt;
13937
13938 &lt;p&gt;&lt;strong&gt;Update 2013-10-12&lt;/strong&gt;: I was just
13939 &lt;a href=&quot;http://lists.alioth.debian.org/pipermail/freedombox-discuss/2013-October/005900.html&quot;&gt;told
13940 by the Serval project developers&lt;/a&gt; that they no longer use
13941 batman-adv (but are compatible with it), but their own crypto based
13942 mesh system.&lt;/p&gt;
13943 </description>
13944 </item>
13945
13946 <item>
13947 <title>Skolelinux / Debian Edu 7.1 install and overview video from Marcelo Salvador</title>
13948 <link>http://people.skolelinux.org/pere/blog/Skolelinux___Debian_Edu_7_1_install_and_overview_video_from_Marcelo_Salvador.html</link>
13949 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Skolelinux___Debian_Edu_7_1_install_and_overview_video_from_Marcelo_Salvador.html</guid>
13950 <pubDate>Tue, 8 Oct 2013 17:10:00 +0200</pubDate>
13951 <description>&lt;p&gt;The other day I was pleased and surprised to discover that Marcelo
13952 Salvador had published a
13953 &lt;a href=&quot;https://www.youtube.com/watch?v=w-GgpdqgLFc&quot;&gt;video on
13954 Youtube&lt;/a&gt; showing how to install the standalone Debian Edu /
13955 Skolelinux profile. This is the profile intended for use at home or
13956 on laptops that should not be integrated into the provided network
13957 services (no central home directory, no Kerberos / LDAP directory etc,
13958 in other word a single user machine). The result is 11 minutes long,
13959 and show some user applications (seem to be rather randomly picked).
13960 Missed a few of my favorites like celestia, planets and chromium
13961 showing the &lt;a href=&quot;http://www.zygotebody.com/&quot;&gt;Zygote Body 3D model
13962 of the human body&lt;/a&gt;, but I guess he did not know about those or find
13963 other programs more interesting. :) And the video do not show the
13964 advantages I believe is one of the most valuable featuers in Debian
13965 Edu, its central school server making it possible to run hundreds of
13966 computers without hard drives by installing one central
13967 &lt;a href=&quot;http://www.ltsp.org/&quot;&gt;LTSP server&lt;/a&gt;.&lt;/p&gt;
13968
13969 &lt;p&gt;Anyway, check out the video, embedded below and linked to above:&lt;/p&gt;
13970
13971 &lt;iframe width=&quot;420&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/w-GgpdqgLFc&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
13972
13973 &lt;p&gt;Are there other nice videos demonstrating Skolelinux? Please let
13974 me know. :)&lt;/p&gt;
13975 </description>
13976 </item>
13977
13978 <item>
13979 <title>Finally, Debian Edu Wheezy is released today!</title>
13980 <link>http://people.skolelinux.org/pere/blog/Finally__Debian_Edu_Wheezy_is_released_today_.html</link>
13981 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Finally__Debian_Edu_Wheezy_is_released_today_.html</guid>
13982 <pubDate>Sun, 29 Sep 2013 10:20:00 +0200</pubDate>
13983 <description>&lt;p&gt;A few hours ago, the announcement for the first stable release of
13984 Debian Edu Wheezy went out from the Debian publicity team. The
13985 complete announcement text can be found at
13986 &lt;a href=&quot;http://www.debian.org/News/2013/20130928&quot;&gt;the Debian News
13987 section&lt;/a&gt;, translated to several languages. Please check it out.&lt;/p&gt;
13988
13989 &lt;p&gt;There is one minor known problem that we will fix very soon. One
13990 can not install a amd64 Thin Client Server using PXE, as the /var/
13991 partition is too small. A workaround is to extend the partition (use
13992 lvresize + resize2fs in tty 2 while installing).&lt;/p&gt;
13993 </description>
13994 </item>
13995
13996 <item>
13997 <title>Videos about the Freedombox project - for inspiration and learning</title>
13998 <link>http://people.skolelinux.org/pere/blog/Videos_about_the_Freedombox_project___for_inspiration_and_learning.html</link>
13999 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Videos_about_the_Freedombox_project___for_inspiration_and_learning.html</guid>
14000 <pubDate>Fri, 27 Sep 2013 14:10:00 +0200</pubDate>
14001 <description>&lt;p&gt;The &lt;a href=&quot;http://www.freedomboxfoundation.org/&quot;&gt;Freedombox
14002 project&lt;/a&gt; have been going on for a while, and have presented the
14003 vision, ideas and solution several places. Here is a little
14004 collection of videos of talks and presentation of the project.&lt;/p&gt;
14005
14006 &lt;ul&gt;
14007
14008 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=ukvUz5taxvA&quot;&gt;FreedomBox -
14009 2,5 minute marketing film&lt;/a&gt; (Youtube)&lt;/li&gt;
14010
14011 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=SzW25QTVWsE&quot;&gt;Eben Moglen
14012 discusses the Freedombox on CBS news 2011&lt;/a&gt; (Youtube)&lt;/li&gt;
14013
14014 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=Ae8SZbxfE0g&quot;&gt;Eben Moglen -
14015 Freedom in the Cloud - Software Freedom, Privacy and and Security for
14016 Web 2.0 and Cloud computing at ISOC-NY Public Meeting 2010&lt;/a&gt;
14017 (Youtube)&lt;/li&gt;
14018
14019 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=vNaIji_3xBE&quot;&gt;Fosdem 2011
14020 Keynote by Eben Moglen presenting the Freedombox&lt;/a&gt; (Youtube)&lt;/li&gt;
14021
14022 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=9bDDUyJSQ9s&quot;&gt;Presentation of
14023 the Freedombox by James Vasile at Elevate in Gratz 2011&lt;/a&gt; (Youtube)&lt;/li&gt;
14024
14025 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=zQTmnk27g9s&quot;&gt; Freedombox -
14026 Discovery, Identity, and Trust by Nick Daly at Freedombox Hackfest New
14027 York City in 2012&lt;/a&gt; (Youtube)&lt;/li&gt;
14028
14029 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=tkbSB4Ba7Ck&quot;&gt;Introduction
14030 to the Freedombox at Freedombox Hackfest New York City in 2012&lt;/a&gt;
14031 (Youtube)&lt;/li&gt;
14032
14033 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=z-P2Jaeg0aQ&quot;&gt;Freedom, Out
14034 of the Box! by Bdale Garbee at linux.conf.au Ballarat, 2012&lt;/a&gt; (Youtube) &lt;/li&gt;
14035
14036 &lt;li&gt;&lt;a href=&quot;https://archive.fosdem.org/2013/schedule/event/freedombox/&quot;&gt;Freedombox
14037 1.0 by Eben Moglen and Bdale Garbee at Fosdem 2013&lt;/a&gt; (FOSDEM) &lt;/li&gt;
14038
14039 &lt;li&gt;&lt;a href=&quot;http://www.youtube.com/watch?v=e1LpYX2zVYg&quot;&gt;What is the
14040 FreedomBox today by Bdale Garbee at Debconf13 in Vaumarcus
14041 2013&lt;/a&gt; (Youtube)&lt;/li&gt;
14042
14043 &lt;/ul&gt;
14044
14045 &lt;p&gt;A larger list is available from
14046 &lt;a href=&quot;https://wiki.debian.org/FreedomBox/TalksAndPresentations&quot;&gt;the
14047 Freedombox Wiki&lt;/a&gt;.&lt;/p&gt;
14048
14049 &lt;p&gt;On other news, I am happy to report that Freedombox based on Debian
14050 Jessie is coming along quite well, and soon both Owncloud and using
14051 Tor should be available for testers of the Freedombox solution. :) In
14052 a few weeks I hope everything needed to test it is included in Debian.
14053 The withsqlite package is already in Debian, and the plinth package is
14054 pending in NEW. The third and vital part of that puzzle is the
14055 metapackage/setup framework, which is still pending an upload. Join
14056 us on &lt;a href=&quot;irc://irc.debian.org:6667/%23freedombox&quot;&gt;IRC
14057 (#freedombox on irc.debian.org)&lt;/a&gt; and
14058 &lt;a href=&quot;http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss&quot;&gt;the
14059 mailing list&lt;/a&gt; if you want to help make this vision come true.&lt;/p&gt;
14060 </description>
14061 </item>
14062
14063 <item>
14064 <title>Third and probably last beta release of Debian Edu Wheezy</title>
14065 <link>http://people.skolelinux.org/pere/blog/Third_and_probably_last_beta_release_of_Debian_Edu_Wheezy.html</link>
14066 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Third_and_probably_last_beta_release_of_Debian_Edu_Wheezy.html</guid>
14067 <pubDate>Mon, 16 Sep 2013 21:30:00 +0200</pubDate>
14068 <description>&lt;p&gt;The third wheezy based beta release of Debian Edu was wrapped up
14069 today. This is the release announcement from Holger Levsen:&lt;/p&gt;
14070
14071 &lt;blockquote&gt;
14072 &lt;p&gt;Hi,&lt;/p&gt;
14073
14074 &lt;p&gt;it is my pleasure to announce the third beta release (beta 2 for
14075 short) of &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu /
14076 Skolelinux&lt;/a&gt; based on Debian Wheezy!&lt;/p&gt;
14077
14078 &lt;p&gt;Please test these images extensivly, if no new problems are found
14079 we plan to do this final Debian Edu Wheezy release this coming
14080 weekend. We are not aware of any major problems or blockers in beta2,
14081 if you find something, please notify us immediately!&lt;/p&gt;
14082
14083 &lt;p&gt;(More about the remaining steps for the Edu Wheezy release in
14084 another mail to the edu list tonight or tomorrow...)&lt;/p&gt;
14085
14086 &lt;p&gt;Noteworthy changes and software updates for Debian Edu 7.1+edu0~b2
14087 compared to beta1:&lt;/p&gt;
14088
14089 &lt;ul&gt;
14090
14091 &lt;li&gt;The KDE proxy setup has been adjusted to use the provided wpad.dat. This
14092 also gets Chromium to use this proxy.&lt;/li&gt;
14093 &lt;li&gt;Install kdepim-groupware with KDE desktops to make sure korganizer
14094 understand ical/dav sources.&lt;/li&gt;
14095 &lt;li&gt;Increased default maximum size of /var/spool/squid and /skole/backup on the
14096 main server.&lt;/li&gt;
14097 &lt;li&gt;A source DVD image containing all source packages is now available as well.&lt;/li&gt;
14098 &lt;li&gt;Updates for chromium (29.0.1547.57-1~deb7u1), imagemagick
14099 (6.7.7.10-5+deb7u2), php5 (5.4.4-14+deb7u4), libmodplug
14100 (0.8.8.4-3+deb7u1+git20130828), tiff (4.0.2-6+deb7u2), linux-image
14101 (3.2.0-4-486_3.2.46-1+deb7u1).&lt;/li&gt;
14102
14103 &lt;/ul&gt;
14104
14105 &lt;p&gt;Where to get it:&lt;/p&gt;
14106
14107 &lt;p&gt;To download the multiarch netinstall CD release you can use&lt;/p&gt;
14108
14109 &lt;ul&gt;
14110 &lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-CD.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-CD.iso&lt;/a&gt;&lt;/li&gt;
14111 &lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-CD.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-CD.iso&lt;/a&gt;&lt;/li&gt;
14112 &lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-CD.iso .&lt;/li&gt;
14113 &lt;/ul&gt;
14114
14115 &lt;p&gt;The SHA1SUM of this image is: 3a1c89f4666df80eebcd46c5bf5fedb866f9472f&lt;/p&gt;
14116
14117 &lt;p&gt;To download the multiarch USB stick ISO release you can use
14118 &lt;ul&gt;
14119 &lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-USB.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-USB.iso&lt;/a&gt;&lt;/li&gt;
14120 &lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-USB.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-USB.iso&lt;/a&gt;&lt;/li&gt;
14121 &lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-USB.iso .&lt;/li&gt;
14122 &lt;/ul&gt;
14123
14124 &lt;p&gt;The SHA1SUM of this image is: 702d1718548f401c74bfa6df9f032cc3ee16597e&lt;/p&gt;
14125
14126 &lt;p&gt;The Source DVD image has the filename
14127 debian-edu-7.1+edu0~b2-source-DVD.iso and the SHA1SUM
14128 089eed8b3f962db47aae1f6a9685e9bb2fa30ca5 and is available the same way
14129 as the other isos.&lt;/p&gt;
14130
14131 &lt;p&gt;How to report bugs&lt;/p&gt;
14132
14133 &lt;p&gt;For information how to report bugs please see
14134 &lt;br&gt;&lt;a href=&quot;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&quot;&gt;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&lt;/a&gt;&lt;/p&gt;
14135
14136
14137 &lt;p&gt;About Debian Edu and Skolelinux&lt;/p&gt;
14138
14139 &lt;p&gt;Debian Edu, also known as Skolelinux, is a Linux distribution based
14140 on Debian providing an out-of-the box environment of a completely
14141 configured school network. Immediately after installation a school
14142 server running all services needed for a school network is set up just
14143 waiting for users and machines being added via GOsa², a comfortable
14144 Web-UI. A netbooting environment is prepared using PXE, so after
14145 initial installation of the main server from CD or USB stick all other
14146 machines can be installed via the network. The provided school server
14147 provides LDAP database and Kerberos authentication service,
14148 centralized home directories, DHCP server, web proxy and many other
14149 services. The desktop contains more than 60 educational software
14150 packages and more are available from the Debian archive, and schools
14151 can choose between KDE, Gnome, LXDE and Xfce desktop environment.&lt;/p&gt;
14152
14153 &lt;p&gt;This is the seventh test release based on Debian Wheezy. Basically
14154 this is an updated and slightly improved version compared to the
14155 Squeeze release.&lt;/p&gt;
14156
14157 &lt;p&gt;Notes for upgrades from Alpha Prereleases&lt;/p&gt;
14158
14159 &lt;p&gt;Alpha based installations should reinstall or downgrade the
14160 versions of gosa and libpam-mklocaluser to the ones used in this beta
14161 release. Both alpha and beta0 based installations should reinstall or
14162 deal with gosa.conf manually; there are two options: (1) Keep
14163 gosa.conf and edit this file as outlined on the mailing list. (2)
14164 Accept the new version of gosa.conf and replace both contained admin
14165 password placeholders with the password hashes found in the old one
14166 (backup copy!). In both cases all users need to change their password
14167 to make sure a password is set for CIFS access to their home
14168 directory.&lt;/p&gt;
14169
14170
14171 &lt;p&gt;cheers,
14172 &lt;br&gt; Holger&lt;/p&gt;
14173 &lt;/blockquote&gt;
14174 </description>
14175 </item>
14176
14177 <item>
14178 <title>Recipe to test the Freedombox project on amd64 or Raspberry Pi</title>
14179 <link>http://people.skolelinux.org/pere/blog/Recipe_to_test_the_Freedombox_project_on_amd64_or_Raspberry_Pi.html</link>
14180 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Recipe_to_test_the_Freedombox_project_on_amd64_or_Raspberry_Pi.html</guid>
14181 <pubDate>Tue, 10 Sep 2013 14:20:00 +0200</pubDate>
14182 <description>&lt;p&gt;I was introduced to the
14183 &lt;a href=&quot;http://www.freedomboxfoundation.org/&quot;&gt;Freedombox project&lt;/a&gt;
14184 in 2010, when Eben Moglen presented his vision about serving the need
14185 of non-technical people to keep their personal information private and
14186 within the legal protection of their own homes. The idea is to give
14187 people back the power over their network and machines, and return
14188 Internet back to its intended peer-to-peer architecture. Instead of
14189 depending on a central service, the Freedombox will give everyone
14190 control over their own basic infrastructure.&lt;/p&gt;
14191
14192 &lt;p&gt;I&#39;ve intended to join the effort since then, but other tasks have
14193 taken priority. But this summers nasty news about the misuse of trust
14194 and privilege exercised by the &quot;western&quot; intelligence gathering
14195 communities increased my eagerness to contribute to a point where I
14196 actually started working on the project a while back.&lt;/p&gt;
14197
14198 &lt;p&gt;The &lt;a href=&quot;https://alioth.debian.org/projects/freedombox/&quot;&gt;initial
14199 Debian initiative&lt;/a&gt; based on the vision from Eben Moglen, is to
14200 create a simple and cheap Debian based appliance that anyone can hook
14201 up in their home and get access to secure and private services and
14202 communication. The initial deployment platform have been the
14203 &lt;a href=&quot;http://www.globalscaletechnologies.com/t-dreamplugdetails.aspx&quot;&gt;Dreamplug&lt;/a&gt;,
14204 which is a piece of hardware I do not own. So to be able to test what
14205 the current Freedombox setup look like, I had to come up with a way to install
14206 it on some hardware I do have access to. I have rewritten the
14207 &lt;a href=&quot;https://github.com/NickDaly/freedom-maker&quot;&gt;freedom-maker&lt;/a&gt;
14208 image build framework to use .deb packages instead of only copying
14209 setup into the boot images, and thanks to this rewrite I am able to
14210 set up any machine supported by Debian Wheezy as a Freedombox, using
14211 the previously mentioned deb (and a few support debs for packages
14212 missing in Debian).&lt;/p&gt;
14213
14214 &lt;p&gt;The current Freedombox setup consist of a set of bootstrapping
14215 scripts
14216 (&lt;a href=&quot;https://github.com/petterreinholdtsen/freedombox-setup&quot;&gt;freedombox-setup&lt;/a&gt;),
14217 and a administrative web interface
14218 (&lt;a href=&quot;https://github.com/NickDaly/Plinth&quot;&gt;plinth&lt;/a&gt; + exmachina +
14219 withsqlite), as well as a privacy enhancing proxy based on
14220 &lt;a href=&quot;http://packages.qa.debian.org/privoxy&quot;&gt;privoxy&lt;/a&gt;
14221 (freedombox-privoxy). There is also a web/javascript based XMPP
14222 client (&lt;a href=&quot;http://packages.qa.debian.org/jwchat&quot;&gt;jwchat&lt;/a&gt;)
14223 trying (unsuccessfully so far) to talk to the XMPP server
14224 (&lt;a href=&quot;http://packages.qa.debian.org/ejabberd&quot;&gt;ejabberd&lt;/a&gt;). The
14225 web interface is pluggable, and the goal is to use it to enable OpenID
14226 services, mesh network connectivity, use of TOR, etc, etc. Not much of
14227 this is really working yet, see
14228 &lt;a href=&quot;https://github.com/NickDaly/freedombox-todos/blob/master/TODO&quot;&gt;the
14229 project TODO&lt;/a&gt; for links to GIT repositories. Most of the code is
14230 on github at the moment. The HTTP proxy is operational out of the
14231 box, and the admin web interface can be used to add/remove plinth
14232 users. I&#39;ve not been able to do anything else with it so far, but
14233 know there are several branches spread around github and other places
14234 with lots of half baked features.&lt;/p&gt;
14235
14236 &lt;p&gt;Anyway, if you want to have a look at the current state, the
14237 following recipes should work to give you a test machine to poke
14238 at.&lt;/p&gt;
14239
14240 &lt;p&gt;&lt;strong&gt;Debian Wheezy amd64&lt;/strong&gt;&lt;/p&gt;
14241
14242 &lt;ol&gt;
14243
14244 &lt;li&gt;Fetch normal Debian Wheezy installation ISO.&lt;/li&gt;
14245 &lt;li&gt;Boot from it, either as CD or USB stick.&lt;/li&gt;
14246 &lt;li&gt;&lt;p&gt;Press [tab] on the boot prompt and add this as a boot argument
14247 to the Debian installer:&lt;p&gt;
14248 &lt;pre&gt;url=&lt;a href=&quot;http://www.reinholdtsen.name/freedombox/preseed-wheezy.dat&quot;&gt;http://www.reinholdtsen.name/freedombox/preseed-wheezy.dat&lt;/a&gt;&lt;/pre&gt;&lt;/li&gt;
14249
14250 &lt;li&gt;Answer the few language/region/password questions and pick disk to
14251 install on.&lt;/li&gt;
14252
14253 &lt;li&gt;When the installation is finished and the machine have rebooted a
14254 few times, your Freedombox is ready for testing.&lt;/li&gt;
14255
14256 &lt;/ol&gt;
14257
14258 &lt;p&gt;&lt;strong&gt;Raspberry Pi Raspbian&lt;/strong&gt;&lt;/p&gt;
14259
14260 &lt;ol&gt;
14261
14262 &lt;li&gt;Fetch a Raspbian SD card image, create SD card.&lt;/li&gt;
14263 &lt;li&gt;Boot from SD card, extend file system to fill the card completely.&lt;/li&gt;
14264 &lt;li&gt;&lt;p&gt;Log in and add this to /etc/sources.list:&lt;/p&gt;
14265 &lt;pre&gt;
14266 deb &lt;a href=&quot;http://www.reinholdtsen.name/freedombox/&quot;&gt;http://www.reinholdtsen.name/freedombox&lt;/a&gt; wheezy main
14267 &lt;/pre&gt;&lt;/li&gt;
14268 &lt;li&gt;&lt;p&gt;Run this as root:&lt;/p&gt;
14269 &lt;pre&gt;
14270 wget -O - http://www.reinholdtsen.name/freedombox/BE1A583D.asc | \
14271 apt-key add -
14272 apt-get update
14273 apt-get install freedombox-setup
14274 /usr/lib/freedombox/setup
14275 &lt;/pre&gt;&lt;/li&gt;
14276 &lt;li&gt;Reboot into your freshly created Freedombox.&lt;/li&gt;
14277
14278 &lt;/ol&gt;
14279
14280 &lt;p&gt;You can test it on other architectures too, but because the
14281 freedombox-privoxy package is binary, it will only work as intended on
14282 the architectures where I have had time to build the binary and put it
14283 in my APT repository. But do not let this stop you. It is only a
14284 short &quot;&lt;tt&gt;apt-get source -b freedombox-privoxy&lt;/tt&gt;&quot; away. :)&lt;/p&gt;
14285
14286 &lt;p&gt;Note that by default Freedombox is a DHCP server on the
14287 192.168.1.0/24 subnet, so if this is your subnet be careful and turn
14288 off the DHCP server by running &quot;&lt;tt&gt;update-rc.d isc-dhcp-server
14289 disable&lt;/tt&gt;&quot; as root.&lt;/p&gt;
14290
14291 &lt;p&gt;Please let me know if this works for you, or if you have any
14292 problems. We gather on the IRC channel
14293 &lt;a href=&quot;irc://irc.debian.org:6667/%23freedombox&quot;&gt;#freedombox&lt;/a&gt; on
14294 irc.debian.org and the
14295 &lt;a href=&quot;http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/freedombox-discuss&quot;&gt;project
14296 mailing list&lt;/a&gt;.&lt;/p&gt;
14297
14298 &lt;p&gt;Once you get your freedombox operational, you can visit
14299 &lt;tt&gt;http://your-host-name:8001/&lt;/tt&gt; to see the state of the plint
14300 welcome screen (dead end - do not be surprised if you are unable to
14301 get past it), and next visit &lt;tt&gt;http://your-host-name:8001/help/&lt;/tt&gt;
14302 to look at the rest of plinth. The default user is &#39;admin&#39; and the
14303 default password is &#39;secret&#39;.&lt;/p&gt;
14304 </description>
14305 </item>
14306
14307 <item>
14308 <title>Second beta release (beta 1) of Debian Edu/Skolelinux based on Debian Wheezy</title>
14309 <link>http://people.skolelinux.org/pere/blog/Second_beta_release__beta_1__of_Debian_Edu_Skolelinux_based_on_Debian_Wheezy.html</link>
14310 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Second_beta_release__beta_1__of_Debian_Edu_Skolelinux_based_on_Debian_Wheezy.html</guid>
14311 <pubDate>Thu, 22 Aug 2013 09:30:00 +0200</pubDate>
14312 <description>&lt;p&gt;The second wheezy based beta release of Debian Edu was wrapped up
14313 today, slightly delayed because of some bugs in the initial Windows
14314 integration fixes . This is the release announcement:&lt;/p&gt;
14315
14316 &lt;p&gt;&lt;strong&gt;New features for Debian Edu 7.1+edu0~b1 released 2013-08-22&lt;/strong&gt;&lt;/p&gt;
14317
14318 &lt;p&gt;These are the release notes for Debian Edu / Skolelinux
14319 7.1+edu0~b1, based on Debian with codename &quot;Wheezy&quot;.&lt;/p&gt;
14320
14321 &lt;p&gt;&lt;strong&gt;About Debian Edu and Skolelinux&lt;/strong&gt;&lt;/p&gt;
14322
14323 &lt;p&gt;&lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu, also known as
14324 Skolelinux&lt;/a&gt;, is a Linux distribution based on Debian providing an
14325 out-of-the box environment of a completely configured school
14326 network. Immediately after installation a school server running all
14327 services needed for a school network is set up just waiting for users
14328 and machines being added via GOsa², a comfortable Web-UI. A netbooting
14329 environment is prepared using PXE, so after initial installation of
14330 the main server from CD or USB stick all other machines can be
14331 installed via the network. The provided school server provides LDAP
14332 database and Kerberos authentication service, centralized home
14333 directories, DHCP server, web proxy and many other services. The
14334 desktop contains
14335 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Educational_applications_included_in_Debian_Edu___Skolelinux__the_screenshot_collection____.html&quot;&gt;more
14336 than 60 educational software packages&lt;/a&gt; and more are available from
14337 the Debian archive, and schools can choose between KDE, Gnome, LXDE
14338 and Xfce desktop environment.&lt;/p&gt;
14339
14340 &lt;p&gt;This is the sixth test release based on Debian Wheezy. Basically this
14341 is an updated and slightly improved version compared to the Squeeze
14342 release.&lt;/p&gt;
14343
14344 &lt;p&gt;ALERT: Alpha based installations should reinstall or downgrade the
14345 versions of gosa and libpam-mklocaluser to the ones used in this beta
14346 release. Both alpha and beta0 based installations should reinstall or
14347 deal with gosa.conf manually; there are two options: (1) Keep
14348 gosa.conf and edit this file as outlined
14349 &lt;a href=&quot;http://lists.debian.org/debian-edu/2013/08/msg00127.html&quot;&gt;on
14350 the mailing list&lt;/a&gt;. (2) Accept the new version of gosa.conf and
14351 replace both contained admin password placeholders with the password
14352 hashes found in the old one (backup copy!). In both cases every user
14353 need to change their their password to make sure a password is set for
14354 CIFS access to their home directory.&lt;/p&gt;
14355
14356 &lt;p&gt;&lt;strong&gt;Software updates&lt;/strong&gt;&lt;/p&gt;
14357
14358 &lt;ul&gt;
14359
14360 &lt;li&gt;Added ssh askpass packages to default installation, to ensure ssh
14361 work also without a attached tty.&lt;/li&gt;
14362 &lt;li&gt;Add the command-not-found package to the default installation to
14363 make it easier to figure out where to find missing command line
14364 tools. Please note, that the command &#39;update-command-not-found&#39;
14365 has to be run as root to actually make it useful (internet access
14366 required).&lt;/li&gt;
14367
14368 &lt;/ul&gt;
14369
14370 &lt;p&gt;&lt;strong&gt;Other changes&lt;/strong&gt;&lt;/p&gt;
14371
14372 &lt;ul&gt;
14373
14374 &lt;li&gt;Adjusted the USB stick ISO image build to include every tool
14375 needed for desktop=xfce installations.&lt;/li&gt;
14376 &lt;li&gt;Adjust thin-client-server task to work when installing from USB
14377 stick ISO image.&lt;/li&gt;
14378 &lt;li&gt;Made new grub artwork (changed png from indexed to RGB format).&lt;/li&gt;
14379 &lt;li&gt;Minor cleanup in the CUPS setup.&lt;/li&gt;
14380 &lt;li&gt;Make sure that bootstrapping of the Samba domain really happens
14381 during installation of the main server and adjust SID handling to
14382 cope with this.&lt;/li&gt;
14383 &lt;li&gt;Make Samba passwords changeable (again) via GOsa².&lt;/li&gt;
14384 &lt;li&gt;Fix generation of LM and NT password hashes via GOsa² to avoid
14385 empty password hashes.&lt;/li&gt;
14386 &lt;li&gt;Adapted Samba machine domain joining to latest change in the
14387 smbldap-tools Perl package, fixing bugs blocking Windows machines
14388 from joining the Samba domain.&lt;/li&gt;
14389
14390 &lt;/ul&gt;
14391
14392 &lt;p&gt;&lt;strong&gt;Known issues&lt;/strong&gt;&lt;/p&gt;
14393
14394 &lt;ul&gt;
14395
14396 &lt;li&gt;KDE fails to understand the wpad.dat file provided, causing it to
14397 not use the http proxy as it should.&lt;/li&gt;
14398 &lt;li&gt;Chromium also fails to use the proxy when using the KDE desktop
14399 (using the KDE configuration).&lt;/li&gt;
14400
14401 &lt;/ul&gt;
14402
14403 &lt;p&gt;&lt;strong&gt;Where to get it&lt;/strong&gt;&lt;/p&gt;
14404
14405 &lt;p&gt;To download the multiarch netinstall CD release you can use&lt;/p&gt;
14406
14407 &lt;ul&gt;
14408
14409 &lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b1-CD.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b1-CD.iso&lt;/a&gt;&lt;/li&gt;
14410
14411 &lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b1-CD.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b1-CD.iso&lt;/a&gt;&lt;/li&gt;
14412
14413 &lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu-7.1+edu0~b1-CD.iso .&lt;/li&gt;
14414
14415 &lt;/ul&gt;
14416
14417 &lt;p&gt;The MD5SUM of this image is: 1e357f80b55e703523f2254adde6d78b
14418 &lt;br&gt;The SHA1SUM of this image is: 7157f9be5fd27c7694d713c6ecfed61c3edda3b2&lt;/p&gt;
14419
14420 &lt;p&gt;To download the multiarch USB stick ISO release you can use&lt;/p&gt;
14421
14422 &lt;ul&gt;
14423
14424 &lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b1-USB.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b1-USB.iso&lt;/a&gt;&lt;/li&gt;
14425 &lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b1-USB.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b1-USB.iso&lt;/a&gt;&lt;/li&gt;
14426 &lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu-7.1+edu0~b1-USB.iso .&lt;/li&gt;
14427
14428 &lt;/ul&gt;
14429
14430 &lt;p&gt;The MD5SUM of this image is: 7a8408ead59cf7e3cef25afb6e91590b
14431 &lt;br&gt;The SHA1SUM of this image is: f1817c031f02790d5edb3bfa0dcf8451088ad119&lt;/p&gt;
14432
14433
14434 &lt;p&gt;&lt;strong&gt;How to report bugs&lt;/strong&gt;&lt;/p&gt;
14435
14436 &lt;p&gt;&lt;a href=&quot;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&quot;&gt;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&lt;/a&gt;
14437 </description>
14438 </item>
14439
14440 <item>
14441 <title>Intel 180 SSD disk with Lenovo firmware can not use Intel firmware</title>
14442 <link>http://people.skolelinux.org/pere/blog/Intel_180_SSD_disk_with_Lenovo_firmware_can_not_use_Intel_firmware.html</link>
14443 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Intel_180_SSD_disk_with_Lenovo_firmware_can_not_use_Intel_firmware.html</guid>
14444 <pubDate>Sun, 18 Aug 2013 14:00:00 +0200</pubDate>
14445 <description>&lt;p&gt;Earlier, I reported about
14446 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/How_to_fix_a_Thinkpad_X230_with_a_broken_180_GB_SSD_disk.html&quot;&gt;my
14447 problems using an Intel SSD 520 Series 180 GB disk&lt;/a&gt;. Friday I was
14448 told by IBM that the original disk should be thrown away. And as
14449 there no longer was a problem if I bricked the firmware, I decided
14450 today to try to install Intel firmware to replace the Lenovo firmware
14451 currently on the disk.&lt;/p&gt;
14452
14453 &lt;p&gt;I searched the Intel site for firmware, and found
14454 &lt;a href=&quot;https://downloadcenter.intel.com/Detail_Desc.aspx?agr=Y&amp;ProdId=3472&amp;DwnldID=18363&amp;ProductFamily=Solid-State+Drives+and+Caching&amp;ProductLine=Intel%c2%ae+High+Performance+Solid-State+Drive&amp;ProductProduct=Intel%c2%ae+SSD+520+Series+(180GB%2c+2.5in+SATA+6Gb%2fs%2c+25nm%2c+MLC)&amp;lang=eng&quot;&gt;issdfut_2.0.4.iso&lt;/a&gt;
14455 (aka Intel SATA Solid-State Drive Firmware Update Tool) which
14456 according to the site should contain the latest firmware for SSD
14457 disks. I inserted the broken disk in one of my spare laptops and
14458 booted the ISO from a USB stick. The disk was recognized, but the
14459 program claimed the newest firmware already were installed and refused
14460 to insert any Intel firmware. So no change, and the disk is still
14461 unable to handle write load. :( I guess the only way to get them
14462 working would be if Lenovo releases new firmware. No idea how likely
14463 that is. Anyway, just blogging about this test for completeness. I
14464 got a working Samsung disk, and see no point in spending more time on
14465 the broken disks.&lt;/p&gt;
14466 </description>
14467 </item>
14468
14469 <item>
14470 <title>90 percent done with the Norwegian draft translation of Free Culture</title>
14471 <link>http://people.skolelinux.org/pere/blog/90_percent_done_with_the_Norwegian_draft_translation_of_Free_Culture.html</link>
14472 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/90_percent_done_with_the_Norwegian_draft_translation_of_Free_Culture.html</guid>
14473 <pubDate>Fri, 2 Aug 2013 10:40:00 +0200</pubDate>
14474 <description>&lt;p&gt;It has been a while since my last update. Since last summer, I
14475 have worked on a Norwegian
14476 &lt;a href=&quot;http://www.docbook.org/&quot;&gt;docbook&lt;/a&gt; version of the 2004 book
14477 &lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free Culture&lt;/a&gt; by Lawrence Lessig,
14478 to get a Norwegian text explaining the problems with the copyright
14479 law. Yesterday, I finally broken the 90% mark, when counting the
14480 number of strings to translate. Due to real life constraints, I have
14481 not had time to work on it since March, but when the summer broke out,
14482 I found time to work on it again. Still lots of work left, but the
14483 first draft is nearing completion. I created a graph to show the
14484 progress of the translation:&lt;/p&gt;
14485
14486 &lt;p&gt;&lt;img width=&quot;80%&quot; align=&quot;center&quot; src=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/raw/master/progress.png&quot;&gt;&lt;/p&gt;
14487
14488 &lt;p&gt;When the first draft is done, the translated text need to be
14489 proof read, and the remaining formatting problems with images and SVG
14490 drawings need to be fixed. There are probably also some index entries
14491 missing that need to be added. This can be done by comparing the
14492 index entries listed in the SiSU version of the book, or comparing the
14493 English docbook version with the paper version. Last, the colophon
14494 page with ISBN numbers etc need to be wrapped up before the release is
14495 done. I should also figure out how to get correct Norwegian sorting
14496 of the index pages. All docbook tools I have tried so far (xmlto,
14497 docbook-xsl, dblatex) get the order of symbols and the special
14498 Norwegian letters ÆØÅ wrong.&lt;/p&gt;
14499
14500 &lt;p&gt;There is still need for translators and people with docbook
14501 knowledge, to be able to get a good looking book (I still struggle
14502 with dblatex, xmlto and docbook-xsl) as well as to do the draft
14503 translation and proof reading. And I would like the figures to be
14504 redrawn as SVGs to make it easy to translate them. Any SVG master
14505 around? There are also some legal terms that are unfamiliar to me.
14506 If you want to help, please get in touch with me, and check out the
14507 project files currently available from
14508 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;github&lt;/a&gt;.&lt;/p&gt;
14509
14510 &lt;p&gt;If you are curious what the translated book currently look like,
14511 the updated
14512 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/blob/master/archive/freeculture.nb.pdf?raw=true&quot;&gt;PDF&lt;/a&gt;
14513 and
14514 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/blob/master/archive/freeculture.nb.epub?raw=true&quot;&gt;EPUB&lt;/a&gt;
14515 are published on github. The HTML version is published as well, but
14516 github hand it out with MIME type text/plain, confusing browsers, so I
14517 saw no point in linking to that version.&lt;/p&gt;
14518 </description>
14519 </item>
14520
14521 <item>
14522 <title>First beta release of Debian Edu/Skolelinux based on Debian Wheezy</title>
14523 <link>http://people.skolelinux.org/pere/blog/First_beta_release_of_Debian_Edu_Skolelinux_based_on_Debian_Wheezy.html</link>
14524 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_beta_release_of_Debian_Edu_Skolelinux_based_on_Debian_Wheezy.html</guid>
14525 <pubDate>Sat, 27 Jul 2013 20:30:00 +0200</pubDate>
14526 <description>&lt;p&gt;The first wheezy based beta release of Debian Edu was wrapped up
14527 today. This is the release announcement:&lt;/p&gt;
14528
14529 &lt;p&gt;&lt;strong&gt;New features for Debian Edu 7.1+edu0~b0 released
14530 2013-07-27&lt;/strong&gt;&lt;/p&gt;
14531
14532 &lt;p&gt;These are the release notes for for Debian Edu / Skolelinux
14533 7.1+edu0~b0, based on Debian with codename &quot;Wheezy&quot;.&lt;/p&gt;
14534
14535 &lt;p&gt;&lt;strong&gt;About Debian Edu and Skolelinux&lt;/strong&gt;&lt;/p&gt;
14536
14537 &lt;p&gt;&lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu, also known as
14538 Skolelinux&lt;/a&gt;, is a Linux distribution based on Debian providing an
14539 out-of-the box environment of a completely configured school
14540 network. Immediately after installation a school server running all
14541 services needed for a school network is set up just waiting for users
14542 and machines being added via GOsa², a comfortable Web-UI. A netbooting
14543 environment is prepared using PXE, so after initial installation of
14544 the main server from CD, DVD or USB stick all other machines can be
14545 installed via the network. The provided school server provides LDAP
14546 database and Kerberos authentication service, centralized home
14547 directories, DHCP server, web proxy and many other services. The
14548 desktop contains
14549 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Educational_applications_included_in_Debian_Edu___Skolelinux__the_screenshot_collection____.html&quot;&gt;more
14550 than 60 educational software packages&lt;/a&gt; and more are available from
14551 the Debian archive, and schools can choose between KDE, Gnome, LXDE
14552 and Xfce desktop environment.&lt;/p&gt;
14553
14554 &lt;p&gt;This is the fifth test release based on Debian Wheezy. Basically
14555 this is an updated and slightly improved version compared to the
14556 Squeeze release.&lt;/p&gt;
14557
14558 &lt;p&gt;ALERT: Alpha based installations should reinstall or downgrade the
14559 versions of gosa and libpam-mklocaluser to the ones used in this beta
14560 release.&lt;/p&gt;
14561
14562 &lt;p&gt;&lt;strong&gt;Software updates&lt;/strong&gt;&lt;/p&gt;
14563
14564 &lt;ul&gt;
14565
14566 &lt;li&gt;Switched roaming workstation profiles from wicd to network-manager
14567 for network configuration, as wicd didn&#39;t work any more.&lt;/li&gt;
14568 &lt;li&gt;Changed version numbers of patched gosa and libpam-mklocaluser
14569 packages to make sure our locally patched versions will be replaced
14570 by the official packages when they are released from Debian. Those
14571 installing alpha version need to reinstall or manually downgrade gosa
14572 and libpam-mklocaluser.&lt;/li&gt;
14573 &lt;li&gt;Added bluetooth tools to the default desktop (bluedevil, blueman).&lt;/li&gt;
14574 &lt;li&gt;Added tools for sharing the desktop on KDE (krdc, krfb).&lt;/li&gt;
14575 &lt;li&gt;Added valgrind to the default installation for easier debugging of
14576 crash bugs.&lt;/li&gt;
14577
14578 &lt;/ul&gt;
14579
14580 &lt;p&gt;&lt;strong&gt;Other changes&lt;/strong&gt;&lt;/p&gt;
14581
14582 &lt;ul&gt;
14583
14584 &lt;li&gt;Fixed artwork package to work with gnome, no longer break
14585 desktop=gnome installations.&lt;/li&gt;
14586 &lt;li&gt;Adjusted installer to now work when forced to use a proxy with the
14587 netinst CD.&lt;/li&gt;
14588 &lt;li&gt;Fixed code detecting and setting/loading hardware specific
14589 setup/firmware to work more robust out of the box.&lt;/li&gt;
14590 &lt;li&gt;Adjusted Kerberos setup to detect realm and server settings at
14591 install time instead of dynamically at run time. This avoid a crash
14592 with krb5-auth-dialog on diskless workstations without a DNS name.&lt;/li&gt;
14593 &lt;li&gt;Worked around misfeature in network-manager not calling the dhclient
14594 exit hooks, causing automatic proxy configuration and automatic host
14595 name setting at run time to work again.&lt;/li&gt;
14596 &lt;li&gt;Fixed feature setting the default Iceweasel start page from URL
14597 fetched from LDAP, to allow schools to set the global default by
14598 updating the dc=skole,dc=skolelinux,dc=no LDAP object.&lt;/li&gt;
14599 &lt;li&gt;Changed default host name on all networked machines to be unique
14600 (generated from MAC or reverse DNS) after boot.&lt;/li&gt;
14601 &lt;li&gt;Adjusted partition sizes to make sure they are big enough.&lt;/li&gt;
14602
14603 &lt;/ul&gt;
14604
14605 &lt;p&gt;&lt;strong&gt;Known issues&lt;/strong&gt;&lt;/p&gt;
14606
14607 &lt;ul&gt;
14608
14609 &lt;li&gt;Grub is missing the new artwork.&lt;/li&gt;
14610 &lt;li&gt;KDE fail to understand the wpad.dat file provided, causing it to
14611 not use the http proxy as it should.&lt;/li&gt;
14612 &lt;li&gt;Chromium also fail to use the proxy.&lt;/li&gt;
14613
14614 &lt;/ul&gt;
14615
14616 &lt;p&gt;&lt;strong&gt;Where to get it&lt;/strong&gt;&lt;/p&gt;
14617
14618 &lt;p&gt;To download the multiarch netinstall CD release you can use&lt;/p&gt;
14619
14620 &lt;ul&gt;
14621
14622 &lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-CD.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-CD.iso&lt;/a&gt;&lt;/li&gt;
14623
14624 &lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-CD.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-CD.iso&lt;/a&gt;&lt;/li&gt;
14625
14626 &lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-CD.iso .&lt;/li&gt;
14627
14628 &lt;/ul&gt;
14629
14630 &lt;p&gt;The MD5SUM of this image is: 55d5de9765b6dccd5d9ec33cf1a07109
14631 &lt;br&gt;The SHA1SUM of this image is: 996a1d9517740e4d627d100de2d12b23dd545a3f&lt;/p&gt;
14632
14633 &lt;p&gt;To download the multiarch USB stick ISO release you can use&lt;/p&gt;
14634
14635 &lt;ul&gt;
14636
14637 &lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-USB.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-USB.iso&lt;/a&gt;&lt;/li&gt;
14638 &lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-USB.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-USB.iso&lt;/a&gt;&lt;/li&gt;
14639 &lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu-7.1+edu0~b0-USB.iso .&lt;/li&gt;
14640
14641 &lt;/ul&gt;
14642
14643 &lt;p&gt;The MD5SUM of this image is: d8f0818c51a78d357de794066f289f69
14644 &lt;br&gt;The SHA1SUM of this image is: 49185ca354e8d0543240423746924f76a6cee733&lt;/p&gt;
14645
14646
14647 &lt;p&gt;&lt;strong&gt;How to report bugs&lt;/strong&gt;&lt;/p&gt;
14648
14649 &lt;p&gt;&lt;a href=&quot;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&quot;&gt;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&lt;/a&gt;
14650 </description>
14651 </item>
14652
14653 <item>
14654 <title>How to fix a Thinkpad X230 with a broken 180 GB SSD disk</title>
14655 <link>http://people.skolelinux.org/pere/blog/How_to_fix_a_Thinkpad_X230_with_a_broken_180_GB_SSD_disk.html</link>
14656 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_fix_a_Thinkpad_X230_with_a_broken_180_GB_SSD_disk.html</guid>
14657 <pubDate>Wed, 17 Jul 2013 23:50:00 +0200</pubDate>
14658 <description>&lt;p&gt;Today I switched to
14659 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/The_Thinkpad_is_dead__long_live_the_Thinkpad_X230_.html&quot;&gt;my
14660 new laptop&lt;/a&gt;. I&#39;ve previously written about the problems I had with
14661 my new Thinkpad X230, which was delivered with an
14662 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Intel_SSD_520_Series_180_GB_with_Lenovo_firmware_still_lock_up_from_sustained_writes.html&quot;&gt;180
14663 GB Intel SSD disk with Lenovo firmware&lt;/a&gt; that did not handle
14664 sustained writes. My hardware supplier have been very forthcoming in
14665 trying to find a solution, and after first trying with another
14666 identical 180 GB disks they decided to send me a 256 GB Samsung SSD
14667 disk instead to fix it once and for all. The Samsung disk survived
14668 the installation of Debian with encrypted disks (filling the disk with
14669 random data during installation killed the first two), and I thus
14670 decided to trust it with my data. I have installed it as a Debian Edu
14671 Wheezy roaming workstation hooked up with my Debian Edu Squeeze main
14672 server at home using Kerberos and LDAP, and will use it as my work
14673 station from now on.&lt;/p&gt;
14674
14675 &lt;p&gt;As this is a solid state disk with no moving parts, I believe the
14676 Debian Wheezy default installation need to be tuned a bit to increase
14677 performance and increase life time of the disk. The Linux kernel and
14678 user space applications do not yet adjust automatically to such
14679 environment. To make it easier for my self, I created a draft Debian
14680 package &lt;tt&gt;ssd-setup&lt;/tt&gt; to handle this tuning. The
14681 &lt;a href=&quot;http://anonscm.debian.org/gitweb/?p=collab-maint/ssd-setup.git&quot;&gt;source
14682 for the ssd-setup package&lt;/a&gt; is available from collab-maint, and it
14683 is set up to adjust the setup of the machine by just installing the
14684 package. If there is any non-SSD disk in the machine, the package
14685 will refuse to install, as I did not try to write any logic to sort
14686 file systems in SSD and non-SSD file systems.&lt;/p&gt;
14687
14688 &lt;p&gt;I consider the package a draft, as I am a bit unsure how to best
14689 set up Debian Wheezy with an SSD. It is adjusted to my use case,
14690 where I set up the machine with one large encrypted partition (in
14691 addition to /boot), put LVM on top of this and set up partitions on
14692 top of this again. See the README file in the package source for the
14693 references I used to pick the settings. At the moment these
14694 parameters are tuned:&lt;/p&gt;
14695
14696 &lt;ul&gt;
14697
14698 &lt;li&gt;Set up cryptsetup to pass TRIM commands to the physical disk
14699 (adding discard to /etc/crypttab)&lt;/li&gt;
14700
14701 &lt;li&gt;Set up LVM to pass on TRIM commands to the underlying device (in
14702 this case a cryptsetup partition) by changing issue_discards from
14703 0 to 1 in /etc/lvm/lvm.conf.&lt;/li&gt;
14704
14705 &lt;li&gt;Set relatime as a file system option for ext3 and ext4 file
14706 systems.&lt;/li&gt;
14707
14708 &lt;li&gt;Tell swap to use TRIM commands by adding &#39;discard&#39; to
14709 /etc/fstab.&lt;/li&gt;
14710
14711 &lt;li&gt;Change I/O scheduler from cfq to deadline using a udev rule.&lt;/li&gt;
14712
14713 &lt;li&gt;Run fstrim on every ext3 and ext4 file system every night (from
14714 cron.daily).&lt;/li&gt;
14715
14716 &lt;li&gt;Adjust sysctl values vm.swappiness to 1 and vm.vfs_cache_pressure
14717 to 50 to reduce the kernel eagerness to swap out processes.&lt;/li&gt;
14718
14719 &lt;/ul&gt;
14720
14721 &lt;p&gt;During installation, I cancelled the part where the installer fill
14722 the disk with random data, as this would kill the SSD performance for
14723 little gain. My goal with the encrypted file system is to ensure
14724 those stealing my laptop end up with a brick and not a working
14725 computer. I have no hope in keeping the really resourceful people
14726 from getting the data on the disk (see
14727 &lt;a href=&quot;http://xkcd.com/538/&quot;&gt;XKCD #538&lt;/a&gt; for an explanation why).
14728 Thus I concluded that adding the discard option to crypttab is the
14729 right thing to do.&lt;/p&gt;
14730
14731 &lt;p&gt;I considered using the noop I/O scheduler, as several recommended
14732 it for SSD, but others recommended deadline and a benchmark I found
14733 indicated that deadline might be better for interactive use.&lt;/p&gt;
14734
14735 &lt;p&gt;I also considered using the &#39;discard&#39; file system option for ext3
14736 and ext4, but read that it would give a performance hit ever time a
14737 file is removed, and thought it best to that that slowdown once a day
14738 instead of during my work.&lt;/p&gt;
14739
14740 &lt;p&gt;My package do not set up tmpfs on /var/run, /var/lock and /tmp, as
14741 this is already done by Debian Edu.&lt;/p&gt;
14742
14743 &lt;p&gt;I have not yet started on the user space tuning. I expect
14744 iceweasel need some tuning, and perhaps other applications too, but
14745 have not yet had time to investigate those parts.&lt;/p&gt;
14746
14747 &lt;p&gt;The package should work on Ubuntu too, but I have not yet tested it
14748 there.&lt;/p&gt;
14749
14750 &lt;p&gt;As for the answer to the question in the title of this blog post,
14751 as far as I know, the only solution I know about is to replace the
14752 disk. It might be possible to flash it with Intel firmware instead of
14753 the Lenovo firmware. But I have not tried and did not want to do so
14754 without approval from Lenovo as I wanted to keep the warranty on the
14755 disk until a solution was found and they wanted the broken disks
14756 back.&lt;/p&gt;
14757 </description>
14758 </item>
14759
14760 <item>
14761 <title>Intel SSD 520 Series 180 GB with Lenovo firmware still lock up from sustained writes</title>
14762 <link>http://people.skolelinux.org/pere/blog/Intel_SSD_520_Series_180_GB_with_Lenovo_firmware_still_lock_up_from_sustained_writes.html</link>
14763 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Intel_SSD_520_Series_180_GB_with_Lenovo_firmware_still_lock_up_from_sustained_writes.html</guid>
14764 <pubDate>Wed, 10 Jul 2013 13:30:00 +0200</pubDate>
14765 <description>&lt;p&gt;A few days ago, I wrote about
14766 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/The_Thinkpad_is_dead__long_live_the_Thinkpad_X230_.html&quot;&gt;the
14767 problems I experienced with my new X230 and its SSD disk&lt;/a&gt;, which
14768 was dying during installation because it is unable to cope with
14769 sustained write. My supplier is in contact with
14770 &lt;a href=&quot;http://www.lenovo.com/&quot;&gt;Lenovo&lt;/a&gt;, and they wanted to send a
14771 replacement disk to try to fix the problem. They decided to send an
14772 identical model, so my hopes for a permanent fix was slim.&lt;/p&gt;
14773
14774 &lt;p&gt;Anyway, today I got the replacement disk and tried to install
14775 Debian Edu Wheezy with encrypted disk on it. The new disk have the
14776 same firmware version as the original. This time my hope raised
14777 slightly as the installation progressed, as the original disk used to
14778 die after 4-7% of the disk was written to, while this time it kept
14779 going past 10%, 20%, 40% and even past 50%. But around 60%, the disk
14780 died again and I was back on square one. I still do not have a new
14781 laptop with a disk I can trust. I can not live with a disk that might
14782 lock up when I download a new
14783 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt; ISO or
14784 other large files. I look forward to hearing from my supplier with
14785 the next proposal from Lenovo.&lt;/p&gt;
14786
14787 &lt;p&gt;The original disk is marked Intel SSD 520 Series 180 GB,
14788 11S0C38722Z1ZNME35X1TR, ISN: CVCV321407HB180EGN, SA: G57560302, FW:
14789 LF1i, 29MAY2013, PBA: G39779-300, LBA 351,651,888, LI P/N: 0C38722,
14790 Pb-free 2LI, LC P/N: 16-200366, WWN: 55CD2E40002756C4, Model:
14791 SSDSC2BW180A3L 2.5&quot; 6Gb/s SATA SSD 180G 5V 1A, ASM P/N 0C38732, FRU
14792 P/N 45N8295, P0C38732.&lt;/p&gt;
14793
14794 &lt;p&gt;The replacement disk is marked Intel SSD 520 Series 180 GB,
14795 11S0C38722Z1ZNDE34N0L0, ISN: CVCV315306RK180EGN, SA: G57560-302, FW:
14796 LF1i, 22APR2013, PBA: G39779-300, LBA 351,651,888, LI P/N: 0C38722,
14797 Pb-free 2LI, LC P/N: 16-200366, WWN: 55CD2E40000AB69E, Model:
14798 SSDSC2BW180A3L 2.5&quot; 6Gb/s SATA SSD 180G 5V 1A, ASM P/N 0C38732, FRU
14799 P/N 45N8295, P0C38732.&lt;/p&gt;
14800
14801 &lt;p&gt;The only difference is in the first number (serial number?), ISN,
14802 SA, date and WNPP values. Mentioning all the details here in case
14803 someone is able to use the information to find a way to identify the
14804 failing disk among working ones (if any such working disk actually
14805 exist).&lt;/p&gt;
14806 </description>
14807 </item>
14808
14809 <item>
14810 <title>July 13th: Debian/Ubuntu BSP and Skolelinux/Debian Edu developer gathering in Oslo</title>
14811 <link>http://people.skolelinux.org/pere/blog/July_13th__Debian_Ubuntu_BSP_and_Skolelinux_Debian_Edu_developer_gathering_in_Oslo.html</link>
14812 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/July_13th__Debian_Ubuntu_BSP_and_Skolelinux_Debian_Edu_developer_gathering_in_Oslo.html</guid>
14813 <pubDate>Tue, 9 Jul 2013 10:40:00 +0200</pubDate>
14814 <description>&lt;p&gt;The upcoming Saturday, 2013-07-13, we are organising a combined
14815 Debian Edu developer gathering and Debian and Ubuntu bug squashing
14816 party in Oslo. It is organised by &lt;a href=&quot;http://www.nuug.no/&quot;&gt;the
14817 member assosiation NUUG&lt;/a&gt; and
14818 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;the Debian Edu / Skolelinux
14819 project&lt;/a&gt; together with &lt;a href=&quot;http://bitraf.no/&quot;&gt;the hack space
14820 Bitraf&lt;/a&gt;.&lt;/p&gt;
14821
14822 &lt;p&gt;It starts 10:00 and continue until late evening. Everyone is
14823 welcome, and there is no fee to participate. There is on the other
14824 hand limited space, and only room for 30 people. Please put your name
14825 on &lt;a href=&quot;http://wiki.debian.org/BSP/2013/07/13/no/Oslo&quot;&gt;the event
14826 wiki page&lt;/a&gt; if you plan to join us.&lt;/p&gt;
14827 </description>
14828 </item>
14829
14830 <item>
14831 <title>The Thinkpad is dead, long live the Thinkpad X230?</title>
14832 <link>http://people.skolelinux.org/pere/blog/The_Thinkpad_is_dead__long_live_the_Thinkpad_X230_.html</link>
14833 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_Thinkpad_is_dead__long_live_the_Thinkpad_X230_.html</guid>
14834 <pubDate>Fri, 5 Jul 2013 08:30:00 +0200</pubDate>
14835 <description>&lt;p&gt;Half a year ago, I reported that I had to find a
14836 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Thank_you_Thinkpad_X41__for_your_long_and_trustworthy_service.html&quot;&gt;replacement
14837 for my trusty old Thinkpad X41&lt;/a&gt;. Unfortunately I did not have much
14838 time to spend on it, and it took a while to find a model I believe
14839 will do the job, but two days ago the replacement finally arrived. I
14840 ended up picking a
14841 &lt;a href=&quot;http://www.linlap.com/lenovo_thinkpad_x230&quot;&gt;Thinkpad X230&lt;/a&gt;
14842 with SSD disk (NZDAJMN). I first test installed Debian Edu Wheezy as
14843 a roaming workstation, and it seemed to work flawlessly. But my
14844 second installation with encrypted disk was not as successful. More
14845 on that below.&lt;/p&gt;
14846
14847 &lt;p&gt;I had a hard time trying to track down a good laptop, as my most
14848 important requirements (robust and with a good keyboard) are never
14849 listed in the feature list. But I did get good help from the search
14850 feature at &lt;a href=&quot;http://www.prisjakt.no/&quot;&gt;Prisjakt&lt;/a&gt;, which
14851 allowed me to limit the list of interesting laptops based on my other
14852 requirements. A bit surprising that SSD disk are not disks according
14853 to that search interface, so I had to drop specifying the number of
14854 disks from my search parameters. I also asked around among friends to
14855 get their impression on keyboards and robustness.&lt;/p&gt;
14856
14857 &lt;p&gt;So the new laptop arrived, and it is quite a lot wider than the
14858 X41. I am not quite convinced about the keyboard, as it is
14859 significantly wider than my old keyboard, and I have to stretch my
14860 hand a lot more to reach the edges. But the key response is fairly
14861 good and the individual key shape is fairly easy to handle, so I hope
14862 I will get used to it. My old X40 was starting to fail, and I really
14863 needed a new laptop now. :)&lt;/p&gt;
14864
14865 &lt;p&gt;Turning off the touch pad was simple. All it took was a quick
14866 visit to the BIOS during boot it disable it.&lt;/p&gt;
14867
14868 &lt;p&gt;But there is a fatal problem with the laptop. The 180 GB SSD disk
14869 lock up during load. And this happen when installing Debian Wheezy
14870 with encrypted disk, while the disk is being filled with random data.
14871 I also tested to install Ubuntu Raring, and it happen there too if I
14872 reenable the code to fill the disk with random data (it is disabled by
14873 default in Ubuntu). And the bug with is already known. It was
14874 reported to Debian as &lt;a href=&quot;http://bugs.debian.org/691427&quot;&gt;BTS
14875 report #691427 2012-10-25&lt;/a&gt; (journal commit I/O error on brand-new
14876 Thinkpad T430s ext4 on lvm on SSD). It is also reported to the Linux
14877 kernel developers as
14878 &lt;a href=&quot;https://bugzilla.kernel.org/show_bug.cgi?id=51861&quot;&gt;Kernel bugzilla
14879 report #51861 2012-12-20&lt;/a&gt; (Intel SSD 520 stops working under load
14880 (SSDSC2BW180A3L in Lenovo ThinkPad T430s)). It is also reported on the
14881 Lenovo forums, both for
14882 &lt;a href=&quot;http://forums.lenovo.com/t5/T400-T500-and-newer-T-series/T430s-Intel-SSD-520-180GB-issue/m-p/1070549&quot;&gt;T430
14883 2012-11-10&lt;/a&gt; and for
14884 &lt;a href=&quot;http://forums.lenovo.com/t5/X-Series-ThinkPad-Laptops/x230-SATA-errors-with-180GB-Intel-520-SSD-under-heavy-write-load/m-p/1068147&quot;&gt;X230
14885 03-20-2013&lt;/a&gt;. The problem do not only affect installation. The
14886 reports state that the disk lock up during use if many writes are done
14887 on the disk, so it is much no use to work around the installation
14888 problem and end up with a computer that can lock up at any moment.
14889 There is even a
14890 &lt;a href=&quot;https://git.efficios.com/?p=test-ssd.git&quot;&gt;small C program
14891 available&lt;/a&gt; that will lock up the hard drive after running a few
14892 minutes by writing to a file.&lt;/p&gt;
14893
14894 &lt;p&gt;I&#39;ve contacted my supplier and asked how to handle this, and after
14895 contacting PCHELP Norway (request 01D1FDP) which handle support
14896 requests for Lenovo, his first suggestion was to upgrade the disk
14897 firmware. Unfortunately there is no newer firmware available from
14898 Lenovo, as my disk already have the most recent one (version LF1i). I
14899 hope to hear more from him today and hope the problem can be
14900 fixed. :)&lt;/p&gt;
14901 </description>
14902 </item>
14903
14904 <item>
14905 <title>The Thinkpad is dead, long live the Thinkpad X230</title>
14906 <link>http://people.skolelinux.org/pere/blog/The_Thinkpad_is_dead__long_live_the_Thinkpad_X230.html</link>
14907 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_Thinkpad_is_dead__long_live_the_Thinkpad_X230.html</guid>
14908 <pubDate>Thu, 4 Jul 2013 09:20:00 +0200</pubDate>
14909 <description>&lt;p&gt;Half a year ago, I reported that I had to find a replacement for my
14910 trusty old Thinkpad X41. Unfortunately I did not have much time to
14911 spend on it, but today the replacement finally arrived. I ended up
14912 picking a &lt;a href=&quot;http://www.linlap.com/lenovo_thinkpad_x230&quot;&gt;Thinkpad
14913 X230&lt;/a&gt; with SSD disk (NZDAJMN). I first test installed Debian Edu
14914 Wheezy as a roaming workstation, and it worked flawlessly. As I write
14915 this, it is installing what I hope will be a more final installation,
14916 with a encrypted hard drive to ensure any dope head stealing it end up
14917 with an expencive door stop.&lt;/p&gt;
14918
14919 &lt;p&gt;I had a hard time trying to track down a good laptop, as my most
14920 important requirements (robust and with a good keyboard) are never
14921 listed in the feature list. But I did get good help from the search
14922 feature at &lt;ahref=&quot;http://www.prisjakt.no/&quot;&gt;Prisjakt&lt;/a&gt;, which
14923 allowed me to limit the list of interesting laptops based on my other
14924 requirements. A bit surprising that SSD disk are not disks, so I had
14925 to drop number of disks from my search parameters.&lt;/p&gt;
14926
14927 &lt;p&gt;I am not quite convinced about the keyboard, as it is significantly
14928 wider than my old keyboard, and I have to stretch my hand a lot more
14929 to reach the edges. But the key response is fairly good and the
14930 individual key shape is fairly easy to handle, so I hope I will get
14931 used to it. My old X40 was starting to fail, and I really needed a
14932 new laptop now. :)&lt;/p&gt;
14933
14934 &lt;p&gt;I look forward to figuring out how to turn off the touch pad.&lt;/p&gt;
14935 </description>
14936 </item>
14937
14938 <item>
14939 <title>Fourth alpha release of Debian Edu/Skolelinux based on Debian Wheezy</title>
14940 <link>http://people.skolelinux.org/pere/blog/Fourth_alpha_release_of_Debian_Edu_Skolelinux_based_on_Debian_Wheezy.html</link>
14941 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Fourth_alpha_release_of_Debian_Edu_Skolelinux_based_on_Debian_Wheezy.html</guid>
14942 <pubDate>Wed, 3 Jul 2013 14:00:00 +0200</pubDate>
14943 <description>&lt;p&gt;The fourth wheezy based alpha release of Debian Edu was wrapped up
14944 today. This is the release announcement:&lt;/p&gt;
14945
14946 &lt;p&gt;&lt;strong&gt;New features for Debian Edu 7.1+edu0~alpha3 released
14947 2013-07-03&lt;/strong&gt;&lt;/p&gt;
14948
14949 &lt;p&gt;These are the release notes for for Debian Edu / Skolelinux
14950 7.1+edu0~alpha3, based on Debian with codename &quot;Wheezy&quot;.&lt;/p&gt;
14951
14952 &lt;p&gt;&lt;strong&gt;About Debian Edu and Skolelinux&lt;/strong&gt;&lt;/p&gt;
14953
14954 &lt;p&gt;&lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu, also known as
14955 Skolelinux&lt;/a&gt;, is a Linux distribution based on Debian providing an
14956 out-of-the box environment of a completely configured school
14957 network. Immediately after installation a school server running all
14958 services needed for a school network is set up just waiting for users
14959 and machines being added via GOsa², a comfortable Web-UI. A netbooting
14960 environment is prepared using PXE, so after initial installation of
14961 the main server from CD, DVD or USB stick all other machines can be
14962 installed via the network. The provided school server provides LDAP
14963 database and Kerberos authentication service, centralized home
14964 directories, DHCP server, web proxy and many other services. The
14965 desktop contains
14966 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Educational_applications_included_in_Debian_Edu___Skolelinux__the_screenshot_collection____.html&quot;&gt;more
14967 than 60 educational software packages&lt;/a&gt; and more are available from
14968 the Debian archive, and schools can choose between KDE, Gnome, LXDE
14969 and Xfce desktop environment.&lt;/p&gt;
14970
14971 &lt;p&gt;This is the fourth test release based on Debian Wheezy. Basically
14972 this is an updated and slightly improved version compared to the
14973 Squeeze release.&lt;/p&gt;
14974
14975 &lt;p&gt;&lt;strong&gt;Software updates&lt;/strong&gt;&lt;/p&gt;
14976 &lt;ul&gt;
14977 &lt;li&gt;Dropped ispell dictionaries from our default installation.&lt;/li&gt;
14978 &lt;li&gt;Dropped menu-xdg from the KDE desktop option, to drop the Debian
14979 submenu. It was not included with Gnome, LXDE or Xfce, so this
14980 brings KDE in line with the others.&lt;/li&gt;
14981 &lt;li&gt;Dropped xdrawchem, xjig and xsok from our default installation as
14982 they don&#39;t have a desktop menu entry and thus won&#39;t show up in the
14983 menu now that menu-xdg was removed.&lt;/li&gt;
14984 &lt;li&gt;Removed the killer system to kill left behind processes on
14985 multi-user machines, as it was no longer able to understand when a
14986 X display was in use and killed the processes of the active users
14987 too.&lt;/li&gt;
14988 &lt;li&gt;Dropped the golearn (from goplay) package as the debtags in wheezy
14989 are too few to make the package useful.&lt;/li&gt;
14990 &lt;/ul&gt;
14991 &lt;p&gt;&lt;strong&gt;Other changes&lt;/strong&gt;&lt;/p&gt;
14992 &lt;ul&gt;
14993 &lt;li&gt;Updated artwork matching http://wiki.debian.org/DebianArt/Themes/Joy
14994 &lt;li&gt;Multi-arch i386/amd64 USB stick ISO available.&lt;/li&gt;
14995 &lt;li&gt;Got rid of ispell/wordlist related debconf questions that showed
14996 up for some language options.&lt;/li&gt;
14997 &lt;li&gt;Switched to using http.debian.net as APT source by default.&lt;/li&gt;
14998 &lt;li&gt;Fixed proxy configuration on Main Server installations.&lt;/li&gt;
14999 &lt;li&gt;Changed LTSP setup to ask dpkg to use force-unsafe-io the same way
15000 d-i is doing it.&lt;/li&gt;
15001 &lt;li&gt;Made sure root and user passwords were not left behind in the
15002 debconf database after installation on Main Server installations.&lt;/li&gt;
15003 &lt;li&gt;Made Roaming Workstation dynamic setup more robust and added draft
15004 script setup-ad-client to hook a Roaming Workstation up to a
15005 Active Directory server instead of a Debian Edu Main Server.&lt;/li&gt;
15006 &lt;li&gt;Update system to install needed firmware packages during
15007 installation, to work properly in Wheezy.&lt;/li&gt;
15008 &lt;li&gt;Update system to handle hardware quirks (debian-edu-hwsetup).&lt;/li&gt;
15009 &lt;li&gt;Corrected PXE installation setup to properly pass selected desktop
15010 and keymap settings to PXE installation clients.&lt;/li&gt;
15011 &lt;li&gt;LTSP diskless workstations use sshfs by default, allowing them to
15012 work without adding them to DNS and NIS netgroups for NFS access.&lt;/li&gt;
15013 &lt;/ul&gt;
15014 &lt;p&gt;&lt;strong&gt;Known issues&lt;/strong&gt;&lt;/p&gt;
15015 &lt;ul&gt;
15016 &lt;li&gt;No mass import of user account data in GOsa (ldif or csv)
15017 available yet (698840).&lt;/li&gt;
15018 &lt;li&gt;Artwork not enabled for all desktops.&lt;/li&gt;
15019 &lt;/ul&gt;
15020 &lt;p&gt;&lt;strong&gt;Where to get it&lt;/strong&gt;&lt;/p&gt;
15021
15022 &lt;p&gt;To download the multiarch netinstall CD release you can use&lt;/p&gt;
15023 &lt;ul&gt;
15024 &lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~a3-CD.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~a3-CD.iso&lt;/a&gt;&lt;/li&gt;
15025 &lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~a3-CD.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~a3-CD.iso&lt;/a&gt;&lt;/li&gt;
15026 &lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu-7.1+edu0~a3-CD.iso .&lt;/li&gt;
15027 &lt;/ul&gt;
15028
15029 &lt;p&gt;The MD5SUM of this image is: 2b161a99d2a848c376d8d04e3854e30c
15030 &lt;br&gt;The SHA1SUM of this image is: 498922e9c508c0a7ee9dbe1dfe5bf830d779c3c8&lt;/p&gt;
15031
15032 &lt;p&gt;To download the multiarch USB stick ISO release you can use&lt;/p&gt;
15033 &lt;ul&gt;
15034 &lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~a3-USB.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~a3-USB.iso&lt;/a&gt;&lt;/li&gt;
15035 &lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~a3-USB.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~a3-USB.iso&lt;/a&gt;&lt;/li&gt;
15036 &lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu-7.1+edu0~a3-USB.iso .&lt;/li&gt;
15037 &lt;/ul&gt;
15038
15039 &lt;p&gt;The MD5SUM of this image is: 25e808e403a4c15dbef1d13c37d572ac
15040 &lt;br&gt;The SHA1SUM of this image is: 15ecfc93eb6b4f453b7eb0bc04b6a279262d9721&lt;/p&gt;
15041
15042 &lt;p&gt;&lt;strong&gt;How to report bugs&lt;/strong&gt;&lt;/p&gt;
15043
15044 &lt;p&gt;&lt;a href=&quot;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&quot;&gt;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&lt;/a&gt;&lt;/p&gt;
15045 </description>
15046 </item>
15047
15048 <item>
15049 <title>Automatically locate and install required firmware packages on Debian (Isenkram 0.4)</title>
15050 <link>http://people.skolelinux.org/pere/blog/Automatically_locate_and_install_required_firmware_packages_on_Debian__Isenkram_0_4_.html</link>
15051 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Automatically_locate_and_install_required_firmware_packages_on_Debian__Isenkram_0_4_.html</guid>
15052 <pubDate>Tue, 25 Jun 2013 11:50:00 +0200</pubDate>
15053 <description>&lt;p&gt;It annoys me when the computer fail to do automatically what it is
15054 perfectly capable of, and I have to do it manually to get things
15055 working. One such task is to find out what firmware packages are
15056 needed to get the hardware on my computer working. Most often this
15057 affect the wifi card, but some times it even affect the RAID
15058 controller or the ethernet card. Today I pushed version 0.4 of the
15059 &lt;a href=&quot;http://packages.qa.debian.org/isenkram&quot;&gt;Isenkram package&lt;/a&gt;
15060 including a new script isenkram-autoinstall-firmware handling the
15061 process of asking all the loaded kernel modules what firmware files
15062 they want, find debian packages providing these files and install the
15063 debian packages. Here is a test run on my laptop:&lt;/p&gt;
15064
15065 &lt;p&gt;&lt;pre&gt;
15066 # isenkram-autoinstall-firmware
15067 info: kernel drivers requested extra firmware: ipw2200-bss.fw ipw2200-ibss.fw ipw2200-sniffer.fw
15068 info: fetching http://http.debian.net/debian/dists/squeeze/Contents-i386.gz
15069 info: locating packages with the requested firmware files
15070 info: Updating APT sources after adding non-free APT source
15071 info: trying to install firmware-ipw2x00
15072 firmware-ipw2x00
15073 firmware-ipw2x00
15074 Preconfiguring packages ...
15075 Selecting previously deselected package firmware-ipw2x00.
15076 (Reading database ... 259727 files and directories currently installed.)
15077 Unpacking firmware-ipw2x00 (from .../firmware-ipw2x00_0.28+squeeze1_all.deb) ...
15078 Setting up firmware-ipw2x00 (0.28+squeeze1) ...
15079 #
15080 &lt;/pre&gt;&lt;/p&gt;
15081
15082 &lt;p&gt;When all the requested firmware is present, a simple message is
15083 printed instead:&lt;/p&gt;
15084
15085 &lt;p&gt;&lt;pre&gt;
15086 # isenkram-autoinstall-firmware
15087 info: did not find any firmware files requested by loaded kernel modules. exiting
15088 #
15089 &lt;/pre&gt;&lt;/p&gt;
15090
15091 &lt;p&gt;It could use some polish, but it is already working well and saving
15092 me some time when setting up new machines. :)&lt;/p&gt;
15093
15094 &lt;p&gt;So, how does it work? It look at the set of currently loaded
15095 kernel modules, and look up each one of them using modinfo, to find
15096 the firmware files listed in the module meta-information. Next, it
15097 download the Contents file from a nearby APT mirror, and search for
15098 the firmware files in this file to locate the package with the
15099 requested firmware file. If the package is in the non-free section, a
15100 non-free APT source is added and the package is installed using
15101 &lt;tt&gt;apt-get install&lt;/tt&gt;. The end result is a slightly better working
15102 machine.&lt;/p&gt;
15103
15104 &lt;p&gt;I hope someone find time to implement a more polished version of
15105 this script as part of the hw-detect debian-installer module, to
15106 finally fix &lt;a href=&quot;http://bugs.debian.org/655507&quot;&gt;BTS report
15107 #655507&lt;/a&gt;. There really is no need to insert USB sticks with
15108 firmware during a PXE install when the packages already are available
15109 from the nearby Debian mirror.&lt;/p&gt;
15110 </description>
15111 </item>
15112
15113 <item>
15114 <title>The value of a good distro wide test suite...</title>
15115 <link>http://people.skolelinux.org/pere/blog/The_value_of_a_good_distro_wide_test_suite___.html</link>
15116 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_value_of_a_good_distro_wide_test_suite___.html</guid>
15117 <pubDate>Sat, 22 Jun 2013 07:00:00 +0200</pubDate>
15118 <description>&lt;p&gt;In the &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu /
15119 Skolelinux&lt;/a&gt; project, we include a post-installation test suite,
15120 which check that services are running, working, and return the
15121 expected results. It runs automatically just after the first boot on
15122 test installations (using test ISOs), but not on production
15123 installations (using non-test ISOs). It test that the LDAP service is
15124 operating, Kerberos is responding, DNS is replying, file systems are
15125 online resizable, etc, etc. And it check that the PXE service is
15126 configured, which is the topic of this post.&lt;/p&gt;
15127
15128 &lt;p&gt;The last week I&#39;ve fixed the DVD and USB stick ISOs for our Debian
15129 Edu Wheezy release. These ISOs are supposed to be able to install a
15130 complete system without any Internet connection, but for that to
15131 happen all the needed packages need to be on them. Thanks to our test
15132 suite, I discovered that we had forgotten to adjust our PXE setup to
15133 cope with the new names and paths used by the netboot d-i packages.
15134 When Internet connectivity was available, the installer fall back to
15135 using wget to fetch d-i boot images, but when offline it require
15136 working packages to get it working. And the packages changed name
15137 from debian-installer-6.0-netboot-$arch to
15138 debian-installer-7.0-netboot-$arch, we no longer pulled in the
15139 packages during installation. Without our test suite, I suspect we
15140 would never have discovered this before release. Now it is fixed
15141 right after we got the ISOs operational.&lt;/p&gt;
15142
15143 &lt;p&gt;Another by-product of the test suite is that we can ask system
15144 administrators with problems getting Debian Edu to work, to run the
15145 test suite using &lt;tt&gt;/usr/sbin/debian-edu-test-install&lt;/tt&gt; and see if
15146 any errors are detected. This usually pinpoint the subsystem causing
15147 the problem.&lt;/p&gt;
15148
15149 &lt;p&gt;If you want to help us help kids learn how to share and create,
15150 please join us on
15151 &lt;a href=&quot;irc://irc.debian.org/%23debian-edu&quot;&gt;#debian-edu on
15152 irc.debian.org&lt;/a&gt; and the
15153 &lt;a href=&quot;http://lists.debian.org/debian-edu/&quot;&gt;debian-edu@&lt;/a&gt; mailing
15154 list.&lt;/p&gt;
15155 </description>
15156 </item>
15157
15158 <item>
15159 <title>Debian Edu interview: Victor Nițu</title>
15160 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Victor_Ni_u.html</link>
15161 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Victor_Ni_u.html</guid>
15162 <pubDate>Mon, 17 Jun 2013 10:50:00 +0200</pubDate>
15163 <description>&lt;p&gt;The &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu and
15164 Skolelinux&lt;/a&gt; distribution have users and contributors all around the
15165 globe. And a while back, an enterprising young man showed up on
15166 &lt;a href=&quot;irc://irc.debian.org/%23debian-edu&quot;&gt;our IRC channel
15167 #debian-edu&lt;/a&gt; and started asking questions about how Debian Edu
15168 worked. We answered as good as we could, and even convinced him to
15169 help us with translations. And today I managed to get an interview
15170 with him, to learn more about him.&lt;/p&gt;
15171
15172 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
15173
15174 &lt;p&gt;I&#39;m a 25 year old free software enthusiast, living in Romania,
15175 which is also my country of origin. Back in 2009, at a New Year&#39;s Eve
15176 party, I had a very nice &lt;strike&gt;beer&lt;/strike&gt; discussion with a
15177 friend, when we realized we have no organised Debian community in our
15178 country. A few days later, we put together the infrastructure for such
15179 community and even gathered a nice Debian-ish crowd. Since then, I
15180 began my quest as a free software hacker and activist and I am
15181 constantly trying to cover as much ground as possible on that
15182 field.&lt;/p&gt;
15183
15184 &lt;p&gt;A few years ago I founded a small web development company, which
15185 provided me the flexible schedule I needed so much for my
15186 activities. For the last 13 months, I have been the Technical Director
15187 of &lt;a href=&quot;http://ceata.org/&quot;&gt;Fundația Ceata&lt;/a&gt;, which is a free
15188 software activist organisation endorsed by the FSF and the FSFE, and
15189 the only one we have in our country.&lt;/p&gt;
15190
15191 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux / Debian Edu
15192 project?&lt;/strong&gt;&lt;/p&gt;
15193
15194 &lt;p&gt;The idea of participating in the Debian Edu project was a surprise
15195 even to me, since I never used it before I began getting involved in
15196 it. This year I had a great opportunity to deliver a talk on
15197 educational software, and I knew immediately where to look. It was a
15198 love at first sight, since I was previously involved with some of the
15199 technologies the project incorporates, and I rapidly found a lot of
15200 ways to contribute.&lt;/p&gt;
15201
15202 &lt;p&gt;My first contributions consisted in translating the installer and
15203 configuration dialogs, then I found some bugs to squash (I still
15204 haven&#39;t fixed them yet though), and I even got my eyes on some other
15205 areas where I can prove myself helpful. Since the appetite for free
15206 software in my country is pretty low, I&#39;ll be happy to be the first
15207 one around here advocating for the project&#39;s adoption in educational
15208 environments, and maybe even get my hands dirty in creating a flavour
15209 for our own needs. I am not used to make very advanced plannings, so
15210 from now on, time will tell what I&#39;ll be doing next, but I think I
15211 have a pretty consistent starting point.&lt;/p&gt;
15212
15213 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux/Debian
15214 Edu?&lt;/strong&gt;&lt;/p&gt;
15215
15216 &lt;p&gt;Not a long time ago, I was in the position of configuring and
15217 maintaining a LDAP server on some Debian derivative, and I must say it
15218 took me a while. A long time ago, I was maintaining a bigger
15219 Samba-powered infrastructure, and I must say I spent quite a lot of
15220 time on it. I have similar stories about many of the services included
15221 with Skolelinux, and the main advantage I see about it is the
15222 out-of-the box availability of them, making it quite competitive when
15223 it comes to managing a school&#39;s network, for example.&lt;/p&gt;
15224
15225 &lt;p&gt;Of course, there is more to say about Skolelinux than the
15226 availability of the software included, its flexibility in various
15227 scenarios is something I can&#39;t wait to experiment &quot;into the wild&quot; (I
15228 only played with virtual machines so far). And I am sure there is a
15229 lot more I haven&#39;t discovered yet about it, being so new within the
15230 project.&lt;/p&gt;
15231
15232 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux / Debian
15233 Edu?&lt;/strong&gt;&lt;/p&gt;
15234
15235 &lt;p&gt;As usual, when it comes to Debian Blends, I see as the biggest
15236 disadvantage the lack of a numerous team dedicated to the
15237 project. Every day I see the same names in the changelogs, and I have
15238 a constantly fear of the bus factor in this story. I&#39;d like to see
15239 Debian Edu advertised more as an entry point into the Debian
15240 ecosystem, especially amongst newcomers and students. IMHO there are a
15241 lot low-hanging fruits in terms of bug squashing, and enough
15242 opportunities to get the feeling of the Debian Project&#39;s dynamics. Not
15243 to mention it&#39;s a very fun blend to work on!&lt;/p&gt;
15244
15245 &lt;p&gt;Derived from the previous statement, is the delay in catching up
15246 with the main Debian release and documentation. This is common though
15247 to all blends and derivatives, but it&#39;s an issue we can all work
15248 on.&lt;/p&gt;
15249
15250 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
15251
15252 &lt;p&gt;I can hardly imagine myself spending a day without Vim, since my
15253 daily routine covers writing code and hacking configuration files. I
15254 am a fan of the Awesome window manager (but I also like the
15255 Enlightenment project a lot!),
15256 &lt;a href=&quot;http://www.claws-mail.org/‎&quot;&gt;Claws Mail&lt;/a&gt; due to its ease of
15257 use and very configurable behaviour. Recently I fell in love with
15258 &lt;a href=&quot;https://launchpad.net/redshift&quot;&gt;Redshift&lt;/a&gt;, which helps me
15259 get through the night without headaches. Of course, there is much more
15260 stuff in this bag, but I&#39;ll need a blog on my own for doing this!&lt;/p&gt;
15261
15262 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
15263 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
15264
15265 &lt;p&gt;Well, on this field, I cannot do much more than experiment right
15266 now. So, being far from having a recipe for success, I can only assume
15267 that:&lt;/p&gt;
15268
15269 &lt;ul&gt;
15270
15271 &lt;li&gt;schools would like to get rid of proprietary software&lt;/li&gt;
15272
15273 &lt;li&gt;students will love the openness of the system, and will want to
15274 experiment with it - maybe we need to harvest the native curiosity
15275 of teenagers more?&lt;/li&gt;
15276
15277 &lt;li&gt;there is no &quot;right one&quot; when it comes to strategies, but it would
15278 be useful to have some success stories published somewhere, so
15279 other can get some inspiration from them (I know I&#39;d promote
15280 them!)&lt;/li&gt;
15281
15282 &lt;li&gt;more active promotion - talks, conferences, even small school
15283 lectures can do magical things if they encounter at least one
15284 person interested. Who knows who that person might be? ;-)&lt;/li&gt;
15285
15286 &lt;/ul&gt;
15287
15288 &lt;p&gt;I also see some problems in getting Skolelinux into schools; for
15289 example, in our country we have a great deal of corruption issues, so
15290 it might be hard(er) to fight against proprietary solutions. Also,
15291 people who relied on commercial software for all their lives, would be
15292 very hard to convert against their will.&lt;/p&gt;
15293 </description>
15294 </item>
15295
15296 <item>
15297 <title>Debian Edu interview: Jonathan Carter</title>
15298 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Jonathan_Carter.html</link>
15299 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Jonathan_Carter.html</guid>
15300 <pubDate>Wed, 12 Jun 2013 09:50:00 +0200</pubDate>
15301 <description>&lt;p&gt;There is a certain cross-over between the
15302 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux
15303 project&lt;/a&gt; and &lt;a href=&quot;http://www.edubuntu.org/&quot;&gt;the Edubuntu
15304 project&lt;/a&gt;, and for example the LTSP packages in Debian are a joint
15305 effort between the projects. One person with a foot in both camps is
15306 Jonathan Carter, which I am now happy to present to you.&lt;/p&gt;
15307
15308 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
15309
15310 &lt;p&gt;I&#39;m a South-African free software geek who lives in Cape Town. My
15311 days vary quite a bit since I&#39;m involved in too many things. As I&#39;m
15312 getting older I&#39;m learning how to focus a bit more :)&lt;/p&gt;
15313
15314 &lt;p&gt;I&#39;m also an Edubuntu contributor and I love when there are
15315 opportunities for the Edubuntu and Debian Edu projects to benefit from
15316 each other.&lt;/p&gt;
15317
15318 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux / Debian Edu
15319 project?&lt;/strong&gt;&lt;/p&gt;
15320
15321 &lt;p&gt;I&#39;ve been somewhat familiar with the project before, but I think my
15322 first direct exposure to the project was when I met Petter
15323 [Reinholdtsen] and Knut [Yrvin] at the Edubuntu summit in 2005 in
15324 London. They provided great feedback that helped the bootstrapping of
15325 Edubuntu. Back then Edubuntu (and even Ubuntu) was still very new and
15326 it was great getting input from people who have been around longer. I
15327 was also still very excitable and said yes to everything and to this
15328 day I have a big todo list backlog that I&#39;m catching up with. I think
15329 over the years the relationship between Edubuntu and Debian-Edu has
15330 been gradually improving, although I think there&#39;s a lot that we could
15331 still improve on in terms of working together on packages. I&#39;m sure
15332 we&#39;ll get there one day.&lt;/p&gt;
15333
15334 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux / Debian
15335 Edu?&lt;/strong&gt;&lt;/p&gt;
15336
15337 &lt;p&gt;Debian itself already has so many advantages. I could go on about
15338 it for pages, but in essence I love that it&#39;s a very honest project
15339 that puts its users first with no hidden agendas and also produces
15340 very high quality work.&lt;/p&gt;
15341
15342 &lt;p&gt;I think the advantage of Debian Edu is that it makes many common
15343 set-up tasks simpler so that administrators can get up and running
15344 with a lot less effort and frustration. At the same time I think it
15345 helps to standardise installations in schools so that it&#39;s easier for
15346 community members and commercial suppliers to support.&lt;/p&gt;
15347
15348 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux / Debian
15349 Edu?&lt;/strong&gt;&lt;/p&gt;
15350
15351 &lt;p&gt;I had to re-type this one a few times because I&#39;m trying to
15352 separate &quot;disadvantages&quot; from &quot;areas that need improvement&quot; (which is
15353 what I originally rambled on about)&lt;/p&gt;
15354
15355 &lt;p&gt;The biggest disadvantage I can think of is lack of manpower. The
15356 project could do so much more if there were more good contributors. I
15357 think some of the problems are external too. Free software and free
15358 content in education is a no-brainer but it takes some time to catch
15359 on. When you&#39;ve been working with the same proprietary eco-system for
15360 years and have gotten used to it, it can be hard to adjust to some
15361 concepts in the free software world. It would be nice if there were
15362 more Debian Edu consultants across the world. I&#39;d love to be one
15363 myself but I&#39;m already so over-committed that it&#39;s just not possible
15364 currently.&lt;/p&gt;
15365
15366 &lt;p&gt;I think the best short-term solution to that large-scale problem is
15367 for schools to be pro-active and share their experiences and grow
15368 their skills in-house. I&#39;m often saddened to see how much money
15369 educational institutions spend on 3rd party solutions that they don&#39;t
15370 have access to after the service has ended and they could&#39;ve gotten so
15371 much more value otherwise by being more self-sustainable and
15372 autonomous.&lt;/p&gt;
15373
15374 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
15375
15376 &lt;p&gt;My main laptop dual-boots between Debian and Windows 7. I was
15377 Windows free for years but started dual-booting again last year for
15378 some games which help me focus and relax (Starcraft II in
15379 particular). Gaming support on Linux is improving in leaps and bounds
15380 so I suppose I&#39;ll soon be able to regain that disk space :)&lt;/p&gt;
15381
15382 &lt;p&gt;Besides that I rely on Icedove, Chromium, Terminator, Byobu, irssi,
15383 git, Tomboy, KVM, VLC and LibreOffice. Recently I&#39;ve been torn on
15384 which desktop environment I like and I&#39;m taking some refuge in Xfce
15385 while I figure that out. I like tools that keep things simple. I enjoy
15386 Python and shell scripting. I went to an Arduino workshop recently and
15387 it was awesome seeing how easy and simple the IDE software was to get
15388 up and running in Debian compared to the users running Windows and OS
15389 X.&lt;/p&gt;
15390
15391 &lt;p&gt;I also use mc which some people frown upon slightly. I got used to
15392 using Norton Commander in the early 90&#39;s and it stuck (I think the
15393 people who sneer at it is just jealous that they don&#39;t know how to use
15394 it :p)
15395
15396 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
15397 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
15398
15399 &lt;p&gt;I think trying to force it is unproductive. I also think that in
15400 many cases it&#39;s appropriate for schools to use non-free systems and I
15401 don&#39;t think that there&#39;s any particular moral or ethical problem with
15402 that.&lt;/p&gt;
15403
15404 &lt;p&gt;I do think though that free software can already solve so so many
15405 problems in educational institutions and it&#39;s just a shame not taking
15406 advantage of that.&lt;/p&gt;
15407
15408 &lt;p&gt;I also think that some curricula need serious review. For example,
15409 some areas of the world rely heavily on very specific versions of MS
15410 Office, teaching students to parrot menu items instead of learning the
15411 general concepts. I think that&#39;s very unproductive because firstly, MS
15412 Office&#39;s interface changes drastically every few years and on top of
15413 that it also locks in a generation to a product that might not be the
15414 best solution for them.&lt;/p&gt;
15415
15416 &lt;p&gt;To answer your question, I believe that the right strategy is to
15417 educate and inform, giving someone the information they require to
15418 make a decision that would work for them.&lt;/p&gt;
15419 </description>
15420 </item>
15421
15422 <item>
15423 <title>Fixing the Linux black screen of death on machines with Intel HD video</title>
15424 <link>http://people.skolelinux.org/pere/blog/Fixing_the_Linux_black_screen_of_death_on_machines_with_Intel_HD_video.html</link>
15425 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Fixing_the_Linux_black_screen_of_death_on_machines_with_Intel_HD_video.html</guid>
15426 <pubDate>Tue, 11 Jun 2013 11:00:00 +0200</pubDate>
15427 <description>&lt;p&gt;When installing RedHat, Fedora, Debian and Ubuntu on some machines,
15428 the screen just turn black when Linux boot, either during installation
15429 or on first boot from the hard disk. I&#39;ve seen it once in a while the
15430 last few years, but only recently understood the cause. I&#39;ve seen it
15431 on HP laptops, and on my latest acquaintance the Packard Bell laptop.
15432 The reason seem to be in the wiring of some laptops. The system to
15433 control the screen background light is inverted, so when Linux try to
15434 turn the brightness fully on, it end up turning it off instead. I do
15435 not know which Linux drivers are affected, but this post is about the
15436 i915 driver used by the
15437 &lt;a href=&quot;http://www.linlap.com/packard_bell_easynote_lv&quot;&gt;Packard Bell
15438 EasyNote LV&lt;/a&gt;, Thinkpad X40 and many other laptops.&lt;/p&gt;
15439
15440 &lt;p&gt;The problem can be worked around two ways. Either by adding
15441 i915.invert_brightness=1 as a kernel option, or by adding a file in
15442 /etc/modprobe.d/ to tell modprobe to add the invert_brightness=1
15443 option when it load the i915 kernel module. On Debian and Ubuntu, it
15444 can be done by running these commands as root:&lt;/p&gt;
15445
15446 &lt;pre&gt;
15447 echo options i915 invert_brightness=1 | tee /etc/modprobe.d/i915.conf
15448 update-initramfs -u -k all
15449 &lt;/pre&gt;
15450
15451 &lt;p&gt;Since March 2012 there is
15452 &lt;a href=&quot;http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=4dca20efb1a9c2efefc28ad2867e5d6c3f5e1955&quot;&gt;a
15453 mechanism in the Linux kernel&lt;/a&gt; to tell the i915 driver which
15454 hardware have this problem, and get the driver to invert the
15455 brightness setting automatically. To use it, one need to add a row in
15456 &lt;a href=&quot;http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/gpu/drm/i915/intel_display.c&quot;&gt;the
15457 intel_quirks array&lt;/a&gt; in the driver source
15458 &lt;tt&gt;drivers/gpu/drm/i915/intel_display.c&lt;/tt&gt; (look for &quot;&lt;tt&gt;static
15459 struct intel_quirk intel_quirks&lt;/tt&gt;&quot;), specifying the PCI device
15460 number (vendor number 8086 is assumed) and subdevice vendor and device
15461 number.&lt;/p&gt;
15462
15463 &lt;p&gt;My Packard Bell EasyNote LV got this output from &lt;tt&gt;lspci
15464 -vvnn&lt;/tt&gt; for the video card in question:&lt;/p&gt;
15465
15466 &lt;p&gt;&lt;pre&gt;
15467 00:02.0 VGA compatible controller [0300]: Intel Corporation \
15468 3rd Gen Core processor Graphics Controller [8086:0156] \
15469 (rev 09) (prog-if 00 [VGA controller])
15470 Subsystem: Acer Incorporated [ALI] Device [1025:0688]
15471 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- \
15472 ParErr- Stepping- SE RR- FastB2B- DisINTx+
15473 Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast &gt;TAbort- \
15474 &lt;TAbort- &lt;MAbort-&gt;SERR- &lt;PERR- INTx-
15475 Latency: 0
15476 Interrupt: pin A routed to IRQ 42
15477 Region 0: Memory at c2000000 (64-bit, non-prefetchable) [size=4M]
15478 Region 2: Memory at b0000000 (64-bit, prefetchable) [size=256M]
15479 Region 4: I/O ports at 4000 [size=64]
15480 Expansion ROM at &lt;unassigned&gt; [disabled]
15481 Capabilities: &lt;access denied&gt;
15482 Kernel driver in use: i915
15483 &lt;/pre&gt;&lt;/p&gt;
15484
15485 &lt;p&gt;The resulting intel_quirks entry would then look like this:&lt;/p&gt;
15486
15487 &lt;p&gt;&lt;pre&gt;
15488 struct intel_quirk intel_quirks[] = {
15489 ...
15490 /* Packard Bell EasyNote LV11HC needs invert brightness quirk */
15491 { 0x0156, 0x1025, 0x0688, quirk_invert_brightness },
15492 ...
15493 }
15494 &lt;/pre&gt;&lt;/p&gt;
15495
15496 &lt;p&gt;According to the kernel module instructions (as seen using
15497 &lt;tt&gt;modinfo i915&lt;/tt&gt;), information about hardware needing the
15498 invert_brightness flag should be sent to the
15499 &lt;a href=&quot;http://lists.freedesktop.org/mailman/listinfo/dri-devel&quot;&gt;dri-devel
15500 (at) lists.freedesktop.org&lt;/a&gt; mailing list to reach the kernel
15501 developers. But my email about the laptop sent 2013-06-03 have not
15502 yet shown up in
15503 &lt;a href=&quot;http://lists.freedesktop.org/archives/dri-devel/2013-June/thread.html&quot;&gt;the
15504 web archive for the mailing list&lt;/a&gt;, so I suspect they do not accept
15505 emails from non-subscribers. Because of this, I sent my patch also to
15506 the Debian bug tracking system instead as
15507 &lt;a href=&quot;http://bugs.debian.org/710938&quot;&gt;BTS report #710938&lt;/a&gt;, to make
15508 sure the patch is not lost.&lt;/p&gt;
15509
15510 &lt;p&gt;Unfortunately, it is not enough to fix the kernel to get Laptops
15511 with this problem working properly with Linux. If you use Gnome, your
15512 worries should be over at this point. But if you use KDE, there is
15513 something in KDE ignoring the invert_brightness setting and turning on
15514 the screen during login. I&#39;ve reported it to Debian as
15515 &lt;a href=&quot;http://bugs.debian.org/711237&quot;&gt;BTS report #711237&lt;/a&gt;, and
15516 have no idea yet how to figure out exactly what subsystem is doing
15517 this. Perhaps you can help? Perhaps you know what the Gnome
15518 developers did to handle this, and this can give a clue to the KDE
15519 developers? Or you know where in KDE the screen brightness is changed
15520 during login? If so, please update the BTS report (or get in touch if
15521 you do not know how to update BTS).&lt;/p&gt;
15522
15523 &lt;p&gt;Update 2013-07-19: The correct fix for this machine seem to be
15524 acpi_backlight=vendor, to disable ACPI backlight support completely,
15525 as the ACPI information on the machine is trash and it is better to
15526 leave it to the intel video driver to control the screen
15527 backlight.&lt;/p&gt;
15528 </description>
15529 </item>
15530
15531 <item>
15532 <title>Third alpha release of Debian Edu / Skolelinux based on Debian Wheezy</title>
15533 <link>http://people.skolelinux.org/pere/blog/Third_alpha_release_of_Debian_Edu___Skolelinux_based_on_Debian_Wheezy.html</link>
15534 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Third_alpha_release_of_Debian_Edu___Skolelinux_based_on_Debian_Wheezy.html</guid>
15535 <pubDate>Mon, 10 Jun 2013 22:50:00 +0200</pubDate>
15536 <description>&lt;p&gt;The third wheezy based alpha release of Debian Edu was wrapped up
15537 today. This is the release announcement:&lt;/p&gt;
15538
15539 &lt;p&gt;&lt;strong&gt;New features for Debian Edu 7.0.0 alpha2 released
15540 2013-06-10&lt;/strong&gt;&lt;/p&gt;
15541
15542 &lt;p&gt;This is the release notes for for Debian Edu / Skolelinux 7.0.0 edu
15543 alpha2, based on Debian with codename &quot;Wheezy&quot;.&lt;/p&gt;
15544
15545 &lt;p&gt;&lt;strong&gt;About Debian Edu and Skolelinux&lt;/strong&gt;&lt;/p&gt;
15546
15547 &lt;p&gt;&lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu, also known as
15548 Skolelinux&lt;/a&gt;, is a Linux distribution based on Debian providing an
15549 out-of-the box environment of a completely configured school
15550 network. Immediately after installation a school server running all
15551 services needed for a school network is set up just waiting for users
15552 and machines being added via GOsa², a comfortable Web-UI. A netbooting
15553 environment is prepared using PXE, so after initial installation of
15554 the main server from CD, DVD or USB stick all other machines can be
15555 installed via the network. The provided school server provides LDAP
15556 database and Kerberos authentication service, centralized home
15557 directories, DHCP server, web proxy and many other services. The
15558 desktop contains
15559 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Educational_applications_included_in_Debian_Edu___Skolelinux__the_screenshot_collection____.html&quot;&gt;more
15560 than 60 educational software packages&lt;/a&gt; and more are available from
15561 the Debian archive, and schools can choose between KDE, Gnome, LXDE
15562 and Xfce desktop environment.&lt;/p&gt;
15563
15564 &lt;p&gt;This is the third test release based on Debian Wheezy. Basically
15565 this is an updated and slightly improved version compared to the
15566 Squeeze release.&lt;/p&gt;
15567
15568 &lt;p&gt;&lt;strong&gt;Software updates&lt;/strong&gt;&lt;/p&gt;
15569
15570 &lt;ul&gt;
15571
15572 &lt;li&gt;Iceweasel was updated from 10 to 17. (DSA 2699-1)
15573 &lt;li&gt;Updated libxv (DSA-2674), libxvmc (DSA-2675), libxfixes (DSA-2676), libxrender (DSA-2677), mesa (DSA-2678), xserver-xorg-video-openchrome (DSA-2679), libxt (DSA-2680), libxcursor (DSA-2681), libxext (DSA-2682), libxi (DSA-2683), libxrandr (DSA-2684), libxp (DSA-2685), libxcb (DSA-2686), libfs (DSA-2687), libxres (DSA-2688), libxtst (DSA-2689), libxxf86dga (DSA-2690), libxinerama (DSA-2691), libxxf86vm (DSA-2692), libx11 (DSA-2693), chromium-browser (DSA-2695), gnutls26 (DSA-2697), wireshark (DSA-2700), krb5 (DSA-2701), telepathy-gabble (DSA-2702) and subversion (DSA-2703).
15574 &lt;li&gt;Switched xrdp on thin client servers to use tightvncserver instead of xvnc4.
15575 &lt;li&gt;Now install software oscilloscope xoscope by default.
15576 &lt;li&gt;Now install music tools gtick, lingot and pianobooster by default.
15577
15578 &lt;/ul&gt;
15579
15580 &lt;p&gt;&lt;strong&gt;Other changes&lt;/strong&gt;&lt;/p&gt;
15581
15582 &lt;ul&gt;
15583
15584 &lt;li&gt;The subnet-change script is now able to change all files needing a change on the main-server when changing the IP network used.
15585 &lt;li&gt;Updated translation of the installation.
15586 &lt;li&gt;New Romanian translation.
15587 &lt;li&gt;Fix security problem causing root and first user password to no longer show up in /var/cache/debconf/templates.dat.
15588 &lt;li&gt;Fix roaming workstation setup (Closed in libpam-mklocaluser/0.8, libpam-mklocaluser/0.8~deb7u1: #706753: libpam-mklocaluser: Fail to create local user during first login).
15589 &lt;li&gt;Made roaming workstation setup more robust in non-Debian Edu environments.
15590 &lt;li&gt;New script debian-edu-bless to transform a Debian installation to a Debian Edu profile.
15591 &lt;li&gt;Adjust Iceweasel setup to improve performance when $HOME is on NFS.
15592 &lt;li&gt;More testsuite tests.
15593 &lt;li&gt;Make automatic proxy configuration more robust.
15594 &lt;li&gt;Adjust GOsa² GUI configuration.
15595
15596 &lt;li&gt;Update thin client and diskless workstation setup to work with
15597 LTSP in Wheezy.&lt;/li&gt;
15598
15599 &lt;li&gt;Diskless workstations now run out of the box -- no need to set
15600 them up with GOsa².&lt;/li&gt;
15601
15602 &lt;li&gt;Update IMAP server setup. &lt;/li&gt;
15603
15604 &lt;li&gt;Fix login into Skolelinux Backup Tool (Closed in
15605 slbackup-php/0.4.4-1: #700257: slbackup-php: Fails to submit correctly
15606 entered password). &lt;/li&gt;
15607
15608 &lt;/ul&gt;
15609
15610 &lt;p&gt;&lt;strong&gt;Known issues&lt;/strong&gt;&lt;/p&gt;
15611
15612 &lt;ul&gt;
15613
15614 &lt;li&gt;DVD binary and source images are not yet ready.&lt;/li&gt;
15615
15616 &lt;li&gt;No mass import of user account data in GOsa (ldif or csv)
15617 available yet (Open in gosa/2.7.4-4: #698840: gosa-plugin-ldapmanager:
15618 missing import feature).&lt;/li&gt;
15619
15620 &lt;li&gt;Missing artwork for the KDE desktop (and probably a few others). &lt;/li&gt;
15621
15622 &lt;li&gt;KDE Debian submenu lacks icons (Closed: #502192: menu-xdg: invents
15623 own icon names instead of using existing). This will remain
15624 unfixed.&lt;/li&gt;
15625
15626 &lt;/ul&gt;
15627
15628 &lt;p&gt;&lt;strong&gt;Where to get it&lt;/strong&gt;&lt;/p&gt;
15629
15630 &lt;p&gt;To download the multiarch netinstall CD release you can use&lt;/p&gt;
15631
15632 &lt;ul&gt;
15633
15634 &lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.0+edu0~a2-CD.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.0+edu0~a2-CD.iso&lt;/a&gt;&lt;/li&gt;
15635
15636 &lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.0+edu0~a2-CD.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.0+edu0~a2-CD.iso&lt;/a&gt;&lt;/li&gt;
15637
15638 &lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu-7.0+edu0~a2-CD.iso .&lt;/li&gt;
15639
15640 &lt;/ul&gt;
15641
15642 &lt;p&gt;The MD5SUM of this image is: 27bbcace407743382f3c42c08dbe8178
15643 &lt;br&gt;The SHA1SUM of this image is: e35f7d7908566cd3075375b3721fa10ee420d419&lt;/p&gt;
15644
15645 &lt;p&gt;&lt;strong&gt;How to report bugs&lt;/strong&gt;&lt;/p&gt;
15646
15647 &lt;p&gt;&lt;a href=&quot;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&quot;&gt;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&lt;/a&gt;
15648 </description>
15649 </item>
15650
15651 <item>
15652 <title>Is there a PHP expert in the building? Debian Edu need help!</title>
15653 <link>http://people.skolelinux.org/pere/blog/Is_there_a_PHP_expert_in_the_building___Debian_Edu_need_help_.html</link>
15654 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Is_there_a_PHP_expert_in_the_building___Debian_Edu_need_help_.html</guid>
15655 <pubDate>Wed, 5 Jun 2013 17:50:00 +0200</pubDate>
15656 <description>&lt;p&gt;Here is a call for help from the Debian Edu / Skolelinux project.
15657 We have two problems blocking the release of the Wheezy version we
15658 hope to get released soon. The two problems require some with PHP
15659 skills, and we seem to lack anyone with both time and PHP skills in
15660 the project:
15661
15662 &lt;ol&gt;
15663
15664 &lt;li&gt;It is impossible to log into the slbackup web interface
15665 (slbackup-php) using the root user and password. This is
15666 &lt;a href=&quot;http://bugs.debian.org/700257&quot;&gt;BTS report #700257&lt;/a&gt;.
15667 This used to work, but stopped working some time since Squeeze.
15668 Perhaps some obsolete PHP feature was used?&lt;/li&gt;
15669
15670 &lt;li&gt;It is not possible to &quot;mass import&quot; user lists in Gosa, neither
15671 using ldif nor using CSV files. The feature was disabled after a
15672 major rewrite of Gosa, and need to be ported to the new system.
15673 This is &lt;a href=&quot;http://bugs.debian.org/698840&quot;&gt;BTS report
15674 #698840&lt;/a&gt;.&lt;/li&gt;
15675
15676 &lt;/ol&gt;
15677
15678 &lt;p&gt;If you can help us, please join us on IRC
15679 (&lt;a href=&quot;irc://irc.debian.org/%23debian-edu&quot;&gt;#debian-edu on
15680 irc.debian.org&lt;/a&gt;) and provide patches via the BTS.&lt;/p&gt;
15681 </description>
15682 </item>
15683
15684 <item>
15685 <title>Debian Edu interview: Cédric Boutillier</title>
15686 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__C_dric_Boutillier.html</link>
15687 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__C_dric_Boutillier.html</guid>
15688 <pubDate>Tue, 4 Jun 2013 10:30:00 +0200</pubDate>
15689 <description>&lt;p&gt;It has been a while since my last English
15690 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu and Skolelinux&lt;/a&gt;
15691 interview last November. But the developers and translators are still
15692 pulling along to get the Wheezy based release out the door, and this
15693 time I managed to get an interview from one of the French translators
15694 in the project, Cédric Boutillier.&lt;/p&gt;
15695
15696 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
15697
15698 &lt;p&gt;I am 34 year old. I live near Paris, France. I am an assistant
15699 professor in probability theory. I spend my daytime teaching
15700 mathematics at the university and doing fundamental research in
15701 probability in connexion with combinatorics and statistical physics.&lt;/p&gt;
15702
15703 &lt;p&gt;I have been involved in the Debian project for a couple of years
15704 and became Debian Developer a few months ago. I am working on Ruby
15705 packaging, publicity and translation.&lt;/p&gt;
15706
15707 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux / Debian Edu
15708 project?&lt;/strong&gt;&lt;/p&gt;
15709
15710 &lt;p&gt;I came to the Debian Edu project after a call for translation of
15711 &lt;a href=&quot;http://wiki.debian.org/DebianEdu/Documentation/Manuals&quot;&gt;the
15712 Debian Edu manual&lt;/a&gt; for the release of Debian Edu Squeeze. Since
15713 then, I have been working on updating the French translation of the
15714 manual.
15715
15716 &lt;p&gt;I had the opportunity to make an installation of Debian Edu in a
15717 virtual machine when I was preparing localised version of some screen
15718 shots for the manual. I was amazed to see it worked out of the box and
15719 how comprehensive the list of software installed by default was.&lt;/p&gt;
15720
15721 &lt;p&gt;What amazed me was the complete network infrastructure directly
15722 ready to use, which can and the nice administration interface provided
15723 by &lt;a href=&quot;https://oss.gonicus.de/labs/gosa/&quot;&gt;GOsa²&lt;/a&gt;. What pleased
15724 me also was the fact that among the software installed by default,
15725 there were many &quot;traditional&quot; educative software to learn languages,
15726 to count, to program... but also software to develop creativity and
15727 artistic skills with music (&lt;a href=&quot;http://ardour.org/&quot;&gt;Ardour&lt;/a&gt;,
15728 &lt;a href=&quot;http://audacity.sourceforge.net/&quot;&gt;Audacity&lt;/a&gt;) and
15729 movies/animation (I was especially thinking of
15730 &lt;a href=&quot;http://linuxstopmotion.sourceforge.net/&quot;&gt;Stopmotion&lt;/a&gt;).&lt;/p&gt;
15731
15732 &lt;p&gt;I am following the development of Debian Edu and am hanging out on
15733 &lt;a href=&quot;irc://irc.debian.org/%23debian-edu&quot;&gt;#debian-edu&lt;/a&gt;.
15734 Unfortunately, I don&#39;t much time to get more involved in this
15735 beautiful project.&lt;/p&gt;
15736
15737 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux / Debian
15738 Edu?&lt;/strong&gt;&lt;/p&gt;
15739
15740 &lt;p&gt;For me, the main advantages of Skolelinux/Debian Edu are its
15741 community of experts and its precise documentation, as well as the
15742 fact that it provides a solution ready to use.&lt;/p&gt;
15743
15744 &lt;p&gt;I would add also the fact that it is based on the rock solid Debian
15745 distribution, which ensures stability and provides a huge collection
15746 of educational free software.&lt;/p&gt;
15747
15748 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux / Debian
15749 Edu?&lt;/strong&gt;&lt;/p&gt;
15750
15751 &lt;p&gt;Maybe the lack of manpower to do lobbying on the
15752 project. Sometimes, people who need to take decisions concerning IT do
15753 not have all the elements to evaluate properly free software
15754 solutions. The fact that support by a company may be difficult to find
15755 is probably a problem if the school does not have IT personnel.&lt;/p&gt;
15756
15757 &lt;p&gt;One can find support from a company by looking at
15758 &lt;a href=&quot;http://wiki.debian.org/DebianEdu/Help/ProfessionalHelp&quot;&gt;the
15759 wiki dokumentation&lt;/a&gt;, where some countries already have a number of
15760 companies providing support for Debian Edu, like Germany or
15761 Norway. This list is easy to find readily from the manual. However,
15762 for other countries, like France, the list is empty. I guess that
15763 consultants proposing support for Debian would be able to provide some
15764 support for Debian Edu as well.&lt;/p&gt;
15765
15766 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
15767
15768 &lt;p&gt;I am using the KDE Plasma Desktop. But the pieces of software I use
15769 most runs in a terminal: Mutt and OfflineIMAP for emails, latex for
15770 scientific documents, mpd for music. VIM is my editor of choice. I am
15771 also using the mathematical software
15772 &lt;a href=&quot;http://www.scilab.org/en/scilab/about‎&quot;&gt;Scilab&lt;/a&gt; and
15773 &lt;a href=&quot;http://www.sagemath.org/index.html‎&quot;&gt;Sage&lt;/a&gt; (built from
15774 source as not completely packaged for Debian, yet).
15775
15776 &lt;p&gt;&lt;strong&gt;Do you have any suggestions for teachers interested in
15777 using the free software in Debian to teach mathematics and
15778 statistics?&lt;/strong&gt;&lt;/p&gt;
15779
15780 &lt;p&gt;I do not have any &quot;nice&quot; recommendations for statistics. At our
15781 university, we use both &lt;a href=&quot;http://www.r-project.org/‎&quot;&gt;R&lt;/a&gt; and
15782 Scilab to teach statistics and probabilistic simulations. For
15783 geometry, there are nice programs:&lt;/p&gt;
15784
15785 &lt;ul&gt;
15786
15787 &lt;li&gt;&lt;a href=&quot;http://www.drgeo.eu/&quot;&gt;drgeo&lt;/a&gt; and
15788 &lt;a href=&quot;http://edu.kde.org/applications/all/kig‎&quot;&gt;kig&lt;/a&gt; to do
15789 constructions in planar geometry
15790
15791 &lt;li&gt;&lt;a href=&quot;http://www.geom.uiuc.edu/software/download/kali.html&quot;&gt;kali&lt;/a&gt;
15792 to discover symmetry groups (the so-called wallpapers and frieze
15793 groups), although the interface looks a bit old.&lt;/li&gt;
15794
15795 &lt;/ul&gt;
15796
15797 &lt;p&gt;I like also
15798 &lt;a href=&quot;http://edu.kde.org/applications/all/cantor&quot;&gt;cantor&lt;/a&gt;, which
15799 provides a uniform interface to SciLab, Sage,
15800 &lt;a href=&quot;http://directory.fsf.org/wiki/Octave‎&quot;&gt;Octave&lt;/a&gt;, etc...&lt;/p&gt;
15801
15802 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
15803 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
15804
15805 &lt;p&gt;My suggestions would be to&lt;/p&gt;
15806
15807 &lt;ul&gt;
15808
15809 &lt;li&gt;advertise the reduction of costs when free software is used.&lt;/li&gt;
15810
15811 &lt;li&gt;communicate about the quality of free software projects, using
15812 well known examples like Firefox, ThunderBird and
15813 OpenOffice.org/LibreOffice.&lt;/li&gt;
15814
15815 &lt;li&gt;advertise the living and strong community around the project.&lt;/li&gt;
15816
15817 &lt;li&gt;show that it is not more difficult to use than any other
15818 system.&lt;/li&gt;
15819
15820 &lt;/ul&gt;
15821 </description>
15822 </item>
15823
15824 <item>
15825 <title>Educational applications included in Debian Edu / Skolelinux (the screenshot collection :-)</title>
15826 <link>http://people.skolelinux.org/pere/blog/Educational_applications_included_in_Debian_Edu___Skolelinux__the_screenshot_collection____.html</link>
15827 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Educational_applications_included_in_Debian_Edu___Skolelinux__the_screenshot_collection____.html</guid>
15828 <pubDate>Sat, 1 Jun 2013 23:50:00 +0200</pubDate>
15829 <description>&lt;p&gt;Included in &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu /
15830 Skolelinux&lt;/a&gt;, there are quite a lot of educational software.
15831 Created to help teachers teach, and pupils learn. We have tried to
15832 tag them all using debtags use::learning and role::program, and using
15833 the debtags I was happy to be able to create a collage of the
15834 educational software packages installed by default, sorted by the
15835 debtag field. Here it is. Click on a image to learn more about the
15836 program.&lt;/p&gt;
15837
15838 &lt;!-- for f in $(debtags tagcat|grep field::|awk &#39;{print $2}&#39;); do echo; echo &quot;&lt;p&gt;&lt;strong&gt;$f&lt;/strong&gt;&lt;/p&gt;&quot;; echo &quot;&lt;p&gt;&quot;; ( for p in $(debtags search --names &quot;use::learning &amp;&amp; interface::x11 &amp;&amp; role::program &amp;&amp; $f&quot;); do img=&quot;&lt;img src=&#39;http://screenshots.debian.net/thumbnail/$p&#39; alt=&#39;$p&#39;&gt;&quot;; if dpkg -s $p &gt; /dev/null 2&gt;&amp;1; then echo &quot;&lt;a href=&#39;http://packages.qa.debian.org/$p&#39;&gt;$img&lt;/a&gt;&quot;; fi; done; ) | LANG=C sort; echo &quot;&lt;/p&gt;&quot;; done --&gt;
15839
15840 &lt;p&gt;&lt;strong&gt;field::arts&lt;/strong&gt;&lt;/p&gt;
15841 &lt;p&gt;
15842 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=audacity&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/audacity.png&#39; alt=&#39;audacity&#39;&gt;&lt;/a&gt;
15843 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=childsplay&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/childsplay.png&#39; alt=&#39;childsplay&#39;&gt;&lt;/a&gt;
15844 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=denemo&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/denemo.png&#39; alt=&#39;denemo&#39;&gt;&lt;/a&gt;
15845 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=freebirth&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/freebirth.png&#39; alt=&#39;freebirth&#39;&gt;&lt;/a&gt;
15846 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gcompris&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/gcompris.png&#39; alt=&#39;gcompris&#39;&gt;&lt;/a&gt;
15847 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gimp&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/gimp.png&#39; alt=&#39;gimp&#39;&gt;&lt;/a&gt;
15848 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=hydrogen&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/hydrogen.png&#39; alt=&#39;hydrogen&#39;&gt;&lt;/a&gt;
15849 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=lilypond&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/lilypond.png&#39; alt=&#39;lilypond&#39;&gt;&lt;/a&gt;
15850 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=lmms&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/lmms.png&#39; alt=&#39;lmms&#39;&gt;&lt;/a&gt;
15851 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=rosegarden&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/rosegarden.png&#39; alt=&#39;rosegarden&#39;&gt;&lt;/a&gt;
15852 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=scribus&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/scribus.png&#39; alt=&#39;scribus&#39;&gt;&lt;/a&gt;
15853 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=solfege&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/solfege.png&#39; alt=&#39;solfege&#39;&gt;&lt;/a&gt;
15854 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=stopmotion&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/stopmotion.png&#39; alt=&#39;stopmotion&#39;&gt;&lt;/a&gt;
15855 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=tuxpaint&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/tuxpaint.png&#39; alt=&#39;tuxpaint&#39;&gt;&lt;/a&gt;
15856 &lt;/p&gt;
15857
15858 &lt;p&gt;&lt;strong&gt;field::astronomy&lt;/strong&gt;&lt;/p&gt;
15859 &lt;p&gt;
15860 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=celestia-gnome&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/celestia-gnome.png&#39; alt=&#39;celestia-gnome&#39;&gt;&lt;/a&gt;
15861 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gpredict&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/gpredict.png&#39; alt=&#39;gpredict&#39;&gt;&lt;/a&gt;
15862 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=kstars&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/kstars.png&#39; alt=&#39;kstars&#39;&gt;&lt;/a&gt;
15863 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=planets&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/planets.png&#39; alt=&#39;planets&#39;&gt;&lt;/a&gt;
15864 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=stellarium&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/stellarium.png&#39; alt=&#39;stellarium&#39;&gt;&lt;/a&gt;
15865 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=xplanet&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/xplanet.png&#39; alt=&#39;xplanet&#39;&gt;&lt;/a&gt;
15866 &lt;/p&gt;
15867
15868 &lt;p&gt;&lt;strong&gt;field::biology:structural&lt;/strong&gt;&lt;/p&gt;
15869 &lt;p&gt;
15870 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=pymol&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/pymol.png&#39; alt=&#39;pymol&#39;&gt;&lt;/a&gt;
15871 &lt;/p&gt;
15872
15873 &lt;p&gt;&lt;strong&gt;field::chemistry&lt;/strong&gt;&lt;/p&gt;
15874 &lt;p&gt;
15875 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=atomix&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/atomix.png&#39; alt=&#39;atomix&#39;&gt;&lt;/a&gt;
15876 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=chemtool&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/chemtool.png&#39; alt=&#39;chemtool&#39;&gt;&lt;/a&gt;
15877 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=easychem&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/easychem.png&#39; alt=&#39;easychem&#39;&gt;&lt;/a&gt;
15878 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gchempaint&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/gchempaint.png&#39; alt=&#39;gchempaint&#39;&gt;&lt;/a&gt;
15879 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gdis&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/gdis.png&#39; alt=&#39;gdis&#39;&gt;&lt;/a&gt;
15880 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=ghemical&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/ghemical.png&#39; alt=&#39;ghemical&#39;&gt;&lt;/a&gt;
15881 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gperiodic&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/gperiodic.png&#39; alt=&#39;gperiodic&#39;&gt;&lt;/a&gt;
15882 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=kalzium&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/kalzium.png&#39; alt=&#39;kalzium&#39;&gt;&lt;/a&gt;
15883 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=pymol&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/pymol.png&#39; alt=&#39;pymol&#39;&gt;&lt;/a&gt;
15884 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=viewmol&#39;&gt;[viewmol]&lt;/a&gt;
15885 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=xdrawchem&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/xdrawchem.png&#39; alt=&#39;xdrawchem&#39;&gt;&lt;/a&gt;
15886 &lt;/p&gt;
15887
15888 &lt;p&gt;&lt;strong&gt;field::electronics&lt;/strong&gt;&lt;/p&gt;
15889 &lt;p&gt;
15890 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gcompris&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/gcompris.png&#39; alt=&#39;gcompris&#39;&gt;&lt;/a&gt;
15891 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gpsim&#39;&gt;[gpsim]&lt;/a&gt;
15892 &lt;/p&gt;
15893
15894 &lt;p&gt;&lt;strong&gt;field::geography&lt;/strong&gt;&lt;/p&gt;
15895 &lt;p&gt;
15896 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=kgeography&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/kgeography.png&#39; alt=&#39;kgeography&#39;&gt;&lt;/a&gt;
15897 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=marble&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/marble.png&#39; alt=&#39;marble&#39;&gt;&lt;/a&gt;
15898 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=xplanet&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/xplanet.png&#39; alt=&#39;xplanet&#39;&gt;&lt;/a&gt;
15899 &lt;/p&gt;
15900
15901 &lt;p&gt;&lt;strong&gt;field::linguistics&lt;/strong&gt;&lt;/p&gt;
15902 &lt;p&gt;
15903 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gcompris&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/gcompris.png&#39; alt=&#39;gcompris&#39;&gt;&lt;/a&gt;
15904 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=kanagram&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/kanagram.png&#39; alt=&#39;kanagram&#39;&gt;&lt;/a&gt;
15905 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=khangman&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/khangman.png&#39; alt=&#39;khangman&#39;&gt;&lt;/a&gt;
15906 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=klettres&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/klettres.png&#39; alt=&#39;klettres&#39;&gt;&lt;/a&gt;
15907 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=parley&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/parley.png&#39; alt=&#39;parley&#39;&gt;&lt;/a&gt;
15908 &lt;/p&gt;
15909
15910 &lt;p&gt;&lt;strong&gt;field::mathematics&lt;/strong&gt;&lt;/p&gt;
15911 &lt;p&gt;
15912 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=childsplay&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/childsplay.png&#39; alt=&#39;childsplay&#39;&gt;&lt;/a&gt;
15913 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=drgeo&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/drgeo.png&#39; alt=&#39;drgeo&#39;&gt;&lt;/a&gt;
15914 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gcompris&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/gcompris.png&#39; alt=&#39;gcompris&#39;&gt;&lt;/a&gt;
15915 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=geogebra&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/geogebra.png&#39; alt=&#39;geogebra&#39;&gt;&lt;/a&gt;
15916 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=geomview&#39;&gt;[geomview]&lt;/a&gt;
15917 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=grace&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/grace.png&#39; alt=&#39;grace&#39;&gt;&lt;/a&gt;
15918 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=graphmonkey&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/graphmonkey.png&#39; alt=&#39;graphmonkey&#39;&gt;&lt;/a&gt;
15919 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=graphthing&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/graphthing.png&#39; alt=&#39;graphthing&#39;&gt;&lt;/a&gt;
15920 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=kalgebra&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/kalgebra.png&#39; alt=&#39;kalgebra&#39;&gt;&lt;/a&gt;
15921 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=kbruch&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/kbruch.png&#39; alt=&#39;kbruch&#39;&gt;&lt;/a&gt;
15922 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=kig&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/kig.png&#39; alt=&#39;kig&#39;&gt;&lt;/a&gt;
15923 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=kmplot&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/kmplot.png&#39; alt=&#39;kmplot&#39;&gt;&lt;/a&gt;
15924 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=mathwar&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/mathwar.png&#39; alt=&#39;mathwar&#39;&gt;&lt;/a&gt;
15925 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=rocs&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/rocs.png&#39; alt=&#39;rocs&#39;&gt;&lt;/a&gt;
15926 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=scratch&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/scratch.png&#39; alt=&#39;scratch&#39;&gt;&lt;/a&gt;
15927 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=tuxmath&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/tuxmath.png&#39; alt=&#39;tuxmath&#39;&gt;&lt;/a&gt;
15928 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=xabacus&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/xabacus.png&#39; alt=&#39;xabacus&#39;&gt;&lt;/a&gt;
15929 &lt;/p&gt;
15930
15931 &lt;p&gt;&lt;strong&gt;field::physics&lt;/strong&gt;&lt;/p&gt;
15932 &lt;p&gt;
15933 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gcompris&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/gcompris.png&#39; alt=&#39;gcompris&#39;&gt;&lt;/a&gt;
15934 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=step&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/step.png&#39; alt=&#39;step&#39;&gt;&lt;/a&gt;
15935 &lt;/p&gt;
15936
15937 &lt;p&gt;&lt;strong&gt;field::TODO&lt;/strong&gt;&lt;/p&gt;
15938 &lt;p&gt;
15939 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=blinken&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/blinken.png&#39; alt=&#39;blinken&#39;&gt;&lt;/a&gt;
15940 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=cgoban&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/cgoban.png&#39; alt=&#39;cgoban&#39;&gt;&lt;/a&gt;
15941 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=childsplay&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/childsplay.png&#39; alt=&#39;childsplay&#39;&gt;&lt;/a&gt;
15942 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gcompris&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/gcompris.png&#39; alt=&#39;gcompris&#39;&gt;&lt;/a&gt;
15943 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gnuchess&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/gnuchess.png&#39; alt=&#39;gnuchess&#39;&gt;&lt;/a&gt;
15944 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gnugo&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/gnugo.png&#39; alt=&#39;gnugo&#39;&gt;&lt;/a&gt;
15945 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=gtans&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/gtans.png&#39; alt=&#39;gtans&#39;&gt;&lt;/a&gt;
15946 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=ktouch&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/ktouch.png&#39; alt=&#39;ktouch&#39;&gt;&lt;/a&gt;
15947 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=librecad&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/librecad.png&#39; alt=&#39;librecad&#39;&gt;&lt;/a&gt;
15948 &lt;a href=&#39;http://packages.debian.org/search?searchon=names&amp;exact=1&amp;suite=all&amp;section=all&amp;keywords=scratch&#39;&gt;&lt;img src=&#39;http://people.skolelinux.org/pere/blog/images/2013-06-01-debian-edu-apps/scratch.png&#39; alt=&#39;scratch&#39;&gt;&lt;/a&gt;
15949 &lt;/p&gt;
15950
15951 &lt;p&gt;In total, 61 applications. 3 of them lacked screen shots on
15952 &lt;a href=&quot;http://screenshot.debian.net&quot;&gt;screenshot.debian.net&lt;/a&gt;. If
15953 you know of some packages we should install by default, please let us
15954 know on &lt;a href=&quot;irc://irc.debian.org/%23debian-edu&quot;&gt;IRC, #debian-edu
15955 on irc.debian.org&lt;/a&gt;, or our
15956 &lt;a href=&quot;http://lists.debian.org/debian-edu/&quot;&gt;mailing list
15957 debian-edu@&lt;/a&gt;.&lt;/p&gt;
15958 </description>
15959 </item>
15960
15961 <item>
15962 <title>How to install Linux on a Packard Bell Easynote LV preinstalled with Windows 8</title>
15963 <link>http://people.skolelinux.org/pere/blog/How_to_install_Linux_on_a_Packard_Bell_Easynote_LV_preinstalled_with_Windows_8.html</link>
15964 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_install_Linux_on_a_Packard_Bell_Easynote_LV_preinstalled_with_Windows_8.html</guid>
15965 <pubDate>Mon, 27 May 2013 15:20:00 +0200</pubDate>
15966 <description>&lt;p&gt;Two days ago, I asked
15967 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/How_can_I_install_Linux_on_a_Packard_Bell_Easynote_LV_preinstalled_with_Windows_8_.html&quot;&gt;how
15968 I could install Linux on a Packard Bell EasyNote LV computer
15969 preinstalled with Windows 8&lt;/a&gt;. I found a solution, but am horrified
15970 with the obstacles put in the way of Linux users on a laptop with UEFI
15971 and Windows 8.&lt;/p&gt;
15972
15973 &lt;p&gt;I never found out if the cause of my problems were the use of UEFI
15974 secure booting or fast boot. I suspect fast boot was the problem,
15975 causing the firmware to boot directly from HD without considering any
15976 key presses and alternative devices, but do not know UEFI settings
15977 enough to tell.&lt;/p&gt;
15978
15979 &lt;p&gt;There is no way to install Linux on the machine in question without
15980 opening the box and disconnecting the hard drive! This is as far as I
15981 can tell, the only way to get access to the firmware setup menu
15982 without accepting the Windows 8 license agreement. I am told (and
15983 found description on how to) that it is possible to configure the
15984 firmware setup once booted into Windows 8. But as I believe the terms
15985 of that agreement are completely unacceptable, accepting the license
15986 was never an alternative. I do not enter agreements I do not intend
15987 to follow.&lt;/p&gt;
15988
15989 &lt;p&gt;I feared I had to return the laptops and ask for a refund, and
15990 waste many hours on this, but luckily there was a way to get it to
15991 work. But I would not recommend it to anyone planning to run Linux on
15992 it, and I have become sceptical to Windows 8 certified laptops. Is
15993 this the way Linux will be forced out of the market place, by making
15994 it close to impossible for &quot;normal&quot; users to install Linux without
15995 accepting the Microsoft Windows license terms? Or at least not
15996 without risking to loose the warranty?&lt;/p&gt;
15997
15998 &lt;p&gt;I&#39;ve updated the
15999 &lt;a href=&quot;http://www.linlap.com/packard_bell_easynote_lv&quot;&gt;Linux Laptop
16000 wiki page for Packard Bell EasyNote LV&lt;/a&gt;, to ensure the next person
16001 do not have to struggle as much as I did to get Linux into the
16002 machine.&lt;/p&gt;
16003
16004 &lt;p&gt;Thanks to Bob Rosbag, Florian Weimer, Philipp Kern, Ben Hutching,
16005 Michael Tokarev and others for feedback and ideas.&lt;/p&gt;
16006 </description>
16007 </item>
16008
16009 <item>
16010 <title>How can I install Linux on a Packard Bell Easynote LV preinstalled with Windows 8?</title>
16011 <link>http://people.skolelinux.org/pere/blog/How_can_I_install_Linux_on_a_Packard_Bell_Easynote_LV_preinstalled_with_Windows_8_.html</link>
16012 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_can_I_install_Linux_on_a_Packard_Bell_Easynote_LV_preinstalled_with_Windows_8_.html</guid>
16013 <pubDate>Sat, 25 May 2013 18:20:00 +0200</pubDate>
16014 <description>&lt;p&gt;I&#39;ve run into quite a problem the last few days. I bought three
16015 new laptops for my parents and a few others. I bought Packard Bell
16016 Easynote LV to run Kubuntu on and use as their home computer. But I
16017 am completely unable to figure out how to install Linux on it. The
16018 computer is preinstalled with Windows 8, and I suspect it uses UEFI
16019 instead of a BIOS to boot.&lt;/p&gt;
16020
16021 &lt;p&gt;The problem is that I am unable to get it to PXE boot, and unable
16022 to get it to boot the Linux installer from my USB stick. I have yet
16023 to try the DVD install, and still hope it will work. when I turn on
16024 the computer, there is no information on what buttons to press to get
16025 the normal boot menu. I expect to get some boot menu to select PXE or
16026 USB stick booting. When booting, it first ask for the language to
16027 use, then for some regional settings, and finally if I will accept the
16028 Windows 8 terms of use. As these terms are completely unacceptable to
16029 me, I have no other choice but to turn off the computer and try again
16030 to get it to boot the Linux installer.&lt;/p&gt;
16031
16032 &lt;p&gt;I have gathered my findings so far on a Linlap page about the
16033 &lt;a href=&quot;http://www.linlap.com/packard_bell_easynote_lv&quot;&gt;Packard Bell
16034 EasyNote LV&lt;/a&gt; model. If you have any idea how to get Linux
16035 installed on this machine, please get in touch or update that wiki
16036 page. If I can&#39;t find a way to install Linux, I will have to return
16037 the laptop to the seller and find another machine for my parents.&lt;/p&gt;
16038
16039 &lt;p&gt;I wonder, is this the way Linux will be forced out of the market
16040 using UEFI and &quot;secure boot&quot; by making it impossible to install Linux
16041 on new Laptops?&lt;/p&gt;
16042 </description>
16043 </item>
16044
16045 <item>
16046 <title>How to transform a Debian based system to a Debian Edu installation</title>
16047 <link>http://people.skolelinux.org/pere/blog/How_to_transform_a_Debian_based_system_to_a_Debian_Edu_installation.html</link>
16048 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_transform_a_Debian_based_system_to_a_Debian_Edu_installation.html</guid>
16049 <pubDate>Fri, 17 May 2013 11:50:00 +0200</pubDate>
16050 <description>&lt;p&gt;&lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt; is
16051 an operating system based on Debian intended for use in schools. It
16052 contain a turn-key solution for the computer network provided to
16053 pupils in the primary schools. It provide both the central server,
16054 network boot servers and desktop environments with heaps of
16055 educational software. The project was founded almost 12 years ago,
16056 2001-07-02. If you want to support the project, which is in need for
16057 cash to fund developer gatherings and other project related activity,
16058 &lt;a href=&quot;http://www.linuxiskolen.no/slxdebianlabs/donations.html&quot;&gt;please
16059 donate some money&lt;/a&gt;.
16060
16061 &lt;p&gt;A topic that come up again and again on the Debian Edu mailing
16062 lists and elsewhere, is the question on how to transform a Debian or
16063 Ubuntu installation into a Debian Edu installation. It isn&#39;t very
16064 hard, and last week I wrote a script to replicate the steps done by
16065 the Debian Edu installer.&lt;/p&gt;
16066
16067 &lt;p&gt;The script,
16068 &lt;a href=&quot;http://anonscm.debian.org/viewvc/debian-edu/branches/wheezy/debian-edu-config/share/debian-edu-config/tools/debian-edu-bless?view=markup&quot;&gt;debian-edu-bless&lt;a/&gt;
16069 in the debian-edu-config package, will go through these six steps and
16070 transform an existing Debian Wheezy or Ubuntu (untested) installation
16071 into a Debian Edu Workstation:&lt;/p&gt;
16072
16073 &lt;ol&gt;
16074
16075 &lt;li&gt;Add skolelinux related APT sources.&lt;/li&gt;
16076 &lt;li&gt;Create /etc/debian-edu/config with the wanted configuration.&lt;/li&gt;
16077 &lt;li&gt;Install debian-edu-install to load preseeding values and pull in
16078 our configuration.&lt;/li&gt;
16079 &lt;li&gt;Preseed debconf database with profile setup in
16080 /etc/debian-edu/config, and run tasksel to install packages
16081 according to the profile specified in the config above,
16082 overriding some of the Debian automation machinery.&lt;/li&gt;
16083 &lt;li&gt;Run debian-edu-cfengine-D installation to configure everything
16084 that could not be done using preseeding.&lt;/li&gt;
16085 &lt;li&gt;Ask for a reboot to enable all the configuration changes.&lt;/li&gt;
16086
16087 &lt;/ol&gt;
16088
16089 &lt;p&gt;There are some steps in the Debian Edu installation that can not be
16090 replicated like this. Disk partitioning and LVM setup, for example.
16091 So this script just assume there is enough disk space to install all
16092 the needed packages.&lt;/p&gt;
16093
16094 &lt;p&gt;The script was created to help a Debian Edu student working on
16095 setting up &lt;a href=&quot;http://www.raspberrypi.org&quot;&gt;Raspberry Pi&lt;/a&gt; as a
16096 Debian Edu client, and using it he can take the existing
16097 &lt;a href=&quot;http://www.raspbian.org/FrontPage‎&quot;&gt;Raspbian&lt;/a&gt; installation and
16098 transform it into a fully functioning Debian Edu Workstation (or
16099 Roaming Workstation, or whatever :).&lt;/p&gt;
16100
16101 &lt;p&gt;The default setting in the script is to create a KDE Workstation.
16102 If a LXDE based Roaming workstation is wanted instead, modify the
16103 PROFILE and DESKTOP values at the top to look like this instead:&lt;/p&gt;
16104
16105 &lt;p&gt;&lt;pre&gt;
16106 PROFILE=&quot;Roaming-Workstation&quot;
16107 DESKTOP=&quot;lxde&quot;
16108 &lt;/pre&gt;&lt;/p&gt;
16109
16110 &lt;p&gt;The script could even become useful to set up Debian Edu servers in
16111 the cloud, by starting with a virtual Debian installation at some
16112 virtual hosting service and setting up all the services on first
16113 boot.&lt;/p&gt;
16114 </description>
16115 </item>
16116
16117 <item>
16118 <title>Second alpha release of Debian Edu / Skolelinux based on Debian Wheezy</title>
16119 <link>http://people.skolelinux.org/pere/blog/Second_alpha_release_of_Debian_Edu___Skolelinux_based_on_Debian_Wheezy.html</link>
16120 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Second_alpha_release_of_Debian_Edu___Skolelinux_based_on_Debian_Wheezy.html</guid>
16121 <pubDate>Tue, 14 May 2013 23:30:00 +0200</pubDate>
16122 <description>&lt;p&gt;The &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux
16123 project&lt;/a&gt; is making great progress and made its second Wheezy based
16124 release today. This is the release announcement:&lt;/p&gt;
16125
16126 &lt;p&gt;&lt;strong&gt;New features for Debian Edu 7.0.0 alpha1 released
16127 2013-05-14&lt;/strong&gt;&lt;/p&gt;
16128
16129 &lt;p&gt;This is the release notes for for Debian Edu / Skolelinux 7.0.0 edu
16130 alpha1, based on &lt;a href=&quot;http://www.debian.org&quot;&gt;Debian&lt;/a&gt; with
16131 codename &quot;Wheezy&quot;.&lt;/p&gt;
16132
16133 &lt;p&gt;&lt;strong&gt;About Debian Edu and Skolelinux&lt;/strong&gt;&lt;/p&gt;
16134
16135 &lt;p&gt;Debian Edu, also known as Skolelinux, is a Linux distribution based
16136 on Debian providing an out-of-the box environment of a completely
16137 configured school network. Immediatly after installation a school
16138 server running all services needed for a school network is set up just
16139 waiting for users and machines being added via GOsa², a comfortable
16140 Web-UI. A netbooting environment is prepared using PXE, so after
16141 initial installation of the main server from CD, DVD or USB stick all
16142 other machines can be installed via the network.&lt;/p&gt;
16143
16144 &lt;p&gt;This is the first test release based on Wheezy (which currently is
16145 not released yet). Basically this is an updated and slightly improved
16146 version compared to the Squeeze release.&lt;/p&gt;
16147
16148 &lt;p&gt;&lt;strong&gt;Software updates&lt;/strong&gt;&lt;/p&gt;
16149 &lt;ul&gt;
16150 &lt;li&gt;Install freemind (0.9.0) by default, and stop installing vym by
16151 default.&lt;/li&gt;
16152 &lt;li&gt;Install chromium (26.0.1410.43) by default.&lt;/li&gt;
16153 &lt;li&gt;Install goplay (0.5-1.1) to make golearn available by default.&lt;/li&gt;
16154 &lt;li&gt;Updated support for Japanese input methods, now based on
16155 ibus-anthy.&lt;/li&gt;
16156 &lt;/ul&gt;
16157
16158 &lt;p&gt;&lt;strong&gt;Other changes&lt;/strong&gt;&lt;/p&gt;
16159 &lt;ul&gt;
16160
16161 &lt;li&gt;Switched default file system from ext3 to ext4 for speed and
16162 reliability improvements.&lt;/li&gt;
16163 &lt;li&gt;Got rid of unwanted winbind daemon and PAM setup activated because
16164 of &lt;a href=&quot;http://bugs.debian.org/706434&quot;&gt;706434&lt;/a&gt;.&lt;/li&gt;
16165 &lt;li&gt;Extended and improved the testsuite tests to detect more possible
16166 problems.&lt;/li&gt;
16167 &lt;li&gt;Corrected proxy handling to not set http_proxy to a bogus
16168 direct:// URL.&lt;/li&gt;
16169 &lt;li&gt;Corrected proxy setup for diskless workstations.&lt;/li&gt;
16170 &lt;li&gt;Corrected PXE setup to use our updated udebs during installation.&lt;/li&gt;
16171 &lt;li&gt;Made installation handling of low entropy level more robust.&lt;/li&gt;
16172 &lt;li&gt;Create larger partitions for Roaming workstations and Thin client
16173 servers, to make room for all the software installed.&lt;/li&gt;
16174 &lt;li&gt;Fix bug in Roaming workstation PAM setup, making it impossible to
16175 log in (&lt;a href=&quot;http://bugs.debian.org/706753&quot;&gt;706753&lt;/a&gt;).&lt;/li&gt;
16176 &lt;/ul&gt;
16177
16178 &lt;p&gt;&lt;strong&gt;Known issues&lt;/strong&gt;&lt;/p&gt;
16179 &lt;ul&gt;
16180
16181 &lt;li&gt;IP resolution for the local hostname give useless IPv6 address
16182 (&lt;a href=&quot;http://bugs.debian.org/705900&quot;&gt;705900&lt;/a&gt;). Only install
16183 libnss-myhostname on roaming workstations until it is fixed.&lt;/li&gt;
16184 &lt;li&gt;DVD images are not yet ready.&lt;/li&gt;
16185 &lt;li&gt;No mass import of user account data in GOsa (ldif or csv)
16186 available yet (&lt;a href=&quot;http://bugs.debian.org/698840&quot;&gt;698840&lt;/a&gt;).&lt;/li&gt;
16187 &lt;li&gt;Missing artwork for the KDE desktop (and probably a few others).&lt;/li&gt;
16188 &lt;li&gt;KDE Debian submenu lacks icons.&lt;/li&gt;
16189 &lt;li&gt;LXDE menu lacks entry for changing GOsa password
16190 (website). Installing gosa-desktop will be an option.&lt;/li&gt;
16191 &lt;li&gt;Backup configuration via web interface is impossible due to
16192 password submission problem
16193 (&lt;a href=&quot;http://bugs.debian.org/700257&quot;&gt;700257&lt;/a&gt;).&lt;/li&gt;
16194
16195 &lt;/ul&gt;
16196
16197 &lt;p&gt;&lt;strong&gt;Where to get it&lt;/strong&gt;&lt;/p&gt;
16198
16199 &lt;p&gt;To download the multiarch netinstall CD release you can use&lt;/p&gt;
16200 &lt;ul&gt;
16201
16202 &lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu~7.0+edu0~a1-CD.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu~7.0+edu0~a1-CD.iso&lt;/a&gt;&lt;/li&gt;
16203 &lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu~7.0+edu0~a1-CD.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu~7.0+edu0~a1-CD.iso&lt;/a&gt;&lt;/li&gt;
16204 &lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu~7.0+edu0~a1-CD.iso debian-edu~7.0+edu0~a1-CD.iso&lt;/li&gt;
16205
16206 &lt;/ul&gt;
16207
16208 &lt;p&gt;The MD5SUM of this image is: 685ed76c1aa8e44b12d3fde21faf450b&lt;/p&gt;
16209
16210 &lt;p&gt;The SHA1SUM of this image is: 6c874de157024da13e115bab29c068080a11ec4c&lt;/p&gt;
16211
16212 &lt;p&gt;&lt;strong&gt;How to report bugs&lt;/strong&gt;&lt;/p&gt;
16213
16214 &lt;p&gt;&lt;a href=&quot;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&quot;&gt;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&lt;/a&gt;&lt;/p&gt;
16215 </description>
16216 </item>
16217
16218 <item>
16219 <title>Debian, the Linux distribution of choice for LEGO designers?</title>
16220 <link>http://people.skolelinux.org/pere/blog/Debian__the_Linux_distribution_of_choice_for_LEGO_designers_.html</link>
16221 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian__the_Linux_distribution_of_choice_for_LEGO_designers_.html</guid>
16222 <pubDate>Sat, 11 May 2013 20:30:00 +0200</pubDate>
16223 <description>&lt;P&gt;In January,
16224 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/New_IRC_channel_for_LEGO_designers_using_Debian.html&quot;&gt;I
16225 announced a&lt;/a&gt; new &lt;a href=&quot;irc://irc.debian.org/%23debian-lego&quot;&gt;IRC
16226 channel #debian-lego&lt;/a&gt;, for those of us in the Debian and Linux
16227 community interested in &lt;a href=&quot;http://www.lego.com/&quot;&gt;LEGO&lt;/a&gt;, the
16228 marvellous construction system from Denmark. We also created
16229 &lt;a href=&quot;http://wiki.debian.org/LegoDesigners&quot;&gt;a wiki page&lt;/a&gt; to have
16230 a place to take notes and write down our plans and hopes. And several
16231 people showed up to help. I was very happy to see the effect of my
16232 call. Since the small start, we have a debtags tag
16233 &lt;a href=&quot;http://debtags.debian.net/search/bytag?wl=hardware::hobby:lego&quot;&gt;hardware::hobby:lego&lt;/a&gt;
16234 tag for LEGO related packages, and now count 10 packages related to
16235 LEGO and &lt;a href=&quot;http://mindstorms.lego.com/&quot;&gt;Mindstorms&lt;/a&gt;:&lt;/p&gt;
16236
16237 &lt;p&gt;&lt;table&gt;
16238 &lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://packages.qa.debian.org/brickos&quot;&gt;brickos&lt;/a&gt;&lt;/td&gt;&lt;td&gt;alternative OS for LEGO Mindstorms RCX. Supports development in C/C++&lt;/td&gt;&lt;/tr&gt;
16239 &lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://packages.qa.debian.org/leocad&quot;&gt;leocad&lt;/a&gt;&lt;/td&gt;&lt;td&gt;virtual brick CAD software&lt;/td&gt;&lt;/tr&gt;
16240 &lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://packages.qa.debian.org/libnxt&quot;&gt;libnxt&lt;/a&gt;&lt;/td&gt;&lt;td&gt;utility library for talking to the LEGO Mindstorms NX&lt;/td&gt;&lt;/tr&gt;
16241 &lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://packages.qa.debian.org/lnpd&quot;&gt;lnpd&lt;/a&gt;&lt;/td&gt;&lt;td&gt;daemon for LNP communication with BrickOS&lt;/td&gt;&lt;/tr&gt;
16242 &lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://packages.qa.debian.org/nbc&quot;&gt;nbc&lt;/a&gt;&lt;/td&gt;&lt;td&gt;compiler for LEGO Mindstorms NXT bricks&lt;/td&gt;&lt;/tr&gt;
16243 &lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://packages.qa.debian.org/nqc&quot;&gt;nqc&lt;/a&gt;&lt;/td&gt;&lt;td&gt;Not Quite C compiler for LEGO Mindstorms RCX&lt;/td&gt;&lt;/tr&gt;
16244 &lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://packages.qa.debian.org/python-nxt&quot;&gt;python-nxt&lt;/a&gt;&lt;/td&gt;&lt;td&gt;python driver/interface/wrapper for the Lego Mindstorms NXT robot&lt;/td&gt;&lt;/tr&gt;
16245 &lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://packages.qa.debian.org/python-nxt-filer&quot;&gt;python-nxt-filer&lt;/a&gt;&lt;/td&gt;&lt;td&gt;simple GUI to manage files on a LEGO Mindstorms NXT&lt;/td&gt;&lt;/tr&gt;
16246 &lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://packages.qa.debian.org/scratch&quot;&gt;scratch&lt;/a&gt;&lt;/td&gt;&lt;td&gt;easy to use programming environment for ages 8 and up&lt;/td&gt;&lt;/tr&gt;
16247 &lt;tr&gt;&lt;td&gt;&lt;a href=&quot;http://packages.qa.debian.org/t2n&quot;&gt;t2n&lt;/a&gt;&lt;/td&gt;&lt;td&gt;simple command-line tool for Lego NXT&lt;/td&gt;&lt;/tr&gt;
16248 &lt;/table&gt;&lt;/p&gt;
16249
16250 &lt;p&gt;Some of these are available in Wheezy, and all but one are
16251 currently available in Jessie/testing. leocad is so far only
16252 available in experimental.&lt;/p&gt;
16253
16254 &lt;p&gt;If you care about LEGO in Debian, please join us on IRC and help
16255 adding the rest of the great free software tools available on Linux
16256 for LEGO designers.&lt;/p&gt;
16257 </description>
16258 </item>
16259
16260 <item>
16261 <title>Debian Wheezy is out - and Debian Edu / Skolelinux should soon follow! #newinwheezy</title>
16262 <link>http://people.skolelinux.org/pere/blog/Debian_Wheezy_is_out___and_Debian_Edu___Skolelinux_should_soon_follow___newinwheezy.html</link>
16263 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Wheezy_is_out___and_Debian_Edu___Skolelinux_should_soon_follow___newinwheezy.html</guid>
16264 <pubDate>Sun, 5 May 2013 07:40:00 +0200</pubDate>
16265 <description>&lt;p&gt;When I woke up this morning, I was very happy to see that the
16266 &lt;a href=&quot;http://www.debian.org/News/2013/20130504&quot;&gt;release announcement
16267 for Debian Wheezy&lt;/a&gt; was waiting in my mail box. This is a great
16268 Debian release, and I expect to move my machines at home over to it fairly
16269 soon.&lt;/p&gt;
16270
16271 &lt;p&gt;The new debian release contain heaps of new stuff, and one program
16272 in particular make me very happy to see included. The
16273 &lt;a href=&quot;http://scratch.mit.edu/&quot;&gt;Scratch&lt;/a&gt; program, made famous by
16274 the &lt;a href=&quot;http://www.code.org/&quot;&gt;Teach kids code&lt;/a&gt; movement, is
16275 included for the first time. Alongside similar programs like
16276 &lt;a href=&quot;http://edu.kde.org/kturtle/&quot;&gt;kturtle&lt;/a&gt; and
16277 &lt;a href=&quot;http://wiki.sugarlabs.org/go/Activities/Turtle_Art&quot;&gt;turtleart&lt;/a&gt;,
16278 it allow for visual programming where syntax errors can not happen,
16279 and a friendly programming environment for learning to control the
16280 computer. Scratch will also be included in the next release of Debian
16281 Edu.&lt;/a&gt;
16282
16283 &lt;p&gt;And now that Wheezy is wrapped up, we can wrap up the next Debian
16284 Edu/Skolelinux release too. The
16285 &lt;a href=&quot;http://lists.debian.org/debian-edu/2013/04/msg00132.html&quot;&gt;first
16286 alpha release&lt;/a&gt; went out last week, and the next should soon
16287 follow.&lt;p&gt;
16288 </description>
16289 </item>
16290
16291 <item>
16292 <title>First alpha release of Debian Edu / Skolelinux based on Debian Wheezy</title>
16293 <link>http://people.skolelinux.org/pere/blog/First_alpha_release_of_Debian_Edu___Skolelinux_based_on_Debian_Wheezy.html</link>
16294 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_alpha_release_of_Debian_Edu___Skolelinux_based_on_Debian_Wheezy.html</guid>
16295 <pubDate>Fri, 26 Apr 2013 08:30:00 +0200</pubDate>
16296 <description>&lt;p&gt;The Debian Edu / Skolelinux project is still going strong and made
16297 its first Wheezy based release today. This is the release
16298 announcement:&lt;/p&gt;
16299
16300 &lt;p&gt;&lt;strong&gt;New features for Debian Edu ~7.0.0 alpha0 released
16301 2013-04-26&lt;/strong&gt;&lt;/p&gt;
16302
16303 &lt;p&gt;This is the release notes for for Debian Edu / Skolelinux ~7.0.0
16304 edu alpha0, based on Debian with codename &quot;Wheezy&quot;.&lt;/p&gt;
16305
16306 &lt;p&gt;&lt;strong&gt;About Debian Edu and Skolelinux&lt;/strong&gt;&lt;/p&gt;
16307
16308 &lt;p&gt;&lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu, also known as
16309 Skolelinux&lt;/a&gt;, is a Linux distribution based on Debian providing an
16310 out-of-the box environment of a completely configured school
16311 network. Immediatly after installation a school server running all
16312 services needed for a school network is set up just waiting for users
16313 and machines being added via GOsa², a comfortable Web-UI. A netbooting
16314 environment is prepared using PXE, so after initial installation of
16315 the main server from CD, DVD or USB stick all other machines can be
16316 installed via the network.&lt;/p&gt;
16317
16318 &lt;p&gt;This is the first test release based on Wheezy (which currently is
16319 not released yet). Basically this is an updated and slightly improved
16320 version compared to the Squeeze release.&lt;/p&gt;
16321
16322 &lt;p&gt;&lt;strong&gt;Software updates&lt;/strong&gt;&lt;/p&gt;
16323
16324 &lt;ul&gt;
16325 &lt;li&gt;Everything which is new in Debian Wheezy, eg:
16326 &lt;ul&gt;
16327 &lt;li&gt;Linux kernel 3.2.x&lt;/li&gt;
16328 &lt;li&gt;Desktop environments KDE &quot;Plasma&quot; 4.8.4, GNOME 3.4, and LXDE 4
16329 (KDE is installed by default; to choose GNOME or LXDE: see
16330 manual.)&lt;/li&gt;
16331 &lt;li&gt;Web browser Iceweasel 10 ESR&lt;/li&gt;
16332 &lt;li&gt;LibreOffice 3.5.4&lt;/li&gt;
16333 &lt;li&gt;LTSP 5.4.2&lt;/li&gt;
16334 &lt;li&gt;GOsa 2.7.4&lt;/li&gt;
16335 &lt;li&gt;CUPS print system 1.5.3&lt;/li&gt;
16336 &lt;li&gt;Educational toolbox GCompris 12.01&lt;/li&gt;
16337 &lt;li&gt;Music creator Rosegarden 12.04&lt;/li&gt;
16338 &lt;li&gt;Image editor Gimp 2.8.2&lt;/li&gt;
16339 &lt;li&gt;Virtual universe Celestia 1.6.1&lt;/li&gt;
16340 &lt;li&gt;Virtual stargazer Stellarium 0.11.3&lt;/li&gt;
16341 &lt;li&gt;Scratch visual programming environment 1.4.0.6&lt;/li&gt;
16342 &lt;li&gt;New version of debian-installer from Debian Wheezy, see
16343 &lt;a href=&quot;http://www.debian.org/releases/wheezy/installmanual&quot;&gt;installation
16344 manual&lt;/a&gt; for more details.&lt;/li&gt;
16345 &lt;li&gt;Debian Wheezy includes about 37000 packages available for
16346 installation.&lt;/li&gt;
16347 &lt;li&gt;More information about Debian Wheezy 7.0 is provided in the
16348 &lt;a href=&quot;http://www.debian.org/releases/wheezy/releasenotes&quot;&gt;release notes&lt;/a&gt; and the &lt;a href=&quot;http://www.debian.org/releases/wheezy/installmanual&quot;&gt;installation manual&lt;/a&gt;.&lt;/li&gt;
16349 &lt;/ul&gt;&lt;/li&gt;
16350 &lt;/ul&gt;
16351
16352 &lt;p&gt;&lt;strong&gt;Documentation&lt;/strong&gt;&lt;/p&gt;
16353 &lt;ul&gt;
16354 &lt;li&gt;The (&lt;a href=&quot;http://wiki.debian.org/DebianEdu/Documentation/Wheezy&quot;&gt;English&lt;/a&gt;) Debian Edu Wheezy Manual is fully translated to
16355 German, French, Italian and Danish. Partly translated versions exist
16356 for Norwegian Bokmal and Spanish.&lt;/li&gt;
16357 &lt;/ul&gt;
16358
16359 &lt;p&gt;&lt;Strong&gt;LDAP related changes&lt;/strong&gt;&lt;/p&gt;
16360 &lt;ul&gt;
16361 &lt;li&gt;Slight changes to some objects and acls to have more types to
16362 choose from when adding systems in GOsa. Now systems can be of type
16363 server, workstation, printer, terminal or netdevice.&lt;/li&gt;
16364 &lt;/ul&gt;
16365
16366 &lt;p&gt;&lt;strong&gt;Other changes&lt;/strong&gt;&lt;/p&gt;
16367 &lt;ul&gt;
16368 &lt;li&gt;LTSP clients start as diskless workstation / thin client can be
16369 configured via command line argument -- or individually adding an
16370 entry in lts.conf or LDAP.&lt;li&gt;
16371 &lt;li&gt;GOsa gui: Now some options that seemed to be available, but are non
16372 functional, are greyed out (or are not clickable). Some tabs are
16373 completely hidden to the end user, others even to the GOsa admin.&lt;/li&gt;
16374 &lt;/ul&gt;
16375
16376 &lt;p&gt;&lt;strong&gt;Regressions&lt;/strong&gt;&lt;/p&gt;
16377 &lt;ul&gt;
16378 &lt;li&gt;No mass import of user account data in GOsa (ldif or csv) available
16379 yet.&lt;/li&gt;
16380 &lt;/ul&gt;
16381
16382 &lt;p&gt;&lt;strong&gt;No updated artwork&lt;/strong&gt;&lt;/p&gt;
16383
16384 &lt;ul&gt;
16385 &lt;li&gt;Updated artwork which is visible during installation, in the login
16386 screen and as desktop wallpaper is still missing or the same as we
16387 had for our Squeeze based release.&lt;/li&gt;
16388 &lt;/ul&gt;
16389
16390 &lt;p&gt;&lt;strong&gt;Where to get it&lt;/strong&gt;&lt;/p&gt;
16391
16392 To download the multiarch netinstall CD release you can use
16393 &lt;ul&gt;
16394 &lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/&lt;/a&gt;&lt;/li&gt;
16395 &lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/wheezy/&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/wheezy/&lt;/a&gt;&lt;/li&gt;
16396 &lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/&lt;/li&gt;
16397 &lt;/ul&gt;
16398
16399 &lt;p&gt;The MD5SUM of this image is: c5e773ddafdaa4f48c409c682f598b6c&lt;/p&gt;
16400
16401 &lt;p&gt;The SHA1SUM of this image is: 25934fabb9b7d20235499a0a51f08ce6c54215f2&lt;/p&gt;
16402
16403 &lt;p&gt;&lt;strong&gt;How to report bugs&lt;/strong&gt;&lt;/p&gt;
16404
16405 &lt;p&gt;&lt;a href=&quot;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&quot;&gt;http://wiki.debian.org/DebianEdu/HowTo/ReportBugs&lt;/a&gt;&lt;/p&gt;
16406 </description>
16407 </item>
16408
16409 <item>
16410 <title>First Debian Edu / Skolelinux developer gathering in 2013 take place in Trondheim</title>
16411 <link>http://people.skolelinux.org/pere/blog/First_Debian_Edu___Skolelinux_developer_gathering_in_2013_take_place_in_Trondheim.html</link>
16412 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_Debian_Edu___Skolelinux_developer_gathering_in_2013_take_place_in_Trondheim.html</guid>
16413 <pubDate>Tue, 16 Apr 2013 15:00:00 +0200</pubDate>
16414 <description>&lt;p&gt;This years first &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Skolelinux /
16415 Debian Edu&lt;/a&gt; developer gathering take place the coming weekend in Trondheim.
16416 Details about the gathering can be found
16417 &lt;a href=&quot;http://www.friprogramvareiskolen.no/Gathering/2013-04-19-21-Trondheim&quot;&gt;on
16418 the FRiSK wiki&lt;/a&gt;. The dates are 19-21th of April 2013, and online
16419 participation for those unable to make it in person is very welcome,
16420 and I plan to participate online myself as I could not leave Oslo this
16421 weekend.&lt;/p&gt;
16422
16423 &lt;p&gt;The focus of the gathering is to work on the web pages and project
16424 infrastructure, and to continue the work on the Wheezy based Debian
16425 Edu release.&lt;/p&gt;
16426
16427 &lt;p&gt;See you on &lt;a href=&quot;irc://irc.debian.org/%23debian-edu&quot;&gt;IRC, #debian-edu on irc.debian.org,&lt;/a&gt; then?&lt;/p&gt;
16428 </description>
16429 </item>
16430
16431 <item>
16432 <title>Isenkram 0.2 finally in the Debian archive</title>
16433 <link>http://people.skolelinux.org/pere/blog/Isenkram_0_2_finally_in_the_Debian_archive.html</link>
16434 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Isenkram_0_2_finally_in_the_Debian_archive.html</guid>
16435 <pubDate>Wed, 3 Apr 2013 23:40:00 +0200</pubDate>
16436 <description>&lt;p&gt;Today the &lt;a href=&quot;http://packages.qa.debian.org/isenkram&quot;&gt;Isenkram
16437 package&lt;/a&gt; finally made it into the archive, after lingering in NEW
16438 for many months. I uploaded it to the Debian experimental suite
16439 2013-01-27, and today it was accepted into the archive.&lt;/p&gt;
16440
16441 &lt;p&gt;Isenkram is a system for suggesting to users what packages to
16442 install to work with a pluggable hardware device. The suggestion pop
16443 up when the device is plugged in. For example if a Lego Mindstorm NXT
16444 is inserted, it will suggest to install the program needed to program
16445 the NXT controller. Give it a go, and report bugs and suggestions to
16446 BTS. :)&lt;/p&gt;
16447 </description>
16448 </item>
16449
16450 <item>
16451 <title>Change the font, save the world (and save some money in the process)</title>
16452 <link>http://people.skolelinux.org/pere/blog/Change_the_font__save_the_world__and_save_some_money_in_the_process_.html</link>
16453 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Change_the_font__save_the_world__and_save_some_money_in_the_process_.html</guid>
16454 <pubDate>Tue, 26 Mar 2013 15:10:00 +0100</pubDate>
16455 <description>&lt;p&gt;Would you like to help the environment and save money at the same
16456 time, without much sacrifice? A small step could be to change the
16457 font you use when printing.&lt;/p&gt;
16458
16459 &lt;p&gt;Three years ago,
16460 &lt;a href=&quot;http://arstechnica.com/business/2010/04/last-year-printer-comparison-website/&quot;&gt;Ars
16461 Technica&lt;/a&gt; reported how the University of Wisconsin-Green Bay
16462 changed their default front from
16463 &lt;a href=&quot;http://en.wikipedia.org/wiki/Arial&quot;&gt;Arial&lt;/a&gt; to
16464 &lt;a href=&quot;http://en.wikipedia.org/wiki/Century_Gothic&quot;&gt;Century
16465 Gothic&lt;/a&gt; to save money. The Century Gothic font uses 30% less toner
16466 than Arial to print the same text. In other word, you could cut your
16467 toner costs by 30% (or actually, increase your toner supply life time
16468 by more than 30%), by simply changing the default font used in your
16469 prints.&lt;/p&gt;
16470
16471 &lt;p&gt;But it is not quite obvious how much one will save by switching.
16472 The University of Wisconsin-Green Bay said it used $100,000 per year
16473 on ink and toner cartridges, according to
16474 &lt;a href=&quot;http://www.twincities.com/ci_14833097&quot;&gt;a report from
16475 TwinCities.com&lt;/a&gt;, and expected to save between $5,000 and $10,000
16476 per year by asking staff and students to use a different font. Not
16477 all PDFs and documents are created internally, and those from external
16478 sources will most likely still use a different font. Also, the
16479 Century Gothic font is slightly wider than Arial, and thus might use
16480 more sheets of paper to print the same text, so the total saving
16481 depend on the documents printed.&lt;/p&gt;
16482
16483 &lt;p&gt;But it is definitely something to consider, if you want to reduce
16484 the amount of trash, decrease the amount of toner used in the world,
16485 and save some money in the process.&lt;/p&gt;
16486
16487 &lt;p&gt;Update 2013-04-10: If you want to know how much ink/toner could be
16488 saved when switching between fonts, Inkfarm got a
16489 &lt;a href=&quot;http://www.inkfarm.com/What-the-Font&quot;&gt;service to calculate the
16490 difference between font pairs&lt;/a&gt;. They also
16491 &lt;a href=&quot;http://www.inkfarm.com/Recommended-Ink-Saving-Fonts---&quot;&gt;recommend
16492 which fonts to use&lt;/a&gt; to save ink. Check it out. :) While updating
16493 this blog post, I also came across a blog post from InkCloners,
16494 &lt;a href=&quot;http://inkcloners.com/blog/ink-cartridges/change-fonts-to-save-ink-costs/&quot;&gt;listing
16495 the fonts they recommend&lt;/a&gt;, with Centory Gothic at the top.&lt;/p&gt;
16496 </description>
16497 </item>
16498
16499 <item>
16500 <title>Typesetting a short story using docbook for PDF, HTML and EPUB</title>
16501 <link>http://people.skolelinux.org/pere/blog/Typesetting_a_short_story_using_docbook_for_PDF__HTML_and_EPUB.html</link>
16502 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Typesetting_a_short_story_using_docbook_for_PDF__HTML_and_EPUB.html</guid>
16503 <pubDate>Sun, 24 Mar 2013 17:30:00 +0100</pubDate>
16504 <description>&lt;p&gt;A few days ago, during a discussion in
16505 &lt;a href=&quot;http://www.efn.no/&quot;&gt;EFN&lt;/a&gt; about interesting books to read
16506 about copyright and the data retention directive, a suggestion to read
16507 the 1968 short story Kodémus by
16508 &lt;a href=&quot;http://web2.gyldendal.no/toraage/&quot;&gt;Tore Åge Bringsværd&lt;/a&gt;
16509 came up. The text was only available in old paper books, and thus not
16510 easily available for current and future generations. Some of the
16511 people participating in the discussion contacted the author, and
16512 reported back 2013-03-19 that the author was OK with releasing the
16513 short story using a &lt;a href=&quot;http://www.creativecommons.org/&quot;&gt;Creative
16514 Commons&lt;/a&gt; license. The text was quickly scanned and OCR-ed, and we
16515 were ready to start on the editing and typesetting.&lt;/p&gt;
16516
16517 &lt;p&gt;As I already had some experience formatting text in my project to
16518 provide a Norwegian version of the Free Culture book by Lawrence
16519 Lessig, I chipped in and set up a
16520 &lt;a href=&quot;http://www.docbook.org/&quot;&gt;DocBook&lt;/a&gt; processing framework to
16521 generate PDF, HTML and EPUB version of the short story. The tools to
16522 transform DocBook to different formats are already in my Linux
16523 distribution of choice, &lt;a href=&quot;http://www.debian.org/&quot;&gt;Debian&lt;/a&gt;, so
16524 all I had to do was to use the
16525 &lt;a href=&quot;http://dblatex.sourceforge.net/&quot;&gt;dblatex&lt;/a&gt;,
16526 &lt;a href=&quot;http://docbook.sourceforge.net/release/xsl/current/epub/README&quot;&gt;dbtoepub&lt;/a&gt;
16527 and &lt;a href=&quot;https://fedorahosted.org/xmlto/&quot;&gt;xmlto&lt;/a&gt; tools to do the
16528 conversion. After a few days, we decided to replace dblatex with
16529 xsltproc/fop (aka
16530 &lt;a href=&quot;http://wiki.docbook.org/DocBookXslStylesheets&quot;&gt;docbook-xsl&lt;/a&gt;),
16531 to get the copyright information to show up in the PDF and to get a
16532 nicer &amp;lt;variablelist&amp;gt; typesetting, but that is just a minor
16533 technical detail.&lt;/p&gt;
16534
16535 &lt;p&gt;There were a few challenges, of course. We want to typeset the
16536 short story to look like the original, and that require fairly good
16537 control over the layout. The original short story have three
16538 parts/scenes separated by a single horizontally centred star (*), and
16539 the paragraphs do not contain only flowing text, but dialogs and text
16540 that started on a new line in the middle of the paragraph.&lt;/p&gt;
16541
16542 &lt;p&gt;I initially solved the first challenge by using a paragraph with a
16543 single star in it, ie &amp;lt;para&amp;gt;*&amp;lt;/para&amp;gt;, but it made sure a
16544 placeholder indicated where the scene shifted. This did not look too
16545 good without the centring. The next approach was to create a new
16546 preprocessor directive &amp;lt;?newscene?&amp;gt;, mapping to &quot;&amp;lt;hr/&amp;gt;&quot;
16547 for HTML and &quot;&amp;lt;fo:block text-align=&quot;center&quot;&amp;gt;&amp;lt;fo:leader
16548 leader-pattern=&quot;rule&quot; rule-thickness=&quot;0.5pt&quot;/&amp;gt;&amp;lt;/fo:block&amp;gt;&quot;
16549 for FO/PDF output (did not try to implement this in dblatex, as we had
16550 switched at this time). The HTML XSL file looked like this:&lt;/p&gt;
16551
16552 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
16553 &amp;lt;?xml version=&#39;1.0&#39;?&amp;gt;
16554 &amp;lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; version=&#39;1.0&#39;&amp;gt;
16555 &amp;lt;xsl:template match=&quot;processing-instruction(&#39;newscene&#39;)&quot;&amp;gt;
16556 &amp;lt;hr/&amp;gt;
16557 &amp;lt;/xsl:template&amp;gt;
16558 &amp;lt;/xsl:stylesheet&amp;gt;
16559 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
16560
16561 &lt;p&gt;And the FO/PDF XSL file looked like this:&lt;/p&gt;
16562
16563 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
16564 &amp;lt;?xml version=&#39;1.0&#39;?&amp;gt;
16565 &amp;lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; version=&#39;1.0&#39;&amp;gt;
16566 &amp;lt;xsl:template match=&quot;processing-instruction(&#39;newscene&#39;)&quot;&amp;gt;
16567 &amp;lt;fo:block text-align=&quot;center&quot;&amp;gt;
16568 &amp;lt;fo:leader leader-pattern=&quot;rule&quot; rule-thickness=&quot;0.5pt&quot;/&amp;gt;
16569 &amp;lt;/fo:block&amp;gt;
16570 &amp;lt;/xsl:template&amp;gt;
16571 &amp;lt;/xsl:stylesheet&amp;gt;
16572 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
16573
16574 &lt;p&gt;Finally, I came across the &amp;lt;bridgehead&amp;gt; tag, which seem to be
16575 a good fit for the task at hand, and I replaced &amp;lt;?newscene?&amp;gt;
16576 with &amp;lt;bridgehead&amp;gt;*&amp;lt;/bridgehead&amp;gt;. It isn&#39;t centred, but we
16577 can fix it with some XSL rule if the current visual layout isn&#39;t
16578 enough.&lt;/p&gt;
16579
16580 &lt;p&gt;I did not find a good DocBook compliant way to solve the
16581 linebreak/paragraph challenge, so I ended up creating a new processor
16582 directive &amp;lt;?linebreak?&amp;gt;, mapping to &amp;lt;br/&amp;gt; in HTML, and
16583 &amp;lt;fo:block/&amp;gt; in FO/PDF. I suspect there are better ways to do
16584 this, and welcome ideas and patches on github. The HTML XSL file now
16585 look like this:&lt;/p&gt;
16586
16587 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
16588 &amp;lt;?xml version=&#39;1.0&#39;?&amp;gt;
16589 &amp;lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; version=&#39;1.0&#39;&amp;gt;
16590 &amp;lt;xsl:template match=&quot;processing-instruction(&#39;linebreak)&quot;&amp;gt;
16591 &amp;lt;br/&amp;gt;
16592 &amp;lt;/xsl:template&amp;gt;
16593 &amp;lt;/xsl:stylesheet&amp;gt;
16594 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
16595
16596 &lt;p&gt;And the FO/PDF XSL file looked like this:&lt;/p&gt;
16597
16598 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
16599 &amp;lt;?xml version=&#39;1.0&#39;?&amp;gt;
16600 &amp;lt;xsl:stylesheet xmlns:xsl=&quot;http://www.w3.org/1999/XSL/Transform&quot; version=&#39;1.0&#39;
16601 xmlns:fo=&quot;http://www.w3.org/1999/XSL/Format&quot;&amp;gt;
16602 &amp;lt;xsl:template match=&quot;processing-instruction(&#39;linebreak)&quot;&amp;gt;
16603 &amp;lt;fo:block/&amp;gt;
16604 &amp;lt;/xsl:template&amp;gt;
16605 &amp;lt;/xsl:stylesheet&amp;gt;
16606 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
16607
16608 &lt;p&gt;One unsolved challenge is our wish to expose different ISBN numbers
16609 per publication format, while keeping all of them in some conditional
16610 structure in the DocBook source. No idea how to do this, so we ended
16611 up listing all the ISBN numbers next to their format in the colophon
16612 page.&lt;/p&gt;
16613
16614 &lt;p&gt;If you want to check out the finished result, check out the
16615 &lt;a href=&quot;https://github.com/sickel/kodemus&quot;&gt;source repository at
16616 github&lt;/a&gt;
16617 (&lt;a href=&quot;https://github.com/EFN/kodemus&quot;&gt;future/new/official
16618 repository&lt;/a&gt;). We expect it to be ready and announced in a few
16619 days.&lt;/p&gt;
16620 </description>
16621 </item>
16622
16623 <item>
16624 <title>Skolelinux 6 got a video review from Pcwizz</title>
16625 <link>http://people.skolelinux.org/pere/blog/Skolelinux_6_got_a_video_review_from_Pcwizz.html</link>
16626 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Skolelinux_6_got_a_video_review_from_Pcwizz.html</guid>
16627 <pubDate>Sun, 17 Mar 2013 10:30:00 +0100</pubDate>
16628 <description>&lt;p&gt;Via
16629 &lt;a href=&quot;https://twitter.com/pcwizz/status/313044373262716930&quot;&gt;twitter&lt;/a&gt;
16630 I just discovered that &lt;a href=&quot;http://pcwizz.net/&quot;&gt;Pcwizz&lt;/a&gt; have
16631 done a &lt;a href=&quot;http://www.youtube.com/watch?v=wPzTZ61Pcuc&quot;&gt;video
16632 review&lt;/a&gt; on Youtube of &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Skolelinux
16633 / Debian Edu&lt;/a&gt; version 6. He installed the standalone profile and
16634 the video show a walk-through of of the menu content, demonstration of
16635 a few programs and his view of our distribution.&lt;/p&gt;
16636
16637 &lt;p&gt;There is also some really nice quotes (transcribed by me, might
16638 have heard wrong). While looking thought the Graphics menu:&lt;/p&gt;
16639
16640 &lt;blockquote&gt;
16641 &quot;Basically everything you ever need in a school environment.&quot;
16642 &lt;/blockquote&gt;
16643
16644 &lt;p&gt;And as a general evaluation of the entire distribution:&lt;/p&gt;
16645
16646 &lt;blockquote&gt;
16647 &quot;So, yeah, a bit bloated. It kept all the Debian stuff in there, just
16648 to keep it nice and GNU. So, I do not want to go on about it, but
16649 lets give it 7 out of 10. I am not going to use it. That is because
16650 I am not deploying a school network. There may be some mythical
16651 feature to help you deploy Skolelinux on a school network.&quot;
16652 &lt;/blockquote&gt;
16653
16654 &lt;p&gt;To bad he did not test the server profile, and discovered the PXE
16655 installation option. It make it possible to install only the main
16656 server from CD, and the rest of the machines via the net, and might be
16657 considered the mythical feature he talk about. :)&lt;/p&gt;
16658
16659 &lt;p&gt;While looking through the menus, there is also this funny comment
16660 about the part of the K menu generated from the Debian menu subsystem:
16661
16662 &lt;blockquote&gt;
16663 &quot;[The K menu] have a special Debian section for software that no-one
16664 is going to look at, because it contain lots of junky stuff that you
16665 actually don&#39;t need in the education distribution, but have just been
16666 included because it isn&#39;t stripped out for some reason.&quot;
16667 &lt;/blockquote&gt;
16668
16669 &lt;p&gt;I guess it is yet another argument for merging the Debian menu and
16670 Gnome/KDE desktop menu entries into
16671 &lt;a href=&quot;http://wiki.debian.org/Proposals/DebianMenuUsingDesktopEntries&quot;&gt;one
16672 consistent menu system&lt;/a&gt; instead of two incomplete and partly
16673 inconsistent menu systems.&lt;/p&gt;
16674
16675 &lt;p&gt;The entire video is available below for those accepting iframe
16676 embedding:&lt;/p&gt;
16677
16678 &lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/wPzTZ61Pcuc&quot; frameborder=&quot;0&quot; allowfullscreen&gt;&lt;/iframe&gt;
16679 </description>
16680 </item>
16681
16682 <item>
16683 <title>First Skolelinux / Debian Edu Squeeze update released</title>
16684 <link>http://people.skolelinux.org/pere/blog/First_Skolelinux___Debian_Edu_Squeeze_update_released.html</link>
16685 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_Skolelinux___Debian_Edu_Squeeze_update_released.html</guid>
16686 <pubDate>Fri, 8 Mar 2013 09:30:00 +0100</pubDate>
16687 <description>&lt;p&gt;Last Sunday, 2013-03-03,, Holger Levsen announced the first update
16688 of &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Skolelinux / Debian Edu&lt;/a&gt;
16689 based on Debian Squeeze. This is the first update since
16690 &lt;a href=&quot;http://lists.debian.org/debian-edu-announce/2012/03/msg00001.html&quot;&gt;the
16691 initial release 2012-03-11&lt;/a&gt;. This is the
16692 &lt;a href=&quot;http://lists.debian.org/debian-edu-announce/2013/03/msg00000.html&quot;&gt;release
16693 announcement email from Holger&lt;/a&gt;:&lt;/p&gt;
16694
16695 &lt;blockquote&gt;&lt;p&gt;Hi,&lt;/p&gt;
16696
16697 &lt;p&gt;it&#39;s my pleasure to announce the immediate availability of Debian
16698 Edu 6.0.7+r1 (&quot;Debian Edu Squeeze&quot;).&lt;/p&gt;
16699
16700 &lt;p&gt;Debian Edu 6.0.7+r1 is an incremental update to Debian Edu
16701 6.0.4+r0, containing all the changes between Debian 6.0.4 and 6.0.7 as
16702 well Debian Edu specific bugfixes and enhancements. See below (in this
16703 mail) for the full list of (edu) changes. Please see
16704 &lt;a href=&quot;http://www.debian.org/News/2012/20120311&quot;&gt;http://www.debian.org/News/2012/20120311&lt;/a&gt;
16705 for more information on &quot;Debian Edu Squeeze&quot;.&lt;/p&gt;
16706
16707 &lt;p&gt;Images are available for download at
16708 &lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/&lt;/a&gt;&lt;/p&gt;
16709
16710 &lt;p&gt;md5sums:
16711 &lt;br&gt;1fe79eb4f0f9ae1c58fc318e26cc1e2e debian-edu-6.0.7+r1-CD.iso
16712 &lt;br&gt;a6ddd924a8bd9a1b5ca122e8fe1c34ec debian-edu-6.0.7+r1-DVD.iso
16713 &lt;br&gt;ac6c72cd7925ccec51bfbf58e2a7c69c debian-edu-6.0.7+r1-source-DVD.iso&lt;/p&gt;
16714
16715 &lt;p&gt;sha1sums:
16716 &lt;br&gt;a4b58233b672a99c7df8dc24fb6de3327654a5c3 debian-edu-6.0.7+r1-CD.iso
16717 &lt;br&gt;9b524915e0ff2aa793f13d93123e5bd2bab2dbaa debian-edu-6.0.7+r1-DVD.iso
16718 &lt;br&gt;43997614893fc5e9e59ad6ce066b05d07fd836fa debian-edu-6.0.7+r1-source-DVD.iso&lt;/p&gt;
16719
16720 &lt;p&gt;These images are suitable for amd64+i386.&lt;/p&gt;
16721
16722 &lt;p&gt;Changes for Debian Edu 6.0.7+r1 Codename &quot;Squeeze&quot;, released
16723 2013-03-03:&lt;/p&gt;
16724
16725 &lt;ul&gt;
16726 &lt;li&gt;sitesummary was updated from 0.1.3 to 0.1.8
16727 &lt;ul&gt;
16728 &lt;li&gt;Make Nagios configuration more robust and efficient&lt;/li&gt;
16729 &lt;li&gt;Comply with 3.X kernel&lt;/li&gt;
16730 &lt;/ul&gt;&lt;/li&gt;
16731 &lt;li&gt;debian-edu-doc from 1.4~20120310~6.0.4+r0 to 1.4~20130228~6.0.7+r1
16732 &lt;ul&gt;
16733 &lt;li&gt;Minor updates from the wiki&lt;/li&gt;
16734 &lt;li&gt;Danish translation now complete&lt;/li&gt;
16735 &lt;/ul&gt;&lt;/li&gt;
16736 &lt;li&gt;debian-edu-config from 1.453 to 1.455
16737 &lt;ul&gt;
16738 &lt;li&gt;Fix /etc/hosts for LTSP diskless workstations. Closes: #699880&lt;/li&gt;
16739 &lt;li&gt;Make ltsp_local_mount script work for multiple devices.&lt;/li&gt;
16740 &lt;li&gt;Correct Kerberos user policy: don&#39;t expire password after 2 days.
16741 Closes: #664596&lt;/li&gt;
16742 &lt;li&gt;Handle &#39;#&#39; characters in the root or first users password.
16743 Closes: #664976&lt;/li&gt;
16744 &lt;li&gt;Fixes for gosa-sync:
16745 &lt;ul&gt;
16746 &lt;li&gt;Don&#39;t fail if password contains &quot;&lt;/li&gt;
16747 &lt;li&gt;Don&#39;t disclose new password string in syslog&lt;/li&gt;
16748 &lt;/ul&gt;&lt;/li&gt;
16749 &lt;li&gt;Fixes for gosa-create:
16750 &lt;ul&gt;
16751 &lt;li&gt;Invalidate libnss cache before applying changes&lt;/li&gt;
16752 &lt;li&gt;Multiple failures during mass user import into GOsa²&lt;/li&gt;
16753 &lt;li&gt;gosa-netgroups plugin: don&#39;t erase entries of attribute type
16754 &quot;memberNisNetgroup&quot;. Closes: #687256&lt;/li&gt;
16755 &lt;li&gt;First user now uses the same Kerberos policy as all other users&lt;/li&gt;
16756 &lt;/ul&gt;&lt;/li&gt;
16757 &lt;li&gt;Add Danish web page&lt;/li&gt;
16758 &lt;/ul&gt;
16759 &lt;li&gt;debian-edu-install from 1.528 to 1.530
16760 &lt;ul&gt;
16761 &lt;li&gt;Improve preseeding support and documentation&lt;/li&gt;
16762 &lt;/ul&gt;&lt;/li&gt;
16763 &lt;/ul&gt;
16764
16765 &lt;p&gt;End-user documentation in English is available at
16766 &lt;a href=&quot;http://wiki.debian.org/DebianEdu/Documentation/Squeeze/&quot;&gt;http://wiki.debian.org/DebianEdu/Documentation/Squeeze/&lt;/a&gt;
16767 - translations to French, Italian, Danish and German are available in
16768 the debian-edu-doc package. (Other languages could use your help!)&lt;/p&gt;
16769
16770 &lt;p&gt;If you want to contribute to Debian Edu, please join our
16771 mailinglist
16772 &lt;a href=&quot;http://lists.debian.org/debian-edu/&quot;&gt;debian-edu@lists.debian.org&lt;/a&gt;!
16773 &lt;/p&gt;&lt;/blockquote&gt;
16774
16775 &lt;p&gt;I am very happy to see the fruits of a year of hard work. :)&lt;/p&gt;
16776 </description>
16777 </item>
16778
16779 <item>
16780 <title>Frikanalen - Complete TV station organised using the web</title>
16781 <link>http://people.skolelinux.org/pere/blog/Frikanalen___Complete_TV_station_organised_using_the_web.html</link>
16782 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Frikanalen___Complete_TV_station_organised_using_the_web.html</guid>
16783 <pubDate>Sun, 3 Mar 2013 07:15:00 +0100</pubDate>
16784 <description>&lt;p&gt;Do you want to set up your own TV station, schedule videos and
16785 broadcast them on the air? Using free software? With video on demand
16786 support using
16787 &lt;a href=&quot;http://www.digistan.org/open-standard:definition&quot;&gt;free and
16788 open standards&lt;/a&gt;? Included a web based video stream as well? And
16789 administrate it all in your web browser from anywhere in the world? A
16790 few years now the Norwegian public access TV-channel
16791 &lt;a href=&quot;http://www.frikanalen.no/&quot;&gt;Frikanalen&lt;/a&gt; have been building a
16792 system to do just this. The source code for the solution is licensed
16793 using the GNU LGPL, and
16794 &lt;a href=&quot;http://github.com/Frikanalen&quot;&gt;available from github&lt;/a&gt;.&lt;/p&gt;
16795
16796 &lt;p&gt;The idea is simple. You upload a video file over the web, and
16797 attach meta information to the file. You select a time slot in the
16798 program schedule, and when the time come it is played on the air and
16799 in the web stream. It is also made available in a video on demand
16800 solution for anyone to see it also outside its scheduled time. All
16801 you need to run a TV station - using your web browser.&lt;/p&gt;
16802
16803 &lt;p&gt;There are several parts to this web based solution. I&#39;ll mention
16804 the three most important ones. The first part is the database of
16805 videos and the schedule. This is written in Django and include a REST
16806 API. The current database is SQLite, but the plan is to migrate it to
16807 PostgreSQL. At the moment this system can be tested on
16808 &lt;a href=&quot;http://beta.frikanalen.tv/&quot;&gt;beta.frikanalen.tv&lt;/a&gt;. The
16809 second part is the video playout, taking the schedule information from
16810 the database and providing a video stream to broadcast. This is done
16811 using &lt;a href=&quot;http://www.casparcg.com/&quot;&gt;CasparCG from SVT&lt;/a&gt; and
16812 &lt;a href=&quot;http://www.mltframework.org/&quot;&gt;Media Lovin&#39; Toolkit&lt;/a&gt;. Video
16813 signal distribution is handled using
16814 &lt;a href=&quot;http://www.ob-encoder.com/&quot;&gt;Open Broadcast Encoder&lt;/a&gt;. The
16815 third part is the converter, handling the transformation of uploaded
16816 video files to a format useful for broadcasting, streaming and video
16817 on demand. It is still very much work in progress, so it is not yet
16818 decided what it will end up using. Note that the source of the latter
16819 two parts are not yet pushed to github. The lead author want to clean
16820 them up a bit more first.&lt;/p&gt;
16821
16822 &lt;p&gt;The development is coordinated on the
16823 &lt;a href=&quot;irc://irc.freenode.net/%23frikanalen&quot;&gt;#frikanalen IRC
16824 channel&lt;/a&gt; (irc.freenode.net), and discussed on
16825 &lt;a href=&quot;http://lists.nuug.no/mailman/listinfo/frikanalen&quot;&gt;the
16826 frikanalen mailing list&lt;/a&gt;. The lead developer is Benjamin Bruheim
16827 (phed on IRC). Anyone is welcome to participate in the
16828 development.&lt;/p&gt;
16829 </description>
16830 </item>
16831
16832 <item>
16833 <title>Dr. Richard Stallman, founder of Free Software Foundation, give a talk in Oslo March 1st 2013</title>
16834 <link>http://people.skolelinux.org/pere/blog/Dr__Richard_Stallman__founder_of_Free_Software_Foundation__give_a_talk_in_Oslo_March_1st_2013.html</link>
16835 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Dr__Richard_Stallman__founder_of_Free_Software_Foundation__give_a_talk_in_Oslo_March_1st_2013.html</guid>
16836 <pubDate>Wed, 27 Feb 2013 20:20:00 +0100</pubDate>
16837 <description>&lt;p&gt;Dr. &lt;a href=&quot;http://www.stallman.org/&quot;&gt;Richard Stallman&lt;/a&gt;,
16838 founder of &lt;a href=&quot;http://www.fsf.org/&quot;&gt;Free Software Foundation&lt;/a&gt;,
16839 is giving &lt;a href=&quot;http://www.nuug.no/aktiviteter/20130301-rms/&quot;&gt;a
16840 talk in Oslo March 1st 2013 17:00 to 19:00&lt;/a&gt;. The event is public
16841 and organised by &lt;a href=&quot;&quot;&gt;Norwegian Unix Users Group (NUUG)&lt;/a&gt;
16842 (where I am the chair of the board) and
16843 &lt;a href=&quot;http://www.friprog.no/&quot;&gt;The Norwegian Open Source Competence
16844 Center&lt;/a&gt;. The title of the talk is «The Free Software Movement and
16845 GNU», with this description:
16846
16847 &lt;p&gt;&lt;blockquote&gt;
16848 The Free Software Movement campaigns for computer users&#39; freedom to
16849 cooperate and control their own computing. The Free Software Movement
16850 developed the GNU operating system, typically used together with the
16851 kernel Linux, specifically to make these freedoms possible.
16852 &lt;/blockquote&gt;&lt;/p&gt;
16853
16854 &lt;p&gt;The meeting is open for everyone. Due to space limitations, the
16855 doors opens for NUUG members at 16:15, and everyone else at 16:45. I
16856 am really curious how many will show up. See
16857 &lt;a href=&quot;http://www.nuug.no/aktiviteter/20130301-rms/&quot;&gt;the event
16858 page&lt;/a&gt; for the location details.&lt;/p&gt;
16859 </description>
16860 </item>
16861
16862 <item>
16863 <title>Frikart - Free Garmin maps for European countries based on OpenStreetmap</title>
16864 <link>http://people.skolelinux.org/pere/blog/Frikart___Free_Garmin_maps_for_European_countries_based_on_OpenStreetmap.html</link>
16865 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Frikart___Free_Garmin_maps_for_European_countries_based_on_OpenStreetmap.html</guid>
16866 <pubDate>Fri, 15 Feb 2013 09:30:00 +0100</pubDate>
16867 <description>&lt;p&gt;If you, like me, want an updated a map for your Garmin GPS, there is
16868 now a great source of free maps available from
16869 &lt;a href=&quot;http://www.frikart.no/garmin/index.html&quot;&gt;Frikart&lt;/a&gt;. To
16870 download a map, just click on the country you are interested in, and
16871 download the map type you want. There are 8 different maps available,
16872 using different colours and data selection. Pick one of Roadmap, Topo
16873 Summer, Topo Winter, Roadmap II, Topo Summer II, Topo Winter II,
16874 &quot;Trails - overlay map&quot; and &quot;Cross country - overlay map&quot; (see the web
16875 page for descriptions).&lt;/p&gt;
16876
16877 &lt;p&gt;The maps are updated weekly, so if you find something wrong in the
16878 map you can just edit the
16879 &lt;a href=&quot;http://www.openstreetmap.org/&quot;&gt;OpenStreetmap&lt;/a&gt; map source
16880 (anyone can contribute) and fetch a fixed map a week later. :)&lt;/p&gt;
16881 </description>
16882 </item>
16883
16884 <item>
16885 <title>&quot;Electronic&quot; paper invoices - using vCard in a QR code</title>
16886 <link>http://people.skolelinux.org/pere/blog/_Electronic__paper_invoices___using_vCard_in_a_QR_code.html</link>
16887 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/_Electronic__paper_invoices___using_vCard_in_a_QR_code.html</guid>
16888 <pubDate>Tue, 12 Feb 2013 10:30:00 +0100</pubDate>
16889 <description>&lt;p&gt;Here in Norway, electronic invoices are spreading, and the
16890 &lt;a href=&quot;http://www.anskaffelser.no/e-handel/faktura&quot;&gt;solution promoted
16891 by the Norwegian government&lt;/a&gt; require that invoices are sent through
16892 one of the approved facilitators, and it is not possible to send
16893 electronic invoices without an agreement with one of these
16894 facilitators. This seem like a needless limitation to be able to
16895 transfer invoice information between buyers and sellers. My preferred
16896 solution would be to just transfer the invoice information directly
16897 between seller and buyer, for example using SMTP, or some HTTP based
16898 protocol like REST or SOAP. But this might also be overkill, as the
16899 &quot;electronic&quot; information can be transferred using paper invoices too,
16900 using a simple bar code. My bar code encoding of choice would be QR
16901 codes, as this encoding can be read by any smart phone out there. The
16902 content of the code could be anything, but I would go with
16903 &lt;a href=&quot;http://en.wikipedia.org/wiki/VCard&quot;&gt;the vCard format&lt;/a&gt;, as
16904 it too is supported by a lot of computer equipment these days.&lt;/p&gt;
16905
16906 &lt;p&gt;The vCard format support extentions, and the invoice specific
16907 information can be included using such extentions. For example an
16908 invoice from SLX Debian Labs (picked because we
16909 &lt;a href=&quot;http://www.linuxiskolen.no/slxdebianlabs/donations.html&quot;&gt;ask
16910 for donations to the Debian Edu project&lt;/a&gt; and thus have bank account
16911 information publicly available) for NOK 1000.00 could have these extra
16912 fields:&lt;/p&gt;
16913
16914 &lt;p&gt;&lt;pre&gt;
16915 X-INVOICE-NUMBER:1
16916 X-INVOICE-AMOUNT:NOK1000.00
16917 X-INVOICE-KID:123412341234
16918 X-INVOICE-MSG:Donation to Debian Edu
16919 X-BANK-ACCOUNT-NUMBER:16040884339
16920 X-BANK-IBAN-NUMBER:NO8516040884339
16921 X-BANK-SWIFT-NUMBER:DNBANOKKXXX
16922 &lt;/pre&gt;&lt;/p&gt;
16923
16924 &lt;p&gt;The X-BANK-ACCOUNT-NUMBER field was proposed in a stackoverflow
16925 answer regarding
16926 &lt;a href=&quot;http://stackoverflow.com/questions/10045664/storing-bank-account-in-vcard-file&quot;&gt;how
16927 to put bank account information into a vCard&lt;/a&gt;. For payments in
16928 Norway, either X-INVOICE-KID (payment ID) or X-INVOICE-MSG could be
16929 used to pass on information to the seller when paying the invoice.&lt;/p&gt;
16930
16931 &lt;p&gt;The complete vCard could look like this:&lt;/p&gt;
16932
16933 &lt;p&gt;&lt;pre&gt;
16934 BEGIN:VCARD
16935 VERSION:2.1
16936 ORG:SLX Debian Labs Foundation
16937 ADR;WORK:;;Gunnar Schjelderups vei 29D;OSLO;;0485;Norway
16938 URL;WORK:http://www.linuxiskolen.no/slxdebianlabs/
16939 EMAIL;PREF;INTERNET:sdl-styret@rt.nuug.no
16940 REV:20130212T095000Z
16941 X-INVOICE-NUMBER:1
16942 X-INVOICE-AMOUNT:NOK1000.00
16943 X-INVOICE-MSG:Donation to Debian Edu
16944 X-BANK-ACCOUNT-NUMBER:16040884339
16945 X-BANK-IBAN-NUMBER:NO8516040884339
16946 X-BANK-SWIFT-NUMBER:DNBANOKKXXX
16947 END:VCARD
16948 &lt;/pre&gt;&lt;/p&gt;
16949
16950 &lt;p&gt;The resulting QR code created using
16951 &lt;a href=&quot;http://fukuchi.org/works/qrencode/&quot;&gt;qrencode&lt;/a&gt; would look
16952 like this, and should be readable (and thus checkable) by any smart
16953 phone, or for example the &lt;a href=&quot;http://zbar.sourceforge.net/&quot;&gt;zbar
16954 bar code reader&lt;/a&gt; and feed right into the approval and accounting
16955 system.&lt;/p&gt;
16956
16957 &lt;p&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2013-02-12-qr-invoice.png&quot;&gt;&lt;/p&gt;
16958
16959 &lt;p&gt;The extension fields will most likely not show up in any normal
16960 vCard reader, so those parts would have to go directly into a system
16961 handling invoices. I am a bit unsure how vCards without name parts
16962 are handled, but a simple test indicate that this work just fine.&lt;/p&gt;
16963
16964 &lt;p&gt;&lt;strong&gt;Update 2013-02-12 11:30&lt;/strong&gt;: Added KID to the proposal
16965 based on feedback from Sturle Sunde.&lt;/p&gt;
16966 </description>
16967 </item>
16968
16969 <item>
16970 <title>Sleep until morning - home automation for the kids</title>
16971 <link>http://people.skolelinux.org/pere/blog/Sleep_until_morning___home_automation_for_the_kids.html</link>
16972 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Sleep_until_morning___home_automation_for_the_kids.html</guid>
16973 <pubDate>Sun, 10 Feb 2013 12:50:00 +0100</pubDate>
16974 <description>&lt;p&gt;&lt;img align=&quot;left&quot; style=&quot;margin-right:25px;&quot; src=&quot;http://people.skolelinux.org/pere/blog/images/2013-02-10-morning-light.jpeg&quot;&gt;&lt;/p&gt;
16975
16976 &lt;p&gt;With kids in the house, one challenge is getting them to sleep
16977 during the night and wake up when it is morning. I mean, when I
16978 believe it is morning, and not two hours earlier. In our household we
16979 have decided that 07:00 is the turning point, but getting the kids to
16980 sleep until 07:00 is a small challenge every day. They have adapted
16981 quite well, and rarely wake up at 05:00 any more, but some times wake
16982 up at times like 05:50, 06:15, 06:30 or 06:45, and it is hard to put
16983 the awake one to bed again without disturbing and waking the rest.
16984 And I understand perfectly well that they fail to sleep until 07:00
16985 some times, as there is no way for them to know if it is before or
16986 after the magic moment without coming and asking us parents.&lt;/p&gt;
16987
16988 &lt;p&gt;But yesterday I came up with a method to solve this problem. It
16989 involve home automation. A few years ago I bought a
16990 &lt;a href=&quot;http://www.telldus.se/products/tellstick&quot;&gt;Tellstick&lt;/a&gt; and RF
16991 switches at the local &lt;a href=&quot;http://www.clasohlson.com/&quot;&gt;Clas
16992 Ohlson&lt;/a&gt; shop, allowing me to control lights and other electrical
16993 gadgets using my Linux server. When I moved from the old flat to a
16994 small house, I put away all this equipment as most of the lighting in
16995 the house was not using wall sockets and thus not easy to connect to
16996 the gadgets I had. But recently I bought a
16997 &lt;a href=&quot;http://www.telldus.se/products/tellstick_net&quot;&gt;Tellstick
16998 Net&lt;/a&gt; to be able to read sensor input as well as control power
16999 sockets. I want to control ovens in the basement to avoid the pipes
17000 to freeze, and monitor the humidity to detect flooding. The default
17001 setup for Tellstick Net is to be controlled by the vendor web service,
17002 which to me is a security problem, but it is also possible to build
17003 ones own
17004 &lt;a href=&quot;http://developer.telldus.com/blog/2012/03/02/help-us-develop-local-access-using-tellstick-net-build-your-own-firmware&quot;&gt;firmware
17005 with local access&lt;/A&gt; instead of being controlled by a Swedish
17006 company, thanks to the release of the GPL licensed firmware source
17007 code. I plan to get that running before I let it control anything
17008 important. But while working on this, one idea to make it easier for
17009 the kids came to me yesterday. We can set up a night light controlled
17010 by the computer, and turn it automatically on at 07:00. The kids can
17011 then check the light in the morning to know if they are supposed to
17012 get up or not. They joined me in setting everything up, and I
17013 repeated the concept several times before bed times to make sure they
17014 remembered to check the light before getting up in the morning.&lt;/p&gt;
17015
17016 &lt;p&gt;We tested it this morning, and all the kids stayed in bed until
17017 after 07:00, and every one of them commented on the fact that the
17018 &quot;morning light&quot; was turned on and signalled that the morning had
17019 arrived. So this look like a success, and I am excited to see how
17020 this develops the next few days. :) I really hope this can allow us
17021 all to sleep a bit longer in the morning.&lt;/p&gt;
17022
17023 &lt;p&gt;A nice advantage of this setup is that we can remote control when
17024 to tell the kids to get up. We do not have to wait until 07:00, and
17025 can also delay it if we want to.&lt;/p&gt;
17026 </description>
17027 </item>
17028
17029 <item>
17030 <title>Bitcoin GUI now available from Debian/unstable (and Ubuntu/raring)</title>
17031 <link>http://people.skolelinux.org/pere/blog/Bitcoin_GUI_now_available_from_Debian_unstable__and_Ubuntu_raring_.html</link>
17032 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Bitcoin_GUI_now_available_from_Debian_unstable__and_Ubuntu_raring_.html</guid>
17033 <pubDate>Sat, 2 Feb 2013 09:00:00 +0100</pubDate>
17034 <description>&lt;p&gt;My
17035 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/How_to_backport_bitcoin_qt_version_0_7_2_2_to_Debian_Squeeze.html&quot;&gt;last
17036 bitcoin related blog post&lt;/a&gt; mentioned that the new
17037 &lt;a href=&quot;http://packages.qa.debian.org/bitcoin&quot;&gt;bitcoin package&lt;/a&gt; for
17038 Debian was waiting in NEW. It was accepted by the Debian ftp-masters
17039 2013-01-19, and have been available in unstable since then. It was
17040 automatically copied to Ubuntu, and is available in their Raring
17041 version too.&lt;/p&gt;
17042
17043 &lt;p&gt;But there is a strange problem with the build that block this new
17044 version from being available on the i386 and kfreebsd-i386
17045 architectures. For some strange reason, the autobuilders in Debian
17046 for these architectures fail to run the test suite on these
17047 architectures (&lt;a href=&quot;http://bugs.debian.org/672524&quot;&gt;BTS #672524&lt;/a&gt;).
17048 We are so far unable to reproduce it when building it manually, and
17049 no-one have been able to propose a fix. If you got an idea what is
17050 failing, please let us know via the BTS.&lt;/p&gt;
17051
17052 &lt;p&gt;One feature that is annoying me with of the bitcoin client, because
17053 I often run low on disk space, is the fact that the client will exit
17054 if it run short on space (&lt;a href=&quot;http://bugs.debian.org/696715&quot;&gt;BTS
17055 #696715&lt;/a&gt;). So make sure you have enough disk space when you run
17056 it. :)&lt;/p&gt;
17057
17058 &lt;p&gt;As usual, if you use bitcoin and want to show your support of my
17059 activities, please send Bitcoin donations to my address
17060 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
17061 </description>
17062 </item>
17063
17064 <item>
17065 <title>Welcome to the world, Isenkram!</title>
17066 <link>http://people.skolelinux.org/pere/blog/Welcome_to_the_world__Isenkram_.html</link>
17067 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Welcome_to_the_world__Isenkram_.html</guid>
17068 <pubDate>Tue, 22 Jan 2013 22:00:00 +0100</pubDate>
17069 <description>&lt;p&gt;Yesterday, I
17070 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/First_prototype_ready_making_hardware_easier_to_use_in_Debian.html&quot;&gt;asked
17071 for testers&lt;/a&gt; for my prototype for making Debian better at handling
17072 pluggable hardware devices, which I
17073 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html&quot;&gt;set
17074 out to create&lt;/a&gt; earlier this month. Several valuable testers showed
17075 up, and caused me to really want to to open up the development to more
17076 people. But before I did this, I want to come up with a sensible name
17077 for this project. Today I finally decided on a new name, and I have
17078 renamed the project from hw-support-handler to this new name. In the
17079 process, I moved the source to git and made it available as a
17080 &lt;a href=&quot;http://anonscm.debian.org/gitweb/?p=collab-maint/isenkram.git&quot;&gt;collab-maint&lt;/a&gt;
17081 repository in Debian. The new name? It is &lt;strong&gt;Isenkram&lt;/strong&gt;.
17082 To fetch and build the latest version of the source, use&lt;/p&gt;
17083
17084 &lt;pre&gt;
17085 git clone http://anonscm.debian.org/git/collab-maint/isenkram.git
17086 cd isenkram &amp;&amp; git-buildpackage -us -uc
17087 &lt;/pre&gt;
17088
17089 &lt;p&gt;I have not yet adjusted all files to use the new name yet. If you
17090 want to hack on the source or improve the package, please go ahead.
17091 But please talk to me first on IRC or via email before you do major
17092 changes, to make sure we do not step on each others toes. :)&lt;/p&gt;
17093
17094 &lt;p&gt;If you wonder what &#39;isenkram&#39; is, it is a Norwegian word for iron
17095 stuff, typically meaning tools, nails, screws, etc. Typical hardware
17096 stuff, in other words. I&#39;ve been told it is the Norwegian variant of
17097 the German word eisenkram, for those that are familiar with that
17098 word.&lt;/p&gt;
17099
17100 &lt;p&gt;&lt;strong&gt;Update 2013-01-26&lt;/strong&gt;: Added -us -us to build
17101 instructions, to avoid confusing people with an error from the signing
17102 process.&lt;/p&gt;
17103
17104 &lt;p&gt;&lt;strong&gt;Update 2013-01-27&lt;/strong&gt;: Switch to HTTP URL for the git
17105 clone argument to avoid the need for authentication.&lt;/p&gt;
17106 </description>
17107 </item>
17108
17109 <item>
17110 <title>First prototype ready making hardware easier to use in Debian</title>
17111 <link>http://people.skolelinux.org/pere/blog/First_prototype_ready_making_hardware_easier_to_use_in_Debian.html</link>
17112 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_prototype_ready_making_hardware_easier_to_use_in_Debian.html</guid>
17113 <pubDate>Mon, 21 Jan 2013 12:00:00 +0100</pubDate>
17114 <description>&lt;p&gt;Early this month I set out to try to
17115 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html&quot;&gt;improve
17116 the Debian support for pluggable hardware devices&lt;/a&gt;. Now my
17117 prototype is working, and it is ready for a larger audience. To test
17118 it, fetch the
17119 &lt;a href=&quot;http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/&quot;&gt;source
17120 from the Debian Edu subversion repository&lt;/a&gt;, build and install the
17121 package. You might have to log out and in again activate the
17122 autostart script.&lt;/p&gt;
17123
17124 &lt;p&gt;The design is simple:&lt;/p&gt;
17125
17126 &lt;ul&gt;
17127
17128 &lt;li&gt;Add desktop entry in /usr/share/autostart/ causing a program
17129 hw-support-handlerd to start when the user log in.&lt;/li&gt;
17130
17131 &lt;li&gt;This program listen for kernel events about new hardware (directly
17132 from the kernel like udev does), not using HAL dbus events as I
17133 initially did.&lt;/li&gt;
17134
17135 &lt;li&gt;When new hardware is inserted, look up the hardware modalias in
17136 the APT database, a database
17137 &lt;a href=&quot;http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/modaliases?view=markup&quot;&gt;available
17138 via HTTP&lt;/a&gt; and a database available as part of the package.&lt;/li&gt;
17139
17140 &lt;li&gt;If a package is mapped to the hardware in question, the package
17141 isn&#39;t installed yet and this is the first time the hardware was
17142 plugged in, show a desktop notification suggesting to install the
17143 package or packages.&lt;/li&gt;
17144
17145 &lt;li&gt;If the user click on the &#39;install package now&#39; button, ask
17146 aptdaemon via the PackageKit API to install the requrired package.&lt;/li&gt;
17147
17148 &lt;li&gt;aptdaemon ask for root password or sudo password, and install the
17149 package while showing progress information in a window.&lt;/li&gt;
17150
17151 &lt;/ul&gt;
17152
17153 &lt;p&gt;I still need to come up with a better name for the system. Here
17154 are some screen shots showing the prototype in action. First the
17155 notification, then the password request, and finally the request to
17156 approve all the dependencies. Sorry for the Norwegian Bokmål GUI.&lt;/p&gt;
17157
17158 &lt;p&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-1-notification.png&quot;&gt;
17159 &lt;br&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-2-password.png&quot;&gt;
17160 &lt;br&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-3-dependencies.png&quot;&gt;
17161 &lt;br&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-4-installing.png&quot;&gt;
17162 &lt;br&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2013-01-21-hw-support-5-installing-details.png&quot; width=&quot;70%&quot;&gt;&lt;/p&gt;
17163
17164 &lt;p&gt;The prototype still need to be improved with longer timeouts, but
17165 is already useful. The database of hardware to package mappings also
17166 need more work. It is currently compatible with the Ubuntu way of
17167 storing such information in the package control file, but could be
17168 changed to use other formats instead or in addition to the current
17169 method. I&#39;ve dropped the use of discover for this mapping, as the
17170 modalias approach is more flexible and easier to use on Linux as long
17171 as the Linux kernel expose its modalias strings directly.&lt;/p&gt;
17172
17173 &lt;p&gt;&lt;strong&gt;Update 2013-01-21 16:50&lt;/strong&gt;: Due to popular demand,
17174 here is the command required to check out and build the source: Use
17175 &#39;&lt;tt&gt;svn checkout
17176 svn://svn.debian.org/debian-edu/trunk/src/hw-support-handler/; cd
17177 hw-support-handler; debuild&lt;/tt&gt;&#39;. If you lack debuild, install the
17178 devscripts package.&lt;/p&gt;
17179
17180 &lt;p&gt;&lt;strong&gt;Update 2013-01-23 12:00&lt;/strong&gt;: The project is now
17181 renamed to Isenkram and the source moved from the Debian Edu
17182 subversion repository to a Debian collab-maint git repository. See
17183 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Welcome_to_the_world__Isenkram_.html&quot;&gt;build
17184 instructions&lt;/a&gt; for details.&lt;/p&gt;
17185 </description>
17186 </item>
17187
17188 <item>
17189 <title>Thank you Thinkpad X41, for your long and trustworthy service</title>
17190 <link>http://people.skolelinux.org/pere/blog/Thank_you_Thinkpad_X41__for_your_long_and_trustworthy_service.html</link>
17191 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Thank_you_Thinkpad_X41__for_your_long_and_trustworthy_service.html</guid>
17192 <pubDate>Sat, 19 Jan 2013 09:20:00 +0100</pubDate>
17193 <description>&lt;p&gt;This Christmas my trusty old laptop died. It died quietly and
17194 suddenly in bed. With a quiet whimper, it went completely quiet and
17195 black. The power button was no longer able to turn it on. It was a
17196 IBM Thinkpad X41, and the best laptop I ever had. Better than both
17197 Thinkpads X30, X31, X40, X60, X61 and X61S. Far better than the
17198 Compaq I had before that. Now I need to find a replacement. To keep
17199 going during Christmas, I moved the one year old SSD disk to my old
17200 X40 where it fitted (only one I had left that could use it), but it is
17201 not a durable solution.
17202
17203 &lt;p&gt;My laptop needs are fairly modest. This is my wishlist from when I
17204 got a new one more than 10 years ago. It still holds true.:)&lt;/p&gt;
17205
17206 &lt;ul&gt;
17207
17208 &lt;li&gt;Lightweight (around 1 kg) and small volume (preferably smaller
17209 than A4).&lt;/li&gt;
17210 &lt;li&gt;Robust, it will be in my backpack every day.&lt;/li&gt;
17211 &lt;li&gt;Three button mouse and a mouse pin instead of touch pad.&lt;/li&gt;
17212 &lt;li&gt;Long battery life time. Preferable a week.&lt;/li&gt;
17213 &lt;li&gt;Internal WIFI network card.&lt;/li&gt;
17214 &lt;li&gt;Internal Twisted Pair network card.&lt;/li&gt;
17215 &lt;li&gt;Some USB slots (2-3 is plenty)&lt;/li&gt;
17216 &lt;li&gt;Good keyboard - similar to the Thinkpad.&lt;/li&gt;
17217 &lt;li&gt;Video resolution at least 1024x768, with size around 12&quot; (A4 paper
17218 size).&lt;/li&gt;
17219 &lt;li&gt;Hardware supported by Debian Stable, ie the default kernel and
17220 X.org packages.&lt;/li&gt;
17221 &lt;li&gt;Quiet, preferably fan free (or at least not using the fan most of
17222 the time).
17223
17224 &lt;/ul&gt;
17225
17226 &lt;p&gt;You will notice that there are no RAM and CPU requirements in the
17227 list. The reason is simply that the specifications on laptops the
17228 last 10-15 years have been sufficient for my needs, and I have to look
17229 at other features to choose my laptop. But are there still made as
17230 robust laptops as my X41? The Thinkpad X60/X61 proved to be less
17231 robust, and Thinkpads seem to be heading in the wrong direction since
17232 Lenovo took over. But I&#39;ve been told that X220 and X1 Carbon might
17233 still be useful.&lt;/p&gt;
17234
17235 &lt;p&gt;Perhaps I should rethink my needs, and look for a pad with an
17236 external keyboard? I&#39;ll have to check the
17237 &lt;a href=&quot;http://www.linux-laptop.net/&quot;&gt;Linux Laptops site&lt;/a&gt; for
17238 well-supported laptops, or perhaps just buy one preinstalled from one
17239 of the vendors listed on the &lt;a href=&quot;http://linuxpreloaded.com/&quot;&gt;Linux
17240 Pre-loaded site&lt;/a&gt;.&lt;/p&gt;
17241 </description>
17242 </item>
17243
17244 <item>
17245 <title>How to find a browser plugin supporting a given MIME type</title>
17246 <link>http://people.skolelinux.org/pere/blog/How_to_find_a_browser_plugin_supporting_a_given_MIME_type.html</link>
17247 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_find_a_browser_plugin_supporting_a_given_MIME_type.html</guid>
17248 <pubDate>Fri, 18 Jan 2013 10:40:00 +0100</pubDate>
17249 <description>&lt;p&gt;Some times I try to figure out which Iceweasel browser plugin to
17250 install to get support for a given MIME type. Thanks to
17251 &lt;a href=&quot;https://wiki.ubuntu.com/MozillaTeam/Plugins&quot;&gt;specifications
17252 done by Ubuntu&lt;/a&gt; and Mozilla, it is possible to do this in Debian.
17253 Unfortunately, not very many packages provide the needed meta
17254 information, Anyway, here is a small script to look up all browser
17255 plugin packages announcing ther MIME support using this specification:&lt;/p&gt;
17256
17257 &lt;pre&gt;
17258 #!/usr/bin/python
17259 import sys
17260 import apt
17261 def pkgs_handling_mimetype(mimetype):
17262 cache = apt.Cache()
17263 cache.open(None)
17264 thepkgs = []
17265 for pkg in cache:
17266 version = pkg.candidate
17267 if version is None:
17268 version = pkg.installed
17269 if version is None:
17270 continue
17271 record = version.record
17272 if not record.has_key(&#39;Npp-MimeType&#39;):
17273 continue
17274 mime_types = record[&#39;Npp-MimeType&#39;].split(&#39;,&#39;)
17275 for t in mime_types:
17276 t = t.rstrip().strip()
17277 if t == mimetype:
17278 thepkgs.append(pkg.name)
17279 return thepkgs
17280 mimetype = &quot;audio/ogg&quot;
17281 if 1 &lt; len(sys.argv):
17282 mimetype = sys.argv[1]
17283 print &quot;Browser plugin packages supporting %s:&quot; % mimetype
17284 for pkg in pkgs_handling_mimetype(mimetype):
17285 print &quot; %s&quot; %pkg
17286 &lt;/pre&gt;
17287
17288 &lt;p&gt;It can be used like this to look up a given MIME type:&lt;/p&gt;
17289
17290 &lt;pre&gt;
17291 % ./apt-find-browserplug-for-mimetype
17292 Browser plugin packages supporting audio/ogg:
17293 gecko-mediaplayer
17294 % ./apt-find-browserplug-for-mimetype application/x-shockwave-flash
17295 Browser plugin packages supporting application/x-shockwave-flash:
17296 browser-plugin-gnash
17297 %
17298 &lt;/pre&gt;
17299
17300 &lt;p&gt;In Ubuntu this mechanism is combined with support in the browser
17301 itself to query for plugins and propose to install the needed
17302 packages. It would be great if Debian supported such feature too. Is
17303 anyone working on adding it?&lt;/p&gt;
17304
17305 &lt;p&gt;&lt;strong&gt;Update 2013-01-18 14:20&lt;/strong&gt;: The Debian BTS
17306 request for icweasel support for this feature is
17307 &lt;a href=&quot;http://bugs.debian.org/484010&quot;&gt;#484010&lt;/a&gt; from 2008 (and
17308 &lt;a href=&quot;http://bugs.debian.org/698426&quot;&gt;#698426&lt;/a&gt; from today). Lack
17309 of manpower and wish for a different design is the reason thus feature
17310 is not yet in iceweasel from Debian.&lt;/p&gt;
17311 </description>
17312 </item>
17313
17314 <item>
17315 <title>What is the most supported MIME type in Debian?</title>
17316 <link>http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_.html</link>
17317 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/What_is_the_most_supported_MIME_type_in_Debian_.html</guid>
17318 <pubDate>Wed, 16 Jan 2013 10:10:00 +0100</pubDate>
17319 <description>&lt;p&gt;The &lt;a href=&quot;http://wiki.debian.org/AppStreamDebianProposal&quot;&gt;DEP-11
17320 proposal to add AppStream information to the Debian archive&lt;/a&gt;, is a
17321 proposal to make it possible for a Desktop application to propose to
17322 the user some package to install to gain support for a given MIME
17323 type, font, library etc. that is currently missing. With such
17324 mechanism in place, it would be possible for the desktop to
17325 automatically propose and install leocad if some LDraw file is
17326 downloaded by the browser.&lt;/p&gt;
17327
17328 &lt;p&gt;To get some idea about the current content of the archive, I decided
17329 to write a simple program to extract all .desktop files from the
17330 Debian archive and look up the claimed MIME support there. The result
17331 can be found on the
17332 &lt;a href=&quot;http://ftp.skolelinux.org/pub/AppStreamTest&quot;&gt;Skolelinux FTP
17333 site&lt;/a&gt;. Using the collected information, it become possible to
17334 answer the question in the title. Here are the 20 most supported MIME
17335 types in Debian stable (Squeeze), testing (Wheezy) and unstable (Sid).
17336 The complete list is available from the link above.&lt;/p&gt;
17337
17338 &lt;p&gt;&lt;strong&gt;Debian Stable:&lt;/strong&gt;&lt;/p&gt;
17339
17340 &lt;pre&gt;
17341 count MIME type
17342 ----- -----------------------
17343 32 text/plain
17344 30 audio/mpeg
17345 29 image/png
17346 28 image/jpeg
17347 27 application/ogg
17348 26 audio/x-mp3
17349 25 image/tiff
17350 25 image/gif
17351 22 image/bmp
17352 22 audio/x-wav
17353 20 audio/x-flac
17354 19 audio/x-mpegurl
17355 18 video/x-ms-asf
17356 18 audio/x-musepack
17357 18 audio/x-mpeg
17358 18 application/x-ogg
17359 17 video/mpeg
17360 17 audio/x-scpls
17361 17 audio/ogg
17362 16 video/x-ms-wmv
17363 &lt;/pre&gt;
17364
17365 &lt;p&gt;&lt;strong&gt;Debian Testing:&lt;/strong&gt;&lt;/p&gt;
17366
17367 &lt;pre&gt;
17368 count MIME type
17369 ----- -----------------------
17370 33 text/plain
17371 32 image/png
17372 32 image/jpeg
17373 29 audio/mpeg
17374 27 image/gif
17375 26 image/tiff
17376 26 application/ogg
17377 25 audio/x-mp3
17378 22 image/bmp
17379 21 audio/x-wav
17380 19 audio/x-mpegurl
17381 19 audio/x-mpeg
17382 18 video/mpeg
17383 18 audio/x-scpls
17384 18 audio/x-flac
17385 18 application/x-ogg
17386 17 video/x-ms-asf
17387 17 text/html
17388 17 audio/x-musepack
17389 16 image/x-xbitmap
17390 &lt;/pre&gt;
17391
17392 &lt;p&gt;&lt;strong&gt;Debian Unstable:&lt;/strong&gt;&lt;/p&gt;
17393
17394 &lt;pre&gt;
17395 count MIME type
17396 ----- -----------------------
17397 31 text/plain
17398 31 image/png
17399 31 image/jpeg
17400 29 audio/mpeg
17401 28 application/ogg
17402 27 image/gif
17403 26 image/tiff
17404 26 audio/x-mp3
17405 23 audio/x-wav
17406 22 image/bmp
17407 21 audio/x-flac
17408 20 audio/x-mpegurl
17409 19 audio/x-mpeg
17410 18 video/x-ms-asf
17411 18 video/mpeg
17412 18 audio/x-scpls
17413 18 application/x-ogg
17414 17 audio/x-musepack
17415 16 video/x-ms-wmv
17416 16 video/x-msvideo
17417 &lt;/pre&gt;
17418
17419 &lt;p&gt;I am told that PackageKit can provide an API to access the kind of
17420 information mentioned in DEP-11. I have not yet had time to look at
17421 it, but hope the PackageKit people in Debian are on top of these
17422 issues.&lt;/p&gt;
17423
17424 &lt;p&gt;&lt;strong&gt;Update 2013-01-16 13:35&lt;/strong&gt;: Updated numbers after
17425 discovering a typo in my script.&lt;/p&gt;
17426 </description>
17427 </item>
17428
17429 <item>
17430 <title>Using modalias info to find packages handling my hardware</title>
17431 <link>http://people.skolelinux.org/pere/blog/Using_modalias_info_to_find_packages_handling_my_hardware.html</link>
17432 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Using_modalias_info_to_find_packages_handling_my_hardware.html</guid>
17433 <pubDate>Tue, 15 Jan 2013 08:00:00 +0100</pubDate>
17434 <description>&lt;p&gt;Yesterday, I wrote about the
17435 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Modalias_strings___a_practical_way_to_map__stuff__to_hardware.html&quot;&gt;modalias
17436 values provided by the Linux kernel&lt;/a&gt; following my hope for
17437 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html&quot;&gt;better
17438 dongle support in Debian&lt;/a&gt;. Using this knowledge, I have tested how
17439 modalias values attached to package names can be used to map packages
17440 to hardware. This allow the system to look up and suggest relevant
17441 packages when I plug in some new hardware into my machine, and replace
17442 discover and discover-data as the database used to map hardware to
17443 packages.&lt;/p&gt;
17444
17445 &lt;p&gt;I create a modaliases file with entries like the following,
17446 containing package name, kernel module name (if relevant, otherwise
17447 the package name) and globs matching the relevant hardware
17448 modalias.&lt;/p&gt;
17449
17450 &lt;p&gt;&lt;blockquote&gt;
17451 Package: package-name
17452 &lt;br&gt;Modaliases: module(modaliasglob, modaliasglob, modaliasglob)&lt;/p&gt;
17453 &lt;/blockquote&gt;&lt;/p&gt;
17454
17455 &lt;p&gt;It is fairly trivial to write code to find the relevant packages
17456 for a given modalias value using this file.&lt;/p&gt;
17457
17458 &lt;p&gt;An entry like this would suggest the video and picture application
17459 cheese for many USB web cameras (interface bus class 0E01):&lt;/p&gt;
17460
17461 &lt;p&gt;&lt;blockquote&gt;
17462 Package: cheese
17463 &lt;br&gt;Modaliases: cheese(usb:v*p*d*dc*dsc*dp*ic0Eisc01ip*)&lt;/p&gt;
17464 &lt;/blockquote&gt;&lt;/p&gt;
17465
17466 &lt;p&gt;An entry like this would suggest the pcmciautils package when a
17467 CardBus bridge (bus class 0607) PCI device is present:&lt;/p&gt;
17468
17469 &lt;p&gt;&lt;blockquote&gt;
17470 Package: pcmciautils
17471 &lt;br&gt;Modaliases: pcmciautils(pci:v*d*sv*sd*bc06sc07i*)
17472 &lt;/blockquote&gt;&lt;/p&gt;
17473
17474 &lt;p&gt;An entry like this would suggest the package colorhug-client when
17475 plugging in a ColorHug with USB IDs 04D8:F8DA:&lt;/p&gt;
17476
17477 &lt;p&gt;&lt;blockquote&gt;
17478 Package: colorhug-client
17479 &lt;br&gt;Modaliases: colorhug-client(usb:v04D8pF8DAd*)&lt;/p&gt;
17480 &lt;/blockquote&gt;&lt;/p&gt;
17481
17482 &lt;p&gt;I believe the format is compatible with the format of the Packages
17483 file in the Debian archive. Ubuntu already uses their Packages file
17484 to store their mappings from packages to hardware.&lt;/p&gt;
17485
17486 &lt;p&gt;By adding a XB-Modaliases: header in debian/control, any .deb can
17487 announce the hardware it support in a way my prototype understand.
17488 This allow those publishing packages in an APT source outside the
17489 Debian archive as well as those backporting packages to make sure the
17490 hardware mapping are included in the package meta information. I&#39;ve
17491 tested such header in the pymissile package, and its modalias mapping
17492 is working as it should with my prototype. It even made it to Ubuntu
17493 Raring.&lt;/p&gt;
17494
17495 &lt;p&gt;To test if it was possible to look up supported hardware using only
17496 the shell tools available in the Debian installer, I wrote a shell
17497 implementation of the lookup code. The idea is to create files for
17498 each modalias and let the shell do the matching. Please check out and
17499 try the
17500 &lt;a href=&quot;http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/hw-support-lookup?view=co&quot;&gt;hw-support-lookup&lt;/a&gt;
17501 shell script. It run without any extra dependencies and fetch the
17502 hardware mappings from the Debian archive and the subversion
17503 repository where I currently work on my prototype.&lt;/p&gt;
17504
17505 &lt;p&gt;When I use it on a machine with a yubikey inserted, it suggest to
17506 install yubikey-personalization:&lt;/p&gt;
17507
17508 &lt;p&gt;&lt;blockquote&gt;
17509 % ./hw-support-lookup
17510 &lt;br&gt;yubikey-personalization
17511 &lt;br&gt;%
17512 &lt;/blockquote&gt;&lt;/p&gt;
17513
17514 &lt;p&gt;When I run it on my Thinkpad X40 with a PCMCIA/CardBus slot, it
17515 propose to install the pcmciautils package:&lt;/p&gt;
17516
17517 &lt;p&gt;&lt;blockquote&gt;
17518 % ./hw-support-lookup
17519 &lt;br&gt;pcmciautils
17520 &lt;br&gt;%
17521 &lt;/blockquote&gt;&lt;/p&gt;
17522
17523 &lt;p&gt;If you know of any hardware-package mapping that should be added to
17524 &lt;a href=&quot;http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/modaliases?view=co&quot;&gt;my
17525 database&lt;/a&gt;, please tell me about it.&lt;/p&gt;
17526
17527 &lt;p&gt;It could be possible to generate several of the mappings between
17528 packages and hardware. One source would be to look at packages with
17529 kernel modules, ie packages with *.ko files in /lib/modules/, and
17530 extract their modalias information. Another would be to look at
17531 packages with udev rules, ie packages with files in
17532 /lib/udev/rules.d/, and extract their vendor/model information to
17533 generate a modalias matching rule. I have not tested any of these to
17534 see if it work.&lt;/p&gt;
17535
17536 &lt;p&gt;If you want to help implementing a system to let us propose what
17537 packages to install when new hardware is plugged into a Debian
17538 machine, please send me an email or talk to me on
17539 &lt;a href=&quot;irc://irc.debian.org/%23debian-devel&quot;&gt;#debian-devel&lt;/a&gt;.&lt;/p&gt;
17540 </description>
17541 </item>
17542
17543 <item>
17544 <title>Modalias strings - a practical way to map &quot;stuff&quot; to hardware</title>
17545 <link>http://people.skolelinux.org/pere/blog/Modalias_strings___a_practical_way_to_map__stuff__to_hardware.html</link>
17546 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Modalias_strings___a_practical_way_to_map__stuff__to_hardware.html</guid>
17547 <pubDate>Mon, 14 Jan 2013 11:20:00 +0100</pubDate>
17548 <description>&lt;p&gt;While looking into how to look up Debian packages based on hardware
17549 information, to find the packages that support a given piece of
17550 hardware, I refreshed my memory regarding modalias values, and decided
17551 to document the details. Here are my findings so far, also available
17552 in
17553 &lt;a href=&quot;http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/&quot;&gt;the
17554 Debian Edu subversion repository&lt;/a&gt;:
17555
17556 &lt;p&gt;&lt;strong&gt;Modalias decoded&lt;/strong&gt;&lt;/p&gt;
17557
17558 &lt;p&gt;This document try to explain what the different types of modalias
17559 values stands for. It is in part based on information from
17560 &amp;lt;URL: &lt;a href=&quot;https://wiki.archlinux.org/index.php/Modalias&quot;&gt;https://wiki.archlinux.org/index.php/Modalias&lt;/a&gt; &amp;gt;,
17561 &amp;lt;URL: &lt;a href=&quot;http://unix.stackexchange.com/questions/26132/how-to-assign-usb-driver-to-device&quot;&gt;http://unix.stackexchange.com/questions/26132/how-to-assign-usb-driver-to-device&lt;/a&gt; &amp;gt;,
17562 &amp;lt;URL: &lt;a href=&quot;http://code.metager.de/source/history/linux/stable/scripts/mod/file2alias.c&quot;&gt;http://code.metager.de/source/history/linux/stable/scripts/mod/file2alias.c&lt;/a&gt; &amp;gt; and
17563 &amp;lt;URL: &lt;a href=&quot;http://cvs.savannah.gnu.org/viewvc/dmidecode/dmidecode.c?root=dmidecode&amp;view=markup&quot;&gt;http://cvs.savannah.gnu.org/viewvc/dmidecode/dmidecode.c?root=dmidecode&amp;view=markup&lt;/a&gt; &amp;gt;.
17564
17565 &lt;p&gt;The modalias entries for a given Linux machine can be found using
17566 this shell script:&lt;/p&gt;
17567
17568 &lt;pre&gt;
17569 find /sys -name modalias -print0 | xargs -0 cat | sort -u
17570 &lt;/pre&gt;
17571
17572 &lt;p&gt;The supported modalias globs for a given kernel module can be found
17573 using modinfo:&lt;/p&gt;
17574
17575 &lt;pre&gt;
17576 % /sbin/modinfo psmouse | grep alias:
17577 alias: serio:ty05pr*id*ex*
17578 alias: serio:ty01pr*id*ex*
17579 %
17580 &lt;/pre&gt;
17581
17582 &lt;p&gt;&lt;strong&gt;PCI subtype&lt;/strong&gt;&lt;/p&gt;
17583
17584 &lt;p&gt;A typical PCI entry can look like this. This is an Intel Host
17585 Bridge memory controller:&lt;/p&gt;
17586
17587 &lt;p&gt;&lt;blockquote&gt;
17588 pci:v00008086d00002770sv00001028sd000001ADbc06sc00i00
17589 &lt;/blockquote&gt;&lt;/p&gt;
17590
17591 &lt;p&gt;This represent these values:&lt;/p&gt;
17592
17593 &lt;pre&gt;
17594 v 00008086 (vendor)
17595 d 00002770 (device)
17596 sv 00001028 (subvendor)
17597 sd 000001AD (subdevice)
17598 bc 06 (bus class)
17599 sc 00 (bus subclass)
17600 i 00 (interface)
17601 &lt;/pre&gt;
17602
17603 &lt;p&gt;The vendor/device values are the same values outputted from &#39;lspci
17604 -n&#39; as 8086:2770. The bus class/subclass is also shown by lspci as
17605 0600. The 0600 class is a host bridge. Other useful bus values are
17606 0300 (VGA compatible card) and 0200 (Ethernet controller).&lt;/p&gt;
17607
17608 &lt;p&gt;Not sure how to figure out the interface value, nor what it
17609 means.&lt;/p&gt;
17610
17611 &lt;p&gt;&lt;strong&gt;USB subtype&lt;/strong&gt;&lt;/p&gt;
17612
17613 &lt;p&gt;Some typical USB entries can look like this. This is an internal
17614 USB hub in a laptop:&lt;/p&gt;
17615
17616 &lt;p&gt;&lt;blockquote&gt;
17617 usb:v1D6Bp0001d0206dc09dsc00dp00ic09isc00ip00
17618 &lt;/blockquote&gt;&lt;/p&gt;
17619
17620 &lt;p&gt;Here is the values included in this alias:&lt;/p&gt;
17621
17622 &lt;pre&gt;
17623 v 1D6B (device vendor)
17624 p 0001 (device product)
17625 d 0206 (bcddevice)
17626 dc 09 (device class)
17627 dsc 00 (device subclass)
17628 dp 00 (device protocol)
17629 ic 09 (interface class)
17630 isc 00 (interface subclass)
17631 ip 00 (interface protocol)
17632 &lt;/pre&gt;
17633
17634 &lt;p&gt;The 0900 device class/subclass means hub. Some times the relevant
17635 class is in the interface class section. For a simple USB web camera,
17636 these alias entries show up:&lt;/p&gt;
17637
17638 &lt;p&gt;&lt;blockquote&gt;
17639 usb:v0AC8p3420d5000dcEFdsc02dp01ic01isc01ip00
17640 &lt;br&gt;usb:v0AC8p3420d5000dcEFdsc02dp01ic01isc02ip00
17641 &lt;br&gt;usb:v0AC8p3420d5000dcEFdsc02dp01ic0Eisc01ip00
17642 &lt;br&gt;usb:v0AC8p3420d5000dcEFdsc02dp01ic0Eisc02ip00
17643 &lt;/blockquote&gt;&lt;/p&gt;
17644
17645 &lt;p&gt;Interface class 0E01 is video control, 0E02 is video streaming (aka
17646 camera), 0101 is audio control device and 0102 is audio streaming (aka
17647 microphone). Thus this is a camera with microphone included.&lt;/p&gt;
17648
17649 &lt;p&gt;&lt;strong&gt;ACPI subtype&lt;/strong&gt;&lt;/p&gt;
17650
17651 &lt;p&gt;The ACPI type is used for several non-PCI/USB stuff. This is an IR
17652 receiver in a Thinkpad X40:&lt;/p&gt;
17653
17654 &lt;p&gt;&lt;blockquote&gt;
17655 acpi:IBM0071:PNP0511:
17656 &lt;/blockquote&gt;&lt;/p&gt;
17657
17658 &lt;p&gt;The values between the colons are IDs.&lt;/p&gt;
17659
17660 &lt;p&gt;&lt;strong&gt;DMI subtype&lt;/strong&gt;&lt;/p&gt;
17661
17662 &lt;p&gt;The DMI table contain lots of information about the computer case
17663 and model. This is an entry for a IBM Thinkpad X40, fetched from
17664 /sys/devices/virtual/dmi/id/modalias:&lt;/p&gt;
17665
17666 &lt;p&gt;&lt;blockquote&gt;
17667 dmi:bvnIBM:bvr1UETB6WW(1.66):bd06/15/2005:svnIBM:pn2371H4G:pvrThinkPadX40:rvnIBM:rn2371H4G:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
17668 &lt;/blockquote&gt;&lt;/p&gt;
17669
17670 &lt;p&gt;The values present are&lt;/p&gt;
17671
17672 &lt;pre&gt;
17673 bvn IBM (BIOS vendor)
17674 bvr 1UETB6WW(1.66) (BIOS version)
17675 bd 06/15/2005 (BIOS date)
17676 svn IBM (system vendor)
17677 pn 2371H4G (product name)
17678 pvr ThinkPadX40 (product version)
17679 rvn IBM (board vendor)
17680 rn 2371H4G (board name)
17681 rvr NotAvailable (board version)
17682 cvn IBM (chassis vendor)
17683 ct 10 (chassis type)
17684 cvr NotAvailable (chassis version)
17685 &lt;/pre&gt;
17686
17687 &lt;p&gt;The chassis type 10 is Notebook. Other interesting values can be
17688 found in the dmidecode source:&lt;/p&gt;
17689
17690 &lt;pre&gt;
17691 3 Desktop
17692 4 Low Profile Desktop
17693 5 Pizza Box
17694 6 Mini Tower
17695 7 Tower
17696 8 Portable
17697 9 Laptop
17698 10 Notebook
17699 11 Hand Held
17700 12 Docking Station
17701 13 All In One
17702 14 Sub Notebook
17703 15 Space-saving
17704 16 Lunch Box
17705 17 Main Server Chassis
17706 18 Expansion Chassis
17707 19 Sub Chassis
17708 20 Bus Expansion Chassis
17709 21 Peripheral Chassis
17710 22 RAID Chassis
17711 23 Rack Mount Chassis
17712 24 Sealed-case PC
17713 25 Multi-system
17714 26 CompactPCI
17715 27 AdvancedTCA
17716 28 Blade
17717 29 Blade Enclosing
17718 &lt;/pre&gt;
17719
17720 &lt;p&gt;The chassis type values are not always accurately set in the DMI
17721 table. For example my home server is a tower, but the DMI modalias
17722 claim it is a desktop.&lt;/p&gt;
17723
17724 &lt;p&gt;&lt;strong&gt;SerIO subtype&lt;/strong&gt;&lt;/p&gt;
17725
17726 &lt;p&gt;This type is used for PS/2 mouse plugs. One example is from my
17727 test machine:&lt;/p&gt;
17728
17729 &lt;p&gt;&lt;blockquote&gt;
17730 serio:ty01pr00id00ex00
17731 &lt;/blockquote&gt;&lt;/p&gt;
17732
17733 &lt;p&gt;The values present are&lt;/p&gt;
17734
17735 &lt;pre&gt;
17736 ty 01 (type)
17737 pr 00 (prototype)
17738 id 00 (id)
17739 ex 00 (extra)
17740 &lt;/pre&gt;
17741
17742 &lt;p&gt;This type is supported by the psmouse driver. I am not sure what
17743 the valid values are.&lt;/p&gt;
17744
17745 &lt;p&gt;&lt;strong&gt;Other subtypes&lt;/strong&gt;&lt;/p&gt;
17746
17747 &lt;p&gt;There are heaps of other modalias subtypes according to
17748 file2alias.c. There is the rest of the list from that source: amba,
17749 ap, bcma, ccw, css, eisa, hid, i2c, ieee1394, input, ipack, isapnp,
17750 mdio, of, parisc, pcmcia, platform, scsi, sdio, spi, ssb, vio, virtio,
17751 vmbus, x86cpu and zorro. I did not spend time documenting all of
17752 these, as they do not seem relevant for my intended use with mapping
17753 hardware to packages when new stuff is inserted during run time.&lt;/p&gt;
17754
17755 &lt;p&gt;&lt;strong&gt;Looking up kernel modules using modalias values&lt;/strong&gt;&lt;/p&gt;
17756
17757 &lt;p&gt;To check which kernel modules provide support for a given modalias,
17758 one can use the following shell script:&lt;/p&gt;
17759
17760 &lt;pre&gt;
17761 for id in $(find /sys -name modalias -print0 | xargs -0 cat | sort -u); do \
17762 echo &quot;$id&quot; ; \
17763 /sbin/modprobe --show-depends &quot;$id&quot;|sed &#39;s/^/ /&#39; ; \
17764 done
17765 &lt;/pre&gt;
17766
17767 &lt;p&gt;The output can look like this (only the first few entries as the
17768 list is very long on my test machine):&lt;/p&gt;
17769
17770 &lt;pre&gt;
17771 acpi:ACPI0003:
17772 insmod /lib/modules/2.6.32-5-686/kernel/drivers/acpi/ac.ko
17773 acpi:device:
17774 FATAL: Module acpi:device: not found.
17775 acpi:IBM0068:
17776 insmod /lib/modules/2.6.32-5-686/kernel/drivers/char/nvram.ko
17777 insmod /lib/modules/2.6.32-5-686/kernel/drivers/leds/led-class.ko
17778 insmod /lib/modules/2.6.32-5-686/kernel/net/rfkill/rfkill.ko
17779 insmod /lib/modules/2.6.32-5-686/kernel/drivers/platform/x86/thinkpad_acpi.ko
17780 acpi:IBM0071:PNP0511:
17781 insmod /lib/modules/2.6.32-5-686/kernel/lib/crc-ccitt.ko
17782 insmod /lib/modules/2.6.32-5-686/kernel/net/irda/irda.ko
17783 insmod /lib/modules/2.6.32-5-686/kernel/drivers/net/irda/nsc-ircc.ko
17784 [...]
17785 &lt;/pre&gt;
17786
17787 &lt;p&gt;If you want to help implementing a system to let us propose what
17788 packages to install when new hardware is plugged into a Debian
17789 machine, please send me an email or talk to me on
17790 &lt;a href=&quot;irc://irc.debian.org/%23debian-devel&quot;&gt;#debian-devel&lt;/a&gt;.&lt;/p&gt;
17791
17792 &lt;p&gt;&lt;strong&gt;Update 2013-01-15:&lt;/strong&gt; Rewrite &quot;cat $(find ...)&quot; to
17793 &quot;find ... -print0 | xargs -0 cat&quot; to make sure it handle directories
17794 in /sys/ with space in them.&lt;/p&gt;
17795 </description>
17796 </item>
17797
17798 <item>
17799 <title>Moved the pymissile Debian packaging to collab-maint</title>
17800 <link>http://people.skolelinux.org/pere/blog/Moved_the_pymissile_Debian_packaging_to_collab_maint.html</link>
17801 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Moved_the_pymissile_Debian_packaging_to_collab_maint.html</guid>
17802 <pubDate>Thu, 10 Jan 2013 20:40:00 +0100</pubDate>
17803 <description>&lt;p&gt;As part of my investigation on how to improve the support in Debian
17804 for hardware dongles, I dug up my old Mark and Spencer USB Rocket
17805 Launcher and updated the Debian package
17806 &lt;a href=&quot;http://packages.qa.debian.org/pymissile&quot;&gt;pymissile&lt;/a&gt; to make
17807 sure udev will fix the device permissions when it is plugged in. I
17808 also added a &quot;Modaliases&quot; header to test it in the Debian archive and
17809 hopefully make the package be proposed by jockey in Ubuntu when a user
17810 plug in his rocket launcher. In the process I moved the source to a
17811 git repository under collab-maint, to make it easier for any DD to
17812 contribute. &lt;a href=&quot;http://code.google.com/p/pymissile/&quot;&gt;Upstream&lt;/a&gt;
17813 is not very active, but the software still work for me even after five
17814 years of relative silence. The new git repository is not listed in
17815 the uploaded package yet, because I want to test the other changes a
17816 bit more before I upload the new version. If you want to check out
17817 the new version with a .desktop file included, visit the
17818 &lt;a href=&quot;http://anonscm.debian.org/gitweb/?p=collab-maint/pymissile.git&quot;&gt;gitweb
17819 view&lt;/a&gt; or use &quot;&lt;tt&gt;git clone
17820 git://anonscm.debian.org/collab-maint/pymissile.git&lt;/tt&gt;&quot;.&lt;/p&gt;
17821 </description>
17822 </item>
17823
17824 <item>
17825 <title>Lets make hardware dongles easier to use in Debian</title>
17826 <link>http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html</link>
17827 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Lets_make_hardware_dongles_easier_to_use_in_Debian.html</guid>
17828 <pubDate>Wed, 9 Jan 2013 15:40:00 +0100</pubDate>
17829 <description>&lt;p&gt;One thing that annoys me with Debian and Linux distributions in
17830 general, is that there is a great package management system with the
17831 ability to automatically install software packages by downloading them
17832 from the distribution mirrors, but no way to get it to automatically
17833 install the packages I need to use the hardware I plug into my
17834 machine. Even if the package to use it is easily available from the
17835 Linux distribution. When I plug in a LEGO Mindstorms NXT, it could
17836 suggest to automatically install the python-nxt, nbc and t2n packages
17837 I need to talk to it. When I plug in a Yubikey, it could propose the
17838 yubikey-personalization package. The information required to do this
17839 is available, but no-one have pulled all the pieces together.&lt;/p&gt;
17840
17841 &lt;p&gt;Some years ago, I proposed to
17842 &lt;a href=&quot;http://lists.debian.org/debian-devel/2010/05/msg01206.html&quot;&gt;use
17843 the discover subsystem to implement this&lt;/a&gt;. The idea is fairly
17844 simple:
17845
17846 &lt;ul&gt;
17847
17848 &lt;li&gt;Add a desktop entry in /usr/share/autostart/ pointing to a program
17849 starting when a user log in.&lt;/li&gt;
17850
17851 &lt;li&gt;Set this program up to listen for kernel events emitted when new
17852 hardware is inserted into the computer.&lt;/li&gt;
17853
17854 &lt;li&gt;When new hardware is inserted, look up the hardware ID in a
17855 database mapping to packages, and take note of any non-installed
17856 packages.&lt;/li&gt;
17857
17858 &lt;li&gt;Show a message to the user proposing to install the discovered
17859 package, and make it easy to install it.&lt;/li&gt;
17860
17861 &lt;/ul&gt;
17862
17863 &lt;p&gt;I am not sure what the best way to implement this is, but my
17864 initial idea was to use dbus events to discover new hardware, the
17865 discover database to find packages and
17866 &lt;a href=&quot;http://www.packagekit.org/&quot;&gt;PackageKit&lt;/a&gt; to install
17867 packages.&lt;/p&gt;
17868
17869 &lt;p&gt;Yesterday, I found time to try to implement this idea, and the
17870 draft package is now checked into
17871 &lt;a href=&quot;http://anonscm.debian.org/viewvc/debian-edu/trunk/src/hw-support-handler/&quot;&gt;the
17872 Debian Edu subversion repository&lt;/a&gt;. In the process, I updated the
17873 &lt;a href=&quot;http://packages.qa.debian.org/d/discover-data.html&quot;&gt;discover-data&lt;/a&gt;
17874 package to map the USB ids of LEGO Mindstorms and Yubikey devices to
17875 the relevant packages in Debian, and uploaded a new version
17876 2.2013.01.09 to unstable. I also discovered that the current
17877 &lt;a href=&quot;http://packages.qa.debian.org/d/discover.html&quot;&gt;discover&lt;/a&gt;
17878 package in Debian no longer discovered any USB devices, because
17879 /proc/bus/usb/devices is no longer present. I ported it to use
17880 libusb as a fall back option to get it working. The fixed package
17881 version 2.1.2-6 is now in experimental (didn&#39;t upload it to unstable
17882 because of the freeze).&lt;/p&gt;
17883
17884 &lt;p&gt;With this prototype in place, I can insert my Yubikey, and get this
17885 desktop notification to show up (only once, the first time it is
17886 inserted):&lt;/p&gt;
17887
17888 &lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/2013-01-09-hw-autoinstall.png&quot;&gt;&lt;/p&gt;
17889
17890 &lt;p&gt;For this prototype to be really useful, some way to automatically
17891 install the proposed packages by pressing the &quot;Please install
17892 program(s)&quot; button should to be implemented.&lt;/p&gt;
17893
17894 &lt;p&gt;If this idea seem useful to you, and you want to help make it
17895 happen, please help me update the discover-data database with mappings
17896 from hardware to Debian packages. Check if &#39;discover-pkginstall -l&#39;
17897 list the package you would like to have installed when a given
17898 hardware device is inserted into your computer, and report bugs using
17899 reportbug if it isn&#39;t. Or, if you know of a better way to provide
17900 such mapping, please let me know.&lt;/p&gt;
17901
17902 &lt;p&gt;This prototype need more work, and there are several questions that
17903 should be considered before it is ready for production use. Is dbus
17904 the correct way to detect new hardware? At the moment I look for HAL
17905 dbus events on the system bus, because that is the events I could see
17906 on my Debian Squeeze KDE desktop. Are there better events to use?
17907 How should the user be notified? Is the desktop notification
17908 mechanism the best option, or should the background daemon raise a
17909 popup instead? How should packages be installed? When should they
17910 not be installed?&lt;/p&gt;
17911
17912 &lt;p&gt;If you want to help getting such feature implemented in Debian,
17913 please send me an email. :)&lt;/p&gt;
17914 </description>
17915 </item>
17916
17917 <item>
17918 <title>New IRC channel for LEGO designers using Debian</title>
17919 <link>http://people.skolelinux.org/pere/blog/New_IRC_channel_for_LEGO_designers_using_Debian.html</link>
17920 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/New_IRC_channel_for_LEGO_designers_using_Debian.html</guid>
17921 <pubDate>Wed, 2 Jan 2013 15:40:00 +0100</pubDate>
17922 <description>&lt;p&gt;During Christmas, I have worked a bit on the Debian support for
17923 &lt;a href=&quot;http://mindstorms.lego.com/en-us/Default.aspx&quot;&gt;LEGO Mindstorm
17924 NXT&lt;/a&gt;. My son and I have played a bit with my NXT set, and I
17925 discovered I had to build all the tools myself because none were
17926 already in Debian Squeeze. If Debian support for LEGO is something
17927 you care about, please join me on the IRC channel
17928 &lt;a href=&quot;irc://irc.debian.org/%23debian-lego&quot;&gt;#debian-lego&lt;/a&gt; (server
17929 irc.debian.org). There is a lot that could be done to improve the
17930 Debian support for LEGO designers. For example both CAD software
17931 and Mindstorm compilers are missing. :)&lt;/p&gt;
17932
17933 &lt;p&gt;Update 2012-01-03: A
17934 &lt;a href=&quot;http://wiki.debian.org/LegoDesigners&quot;&gt;project page&lt;/a&gt;
17935 including links to Lego related packages is now available.&lt;/p&gt;
17936 </description>
17937 </item>
17938
17939 <item>
17940 <title>A Christmas present for Skolelinux / Debian Edu</title>
17941 <link>http://people.skolelinux.org/pere/blog/A_Christmas_present_for_Skolelinux___Debian_Edu.html</link>
17942 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_Christmas_present_for_Skolelinux___Debian_Edu.html</guid>
17943 <pubDate>Fri, 28 Dec 2012 09:20:00 +0100</pubDate>
17944 <description>&lt;p&gt;I was happy to discover a few days ago that the
17945 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Skolelinux / Debian Edu&lt;/a&gt;
17946 project also this year received a Christmas present from Another
17947 Agency in Trondheim. NOK 1000,- showed up on our donation account
17948 December 24th. I want to express our thanks for this very welcome
17949 present. As the Debian Edu / Skolelinux project is very short on
17950 funding these days, and thus lack the money to do regular developer
17951 gatherings, this donation was most welcome. One developer gathering
17952 cost around NOK 15&amp;nbsp;000,-, so we need quite a lot more to keep the
17953 development pace we want. Thus, I hope their example this year is
17954 followed by many others. :)&lt;/p&gt;
17955
17956 &lt;p&gt;The public list of donors can be found on
17957 &lt;a href=&quot;http://www.linuxiskolen.no/slxdebianlabs/donations.html&quot;&gt;the
17958 donation page&lt;/a&gt; for the project, which also contain instructions if
17959 you want to donate to the project.&lt;/p&gt;
17960 </description>
17961 </item>
17962
17963 <item>
17964 <title>How to backport bitcoin-qt version 0.7.2-2 to Debian Squeeze</title>
17965 <link>http://people.skolelinux.org/pere/blog/How_to_backport_bitcoin_qt_version_0_7_2_2_to_Debian_Squeeze.html</link>
17966 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_backport_bitcoin_qt_version_0_7_2_2_to_Debian_Squeeze.html</guid>
17967 <pubDate>Tue, 25 Dec 2012 20:50:00 +0100</pubDate>
17968 <description>&lt;p&gt;Let me start by wishing you all marry Christmas and a happy new
17969 year! I hope next year will prove to be a good year.&lt;/p&gt;
17970
17971 &lt;p&gt;&lt;a href=&quot;http://www.bitcoin.org/&quot;&gt;Bitcoin&lt;/a&gt;, the digital
17972 decentralised &quot;currency&quot; that allow people to transfer bitcoins
17973 between each other with minimal overhead, is a very interesting
17974 experiment. And as I wrote a few days ago, the bitcoin situation in
17975 &lt;a href=&quot;http://www.debian.org/&quot;&gt;Debian&lt;/a&gt; is about to improve a bit.
17976 The &lt;a href=&quot;http://packages.qa.debian.org/bitcoin&quot;&gt;new debian source
17977 package&lt;/a&gt; (version 0.7.2-2) was uploaded yesterday, and is waiting
17978 in &lt;a href=&quot;http://ftp-master.debian.org/new.html&quot;&gt;the NEW queue&lt;/A&gt;
17979 for one of the ftpmasters to approve the new bitcoin-qt package
17980 name.&lt;/p&gt;
17981
17982 &lt;p&gt;And thanks to the great work of Jonas and the rest of the bitcoin
17983 team in Debian, you can easily test the package in Debian Squeeze
17984 using the following steps to get a set of working packages:&lt;/p&gt;
17985
17986 &lt;blockquote&gt;&lt;pre&gt;
17987 git clone git://git.debian.org/git/collab-maint/bitcoin
17988 cd bitcoin
17989 DEB_MAINTAINER_MODE=1 DEB_BUILD_OPTIONS=noupnp fakeroot debian/rules clean
17990 DEB_BUILD_OPTIONS=noupnp git-buildpackage --git-ignore-new
17991 &lt;/pre&gt;&lt;/blockquote&gt;
17992
17993 &lt;p&gt;You might have to install some build dependencies as well. The
17994 list of commands should give you two packages, bitcoind and
17995 bitcoin-qt, ready for use in a Squeeze environment. Note that the
17996 client will download the complete set of bitcoin &quot;blocks&quot;, which need
17997 around 5.6 GiB of data on my machine at the moment. Make sure your
17998 ~/.bitcoin/ directory have lots of spare room if you want to download
17999 all the blocks. The client will warn if the disk is getting full, so
18000 there is not really a problem if you got too little room, but you will
18001 not be able to get all the features out of the client.&lt;/p&gt;
18002
18003 &lt;p&gt;As usual, if you use bitcoin and want to show your support of my
18004 activities, please send Bitcoin donations to my address
18005 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
18006 </description>
18007 </item>
18008
18009 <item>
18010 <title>A word on bitcoin support in Debian</title>
18011 <link>http://people.skolelinux.org/pere/blog/A_word_on_bitcoin_support_in_Debian.html</link>
18012 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_word_on_bitcoin_support_in_Debian.html</guid>
18013 <pubDate>Fri, 21 Dec 2012 23:59:00 +0100</pubDate>
18014 <description>&lt;p&gt;It has been a while since I wrote about
18015 &lt;a href=&quot;http://www.bitcoin.org/&quot;&gt;bitcoin&lt;/a&gt;, the decentralised
18016 peer-to-peer based crypto-currency, and the reason is simply that I
18017 have been busy elsewhere. But two days ago, I started looking at the
18018 state of &lt;a href=&quot;http://packages.qa.debian.org/bitcoin&quot;&gt;bitcoin in
18019 Debian&lt;/a&gt; again to try to recover my old bitcoin wallet. The package
18020 is now maintained by a
18021 &lt;a href=&quot;https://alioth.debian.org/projects/pkg-bitcoin/&quot;&gt;team of
18022 people&lt;/a&gt;, and the grunt work had already been done by this team. We
18023 owe a huge thank you to all these team members. :)
18024 But I was sad to discover that the bitcoin client is missing in
18025 Wheezy. It is only available in Sid (and an outdated client from
18026 backports). The client had several RC bugs registered in BTS blocking
18027 it from entering testing. To try to help the team and improve the
18028 situation, I spent some time providing patches and triaging the bug
18029 reports. I also had a look at the bitcoin package available from Matt
18030 Corallo in a
18031 &lt;a href=&quot;https://launchpad.net/~bitcoin/+archive/bitcoin&quot;&gt;PPA for
18032 Ubuntu&lt;/a&gt;, and moved the useful pieces from that version into the
18033 Debian package.&lt;/p&gt;
18034
18035 &lt;p&gt;After checking with the main package maintainer Jonas Smedegaard on
18036 IRC, I pushed several patches into the collab-maint git repository to
18037 improve the package. It now contains fixes for the RC issues (not from
18038 me, but fixed by Scott Howard), build rules for a Qt GUI client
18039 package, konqueror support for the bitcoin: URI and bash completion
18040 setup. As I work on Debian Squeeze, I also created
18041 &lt;a href=&quot;http://lists.alioth.debian.org/pipermail/pkg-bitcoin-devel/Week-of-Mon-20121217/000041.html&quot;&gt;a
18042 patch to backport&lt;/a&gt; the latest version. Jonas is going to look at
18043 it and try to integrate it into the git repository before uploading a
18044 new version to unstable.
18045
18046 &lt;p&gt;I would very much like bitcoin to succeed, to get rid of the
18047 centralized control currently exercised in the monetary system. I
18048 find it completely unacceptable that the USA government is collecting
18049 transaction data for almost all international money transfers (most are done in USD and transaction logs shipped to the spooks), and
18050 that the major credit card companies can block legal money
18051 transactions to Wikileaks. But for bitcoin to succeed, more people
18052 need to use bitcoins, and more people need to accept bitcoins when
18053 they sell products and services. Improving the bitcoin support in
18054 Debian is a small step in the right direction, but not enough.
18055 Unfortunately the user experience when browsing the web and wanting to
18056 pay with bitcoin is still not very good. The bitcoin: URI is a step
18057 in the right direction, but need to work in most or every browser in
18058 use. Also the bitcoin-qt client is too heavy to fire up to do a
18059 quick transaction. I believe there are other clients available, but
18060 have not tested them.&lt;/p&gt;
18061
18062 &lt;p&gt;My
18063 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Now_accepting_bitcoins___anonymous_and_distributed_p2p_crypto_money.html&quot;&gt;experiment
18064 with bitcoins&lt;/a&gt; showed that at least some of my readers use bitcoin.
18065 I received 20.15 BTC so far on the address I provided in my blog two
18066 years ago, as can be
18067 &lt;a href=&quot;http://blockexplorer.com/address/15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;seen
18068 on the blockexplorer service&lt;/a&gt;. Thank you everyone for your
18069 donation. The blockexplorer service demonstrates quite well that
18070 bitcoin is not quite anonymous and untracked. :) I wonder if the
18071 number of users have gone up since then. If you use bitcoin and want
18072 to show your support of my activity, please send Bitcoin donations to
18073 the same address as last time,
18074 &lt;b&gt;&lt;a href=&quot;bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;&lt;/b&gt;.&lt;/p&gt;
18075 </description>
18076 </item>
18077
18078 <item>
18079 <title>Ledger - double-entry accounting using text based storage format</title>
18080 <link>http://people.skolelinux.org/pere/blog/Ledger___double_entry_accounting_using_text_based_storage_format.html</link>
18081 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Ledger___double_entry_accounting_using_text_based_storage_format.html</guid>
18082 <pubDate>Tue, 18 Dec 2012 23:30:00 +0100</pubDate>
18083 <description>&lt;p&gt;A few days ago I came across
18084 &lt;a href=&quot;http://joeyh.name/blog/entry/hledger/&quot;&gt;a blog post from Joey
18085 Hess&lt;/a&gt; describing &lt;a href=&quot;http://ledger-cli.org/&quot;&gt;ledger&lt;/a&gt; and
18086 hledger, a text based system for double-entry accounting. I found it
18087 interesting, as I am involved with several organizations where
18088 accounting is an issue, and I have not really become too friendly with
18089 the different web based systems we use. I find it hard to find what I
18090 look for in the menus and even harder try to get sensible data out of
18091 the systems. Ledger seem different. The accounting data is kept in
18092 text files that can be stored in a version control system, and there
18093
18094 are at least &lt;a href=&quot;https://github.com/ledger/ledger/wiki/Ports&quot;&gt;five
18095 different implementations&lt;/a&gt; able to read the format. An example
18096 entry look like this, and is simple enough that it will be trivial to
18097 generate entries based on CVS files fetched from the bank:&lt;/p&gt;
18098
18099 &lt;blockquote&gt;&lt;pre&gt;
18100 2004-05-27 Book Store
18101 Expenses:Books $20.00
18102 Liabilities:Visa
18103 &lt;/pre&gt;&lt;/blockquote&gt;
18104
18105 &lt;p&gt;The concept seemed interesting enough for me to check it out and
18106 look for others using it. I found blog posts from
18107 &lt;a href=&quot;http://blog.spang.cc/posts/hledger_rocks_my_world/&quot;&gt;Christine
18108 Spang&lt;/a&gt;,
18109 &lt;a href=&quot;http://bugsplat.info/2010-05-23-keeping-finances-with-ledger.html&quot;&gt;Pete
18110 Keen&lt;/a&gt;,
18111 &lt;a href=&quot;http://blog.andrewcantino.com/blog/2010/11/06/command-line-accounting-with-ledger-and-reckon/&quot;&gt;Andrew
18112 Cantino&lt;/a&gt; and
18113 &lt;a href=&quot;http://blog.iphoting.com/blog/2012/11/29/command-line-double-entry-accounting/&quot;&gt;Ronald
18114 Ip&lt;/a&gt; describing how they use it, as well as a post from
18115 &lt;a href=&quot;https://groups.google.com/forum/?fromgroups=#!topic/ledger-cli/r0oWjwbQ9Bo&quot;&gt;Bradley
18116 M. Kuhn&lt;/a&gt; at the Software Freedom Conservancy. All seemed like good
18117 recommendations fitting my need.&lt;/p&gt;
18118
18119 &lt;p&gt;The &lt;a href=&quot;http://packages.qa.debian.org/l/ledger.html&quot;&gt;ledger&lt;/a&gt;
18120 package is available in Debian Squeeze, while the
18121 &lt;a href=&quot;http://packages.qa.debian.org/h/haskell-hledger.html&quot;&gt;hledger&lt;/a&gt;
18122 package only is available in Debian Sid. As I use Squeeze, ledger
18123 seemed the best choice to get started.&lt;/p&gt;
18124
18125 &lt;p&gt;To get some real data to test on, I wrote a
18126 &lt;a href=&quot;http://www.nuug.no/tools/lodo2ledger&quot;&gt;web scraper&lt;/a&gt; for
18127 &lt;a href=&quot;http://www.lodo.no/&quot;&gt;LODO&lt;/a&gt;, the accounting system used by
18128 the &lt;a href=&quot;http://www.nuug.no/&quot;&gt;NUUG&lt;/a&gt; association, and started to
18129 play with the data set. I&#39;m not really deeply into accounting, but I
18130 am able to get a simple balance and accounting status for example
18131 using the &quot;&lt;tt&gt;ledger balance&lt;/tt&gt;&quot; command. But I will have to
18132 gather more experience before I know if the ledger way is a good fit
18133 for the organisations I am involved in.&lt;/p&gt;
18134 </description>
18135 </item>
18136
18137 <item>
18138 <title>Scripting the Cerebrum/bofhd user administration system using XML-RPC</title>
18139 <link>http://people.skolelinux.org/pere/blog/Scripting_the_Cerebrum_bofhd_user_administration_system_using_XML_RPC.html</link>
18140 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Scripting_the_Cerebrum_bofhd_user_administration_system_using_XML_RPC.html</guid>
18141 <pubDate>Thu, 6 Dec 2012 10:30:00 +0100</pubDate>
18142 <description>&lt;p&gt;Where I work at the &lt;a href=&quot;http://www.uio.no/&quot;&gt;University of
18143 Oslo&lt;/a&gt;, we use the
18144 &lt;a href=&quot;http://sourceforge.net/projects/cerebrum/&quot;&gt;Cerebrum user
18145 administration system&lt;/a&gt; to maintain users, groups, DNS, DHCP, etc.
18146 I&#39;ve known since the system was written that the server is providing
18147 an &lt;a href=&quot;http://en.wikipedia.org/wiki/XML-RPC&quot;&gt;XML-RPC&lt;/a&gt; API, but
18148 I have never spent time to try to figure out how to use it, as we
18149 always use the bofh command line client at work. Until today. I want
18150 to script the updating of DNS and DHCP to make it easier to set up
18151 virtual machines. Here are a few notes on how to use it with
18152 Python.&lt;/p&gt;
18153
18154 &lt;p&gt;I started by looking at the source of the Java
18155 &lt;a href=&quot;http://cerebrum.svn.sourceforge.net/viewvc/cerebrum/trunk/cerebrum/clients/jbofh/&quot;&gt;bofh
18156 client&lt;/a&gt;, to figure out how it connected to the API server. I also
18157 googled for python examples on how to use XML-RPC, and found
18158 &lt;a href=&quot;http://tldp.org/HOWTO/XML-RPC-HOWTO/xmlrpc-howto-python.html&quot;&gt;a
18159 simple example in&lt;/a&gt; the XML-RPC howto.&lt;/p&gt;
18160
18161 &lt;p&gt;This simple example code show how to connect, get the list of
18162 commands (as a JSON dump), and how to get the information about the
18163 user currently logged in:&lt;/p&gt;
18164
18165 &lt;blockquote&gt;&lt;pre&gt;
18166 #!/usr/bin/env python
18167 import getpass
18168 import xmlrpclib
18169 server_url = &#39;https://cerebrum-uio.uio.no:8000&#39;;
18170 username = getpass.getuser()
18171 password = getpass.getpass()
18172 server = xmlrpclib.Server(server_url);
18173 #print server.get_commands(sessionid)
18174 sessionid = server.login(username, password)
18175 print server.run_command(sessionid, &quot;user_info&quot;, username)
18176 result = server.logout(sessionid)
18177 print result
18178 &lt;/pre&gt;&lt;/blockquote&gt;
18179
18180 &lt;p&gt;Armed with this knowledge I can now move forward and script the DNS
18181 and DHCP updates I wanted to do.&lt;/p&gt;
18182 </description>
18183 </item>
18184
18185 <item>
18186 <title>Why isn&#39;t the value of copyright taxed?</title>
18187 <link>http://people.skolelinux.org/pere/blog/Why_isn_t_the_value_of_copyright_taxed_.html</link>
18188 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Why_isn_t_the_value_of_copyright_taxed_.html</guid>
18189 <pubDate>Sat, 17 Nov 2012 11:30:00 +0100</pubDate>
18190 <description>&lt;p&gt;While working on a
18191 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;Norwegian
18192 translation of the Free Culture by Lawrence Lessig&lt;/a&gt; (76% done),
18193 which cover the problems with todays copyright law and how it stifles
18194 creativity, one idea occurred to me. The idea is to get the tax
18195 office to help make more works enter the public domain and also help
18196 make it easier to clear rights for using copyrighted works.&lt;/p&gt;
18197
18198 &lt;p&gt;I mentioned this idea briefly during Yesterdays
18199 &lt;a href=&quot;http://www.farmann.no/2012/11/14/john-perry-barlow-in-oslo-friday-nov-16
18200 -15-30-19-00/&quot;&gt;presentation
18201 by John Perry Barlow&lt;/a&gt;, and concluded that it was best to put it
18202 in writing for a wider audience. The idea is not really based on the
18203 argument that copyrighted works are &quot;intellectual property&quot;, as the
18204 core requirement is that copyrighted work have value for the copyright
18205 holder and the tax office like to collect their share from any value
18206 controlled by the citizens in a country. I&#39;m sharing the idea here to
18207 let others consider it and perhaps shoot it down with a fresh set of
18208 arguments.&lt;/p&gt;
18209
18210 &lt;p&gt;Most valuables are taxed by the government. At least here in
18211 Norway, the amount of money you have, the value of our land property,
18212 the value of your house, the value of your car, the value of our
18213 stocks and other valuables are all added together. If the tax value
18214 of these values exceed your debt, you have to pay the tax office some
18215 taxes for these values. And copyrighted work have value. It have
18216 value for the rights holder, who can earn money selling access to the
18217 work. But it is not included in the tax calculations? Why not?&lt;/p&gt;
18218
18219 &lt;p&gt;If the government want to tax copyrighted works, it would want to
18220 maintain a database of all the copyrighted works and who are the
18221 rights holders for a given works, to be able to associate the works
18222 value to the right citizen or company for tax purposes. If such
18223 database exist, it will become a lot easier to find out who to talk to
18224 for clearing permissions to use a copyrighted work, which is a very
18225 hard operation with todays copyright law. To ensure that copyright
18226 holders keep the database up-to-date, it would have to become a
18227 requirement to be able to collect money for granting access to
18228 copyrighted works that the work is listed in the database with the
18229 correct right holder.&lt;/p&gt;
18230
18231 &lt;p&gt;If copyright causes copyright holders to have to pay more taxes,
18232 they will have a small incentive to &quot;disown&quot; their copyright, and let
18233 the work enter the public domain. For works with several right holders
18234 one of the right holders could state (and get it registered in the
18235 database) that she do not need to be consulted when clearing rights to
18236 use the work in question and thus will not get any income from that
18237 work. Stating this would have to be impossible to revert and stop the
18238 tax office from adding the value of that work to the given citizens
18239 tax calculation. I assume the copyright law would stay the same,
18240 allowing creators to pick a license of their choosing, and also
18241 allowing them to put their work directly in the public domain. The
18242 existence of such database will make it even easier to clear rights,
18243 and if the right holders listed in the database is taxed, this system
18244 would increase the amount of works that enter the public domain.&lt;/p&gt;
18245
18246 &lt;p&gt;The effect would be that the tax office help to make it easier to
18247 get rights to use the works that have not yet entered the public
18248 domain and help to get more work into the public domain.&lt;/p&gt;
18249
18250 &lt;p&gt;Why have such taxing not happened yet? I am sure the tax office
18251 would like to tax copyrighted work values if they could.&lt;/p&gt;
18252 </description>
18253 </item>
18254
18255 <item>
18256 <title>Debian Edu interview: Angela Fuß</title>
18257 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Angela_Fu_.html</link>
18258 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Angela_Fu_.html</guid>
18259 <pubDate>Wed, 14 Nov 2012 21:30:00 +0100</pubDate>
18260 <description>&lt;p&gt;Here is another interview with one of the people in the &lt;a
18261 href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu and Skolelinux&lt;/a&gt;
18262 community. I am running short on people willing to be interviewed, so
18263 if you know about someone I should interview, Please send me an email.
18264 After asking for many months, I finally managed to lure another one of
18265 the people behind the German
18266 &quot;&lt;a href=&quot;http://wiki.it-zukunft-schule.de/&quot;&gt;IT-Zukunft Schule&lt;/a&gt;&quot;
18267 project out from maternity leave to conduct an interview. Give a warm
18268 welcome to Angela Fuß. :)&lt;/p&gt;
18269
18270 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
18271
18272 &lt;p&gt;I am a 39-year-old woman living in the very north of Germany near
18273 Denmark. I live in a patchwork family with &quot;my man&quot; Mike Gabriel, my
18274 two daughters, Mikes daughter and Mikes and my rather newborn son.
18275
18276 &lt;p&gt;At the moment - because of our little baby - I am spending most of
18277 the day by being a caring and organising mom for all the kids.
18278 Besides that I am really involved into and occupied with several inner
18279 growth processes: New born souls always bring the whole familiar
18280 system into movement and that needs time and focus ;-). We are also
18281 in the middle of buying a house and moving to it.&lt;/p&gt;
18282
18283 &lt;p&gt;In 2013 I will work again in my job in a German foundation for
18284 nature conservation. I am doing public relation work there. Besides
18285 that - and that is the connection to Skolelinux / Debian Edu - I am
18286 working in our own school project &quot;IT-Zukunft Schule&quot; in North
18287 Germany. I am responsible for the quality assurance, the customer
18288 relationship management and the communication processes in the
18289 project.&lt;/p&gt;
18290
18291 &lt;p&gt;Since 2001 I constantly have been training myself in communication
18292 and leadership. Besides that I am a forester, a landscaping gardener
18293 and a yoga teacher.&lt;/p&gt;
18294
18295 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux / Debian Edu
18296 project?&lt;/strong&gt;&lt;/p&gt;
18297
18298 &lt;p&gt;I fell in love with Mike ;-).&lt;/p&gt;
18299
18300 &lt;p&gt;Very soon after getting to know him I was completely enrolled into
18301 Free Software. At this time Mike did IT-services for one newly
18302 founded school in Kiel. Other schools in Kiel needed concepts for
18303 their IT environment. Often when Mike came home from working at the
18304 newly founded school I found myself listening to his complaints about
18305 several points where the communication with the schools head or the
18306 teachers did not work. So we were clear that he would not work for
18307 one more school if we did not set up a structure for communication
18308 between him, the schools head, the teachers, the students and the
18309 parents.&lt;/p&gt;
18310
18311 &lt;p&gt;Together with our friend and hardware supplier Andreas Buchholz we
18312 started to get an overview of free software solutions suitable for
18313 schools. One day before Christmas 2010 Mike and I had a date with Kurt
18314 Gramlich in Gütersloh. As Kurt and I are really interested in building
18315 networks of people and in being in communication we dived into
18316 Skolelinux and brought it to the first grammar schools in Northern
18317 Germany.&lt;/p&gt;
18318
18319 &lt;p&gt;For information about our school project you can read
18320 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Mike_Gabriel.html&quot;&gt;the
18321 interview with Mike Gabriel&lt;/a&gt;.&lt;/p&gt;
18322
18323 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux / Debian
18324 Edu?&lt;/strong&gt;&lt;/p&gt;
18325
18326 &lt;p&gt;First I have to say: I cannot answer this question technically. My
18327 answer comes rather from a social point of view.&lt;/p&gt;
18328
18329 &lt;p&gt;The biggest advantage of Skolelinux / Debian Edu I see is the large
18330 and strong international community of Debian Developers in the
18331 background which is very alive and connected over mailinglists, blogs
18332 and meetings. My constant feeling for the Debian Community is: If
18333 something does not work they will somehow fix it. All is well
18334 ;-). This is of course a user experience. What I also get as a big
18335 advantage of Skolelinux / Debian Edu is that everybody who uses it and
18336 works with it can also contribute to it - that includes students,
18337 teachers, parents...&lt;/p&gt;
18338
18339 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux / Debian
18340 Edu?&lt;/strong&gt;&lt;/p&gt;
18341
18342 &lt;p&gt;I will answer this question relating to the internal structure of
18343 Skolelinux / Debian Edu.&lt;/p&gt;
18344
18345 &lt;p&gt;What I see as a major disadvantage is that there is a gap between
18346 the group of developers for Debian Edu and the people who make the
18347 marketing, that means the people that bring Skolelinux to the
18348 schools. There is a lack of communication between these two groups and
18349 I think that does not really work for Skolelinux / Debian Edu.&lt;/p&gt;
18350
18351 &lt;p&gt;Further I appreciate that Skolelinux / Debian Edu is known as a
18352 do-ocracy. Nevertheless I keep asking myself if at some points a
18353 democracy or some kind of hierarchical project structure would be good
18354 and helpful. I am also missing some kind of contact between the
18355 Skolelinux / Debian Edu communities in Europe or on an international
18356 level. I think it would be good if there was more sharing between the
18357 different countries using Skolelinux / Debian Edu.&lt;/p&gt;
18358
18359 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
18360
18361 &lt;p&gt;On my laptop I am still using an Ubuntu 10.04 with a Gnome Desktop
18362 on. As applications I use Openoffice.org, Gedit, Firefox, Pidgin,
18363 LaTeX and GnuCash. For mails I am using Horde. And I am really fond of
18364 my N900 running with Maemo.&lt;/p&gt;
18365
18366 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
18367 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
18368
18369 &lt;p&gt;I am really convinced that in our school project &quot;IT-Zukunft
18370 Schule&quot; we have developed (and keep developing) a great way to get
18371 schools to use Free Software. We have written a detailed concept for
18372 that so I cannot explain the whole thing here. But in a nutshell the
18373 strategy has three crucial pillars:&lt;/p&gt;
18374
18375 &lt;ul&gt;
18376
18377 &lt;li&gt;We really take time to get what sort of stories, questions and
18378 concerns the schools head and the teachers have about using different
18379 kinds of IT and we take time to enrol them into Free Software.&lt;/li&gt;
18380
18381 &lt;li&gt;Our solution for schools is never just technical. In the centre
18382 are always the people who are going to use the software. From the very
18383 beginning of the planning for a school, we tell the schools head that
18384 they are paying us not only for a technical solution for their school,
18385 they also pay us for leading all the communication processes
18386 needed. If they do not want that, we are not working with them because
18387 we cannot give a guarantee for the quality of our work then.&lt;/li&gt;
18388
18389 &lt;li&gt;Another focus lies in the training of teachers and students in
18390 co-administrating the IT-System at their school. They start getting in
18391 contact with the Skolelinux / Debian Edu community and they get the
18392 offer to become more and more independent from us.&lt;/li&gt;
18393
18394 &lt;/ul&gt;
18395 </description>
18396 </item>
18397
18398 <item>
18399 <title>The European Central Bank (ECB) take a look at bitcoin</title>
18400 <link>http://people.skolelinux.org/pere/blog/The_European_Central_Bank__ECB__take_a_look_at_bitcoin.html</link>
18401 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_European_Central_Bank__ECB__take_a_look_at_bitcoin.html</guid>
18402 <pubDate>Sun, 4 Nov 2012 08:30:00 +0100</pubDate>
18403 <description>&lt;p&gt;Slashdot just ran a story about the European Central Bank (ECB)
18404 &lt;a href=&quot;http://www.ecb.europa.eu/pub/pdf/other/virtualcurrencyschemes201210en.pdf&quot;&gt;releasing
18405 a report (PDF)&lt;/a&gt; about virtual currencies and
18406 &lt;a href=&quot;http://www.bitcoin.org/&quot;&gt;bitcoin&lt;/a&gt;. It is interesting to
18407 see how a member of the bitcoin community
18408 &lt;a href=&quot;http://blog.bitinstant.com/blog/2012/10/30/the-ecb-report-on-bitcoin-and-virtual-currencies.html&quot;&gt;receive
18409 the report&lt;/a&gt;. As for the future, I suspect the central banks and
18410 the governments will outlaw bitcoin if it gain any popularity, to avoid
18411 competition. My thoughts go to the
18412 &lt;a href=&quot;http://en.wikipedia.org/wiki/Wörgl&quot;&gt;Wörgl experiment&lt;/a&gt; with
18413 negative inflation on cash which was such a success that it was
18414 terminated by the Austrian National Bank in 1933. A successful
18415 alternative would be a threat to the current money system and gain
18416 powerful forces to work against it.&lt;/p&gt;
18417
18418 &lt;p&gt;While checking out the current status of bitcoin, I also discovered
18419 that the community already seem to have
18420 &lt;a href=&quot;http://www.theverge.com/2012/8/27/3271637/bitcoin-savings-trust-pyramid-scheme-shuts-down&quot;&gt;experienced
18421 its first pyramid game / Ponzi scheme&lt;/a&gt;. Not very surprising, given
18422 how members of &quot;small&quot; communities tend to trust each other. I guess
18423 enterprising crocks will try again and again, as they do anywhere
18424 wealth is available.&lt;/p&gt;
18425 </description>
18426 </item>
18427
18428 <item>
18429 <title>12 years of outages - summarised by Stuart Kendrick</title>
18430 <link>http://people.skolelinux.org/pere/blog/12_years_of_outages___summarised_by_Stuart_Kendrick.html</link>
18431 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/12_years_of_outages___summarised_by_Stuart_Kendrick.html</guid>
18432 <pubDate>Fri, 26 Oct 2012 14:20:00 +0200</pubDate>
18433 <description>&lt;p&gt;I work at the &lt;a href=&quot;http://www.uio.no/&quot;&gt;University of Oslo&lt;/a&gt;
18434 looking after the computers, mostly on the unix side, but in general
18435 all over the place. I am also a member (and currently leader) of
18436 &lt;a href=&quot;http://www.nuug.no/&quot;&gt;the NUUG association&lt;/a&gt;, which in turn
18437 make me a member of &lt;a href=&quot;http://www.usenix.org/&quot;&gt;USENIX&lt;/a&gt;. NUUG
18438 is an member organisation for us in Norway interested in free
18439 software, open standards and unix like operating systems, and USENIX
18440 is a US based member organisation with similar targets. And thanks to
18441 these memberships, I get all issues of the great USENIX magazine
18442 &lt;a href=&quot;https://www.usenix.org/publications/login&quot;&gt;;login:&lt;/a&gt; in the
18443 mail several times a year. The magazine is great, and I read most of
18444 it every time.&lt;/p&gt;
18445
18446 &lt;p&gt;In the last issue of the USENIX magazine ;login:, there is an
18447 article by &lt;a href=&quot;http://www.skendric.com/&quot;&gt;Stuart Kendrick&lt;/a&gt; from
18448 Fred Hutchinson Cancer Research Center titled
18449 &quot;&lt;a href=&quot;https://www.usenix.org/publications/login/october-2012-volume-37-number-5/what-takes-us-down&quot;&gt;What
18450 Takes Us Down&lt;/a&gt;&quot; (longer version also
18451 &lt;a href=&quot;http://www.skendric.com/problem/incident-analysis/2012-06-30/What-Takes-Us-Down.pdf&quot;&gt;available
18452 from his own site&lt;/a&gt;), where he report what he found when he
18453 processed the outage reports (both planned and unplanned) from the
18454 last twelve years and classified them according to cause, time of day,
18455 etc etc. The article is a good read to get some empirical data on
18456 what kind of problems affect a data centre, but what really inspired
18457 me was the kind of reporting they had put in place since 2000.&lt;p&gt;
18458
18459 &lt;p&gt;The centre set up a mailing list, and started to send fairly
18460 standardised messages to this list when a outage was planned or when
18461 it already occurred, to announce the plan and get feedback on the
18462 assumtions on scope and user impact. Here is the two example from the
18463 article: First the unplanned outage:
18464
18465 &lt;blockquote&gt;&lt;pre&gt;
18466 Subject: Exchange 2003 Cluster Issues
18467 Severity: Critical (Unplanned)
18468 Start: Monday, May 7, 2012, 11:58
18469 End: Monday, May 7, 2012, 12:38
18470 Duration: 40 minutes
18471 Scope: Exchange 2003
18472 Description: The HTTPS service on the Exchange cluster crashed, triggering
18473 a cluster failover.
18474
18475 User Impact: During this period, all Exchange users were unable to
18476 access e-mail. Zimbra users were unaffected.
18477 Technician: [xxx]
18478 &lt;/pre&gt;&lt;/blockquote&gt;
18479
18480 Next the planned outage:
18481
18482 &lt;blockquote&gt;&lt;pre&gt;
18483 Subject: H Building Switch Upgrades
18484 Severity: Major (Planned)
18485 Start: Saturday, June 16, 2012, 06:00
18486 End: Saturday, June 16, 2012, 16:00
18487 Duration: 10 hours
18488 Scope: H2 Transport
18489 Description: Currently, Catalyst 4006s provide 10/100 Ethernet to end-
18490 stations. We will replace these with newer Catalyst
18491 4510s.
18492 User Impact: All users on H2 will be isolated from the network during
18493 this work. Afterward, they will have gigabit
18494 connectivity.
18495 Technician: [xxx]
18496 &lt;/pre&gt;&lt;/blockquote&gt;
18497
18498 &lt;p&gt;He notes in his article that the date formats and other fields have
18499 been a bit too free form to make it easy to automatically process them
18500 into a database for further analysis, and I would have used ISO 8601
18501 dates myself to make it easier to process (in other words I would ask
18502 people to write &#39;2012-06-16 06:00 +0000&#39; instead of the start time
18503 format listed above). There are also other issues with the format
18504 that could be improved, read the article for the details.&lt;/p&gt;
18505
18506 &lt;p&gt;I find the idea of standardising outage messages seem to be such a
18507 good idea that I would like to get it implemented here at the
18508 university too. We do register
18509 &lt;a href=&quot;http://www.uio.no/tjenester/it/aktuelt/planlagte-tjenesteavbrudd/&quot;&gt;planned
18510 changes and outages in a calendar&lt;/a&gt;, and report the to a mailing
18511 list, but we do not do so in a structured format and there is not a
18512 report to the same location for unplanned outages. Perhaps something
18513 for other sites to consider too?&lt;/p&gt;
18514 </description>
18515 </item>
18516
18517 <item>
18518 <title>Amazon steal books from customer and throw out her out without any explanation</title>
18519 <link>http://people.skolelinux.org/pere/blog/Amazon_steal_books_from_customer_and_throw_out_her_out_without_any_explanation.html</link>
18520 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Amazon_steal_books_from_customer_and_throw_out_her_out_without_any_explanation.html</guid>
18521 <pubDate>Mon, 22 Oct 2012 20:30:00 +0200</pubDate>
18522 <description>&lt;p&gt;A blog post from Martin Bekkelund today tell the story of
18523 &lt;a href=&quot;http://www.bekkelund.net/2012/10/22/outlawed-by-amazon-drm/&quot;&gt;how
18524 Amazon erased the books from a customer&#39;s kindle, locked the account
18525 and refuse to tell the customer why&lt;/a&gt;. If a real book store did
18526 this to a customer, it would be called breaking into private property
18527 and theft. The story has spread around the net today. A bit more
18528 background information is available in Norwegian from
18529 &lt;a href=&quot;http://www.digi.no/904658/hun-ble-kastet-ut-av-amazon&quot;&gt;digi.no&lt;/a&gt;.
18530 It is no surprise that digital restriction mechanisms (DRM) are used
18531 this way, as it has been warned about such abuse since DRM was
18532 introduced many years back. And Amazon proved in 2009 that it was
18533 willing to
18534 &lt;a href=&quot;http://boingboing.net/2009/07/20/amazons-orwellian-de.html&quot;&gt;
18535 break into customers equipment and remove the books&lt;/a&gt; people had
18536 bought, when it removed the book 1984 by George Orwell from all the
18537 customers who had bought it. From the official comments, it even
18538 sounded like
18539 &lt;a href=&quot;http://www.nytimes.com/2009/07/18/technology/companies/18amazon.html&quot;&gt;Amazon
18540 would never do that again&lt;/a&gt;. And here we are, three years
18541 later.&lt;/p&gt;
18542
18543 &lt;p&gt;And thought this action is
18544 &lt;a href=&quot;http://www.itavisen.no/904648/forbrukerraadet-helt-haarreisende&quot;&gt;against
18545 Norwegian regulations and law&lt;/a&gt;, it is according to the terms of use
18546 as written by Amazon, and it is hard to hold Amazon accountable to
18547 Norwegian laws. It is just yet another example of unacceptable terms
18548 of use on the web, and how they are used to remove customer
18549 rights.&lt;/p&gt;
18550
18551 &lt;p&gt;Luckily for electronic books, there are alternatives without
18552 unacceptable terms. For example
18553 &lt;a href=&quot;http://www.gutenberg.org/&quot;&gt;Project Gutenberg&lt;/a&gt; (about 40,000
18554 books), &lt;a href=&quot;http://runeberg.org/&quot;&gt;Project Runenberg&lt;/a&gt; (1,652
18555 books) and &lt;a href=&quot;http://www.archive.org/details/texts&quot;&gt;The Internet
18556 Archive&lt;/a&gt; (3,641,797 books) have heaps of books without DRM, which
18557 can read by anyone and shared with anyone.&lt;/p&gt;
18558
18559 &lt;p&gt;Update 2012-10-23: This story broke in the morning on Monday. In
18560 the evening after the story had spread all across the Internet, Amazon
18561 restored the account of the user, as reported by
18562 &lt;a href=&quot;http://www.digi.no/904675/helomvending-fra-amazon&quot;&gt;digi.no&lt;/a&gt;
18563 and &lt;a href=&quot;http://nrk.no/kultur-og-underholdning/1.8368487&quot;&gt;NRK&lt;/a&gt;.
18564 Apparently public pressure work. The story from Martin have seen
18565 several twitter messages per minute the last 24 hours, which is quite
18566 a lot, and is still drawing a lot of attention. But even when the
18567 account is restored, the fundamental problem still exist. I recommend
18568 reading two opinions from
18569 &lt;a href=&quot;http://blogs.computerworlduk.com/simon-says/2012/10/rights-you-have-no-right-to-your-ebooks/index.htm&quot;&gt;Simon
18570 Phipps&lt;/a&gt; and
18571 &lt;a href=&quot;http://blogs.computerworlduk.com/open-enterprise/2012/10/is-amazon-playing-fair/index.htm&quot;&gt;Glen
18572 Moody&lt;/a&gt; if you want to learn more about the fundamentals and more
18573 details about the original story.&lt;/p&gt;
18574 </description>
18575 </item>
18576
18577 <item>
18578 <title>The fight for freedom and privacy</title>
18579 <link>http://people.skolelinux.org/pere/blog/The_fight_for_freedom_and_privacy.html</link>
18580 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_fight_for_freedom_and_privacy.html</guid>
18581 <pubDate>Thu, 18 Oct 2012 10:50:00 +0200</pubDate>
18582 <description>&lt;p&gt;Civil liberties and privacy in the western world are going down the
18583 drain, and it is hard to fight against it. I try to do my best, but
18584 time is limited. I hope you do your best too. A few years ago I came
18585 across a marvellous drawing by
18586 &lt;a href=&quot;http://www.claybennett.com/about.html&quot;&gt;Clay Bennett&lt;/a&gt;
18587 visualising some of what is going on.
18588
18589 &lt;p&gt;&lt;a href=&quot;http://www.claybennett.com/pages/security_fence.html&quot;&gt;
18590 &lt;img src=&quot;http://www.claybennett.com/images/archivetoons/security_fence.jpg&quot;&gt;&lt;/a&gt;&lt;/p&gt;
18591
18592 &lt;blockquote&gt;
18593 «They who can give up essential liberty to obtain a little temporary
18594 safety, deserve neither liberty nor safety.» - Benjamin Franklin
18595 &lt;/blockquote&gt;
18596
18597 &lt;p&gt;Do you feel safe at the airport? I do not. Do you feel safe when
18598 you see a surveillance camera? I do not. Do you feel safe when you
18599 leave electronic traces of your behaviour and opinions? I do not. I
18600 just remember &lt;a href=&quot;http://en.wikipedia.org/wiki/Panopticon&quot;&gt;the
18601 Panopticon&lt;/a&gt;, and can not help to think that we are slowly
18602 transforming our society to a huge Panopticon on our own.&lt;/p&gt;
18603 </description>
18604 </item>
18605
18606 <item>
18607 <title>ColonHelp produser sue WordPress to silence critic</title>
18608 <link>http://people.skolelinux.org/pere/blog/ColonHelp_produser_sue_WordPress_to_silence_critic.html</link>
18609 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/ColonHelp_produser_sue_WordPress_to_silence_critic.html</guid>
18610 <pubDate>Fri, 12 Oct 2012 23:50:00 +0200</pubDate>
18611 <description>&lt;p&gt;Thanks to a blog post by
18612 &lt;a href=&quot;http://ramblingfoo.blogspot.no/2012/10/a-shitstorm-is-comming.html&quot;&gt;Eddy
18613 Petrișor&lt;/a&gt;, I became aware of yet another &quot;alternative medicine&quot;
18614 company using legal intimidation tactics to scare off critics.
18615 According to the originating blog post about the detox &quot;cure&quot;
18616 &lt;a href=&quot;http://insulaindoielii.wordpress.com/2012/10/11/colon-help-sues-wordpress/&quot;&gt;ColonHelp
18617 and its producers Zenyth Pharmaceuticals actions&lt;/a&gt;, the producer
18618 sues Wordpress to get rid of the critical information. To check if
18619 the story was for real, I contacted Automattic, the company behind
18620 wordpress.com, and they reply was &quot;We can confirm that Zenyth is
18621 seeking a court order against WordPress / Automattic. However, we
18622 don&#39;t believe the Terms of Service have been violated in this
18623 matter&quot;.&lt;/p&gt;
18624
18625 &lt;p&gt;The story seem to be simply that a blogger checked the scientific
18626 foundation for a popular health product in Rumania, ColonHelp, and
18627 reported that there was no reason at all to believe it improved the
18628 health of its users. This caused the company behind the product,
18629 Zenyth Pharmaceuticals, to use legal intimidation to try to silence
18630 the critic, instead of presenting its views and scientific foundation
18631 to argue its side.&lt;/p&gt;
18632
18633 &lt;p&gt;This is the usual story, and the Zenyth Pharmaceuticals company
18634 deserve everyone to know how it failed to act properly. Lets hope the
18635 &lt;a href=&quot;http://en.wikipedia.org/wiki/Streisand_effect&quot;&gt;Streisand
18636 effect&lt;/a&gt; can make it rethink its strategy.&lt;/p&gt;
18637
18638 &lt;p&gt;What is the harm, you might think. I suggest you take a look at
18639 &lt;a href=&quot;http://www.whatstheharm.net/detoxification.html&quot;&gt;a list of
18640 victims of detoxification&lt;/a&gt;.&lt;/p&gt;
18641 </description>
18642 </item>
18643
18644 <item>
18645 <title>Why is your local library collecting the &quot;wrong&quot; computer books?</title>
18646 <link>http://people.skolelinux.org/pere/blog/Why_is_your_local_library_collecting_the__wrong__computer_books_.html</link>
18647 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Why_is_your_local_library_collecting_the__wrong__computer_books_.html</guid>
18648 <pubDate>Wed, 3 Oct 2012 10:00:00 +0200</pubDate>
18649 <description>&lt;p&gt;I just read the blog post from Tim Retout
18650 &lt;a href=&quot;http://retout.co.uk/blog/2012/10/02/the-library-challenge&quot;&gt;about
18651 the computer science book collection available in his local
18652 library&lt;/a&gt;, and just wanted to share my comment on his theory about
18653 computer books becoming obsolete so soon. That is part of the reason
18654 why the selection is so sad in almost any local library (it is in mine
18655 too), but I believe the major contributing factor is that the people
18656 buying books to the library have no way to know a good and future
18657 computer classic from trash. And they need to know which one will
18658 become a classic in the future, as they would normally buy one of the
18659 recently published books.&lt;/p&gt;
18660
18661 &lt;p&gt;During my university years, I worked for a while at the university
18662 library, and even there the person in charge of buying computer
18663 related books (and in fact any natural science related book), did not
18664 know enough about computers to make a good educated guess. Once, just
18665 before Christmas, they had some leftover money on the book budget and
18666 I was asked if I could pick out a lot of computer books in the
18667 university book store, for the library to buy for their collection. I
18668 had a great time picking all the books I dreamt of buying and reading,
18669 and the books I knew were classics (like most of the
18670 &lt;a href=&quot;http://en.wikipedia.org/wiki/W._Richard_Stevens&quot;&gt;Stevens
18671 collection&lt;/a&gt;). I picked several of the generic O&#39;Reilly books (ie
18672 documenting protocols, formats and systems, not specific versions of
18673 products) and stayed away from the &#39;teach yourself X in N days&#39; class.
18674 I had a great time, and probably picked out more than a hundred books
18675 for the library that evening.&lt;/p&gt;
18676
18677 &lt;p&gt;The sad fact is that there is no way a overworked librarian is
18678 going to know that for example
18679 &lt;a href=&quot;http://en.wikipedia.org/wiki/The_Practice_of_Programming&quot;&gt;The
18680 Practice of Programming&lt;/a&gt; is a must-have in any computer library,
18681 and they will most of the time end up picking the wrong books to buy.
18682 Perhaps you can help your local library make better choices by giving
18683 the suggestions for books to get? I know they would love to hear from
18684 you, even if their budget might block them from getting your favourite
18685 book right away.&lt;/p&gt;
18686 </description>
18687 </item>
18688
18689 <item>
18690 <title>Seventy percent done with Norwegian docbook version of Free Culture</title>
18691 <link>http://people.skolelinux.org/pere/blog/Seventy_percent_done_with_Norwegian_docbook_version_of_Free_Culture.html</link>
18692 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Seventy_percent_done_with_Norwegian_docbook_version_of_Free_Culture.html</guid>
18693 <pubDate>Sun, 23 Sep 2012 09:30:00 +0200</pubDate>
18694 <description>&lt;p&gt;Since this summer, I have worked in my spare time on a Norwegian &lt;a
18695 href=&quot;http://www.docbook.org/&quot;&gt;docbook&lt;/a&gt; version of the 2004 book &lt;a
18696 href=&quot;http://free-culture.cc/&quot;&gt;Free Culture&lt;/a&gt; by Lawrence Lessig.
18697 The reason is that this book is a great primer on what problems exist
18698 in the current copyright laws, and I want it to be available also for
18699 those that are reluctant do read an English book.
18700
18701 When I started, I
18702 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Dugnad_for___sende_norsk_versjon_av_Free_Culture_til_stortingets_representanter_.html&quot;&gt;called
18703 for volunteers&lt;/a&gt; to help me, but too few have volunteered so far,
18704 and progress is a bit slow. Anyway, today I broken the 70 percent
18705 mark for the first rough translation. At the moment, less than 700
18706 strings (paragraphs, index terms, titles) are left to translate. With
18707 my current progress of 10-20 strings per day, it will take a while to
18708 complete the translation. This graph show the updated progress:&lt;/p&gt;
18709
18710 &lt;img width=&quot;80%&quot; align=&quot;center&quot; src=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/raw/master/progress.png&quot;&gt;
18711
18712 &lt;p&gt;Progress have slowed down lately due to family and work
18713 commitments. If you want to help, please get in touch, and check out
18714 the project files currently available from
18715 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;github&lt;/a&gt;.&lt;/p&gt;
18716
18717 &lt;p&gt;If you are curious what the translated book currently look like,
18718 the updated
18719 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/blob/master/archive/freeculture.nb.pdf?raw=true&quot;&gt;PDF&lt;/a&gt;
18720 and
18721 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/blob/master/archive/freeculture.nb.epub?raw=true&quot;&gt;EPUB&lt;/a&gt;
18722 are published on github. The HTML version is published as well, but
18723 github hand it out with MIME type text/plain, confusing browsers, so I
18724 saw no point in linking to that version.&lt;/p&gt;
18725 </description>
18726 </item>
18727
18728 <item>
18729 <title>Debian Edu interview: Giorgio Pioda</title>
18730 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Giorgio_Pioda.html</link>
18731 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Giorgio_Pioda.html</guid>
18732 <pubDate>Mon, 17 Sep 2012 14:10:00 +0200</pubDate>
18733 <description>&lt;p&gt;After a long break in my row of interviews with people in the
18734 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu and Skolelinux&lt;/a&gt;
18735 community, I finally found time to wrap up another. This time it is
18736 Giorgio Pioda, which showed up on the mailing list at the start of
18737 this year, asking questions and inspiring us to improve the first time
18738 administrators experience with Skolelinux. :) The interview was
18739 conduced in May, but I only found time to publish it now.&lt;/p&gt;
18740
18741 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
18742
18743 &lt;p&gt;I have a PhD in chemistry but since several years I work as teacher
18744 in secondary (15-18 year old students) and tertiary (a kind of &quot;light&quot;
18745 university) schools. Five years ago I started to manage a Learning
18746 Management Service server and slowly I got more and more involved with
18747 IT. 3 years ago the graduating schools moved completely to Linux and I
18748 got the head of the IT for this. The experience collected in chemistry
18749 labs computers (for example NMR analysis of protein folding) and in
18750 the IT-courses during university where sufficient to start. Self
18751 training is anyway very important&lt;/p&gt;
18752
18753 &lt;p&gt;I live in the Italian speaking part of Switzerland, and the
18754 &lt;a href=&quot;http://www.spse.ch/&quot;&gt;SPSE school&lt;/a&gt; (secondary) is a very
18755 special sport school for young people who try to became sport pro (for
18756 all sports, we have dozens of disciplines represented) and we are
18757 recognised by the Olympic Swiss Organisation.
18758
18759 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux/Debian Edu
18760 project?&lt;/strong&gt;&lt;/p&gt;
18761
18762 &lt;p&gt;Looking for Linux / Primary Domain Controller (PDC) I found it
18763 already several years ago. But since the system was still not
18764 Kerberized and since our schools relies strongly on laptops I didn&#39;t
18765 use it. I plan to introduce it in the next future, probably for the
18766 next school year, since the squeeze release solved this security
18767 hole.&lt;/p&gt;
18768
18769 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux/Debian
18770 Edu?&lt;/strong&gt;&lt;/p&gt;
18771
18772 &lt;p&gt;Many. First of all there is a strong and living community that is
18773 very generous for help and hints. Chat help is crucial, together with
18774 the mailing list. Second. With Skolelinux you get an already well
18775 engineered platform and you don&#39;t have to start to build up your PDC
18776 and your clients from GNU/scratch; I&#39;ve already done this once and I
18777 can tell it, it is hard. Third, since Skolelinux is a standard
18778 platform, it is way easier to educate other IT people and even if the
18779 head IT is sick another one could pick up the task without too much
18780 hassle.&lt;/p&gt;
18781
18782 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux/Debian
18783 Edu?&lt;/strong&gt;&lt;/p&gt;
18784
18785 &lt;p&gt;The only real problem I see is that it is a little too less
18786 flexible at client level. Debian stable is rocky and desirable, but
18787 there are many reasons that force for another choice. For example the
18788 need of new drivers for new PC, or the need for a specific OS for some
18789 devices that have specific software packages for another specific
18790 distribution (I have such a case for whiteboards that have only
18791 Ubuntu packages). Thus, I prepared compatibility packages educlient
18792 and eduroaming, hoping not to use them ;-)&lt;/p&gt;
18793
18794 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
18795
18796 &lt;p&gt;I have a Debian Stable PDC at school (Kerberos, NIS, NFS) with
18797 mixed Debian and Ubuntu clients. If you think that this triad
18798 combination is exotic... well I discovered right yesterday that
18799 &lt;a href=&quot;http://moo.nac.uci.edu/~hjm/Perceus-Report.html&quot;&gt;Perceus&lt;/a&gt;
18800 has the same...&lt;/p&gt;
18801
18802 &lt;p&gt;For myself I run Debian wheezy/sid, but this combination is good
18803 only I you have enough competence to fix stuff for yourself, if
18804 something breaks. Daily I use texmacs, gnumeric, a little bit of R
18805 statistics, kmplot, and less frequently OpenOffice.org.&lt;/p&gt;
18806
18807 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
18808 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
18809
18810 &lt;P&gt;I think that the only real argument that school managers &quot;hear&quot; is
18811 cost reduction. They don&#39;t give too much weight on quality, stability,
18812 just because they are normally not open to change.&lt;/p&gt;
18813
18814 &lt;p&gt;Students adapts very quickly to GNU/Linux (and for them being able
18815 to switch between different OS is a plus value); teachers and managers
18816 don&#39;t.&lt;/p&gt;
18817
18818 &lt;p&gt;We decided to move to Linux because students at our school have own
18819 laptop and we have the responsibility to keep the laptop ready to use;
18820 we were really unsatisfied with Microsoft since every Monday we had 20
18821 machine to fix for viral infections... With Linux this has been
18822 reduced to zero, since people installs almost only from official
18823 repositories. I think that our special needs brought us to Linux.
18824 Those who don&#39;t have such needs will hardly move to Linux.&lt;/p&gt;
18825 </description>
18826 </item>
18827
18828 <item>
18829 <title>IETF activity to standardise video codec</title>
18830 <link>http://people.skolelinux.org/pere/blog/IETF_activity_to_standardise_video_codec.html</link>
18831 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/IETF_activity_to_standardise_video_codec.html</guid>
18832 <pubDate>Sat, 15 Sep 2012 20:00:00 +0200</pubDate>
18833 <description>&lt;p&gt;After the
18834 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/IETF_standardize_its_first_multimedia_codec__Opus.html&quot;&gt;Opus
18835 codec made&lt;/a&gt; it into &lt;a href=&quot;http://www.ietf.org/&quot;&gt;IETF&lt;/a&gt; as
18836 &lt;a href=&quot;http://tools.ietf.org/html/rfc6716&quot;&gt;RFC 6716&lt;/a&gt;, I had a look
18837 to see if there is any activity in IETF to standardise a video codec
18838 too, and I was happy to discover that there is some activity in this
18839 area. A non-&quot;working group&quot; mailing list
18840 &lt;a href=&quot;https://www.ietf.org/mailman/listinfo/video-codec&quot;&gt;video-codec&lt;/a&gt;
18841 was
18842 &lt;a href=&quot;http://ietf.10.n7.nabble.com/New-Non-WG-Mailing-List-video-codec-Video-codec-BoF-discussion-list-td119548.html&quot;&gt;created 2012-08-20&lt;/a&gt;. It is intended to discuss the topic and if a
18843 formal working group should be formed.&lt;/p&gt;
18844
18845 &lt;p&gt;I look forward to see how this plays out. There is already
18846 &lt;a href=&quot;http://www.ietf.org/mail-archive/web/video-codec/current/msg00003.html&quot;&gt;an
18847 email from someone&lt;/a&gt; in the MPEG group at ISO asking people to
18848 participate in the ISO group. Given how ISO failed with OOXML and given
18849 that it so far (as far as I can remember) only have produced
18850 multimedia formats requiring royalty payments, I suspect
18851 joining the ISO group would be a complete waste of time, but I am not
18852 involved in any codec work and my opinion will not matter much.&lt;/p&gt;
18853
18854 &lt;p&gt;If one of my readers is involved with codec work, I hope she will
18855 join this work to standardise a royalty free video codec within
18856 IETF.&lt;/p&gt;
18857 </description>
18858 </item>
18859
18860 <item>
18861 <title>IETF standardize its first multimedia codec: Opus</title>
18862 <link>http://people.skolelinux.org/pere/blog/IETF_standardize_its_first_multimedia_codec__Opus.html</link>
18863 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/IETF_standardize_its_first_multimedia_codec__Opus.html</guid>
18864 <pubDate>Wed, 12 Sep 2012 13:50:00 +0200</pubDate>
18865 <description>&lt;p&gt;Yesterday, &lt;a href=&quot;http://www.ietf.org/&quot;&gt;IETF&lt;/a&gt; announced the
18866 publication of of
18867 &lt;a href=&quot;http://tools.ietf.org/html/rfc6716&quot;&gt;RFC 6716, the Definition
18868 of the Opus Audio Codec&lt;/a&gt;, a low latency, variable bandwidth, codec
18869 intended for both VoIP, film and music. This is the first time, as
18870 far as I know, that IETF have standardized a multimedia codec. In
18871 &lt;a href=&quot;http://tools.ietf.org/html/rfc3533&quot;&gt;RFC 3533&lt;/a&gt;, IETF
18872 standardized the OGG container format, and it has proven to be a great
18873 royalty free container for audio, video and movies. I hope IETF will
18874 continue to standardize more royalty free codeces, after ISO and MPEG
18875 have proven incapable of securing everyone equal rights to publish
18876 multimedia content on the Internet.&lt;/p&gt;
18877
18878 &lt;p&gt;IETF require two interoperating independent implementations to
18879 ratify a standard, and have so far ensured to only standardize royalty
18880 free specifications. Both are key factors to allow everyone (rich and
18881 poor), to compete on equal terms on the Internet.&lt;/p&gt;
18882
18883 &lt;p&gt;Visit the &lt;a href=&quot;http://opus-codec.org/&quot;&gt;Opus project page&lt;/a&gt; if
18884 you want to learn more about the solution.&lt;/p&gt;
18885 </description>
18886 </item>
18887
18888 <item>
18889 <title>Git repository for song book for Computer Scientists</title>
18890 <link>http://people.skolelinux.org/pere/blog/Git_repository_for_song_book_for_Computer_Scientists.html</link>
18891 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Git_repository_for_song_book_for_Computer_Scientists.html</guid>
18892 <pubDate>Fri, 7 Sep 2012 13:50:00 +0200</pubDate>
18893 <description>&lt;p&gt;As I
18894 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Song_book_for_Computer_Scientists.html&quot;&gt;mentioned
18895 this summer&lt;/a&gt;, I have created a Computer Science song book a few
18896 years ago, and today I finally found time to create a public
18897 &lt;a href=&quot;https://gitorious.org/pere-cs-songbook/pere-cs-songbook&quot;&gt;Gitorious
18898 repository for the project&lt;/a&gt;.&lt;/p&gt;
18899
18900 &lt;p&gt;If you want to help out, please clone the source and submit patches
18901 to the HTML version. To generate the PDF and PostScript version,
18902 please use prince XML, or let me know about a useful free software
18903 processor capable of creating a good looking PDF from the HTML.&lt;/p&gt;
18904
18905 &lt;p&gt;Want to sing? You can still find the song book in HTML, PDF and
18906 PostScript formats at
18907 &lt;a href=&quot;http://www.hungry.com/~pere/cs-songbook/&quot;&gt;Petter&#39;s Computer
18908 Science Songbook&lt;/a&gt;.&lt;/p&gt;
18909 </description>
18910 </item>
18911
18912 <item>
18913 <title>Free software forced Microsoft to open Office (and don&#39;t forget Officeshots)</title>
18914 <link>http://people.skolelinux.org/pere/blog/Free_software_forced_Microsoft_to_open_Office__and_don_t_forget_Officeshots_.html</link>
18915 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Free_software_forced_Microsoft_to_open_Office__and_don_t_forget_Officeshots_.html</guid>
18916 <pubDate>Thu, 23 Aug 2012 14:20:00 +0200</pubDate>
18917 <description>&lt;p&gt;I came across a great comment from Simon Phipps today, about how
18918 &lt;a href=&quot;http://www.infoworld.com/d/open-source-software/how-microsoft-was-forced-open-office-200233&quot;&gt;Microsoft
18919 have been forced to open Office&lt;/a&gt;, and it made me remember and
18920 revisit the great site
18921 &lt;a href=&quot;http://www.officeshots.org/&quot;&gt;officeshots&lt;/a&gt; which allow you
18922 to check out how different programs present the ODF file format. I
18923 recommend both to those of my readers interested in ODF. :)&lt;/p&gt;
18924 </description>
18925 </item>
18926
18927 <item>
18928 <title>Half way there with translated docbook version of Free Culture</title>
18929 <link>http://people.skolelinux.org/pere/blog/Half_way_there_with_translated_docbook_version_of_Free_Culture.html</link>
18930 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Half_way_there_with_translated_docbook_version_of_Free_Culture.html</guid>
18931 <pubDate>Fri, 17 Aug 2012 21:50:00 +0200</pubDate>
18932 <description>&lt;p&gt;In my spare time, I currently work on a Norwegian
18933 &lt;a href=&quot;http://www.docbook.org/&quot;&gt;docbook&lt;/a&gt; version of the 2004 book
18934 &lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free Culture&lt;/a&gt; by Lawrence Lessig,
18935 to get a Norwegian text explaining the problems with the copyright law
18936 I can give to my parents and others that are reluctant to read an
18937 English book. It is a marvellous set of examples on how the ever
18938 expanding copyright regulations hurt culture and society. When the
18939 translation is done, I hope to find funding to print and ship a copy
18940 to all the members of the Norwegian parliament, before they sit down
18941 to debate the latest revisions to the Norwegian copyright law. This
18942 summer I
18943 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Dugnad_for___sende_norsk_versjon_av_Free_Culture_til_stortingets_representanter_.html&quot;&gt;called
18944 for volunteers&lt;/a&gt; to help me, and I have been able to secure the
18945 valuable contribution from at least one other Norwegian.&lt;/p&gt;
18946
18947 &lt;p&gt;Two days ago, we finally broke the 50% mark. Then more than 50% of
18948 the number of strings to translate (normally paragraphs, but also
18949 titles and index entries are also counted). All parts from the
18950 beginning up to and including chapter four is translated. So is
18951 chapters six, seven and the conclusion. I created a graph to show the
18952 progress:&lt;/p&gt;
18953
18954 &lt;img width=&quot;80%&quot; align=&quot;center&quot; src=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/raw/master/progress.png&quot;&gt;
18955
18956 &lt;p&gt;The number of strings to translate increase as I insert the index
18957 entries into the docbook. They were missing with the docbook version
18958 I initially started with. There are still quite a few index entries
18959 missing, but everyone starting with A, B, O, Z and Y are done. I
18960 currently focus on completing the index entries, to get a complete
18961 english version of the docbook source.&lt;/p&gt;
18962
18963 &lt;p&gt;There is still need for translators and people with docbook
18964 knowledge, to be able to get a good looking book (I still struggle
18965 with dblatex, xmlto and docbook-xsl) as well as to do the draft
18966 translation and proof reading. And I would like the figures to be
18967 redrawn as SVGs to make it easy to translate them. Any SVG master
18968 around? I am sure there are some legal terms that are unfamiliar to
18969 me. If you want to help, please get in touch, and check out the
18970 project files currently available from &lt;a
18971 href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;github&lt;/a&gt;.&lt;/p&gt;
18972
18973 &lt;p&gt;If you are curious what the translated book currently look like,
18974 the updated
18975 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/blob/master/archive/freeculture.nb.pdf?raw=true&quot;&gt;PDF&lt;/a&gt;
18976 and
18977 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig/blob/master/archive/freeculture.nb.epub?raw=true&quot;&gt;EPUB&lt;/a&gt;
18978 are published on github. The HTML version is published as well, but
18979 github hand it out with MIME type text/plain, confusing browsers, so I
18980 saw no point in linking to that version.&lt;/p&gt;
18981 </description>
18982 </item>
18983
18984 <item>
18985 <title>Notes on language codes for Norwegian docbook processing...</title>
18986 <link>http://people.skolelinux.org/pere/blog/Notes_on_language_codes_for_Norwegian_docbook_processing___.html</link>
18987 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Notes_on_language_codes_for_Norwegian_docbook_processing___.html</guid>
18988 <pubDate>Fri, 10 Aug 2012 21:00:00 +0200</pubDate>
18989 <description>&lt;p&gt;In &lt;a href=&quot;http://www.docbook.org/&quot;&gt;docbook&lt;/a&gt; one can specify
18990 the language used at the top, and the processing pipeline will use
18991 this information to pick the correct translations for &#39;chapter&#39;, &#39;see
18992 also&#39;, &#39;index&#39; etc. And for most languages used with docbook, I guess
18993 this work just fine. For example a German user can start the document
18994 with &amp;lt;book lang=&quot;de&quot;&amp;gt;, and the document will show up with the
18995 correct content with any of the docbook processors. This is not the
18996 case for the language
18997 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Free_Culture_in_Norwegian___5_chapters_done__74_percent_left_to_do.html&quot;&gt;I
18998 am working with at the moment&lt;/a&gt;, Norwegian Bokmål.&lt;/p&gt;
18999
19000 &lt;p&gt;For a while, I was confused about which language code to use,
19001 because I was unable to find any language code that would work across
19002 all tools. I am currently testing dblatex, xmlto, docbook-xsl, and
19003 dbtoepub, and they do not handle Norwegian Bokmål the same way. Some
19004 of them do not handle it at all.&lt;/p&gt;
19005
19006 &lt;p&gt;A bit of background information is probably needed to understand
19007 this mess. Norwegian is not one, but two written variants. The
19008 variants are Norwegian Nynorsk and Norwegian Bokmål. There are three
19009 two letter language codes associated with these languages, Norwegian
19010 is &#39;no&#39;, Norwegian Nynorsk is &#39;nn&#39; and Norwegian Bokmål is &#39;nb&#39;.
19011 Historically the &#39;no&#39; language code was used for Norwegian Bokmål, but
19012 many years ago this was found to be å bad idea, and the recommendation
19013 is to use the most specific language code instead, to avoid confusion.
19014 In the transition period it is a good idea to make sure &#39;no&#39; was an
19015 alias for &#39;nb&#39;.&lt;/p&gt;
19016
19017 &lt;p&gt;Back to docbook processing tools in Debian. The dblatex tool only
19018 understand &#39;nn&#39;. There are translations for &#39;no&#39;, but not &#39;nb&#39; (BTS
19019 &lt;a href=&quot;http://bugs.debian.org/684391&quot;&gt;#684391&lt;/a&gt;), but due to a bug
19020 (BTS &lt;a href=&quot;http://bugs.debian.org/682936&quot;&gt;#682936&lt;/a&gt;) the &#39;no&#39;
19021 language code is not recognised. The docbook-xsl tool chain only
19022 recognise &#39;nn&#39; and &#39;nb&#39;, but not &#39;no&#39;. The xmlto tool only recognise
19023 &#39;nn&#39; and &#39;nb&#39;, but not &#39;no&#39;. The end result that there is no language
19024 code I can use to get the docbook file working with all of these tools
19025 at the same time. :(&lt;/p&gt;
19026
19027 &lt;p&gt;The correct solution is to use &amp;lt;book lang=&quot;nb&quot;&amp;gt;, but it will
19028 take time before that will work with all the free software docbook
19029 processors. :(&lt;/p&gt;
19030
19031 &lt;p&gt;Oh, the joy of well integrated tools. :/&lt;/p&gt;
19032 </description>
19033 </item>
19034
19035 <item>
19036 <title>Best way to create a docbook book?</title>
19037 <link>http://people.skolelinux.org/pere/blog/Best_way_to_create_a_docbook_book_.html</link>
19038 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Best_way_to_create_a_docbook_book_.html</guid>
19039 <pubDate>Tue, 31 Jul 2012 22:00:00 +0200</pubDate>
19040 <description>&lt;p&gt;I tried to send this text to the
19041 &lt;a href=&quot;https://lists.oasis-open.org/archives/docbook-apps/&quot;&gt;docbook-apps
19042 mailing list at lists.oasis-open.org&lt;/a&gt;, but it only accept messages
19043 from subscribers and rejected my post, and I completely lack the
19044 bandwidth required to subscribe to another mailing list, so instead I
19045 try to post my message here and hope my blog readers can help me
19046 out.&lt;/p&gt;
19047
19048 &lt;p&gt;I am quite new to docbook processing, and am climbing a steep
19049 learning curve at the moment.&lt;/p&gt;
19050
19051 &lt;p&gt;To give you some background, I am working on a Norwegian
19052 translation of the book Free Culture by Lawrence Lessig, and I use
19053 docbook to handle the process. The files to build the book are
19054 available from
19055 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;github&lt;/a&gt;.
19056 The book got around 400 pages with parts, images, footnotes, tables,
19057 index entries etc, which has proven to be a challenge for the free
19058 software docbook processors. My build platform is Debian GNU/Linux
19059 Squeeze.&lt;/p&gt;
19060
19061 &lt;p&gt;I want to build PDF, EPUB and HTML version of the book, and have
19062 tried different tool chains to do the conversion from docbook to these
19063 formats. I am currently focusing on the PDF version, and have a few
19064 problems.&lt;/p&gt;
19065
19066 &lt;ul&gt;
19067
19068 &lt;li&gt;Using dblatex, the &amp;lt;part&amp;gt; handling is not the way I want to,
19069 as &amp;lt;/part&amp;gt; do not really end the &amp;lt;part&amp;gt;. (See
19070 &lt;a href=&quot;http://bugs.debian.org/683166&quot;&gt;BTS report #683166&lt;/a&gt;), the
19071 xetex backend (needed to process UTF-8) give incorrect hyphens in
19072 index references spanning several pages (See
19073 &lt;a href=&quot;http://bugs.debian.org/682901&quot;&gt;BTS report #682901&lt;/a&gt;), and
19074 I am unable to get the norwegian template texts (See
19075 &lt;a href=&quot;http://bugs.debian.org/682936&quot;&gt;BTS report #682936&lt;/a&gt;).&lt;/li&gt;
19076
19077 &lt;li&gt;Using straight xmlto fail with some latex error (See
19078 &lt;a href=&quot;http://bugs.debian.org/683163&quot;&gt;BTS report
19079 #683163&lt;/a&gt;).&lt;/li&gt;
19080
19081 &lt;li&gt;Using xmlto with the fop backend fail to handle images (do not
19082 show up in the PDF), fail to handle a long footnote (overlap
19083 footnote and text body, see
19084 &lt;a href=&quot;http://bugs.debian.org/683197&quot;&gt;BTS report #683197&lt;/a&gt;), and
19085 fail to create a correct index (some lack page ref, and the page
19086 refs listed are not right).&lt;/li&gt;
19087
19088 &lt;li&gt;Using xmlto with the dblatex backend behave like dblatex.&lt;/li&gt;
19089
19090 &lt;li&gt;Using docbook-xls with xsltproc + fop have the same footnote and
19091 index problems the xmlto + fop processing.&lt;/li&gt;
19092
19093 &lt;/ul&gt;
19094
19095 &lt;p&gt;So I wonder, what would be the best way to create the PDF version
19096 of this book? Are some of the bugs found above solved in new or
19097 experimental versions of some docbook tool chain?&lt;/p&gt;
19098
19099 &lt;p&gt;What about HTML and EPUB versions?&lt;/p&gt;
19100 </description>
19101 </item>
19102
19103 <item>
19104 <title>Free Culture in Norwegian - 5 chapters done, 74 percent left to do</title>
19105 <link>http://people.skolelinux.org/pere/blog/Free_Culture_in_Norwegian___5_chapters_done__74_percent_left_to_do.html</link>
19106 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Free_Culture_in_Norwegian___5_chapters_done__74_percent_left_to_do.html</guid>
19107 <pubDate>Sat, 21 Jul 2012 20:00:00 +0200</pubDate>
19108 <description>&lt;p&gt;I reported earlier that I am working on
19109 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Dugnad_for___sende_norsk_versjon_av_Free_Culture_til_stortingets_representanter_.html&quot;&gt;a
19110 norwegian version&lt;/a&gt; of the book
19111 &lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free Culture&lt;/a&gt; by Lawrence Lessig.
19112 Progress is good, and yesterday I got a major contribution from Anders
19113 Hagen Jarmund completing chapter six. The source files as well as a
19114 PDF and EPUB version of this book are available from
19115 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;github&lt;/a&gt;.&lt;/p&gt;
19116
19117 &lt;p&gt;I am happy to report that the draft for the first two chapters
19118 (preface, introduction) is complete, and three other chapters are also
19119 completely translated. This completes 26 percent of the number of
19120 strings (equivalent to paragraphs) in the book, and there is thus 74
19121 percent left to translate. A graph of the progress is present at the
19122 bottom of the github project page. There is still room for more
19123 contributors. Get in touch or send github pull requests with fixes if
19124 you got time and are willing to help make this book make it to
19125 print. :)&lt;/p&gt;
19126
19127 &lt;p&gt;The book translation framework could also be a good basis for other
19128 translations, if you want the book to be available in your
19129 language.&lt;/p&gt;
19130 </description>
19131 </item>
19132
19133 <item>
19134 <title>Call for help from docbook expert to tag Free Culture by Lawrence Lessig</title>
19135 <link>http://people.skolelinux.org/pere/blog/Call_for_help_from_docbook_expert_to_tag_Free_Culture_by_Lawrence_Lessig.html</link>
19136 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Call_for_help_from_docbook_expert_to_tag_Free_Culture_by_Lawrence_Lessig.html</guid>
19137 <pubDate>Mon, 16 Jul 2012 22:50:00 +0200</pubDate>
19138 <description>&lt;p&gt;I am currently working on a
19139 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Dugnad_for___sende_norsk_versjon_av_Free_Culture_til_stortingets_representanter_.html&quot;&gt;project
19140 to translate&lt;/a&gt; the book
19141 &lt;a href=&quot;http://free-culture.cc/&quot;&gt;Free Culture&lt;/a&gt; by Lawrence Lessig
19142 to Norwegian. And the source we base our translation on is the
19143 &lt;a href=&quot;http://en.wikipedia.org/wiki/DocBook&quot;&gt;docbook&lt;/a&gt; version, to
19144 allow us to use po4a and .po files to handle the translation, and for
19145 this to work well the docbook source document need to be properly
19146 tagged. The source files of this project is available from
19147 &lt;a href=&quot;https://github.com/petterreinholdtsen/free-culture-lessig&quot;&gt;github&lt;/a&gt;.&lt;/p&gt;
19148
19149 &lt;p&gt;The problem is that the docbook source have flaws, and we have
19150 no-one involved in the project that is a docbook expert. Is there a
19151 docbook expert somewhere that is interested in helping us create a
19152 well tagged docbook version of the book, and adjust our build process
19153 for the PDF, EPUB and HTML version of the book? This will provide a
19154 well tagged English version (our source document), and make it a lot
19155 easier for us to create a good Norwegian version. If you can and want
19156 to help, please get in touch with me or fork the github project and
19157 send pull requests with fixes. :)&lt;/p&gt;
19158 </description>
19159 </item>
19160
19161 <item>
19162 <title>Debian Edu interview: George Bredberg</title>
19163 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__George_Bredberg.html</link>
19164 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__George_Bredberg.html</guid>
19165 <pubDate>Mon, 9 Jul 2012 00:30:00 +0200</pubDate>
19166 <description>&lt;p&gt;The &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu /
19167 Skolelinux&lt;/a&gt; project have users all over the globe, but until
19168 recently we have not known about any users in Norway&#39;s neighbour
19169 country Sweden. This changed when George Bredberg showed up in March
19170 this year on the mailing list, asking interesting questions about how
19171 to adjust and scale the just released
19172 &lt;a href=&quot;http://www.debian.org/News/2012/20120311.html&quot;&gt;Debian Edu
19173 Wheezy&lt;/a&gt; setup to his liking. He granted me an interview, and I am
19174 happy to share his answers with you here.&lt;/p&gt;
19175
19176 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
19177
19178 &lt;p&gt;I&#39;m a 44 year old country guy that have been working 12 years at
19179 the same school as 50% IT-manager and 50% Teacher. My educational
19180 background is fil.kand in history and religious beliefs, an exam as a
19181 &quot;folkhighschool&quot; teacher, that is, for teaching grownups. In
19182 Norwegian I believe it&#39;s called &quot;Vuxenupplaring&quot;. I also have a master
19183 in &quot;Technology and social change&quot;. So I&#39;m not really a tech guy, I
19184 just like to study how humans and technology interact and that is my
19185 perspective when working with IT.&lt;/p&gt;
19186
19187 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux/Debian Edu
19188 project?&lt;/strong&gt;&lt;/p&gt;
19189
19190 I have followed the Skolelinux project for quite some time by
19191 now. Earlier I tested out the K12-LTSP project, which we used for some
19192 time, but I really like the idea of having a distribution aimed to be
19193 a complete solution for schools with necessary tools integrated. When
19194 K12-LTSP abandoned that idea some years ago, I started to look more
19195 seriously into Skolelinux instead.
19196
19197 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux/Debian
19198 Edu?&lt;/strong&gt;&lt;/p&gt;
19199
19200 The big point of Skolelinux to me is that it is a complete
19201 distribution, ready to install. It has LDAP-support, MS Windows
19202 integration tools and so forth already configured, saving an
19203 administrator a lot of time and headache. We were using another Linux
19204 based thin-client system called Thinlinc, that has served us very
19205 well. But that Skolelinux is based on VNC and LTSP, to me, is better
19206 when it comes to the kind of multimedia used in schools. That is
19207 showing videos from Youtube or educational TV. It is also easier to
19208 mix thin clients with workstations, since the user settings will be the
19209 same. In our VNC-based solution you had to &quot;beat around the bush&quot; by
19210 setting up a second, hidden, home-directory for user settings for the
19211 workstations, because they will be different from the ones used on the
19212 thin clients. Skolelinux support for diskless workstations are very
19213 convenient since a school today often need to use a class room
19214 projector showing videos in full screen. That is easily done with a
19215 small integrated media computer running as a diskless workstation. You
19216 have only two installs to update and configure. One for the thin
19217 clients and one for the workstations. Also saving a lot of time. Our
19218 old system was also based on Redhat and CentOS. They are both very
19219 nice distributions, but they are sometimes painfully slow when it
19220 comes to updating multimedia support and multimedia programs (even
19221 such as Gimp), leaving us with a bit &quot;oldish&quot; applications. Debian is
19222 quicker to update.
19223
19224 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux/Debian
19225 Edu?&lt;/strong&gt;&lt;/p&gt;
19226
19227 &lt;p&gt;Debian is a bit too quick when it comes to updating. As an example
19228 we use old HP terminals as thinclients, and two times already this
19229 year (2012) the updates you get from the repositories has stopped
19230 sound from working with them. It&#39;s a kernel/ALSA issue. So you have
19231 to be more careful properly testing the updates before you run them in
19232 a production environment. This has never happened with CentOS.&lt;/p&gt;
19233
19234 &lt;p&gt;I also would like to be able to set my own domain-settings at
19235 install time. In Skolelinux they are kind of hard coded into the
19236 distribution, when it comes to LDAP and at least samba integration.
19237 That is more a cosmetic/translation issue, and not a real problem.
19238 Running MS Windows applications within the Skolelinux environment needs
19239 to be better supported. That is, running them seamlessly via RDP, and
19240 support for single-sign on. That will make the transition to free
19241 software easier, because you can keep the applications you really
19242 need. No support will make it impossible if you work in a school where
19243 some applications can&#39;t be open source. As for us we really need to
19244 run Adobe InDesign in our journalist classes. We run a journalist
19245 education, and is one of the very few non university ones that is ok:d
19246 by Svenska journalistförbundet (Swedish journalist association). Our
19247 education gives the pupils the right of membership there, once they
19248 are done. This is important if you want to get a job.&lt;/p&gt;
19249
19250 &lt;p&gt;Adobe InDesign is the program most commonly used in newspapers and
19251 magazines. We used Quark Express before, but they seem to loose there
19252 market to Adobe. The only &quot;equivalent&quot; to InDesign in the opensource
19253 world is Scribus, and its not advanced enough. At least not according
19254 to the teacher. I think it would be possible to use it, because they
19255 are not supposed to learn a program, they are supposed to learn how to
19256 edit and compile a newspaper. But politically at our school we are not
19257 there yet. And Scribus lacks a lot of things you find i InDesign.&lt;/p&gt;
19258
19259 &lt;p&gt;We used even a windows program for sound editing when it comes to
19260 the radio-journalist part. The year to come we are going to try
19261 Audacity. That software has the same kind of limitations compared to
19262 Adobe Audition, but that teacher is a bit more open minded. We have
19263 tried Ardour also, but that instead is more like a music studio
19264 program, not intended for the kind of editing taking place in a radio
19265 studio. Its way to complex and the GUI is to scattered when you only
19266 want to cut, make pass-overs, add extra channels and normalise. Those
19267 things you can do in Audacity, but its not as easy as in Audition. You
19268 have to do more things manually with envelopes, and that is a bit old
19269 fashion and timewasting. Its also harder to cut and move sound from
19270 one channel to another, which is a thing that you do frequently
19271 because you often find yourself needing to rearrange parts of the
19272 sound file.&lt;/p&gt;
19273
19274 &lt;p&gt;So, I am not sure we will succeed in replacing even Audition, but we
19275 will try. The problem is the students have certain expectations when
19276 they start an education towards a profession. So the programs has to
19277 look and feel professional. Good thing with radio, there are many
19278 programs out there, that radio studios use, so its not as standardised
19279 as Newspaper editing. That means, it does not really matter what
19280 program they learn, because once they start working they still have to
19281 learn the program the studio uses, so instead focus has to be to learn
19282 the editing part without to much focus on a specific software.&lt;/p&gt;
19283
19284 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
19285
19286 &lt;p&gt;Myself I&#39;m running Linux Mint, or Ubuntu these days. I use almost
19287 only open source software, and preferably Linux based. When it comes
19288 to most used applications its OpenOffice, and Firefox (of course ;)
19289 )&lt;/p&gt;
19290
19291 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
19292 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
19293
19294 &lt;p&gt;To get schools to use free software there has to be good open
19295 source software that are windows based, to ease the transition. But
19296 it&#39;s also very important that the multimedia support is working
19297 flawlessly. The problems with Youtube, Twitter, Facebook and whatever
19298 will create problems when it comes to both teachers and
19299 students. Economy are also important for schools, so using thin
19300 clients, as long as they have good multimedia support, is a very good
19301 idea. It&#39;s also important that the open source software works even for
19302 the administration. It&#39;s hard to convince the teachers to stick with
19303 open source, if the principal has to run Windows. It also creates a
19304 problem if some classes has to use Windows for there tasks, since that
19305 will create a difference in &quot;status&quot; between classes, so a good
19306 support for running windows applications via the thin client (Linux)
19307 desktop is essential. At least at our school, where we have mixed
19308 level of educations, from high-school to journalist-school.&lt;/p&gt;
19309
19310 &lt;p&gt;Update 2012-07-09 08:30: Paul Wise tipped me on IRC about three
19311 useful sources related to Free Software for radio stations: the LWN
19312 article &lt;a href=&quot;https://lwn.net/Articles/481607/&quot;&gt;Radio station
19313 management with Airtime&lt;/a&gt;,
19314 &lt;a href=&quot;http://www.sourcefabric.org/en/airtime/&quot;&gt;Airtime&lt;/a&gt; which
19315 claim to be a Free open source radio automation software and
19316 &lt;a href=&quot;http://www.rivendellaudio.org/&quot;&gt;Rivendell&lt;/a&gt; which claim to
19317 be complete radio broadcast automation solution. All of them seem
19318 useful to the aspiring radio producer.&lt;/p&gt;
19319 </description>
19320 </item>
19321
19322 <item>
19323 <title>Why do schools waste money on IT?</title>
19324 <link>http://people.skolelinux.org/pere/blog/Why_do_schools_waste_money_on_IT_.html</link>
19325 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Why_do_schools_waste_money_on_IT_.html</guid>
19326 <pubDate>Sun, 8 Jul 2012 09:40:00 +0200</pubDate>
19327 <description>&lt;p&gt;In the Debian Edu / Skolelinux project, we have realised that one
19328 of the major blockers for the project success is the purchasing skills
19329 in schools and municipalities. We provide what the happy users of
19330 Debian Edu / Skolelinux say they need and to a lower cost than the
19331 alternatives, and yet so few schools decide to use our solution. I
19332 was pleased to discover the same observation done by mySociety and Tom
19333 Steinberg in his blog post
19334 &quot;&lt;a href=&quot;http://www.mysociety.org/2012/06/19/can-you-recognize-the-million-pound-chair/&quot;&gt;Can
19335 you recognize the million pound chair?&lt;/a&gt;&quot;. Read it and weep for the
19336 spending of your tax money.&lt;/p&gt;
19337
19338 &lt;p&gt;Of course there are other factors involved as well, like our
19339 projects bad marketing skills and the Linux community fragmentation
19340 causing worry with the people on the outside, so we as a project need
19341 to keep working hard to gain users, but it is a up-hill battle when
19342 public decision makers are unable to understand computer system
19343 purchases.&lt;/p&gt;
19344 </description>
19345 </item>
19346
19347 <item>
19348 <title>Free Timetabling Software - nice free software</title>
19349 <link>http://people.skolelinux.org/pere/blog/Free_Timetabling_Software___nice_free_software.html</link>
19350 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Free_Timetabling_Software___nice_free_software.html</guid>
19351 <pubDate>Sat, 7 Jul 2012 09:50:00 +0200</pubDate>
19352 <description>&lt;p&gt;Included in &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu /
19353 Skolelinux&lt;/a&gt; is a large collection of end user and school specific
19354 software. It is one of the packages not installed by default but
19355 provided in the Debian archive for schools to install if they want to,
19356 is a system to automatically plan the school time table using
19357 information about available teachers, classes and rooms, combined with
19358 the list of required courses and how many hours each topic should
19359 receive. The software is
19360
19361 &lt;a href=&quot;http://lalescu.ro/liviu/fet/&quot;&gt;named FET&lt;/a&gt;, and it provide a
19362 graphical user interface to input the required information, save the
19363 result in a fairly simple XML format, and generate time tables for
19364 both teachers and students. It is available both for
19365 &lt;a href=&quot;http://lalescu.ro/liviu/fet/download.html&quot;&gt;Linux, MacOSX and
19366 Windows&lt;/a&gt;.&lt;/p&gt;
19367
19368 &lt;p&gt;This is &lt;a href=&quot;http://lalescu.ro/liviu/fet/features.html&quot;&gt;the
19369 feature list&lt;/a&gt;, liftet from the project web site:&lt;/p&gt;
19370
19371 &lt;p&gt;&lt;ul&gt;
19372
19373 &lt;li&gt;FET is free software, licensed under the GNU GPL v2 or later.
19374 You can freely use, copy, modify and redistribute it &lt;/li&gt;
19375
19376 &lt;li&gt;Localized to en_US (US English, default), ar (Arabic), ca
19377 (Catalan), da (Danish), de (German), el (Greek), es (Spanish), fa
19378 (Persian), fr (French), gl (Galician), he (Hebrew), hu
19379 (Hungarian), id (Indonesian), it (Italian), lt (Lithuanian), mk
19380 (Macedonian), ms (Malay), nl (Dutch), pl (Polish), pt_BR
19381 (Brazilian Portuguese), ro (Romanian), ru (Russian), si (Sinhala),
19382 sk (Slovak), sr (Serbian), tr (Turkish), uk (Ukrainian), uz
19383 (Uzbek) and vi (Vietnamese) (incompletely for some languages)
19384 &lt;/li&gt;
19385
19386 &lt;li&gt;Fully automatic generation algorithm, allowing also
19387 semi-automatic or manual allocation&lt;/li&gt;
19388
19389 &lt;li&gt;Platform independent implementation, allowing running on
19390 GNU/Linux, Windows, Mac and any system that Qt supports &lt;/li&gt;
19391
19392 &lt;li&gt;Flexible modular XML format for the input file, allowing editing
19393 with an XML editor or by hand (besides FET interface)&lt;/li&gt;
19394
19395 &lt;li&gt;Import/export from CSV format&lt;/li&gt;
19396
19397 &lt;li&gt;The resulted timetables are exported into HTML, XML and CSV
19398 formats &lt;/li&gt;
19399
19400 &lt;li&gt;Flexible students structure, organized into sets: years, groups
19401 and subgroups. FET allows overlapping years and groups and
19402 non-overlapping subgroups. You can even define individual students
19403 (as separate sets)&lt;/li&gt;
19404
19405 &lt;li&gt;Each constraint has a weight percentage, from 0.0% to 100.0%
19406 (but some special constraints are allowed to have only 100% weight
19407 percentage)&lt;/li&gt;
19408
19409 &lt;li&gt;Limits for the algorithm (all these limits can be increased on
19410 demand, as a custom version, because this would require a bit more
19411 memory):
19412 &lt;ul&gt;
19413 &lt;li&gt;Maximum total number of hours (periods) per day: 60&lt;/li&gt;
19414 &lt;li&gt;Maximum number of working days per week: 35&lt;/li&gt;
19415 &lt;li&gt;Maximum total number of teachers: 6000&lt;/li&gt;
19416 &lt;li&gt;Maximum total number of sets of students: 30000&lt;/li&gt;
19417 &lt;li&gt;Maximum total number of subjects: 6000&lt;/li&gt;
19418 &lt;li&gt;Virtually unlimited number of activity tags&lt;/li&gt;
19419 &lt;li&gt;Maximum number of activities: 30000&lt;/li&gt;
19420 &lt;li&gt;Maximum number of rooms: 6000&lt;/li&gt;
19421 &lt;li&gt;Maximum number of buildings: 6000&lt;/li&gt;
19422 &lt;li&gt;Possibility of adding multiple teachers and
19423 students sets for each activity. (it is possible
19424 also to have no teachers or no students sets for an
19425 activity)&lt;/li&gt;
19426 &lt;li&gt;Virtually unlimited number of time constraints&lt;/li&gt;
19427 &lt;li&gt;Virtually unlimited number of space constraints&lt;/li&gt;
19428 &lt;/ul&gt;&lt;/li&gt;
19429
19430 &lt;li&gt;A large and flexible palette of time constraints:
19431 &lt;ul&gt;
19432 &lt;li&gt;Break periods&lt;/li&gt;
19433 &lt;li&gt;For teacher(s):
19434 &lt;ul&gt;
19435 &lt;li&gt;Not available periods&lt;/li&gt;
19436 &lt;li&gt;Max/min days per week&lt;/li&gt;
19437 &lt;li&gt;Max gaps per day/week&lt;/li&gt;
19438 &lt;li&gt;Max hours daily/continuously&lt;/li&gt;
19439 &lt;li&gt;Min hours daily&lt;/li&gt;
19440 &lt;li&gt;Max hours daily/continuously with an activity tag&lt;/li&gt;
19441
19442 &lt;li&gt;Respect working in an hourly interval a max number of
19443 days per week&lt;/li&gt;
19444 &lt;/ul&gt;&lt;/li&gt;
19445 &lt;li&gt;For students (sets):
19446 &lt;ul&gt;
19447 &lt;li&gt;Not available periods&lt;/li&gt;
19448 &lt;li&gt;Begins early (specify max allowed beginnings at second hour)&lt;/li&gt;
19449 &lt;li&gt;Max gaps per day/week&lt;/li&gt;
19450 &lt;li&gt;Max hours daily/continuously&lt;/li&gt;
19451 &lt;li&gt;Min hours daily&lt;/li&gt;
19452 &lt;li&gt;Max hours daily/continuously with an activity tag&lt;/li&gt;
19453
19454 &lt;li&gt;Respect working in an hourly interval a max number of
19455 days per week&lt;/li&gt;
19456 &lt;/ul&gt;&lt;/li&gt;
19457 &lt;li&gt;For an activity or a set of activities/subactivities:
19458 &lt;ul&gt;
19459 &lt;li&gt;A single preferred starting time&lt;/li&gt;
19460 &lt;li&gt;A set of preferred starting times&lt;/li&gt;
19461 &lt;li&gt;A set of preferred time slots&lt;/li&gt;
19462 &lt;li&gt;Min/max days between them&lt;/li&gt;
19463 &lt;li&gt;End(s) students day&lt;/li&gt;
19464 &lt;li&gt;Same starting time/day/hour&lt;/li&gt;
19465 &lt;li&gt;Occupy max time slots from selection (a complex and
19466 flexible constraint, useful in many situations)&lt;/li&gt;
19467 &lt;li&gt;Consecutive, ordered, grouped (for 2 or 3 (sub)activities)&lt;/li&gt;
19468 &lt;li&gt;Not overlapping&lt;/li&gt;
19469 &lt;li&gt;Max simultaneous in selected time slots&lt;/li&gt;
19470 &lt;li&gt;Min gaps between a set of (sub)activities&lt;/li&gt;
19471 &lt;/ul&gt;&lt;/li&gt;
19472 &lt;/ul&gt;&lt;/li&gt;
19473
19474 &lt;li&gt;A large and flexible palette of space constraints:
19475 &lt;ul&gt;
19476 &lt;li&gt;Room not available periods&lt;/li&gt;
19477 &lt;li&gt;For teacher(s):
19478 &lt;ul&gt;
19479 &lt;li&gt;Home room(s)&lt;/li&gt;
19480 &lt;li&gt;Max building changes per day/week&lt;/li&gt;
19481 &lt;li&gt;Min gaps between building changes&lt;/li&gt;
19482 &lt;/ul&gt;
19483 &lt;/li&gt;
19484
19485 &lt;li&gt;For students (sets):
19486 &lt;ul&gt;
19487 &lt;li&gt;Home room(s)&lt;/li&gt;
19488 &lt;li&gt;Max building changes per day/week&lt;/li&gt;
19489 &lt;li&gt;Min gaps between building changes&lt;/li&gt;
19490 &lt;/ul&gt;
19491 &lt;/li&gt;
19492 &lt;li&gt;Preferred room(s):
19493 &lt;ul&gt;
19494 &lt;li&gt;For a subject&lt;/li&gt;
19495 &lt;li&gt;For an activity tag&lt;/li&gt;
19496 &lt;li&gt;For a subject and an activity tag&lt;/li&gt;
19497 &lt;li&gt;Individually for a (sub)activity&lt;/li&gt;
19498 &lt;/ul&gt;
19499 &lt;/li&gt;
19500
19501 &lt;li&gt;For a set of activities:
19502 &lt;ul&gt;
19503 &lt;li&gt;Occupy a maximum number of different rooms&lt;/li&gt;
19504 &lt;/ul&gt;
19505 &lt;/li&gt;
19506 &lt;/ul&gt;
19507 &lt;/li&gt;
19508 &lt;/ul&gt;&lt;/p&gt;
19509
19510 &lt;p&gt;I have not used it myself, as I am not involved in time table
19511 planning at a school, but it seem to work fine when I test it. If you
19512 need to set up your schools time table, and is tired of doing it
19513 manually, check it out.
19514
19515 A quick summary on how to use it can be found in
19516 &lt;a href=&quot;http://marvelsoft.co.in/wp/2012/03/generate-timetable-for-state-cbse-icse-igcse-schools-free/&quot;&gt;a
19517 blog post from MarvelSoft&lt;/a&gt;. If you find FET useful, please provide
19518 a recipe for the Debian Edu project in the
19519 &lt;a href=&quot;http://wiki.debian.org/DebianEdu#Howtos&quot;&gt;Debian Edu HowTo
19520 section&lt;/a&gt;.&lt;/p&gt;
19521 </description>
19522 </item>
19523
19524 <item>
19525 <title>Can Zimbra be told to send autoreplies to the From: address?</title>
19526 <link>http://people.skolelinux.org/pere/blog/Can_Zimbra_be_told_to_send_autoreplies_to_the_From__address_.html</link>
19527 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Can_Zimbra_be_told_to_send_autoreplies_to_the_From__address_.html</guid>
19528 <pubDate>Tue, 3 Jul 2012 23:30:00 +0200</pubDate>
19529 <description>&lt;p&gt;In the NUUG &lt;a href=&quot;http://www.fiksgatami.no/&quot;&gt;FiksGataMi&lt;/a&gt;
19530 project (Norwegian version of
19531 &lt;a href=&quot;http://www.fixmystreet.com/&quot;&gt;FixMyStreet&lt;/a&gt; from
19532 &lt;a href=&quot;http://www.mysociety.org/&quot;&gt;mySociety&lt;/a&gt;), we have discovered
19533 a problem with the municipalities using
19534 &lt;a href=&quot;http://www.zimbra.com/&quot;&gt;Zimbra&lt;/a&gt;. When FiksGataMi send a
19535 problem report to the government, the email From: address is set to
19536 the address of the person reporting the problem, while envelope sender
19537 is set to the FiksGataMi contact address. The intention is to make
19538 sure the municipality send any replies to the person reporting the
19539 problem, while any email delivery problems are sent to us in NUUG.
19540 This work well in most cases, but not for Karmøy municipality using
19541 Zimbra. Karmøy is using the vacation message function in Zimbra to
19542 send an automatic reply to report that the message has been received,
19543 and this message is sent to the envelope sender and not the address in
19544 the From: header.&lt;/p&gt;
19545
19546 &lt;p&gt;This causes the automatic message from Karmøy to go to NUUGs
19547 request-tracker instance instead of to the person reporting the
19548 problem. We can not really change the envelope sender address, as
19549 this would make it impossible for us to discover when there are
19550 problems with the MTAs receiving problem reports. We have been in
19551 contact with the people at Karmøy municipality, and they are willing
19552 to adjust Zimbra if something can be changed there to get a better
19553 behaviour.&lt;/p&gt;
19554
19555 &lt;p&gt;The default behaviour of Zimbra is as far as I can tell according
19556 to the specification in RFC 3834, which recommend that vacation
19557 messages are sent to the envelope sender and not to the From: address.
19558 But I wonder if it is possible to adjust or configure Zimbra to behave
19559 differently. Anyone know? Please let us know at
19560 &lt;a href=&quot;http://lists.nuug.no/mailman/listinfo/fiksgatami&quot;&gt;fiksgatami
19561 (at) nuug.no&lt;/a&gt;.&lt;/p&gt;
19562 </description>
19563 </item>
19564
19565 <item>
19566 <title>Debian Edu interview: José Luis Redrejo Rodríguez</title>
19567 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Jos__Luis_Redrejo_Rodr_guez.html</link>
19568 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Jos__Luis_Redrejo_Rodr_guez.html</guid>
19569 <pubDate>Tue, 26 Jun 2012 08:30:00 +0200</pubDate>
19570 <description>&lt;p&gt;I&#39;ve been too busy at home, but finally I found time to wrap up
19571 another interview with the people behind
19572 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu and Skolelinux&lt;/a&gt;.
19573 This time we get to know José Luis Redrejo Rodríguez, one of our great
19574 helpers from Spain. His effort was the reason we added support for
19575 several desktop types (KDE, Gnome and most recently LXDE) in Debian
19576 Edu, and have all of these available in the recently published
19577 &lt;a href=&quot;http://www.debian.org/News/2012/20120311.html&quot;&gt;Debian Edu
19578 Squeeze&lt;/a&gt; version.&lt;/p&gt;
19579
19580 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
19581
19582 &lt;p&gt;I&#39;m a father, teacher and engineer who is working for the Education
19583 ministry of the Region of Extremadura (Spain) in the implementation of
19584 ICT in schools&lt;/p&gt;
19585
19586 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux/Debian Edu
19587 project?&lt;/strong&gt;&lt;/p&gt;
19588
19589 &lt;p&gt;At 2006, I verified that both, we in Extremadura and Skolelinux
19590 project, had been working in parallel for some years, doing very
19591 similar things, using very similar tools and with similar targets, so
19592 I decided it was time to join forces as much as possible.&lt;/p&gt;
19593
19594 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux/Debian
19595 Edu?&lt;/strong&gt;&lt;/p&gt;
19596
19597 &lt;p&gt;A community of highly skilled experts working together, with a
19598 really open schema of collaboration and work. I really love the
19599 concepts of Do-ocracy and Merit-ocracy and the way these concepts are
19600 been used everyday inside Debian Edu.&lt;/p&gt;
19601
19602 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux/Debian
19603 Edu?&lt;/strong&gt;&lt;/p&gt;
19604
19605 &lt;p&gt;Sometimes the differences in the implementations, laws or
19606 economical and technical resources in the different countries don&#39;t
19607 allow us to agree in the same solution for all of us, and several
19608 approaches are needed, what is a waste of effort. Also, there is a
19609 lack of more man power to be able to follow the fast evolution of the
19610 technologies in school.&lt;/p&gt;
19611
19612 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
19613
19614 &lt;p&gt;Debian, of course, and due to my kind of job I am most of my time
19615 between Iceweasel, &lt;a href=&quot;http://www.geany.org/&quot;&gt;Geany&lt;/a&gt; and
19616 &lt;a href=&quot;http://www.ohloh.net/p/gnome-terminator&quot;&gt;Terminator&lt;/a&gt;.&lt;/p&gt;
19617
19618 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
19619 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
19620
19621 &lt;p&gt;I think there is not a single strategy because there are very
19622 different scenarios: schools with mixed proprietary and free
19623 environments, schools using only workstations, other schools using
19624 laptops, netbooks, tablets, interactive white-boards, etc.&lt;/p&gt;
19625
19626 &lt;p&gt;Also the range of ages of the students is very broad and you can
19627 not use the same solutions for primary schools and secondary or even
19628 universities. So different strategies are needed.&lt;/p&gt;
19629
19630 &lt;p&gt;But, looking at these differences, and looking back to the things
19631 we&#39;ve done and implemented, and the places were we have spent most of
19632 our forces, I think we should focus as much as possible in free
19633 multi-platform environments, using only standards tools, and moving
19634 more and more to Internet or network solutions that could be deployed
19635 using wireless. I think we&#39;ll see more and more personal devices in
19636 the schools, devices the students and teachers will take home with
19637 them, so the solutions must be able to be taken at home and continue
19638 working there.&lt;/p&gt;
19639 </description>
19640 </item>
19641
19642 <item>
19643 <title>Song book for Computer Scientists</title>
19644 <link>http://people.skolelinux.org/pere/blog/Song_book_for_Computer_Scientists.html</link>
19645 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Song_book_for_Computer_Scientists.html</guid>
19646 <pubDate>Sun, 24 Jun 2012 13:30:00 +0200</pubDate>
19647 <description>&lt;p&gt;Many years ago, while studying Computer Science at the
19648 &lt;a href=&quot;http://www.uit.no/&quot;&gt;University of Tromsø&lt;/a&gt;, I started
19649 collecting computer related songs for use at parties. The original
19650 version was written in LaTeX, but a few years ago I got help from
19651 Håkon W. Lie, one of the inventors of W3C CSS, to convert it to HTML
19652 while keeping the ability to create a nice book in PDF format. I have
19653 not had time to maintain the book for a while now, and guess I should
19654 put it up on some public version control repository where others can
19655 help me extend and update the book. If anyone is volunteering to help
19656 me with this, send me an email. Also let me know if there are songs
19657 missing in my book.&lt;/p&gt;
19658
19659 &lt;p&gt;I have not mentioned the book on my blog so far, and it occured to
19660 me today that I really should let all my readers share the joys of
19661 singing out load about programming, computers and computer networks.
19662 Especially now that &lt;a href=&quot;http://debconf12.debconf.org/&quot;&gt;Debconf
19663 12&lt;/a&gt; is about to start (and I am not going). Want to sing? Check
19664 out &lt;a href=&quot;http://www.hungry.com/~pere/cs-songbook/&quot;&gt;Petter&#39;s
19665 Computer Science Songbook&lt;/a&gt;.
19666 </description>
19667 </item>
19668
19669 <item>
19670 <title>Debian Edu - some ideas for the future versions</title>
19671 <link>http://people.skolelinux.org/pere/blog/Debian_Edu___some_ideas_for_the_future_versions.html</link>
19672 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu___some_ideas_for_the_future_versions.html</guid>
19673 <pubDate>Mon, 11 Jun 2012 14:30:00 +0200</pubDate>
19674 <description>&lt;p&gt;During my work on
19675 &lt;a href=&quot;http://www.debian.org/News/2012/20120311.nb.html&quot;&gt;Debian Edu
19676 based on Squeeze&lt;/a&gt;, I came across some issues that should be
19677 addressed in the Wheezy release. I finally found time to wrap up my
19678 notes and provide quick summary of what I found, with a bit
19679 explanation.&lt;/p&gt;
19680
19681 &lt;p&gt;&lt;ul&gt;
19682
19683 &lt;li&gt;We need to rewrite our package installation framework, as tasksel
19684 changed from using tasksel tasks to using meta packages (aka packages
19685 with dependencies like our education-* packages), and our installation
19686 system depend on tasksel tasks in
19687 /usr/share/tasksel/debian-edu-tasks.desc for package
19688 installation.&lt;/li&gt;
19689
19690 &lt;li&gt;Enable Kerberos login for more services. Now with the Kerberos
19691 foundation in place, we should use it to get single sign on with more
19692 services, and avoiding unneeded password / login questions. We should
19693 at least try to enable it for these services:
19694 &lt;ul&gt;
19695
19696 &lt;li&gt;CUPS for admins to add/configure printers and users when using
19697 quotas.&lt;/li&gt;
19698 &lt;li&gt;Nagios for admins checking the system status.&lt;/li&gt;
19699 &lt;li&gt;GOsa for admins updating LDAP and users changing their passwords.&lt;/li&gt;
19700 &lt;li&gt;LDAP for admins updating LDAP.&lt;/li&gt;
19701 &lt;li&gt;Squid for users when exam mode / filtering is active.&lt;/li&gt;
19702 &lt;li&gt;ssh for admins and users to save a password prompt.&lt;/li&gt;
19703
19704 &lt;/ul&gt;&lt;/li&gt;
19705
19706 &lt;li&gt;When we move GOsa to use Kerberos instead of LDAP bind to
19707 authenticate users, we should try to block or at least limit access to
19708 use LDAP bind for authentication, to ensure Kerberos is used when it
19709 is intended, and nothing fall back to using the less safe LDAP bind&lt;/li&gt;
19710
19711 &lt;li&gt;Merge debian-edu-config and debian-edu-install. The split made
19712 sense when d-e-install did a lot more, but these days it is just an
19713 inconvenience when we update the debconf preseeding values.&lt;/li&gt;
19714
19715 &lt;li&gt;Fix partman-auto to allow us to abort the installation before
19716 touching the disk if the disk is too small. This is
19717 &lt;a href=&quot;http://bugs.debian.org/653305&quot;&gt;BTS report #653305&lt;/a&gt; and the
19718 d-i developers are fine with the patch and someone just need to apply
19719 it and upload. After this is done we need to adjust
19720 debian-edu-install to use this new hook.&lt;/li&gt;
19721
19722 &lt;li&gt;Adjust to new LTSP framework (boot time config instead of install
19723 time config). LTSP changed its design, and our hooks to install
19724 packages and update the configuration is most likely not going to work
19725 in Wheezy.
19726
19727 &lt;li&gt;Consider switching to NBD instead of NFS for LTSP root, to allow
19728 the Kernel to cache files in its normal file cache, possibly speeding
19729 up KDE login on slow networks.&lt;/li&gt;
19730
19731 &lt;li&gt;Make it possible to create expired user passwords that need to
19732 change on first login. This is useful when handing out password on
19733 paper, to make sure only the user know the password. This require
19734 fixes to the PAM handling of kdm and gdm.&lt;/li&gt;
19735
19736 &lt;li&gt;Make GUI for adding new machines automatically from sitesummary.
19737 The current command line script is not very friendly to people most
19738 familiar with GUIs. This should probably be integrated into GOsa to
19739 have it available where the admin will be looking for it..&lt;/li&gt;
19740
19741 &lt;li&gt;We should find way for Nagios to check that the DHCP service
19742 actually is working (as in handling out IP addresses). None of the
19743 Nagios checks I have found so far have been working for me.&lt;/li&gt;
19744
19745 &lt;li&gt;We should switch from libpam-nss-ldapd to sssd for all profiles
19746 using LDAP, and not only on for roaming workstations, to have less
19747 packages to configure and consistent setup across all profiles.&lt;/li&gt;
19748
19749 &lt;li&gt;We should configure Kerberos to update LDAP and Samba password
19750 when changing password using the Kerberos protocol. The hook was
19751 requested in &lt;a href=&quot;http://bugs.debian.org/588968&quot;&gt;BTS report
19752 #588968&lt;/a&gt; and is now available in Wheezy. We might need to write a
19753 MIT Kerberos plugin in C to get this.&lt;/li&gt;
19754
19755 &lt;li&gt;We should clean up the set of applications installed by default.
19756 &lt;ul&gt;
19757
19758 &lt;li&gt;reduce the number of chemistry visualisers&lt;/li&gt;
19759 &lt;li&gt;consider dropping xpaint&lt;/li&gt;
19760 &lt;li&gt;and probably more?&lt;/li&gt;
19761 &lt;/ul&gt;&lt;/li&gt;
19762
19763 &lt;li&gt;Some hardware need external firmware to work properly. This is
19764 mostly the case for WiFi network cards, but there are some other
19765 examples too. For popular laptops to work out of the box, such
19766 firmware need to be installed from non-free, and we should provide
19767 some GUI to do this. Ubuntu already have this implemented, and we
19768 could consider using their packages. At the moment we have some
19769 command line script to do this (one for the running system, another
19770 for the LTSP chroot).&lt;/li&gt;
19771
19772
19773 &lt;li&gt;In Squeeze, we provide KDE, Gnome and LXDE as desktop options. We
19774 should extend the list to Xfce and Sugar, and preferably find a way to
19775 install several and allow the admin or the user to select which one to
19776 use.&lt;/li&gt;
19777
19778 &lt;li&gt;The golearn tool from the goplay package make it easy to check out
19779 interesting educational packages. We should work on the package
19780 tagging in Debian to ensure it represent all the useful educational
19781 packages, and extend the tool to allow it to use packagekit to install
19782 new applications with a simple mouse click.&lt;/li&gt;
19783
19784 &lt;li&gt;The Squeeze version got half a exam solution already in place,
19785 with the introduction of iptable based network blocking, but for it to
19786 be a complete exam solution the Squid proxy need to enable
19787 filtering/blocking as well when the exam mode is enabled. We should
19788 implement a way to easily enable this for the schools that want it,
19789 instead of the &quot;it is documented&quot; method of today.&lt;/li&gt;
19790
19791 &lt;li&gt;A feature used in several schools is the ability for a teacher to
19792 &quot;take over&quot; the desktop of individual or all computers in the room.
19793 There are at least three implementations,
19794 &lt;a href=&quot;italc.sourceforge.net/&quot;&gt;italc&lt;/a&gt;,
19795 &lt;a href=&quot;http://www.itais.net/help/en/&quot;&gt;controlaula&lt;/a&gt; og
19796 &lt;a href=&quot;http://www.epoptes.org/&quot;&gt;epoptes&lt;/a&gt; and we should pick one of
19797 them and make it trivial to set it up in a school. The challenges is
19798 how to distribute crypto keys and how to group computers in one room
19799 and how to set up which machine/user can control the machines in a
19800 given room.&lt;/li&gt;
19801
19802 &lt;li&gt;Tablets and surf boards are getting more and more popular, and we
19803 should look into providing a good solution for integrating these into
19804 the Debian Edu network. Not quite sure how. Perhaps we should
19805 provide a installation profile with better touch screen support for
19806 them, or add some sync services to allow them to exchange
19807 configuration and data with the central server. This should be
19808 investigated.&lt;/li&gt;
19809
19810 &lt;/ul&gt;&lt;/p&gt;
19811
19812 &lt;p&gt;I guess we will discover more as we continue to work on the Wheezy
19813 version.&lt;/p&gt;
19814 </description>
19815 </item>
19816
19817 <item>
19818 <title>TV with face recognition, for improved viewer experience</title>
19819 <link>http://people.skolelinux.org/pere/blog/TV_with_face_recognition__for_improved_viewer_experience.html</link>
19820 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/TV_with_face_recognition__for_improved_viewer_experience.html</guid>
19821 <pubDate>Sat, 9 Jun 2012 22:00:00 +0200</pubDate>
19822 <description>&lt;p&gt;Slashdot got a story about Intel planning a
19823 &lt;a href=&quot;http://entertainment.slashdot.org/story/12/06/09/0012247/intel-to-launch-tv-service-with-facial-recognition-by-end-of-the-year&quot;&gt;TV
19824 with face recognition&lt;/a&gt; to recognise the viewer, and it occurred to
19825 me that it would be more interesting to turn it around, and do face
19826 recognition on the TV image itself. It could let the viewer know who
19827 is present on the screen, and perhaps look up their credibility,
19828 company affiliation, previous appearances etc for the viewer to better
19829 evaluate what is being said and done. That would be a feature I would
19830 be willing to pay for.&lt;/p&gt;
19831
19832 &lt;p&gt;I would not be willing to pay for a TV that point a camera on my
19833 household, like the big brother feature apparently proposed by Intel.
19834 It is the telescreen idea fetched straight out of the book
19835 &lt;a href=&quot;http://gutenberg.net.au/ebooks01/0100021.txt&quot;&gt;1984 by George
19836 Orwell&lt;/a&gt;.&lt;/p&gt;
19837 </description>
19838 </item>
19839
19840 <item>
19841 <title>Web service to look up HP and Dell computer hardware support status</title>
19842 <link>http://people.skolelinux.org/pere/blog/Web_service_to_look_up_HP_and_Dell_computer_hardware_support_status.html</link>
19843 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Web_service_to_look_up_HP_and_Dell_computer_hardware_support_status.html</guid>
19844 <pubDate>Wed, 6 Jun 2012 23:15:00 +0200</pubDate>
19845 <description>&lt;p&gt;A few days ago
19846 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/SOAP_based_webservice_from_Dell_to_check_server_support_status.html&quot;&gt;I
19847 reported how to get&lt;/a&gt; the support status out of Dell using an
19848 unofficial and undocumented SOAP API, which I since have found out was
19849 &lt;a href=&quot;http://lists.us.dell.com/pipermail/linux-poweredge/2012-February/045959.html&quot;&gt;discovered
19850 by Daniel De Marco in february&lt;/a&gt;. Combined with my web scraping
19851 code for HP, Dell and IBM
19852 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Checking_server_hardware_support_status_for_Dell__HP_and_IBM_servers.html&quot;&gt;from
19853 2009&lt;/a&gt;, I got inspired and wrote
19854 &lt;a href=&quot;https://views.scraperwiki.com/run/computer-hardware-support-status/&quot;&gt;a
19855 web service&lt;/a&gt; based on Scraperwiki to make it easy to look up the
19856 support status and get a machine readable result back.&lt;/p&gt;
19857
19858 &lt;p&gt;This is what it look like at the moment when asking for the JSON
19859 output:
19860
19861 &lt;blockquote&gt;&lt;pre&gt;
19862 % GET &lt;a href=&quot;https://views.scraperwiki.com/run/computer-hardware-support-status/?format=json&amp;vendor=Dell&amp;servicetag=2v1xwn1&quot;&gt;https://views.scraperwiki.com/run/computer-hardware-support-status/?format=json&amp;vendor=Dell&amp;servicetag=2v1xwn1&lt;/a&gt;
19863 supportstatus({&quot;servicetag&quot;: &quot;2v1xwn1&quot;, &quot;warrantyend&quot;: &quot;2013-11-24&quot;, &quot;shipped&quot;: &quot;2010-11-24&quot;, &quot;scrapestamputc&quot;: &quot;2012-06-06T20:26:56.965847&quot;, &quot;scrapedurl&quot;: &quot;http://143.166.84.118/services/assetservice.asmx?WSDL&quot;, &quot;vendor&quot;: &quot;Dell&quot;, &quot;productid&quot;: &quot;&quot;})
19864 %
19865 &lt;/pre&gt;&lt;/blockquote&gt;
19866
19867 &lt;p&gt;It currently support Dell and HP, and I am hoping for help to add
19868 support for other vendors. The python source is available on
19869 Scraperwiki and I welcome help with adding more features.&lt;/p&gt;
19870 </description>
19871 </item>
19872
19873 <item>
19874 <title>Debian Edu interview: Mike Gabriel</title>
19875 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Mike_Gabriel.html</link>
19876 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Mike_Gabriel.html</guid>
19877 <pubDate>Sat, 2 Jun 2012 15:00:00 +0200</pubDate>
19878 <description>&lt;p&gt;Back in 2010, Mike Gabriel showed up on the
19879 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu and Skolelinux&lt;/a&gt;
19880 mailing list. He quickly proved to be a valuable developer, and
19881 thanks to his tireless effort we now have Kerberos integrated into the
19882 &lt;a href=&quot;http://www.debian.org/News/2012/20120311.html&quot;&gt;Debian Edu
19883 Squeeze&lt;/a&gt; version.&lt;/p&gt;
19884
19885 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
19886
19887 &lt;p&gt;My name is Mike Gabriel, I am 38 years old and live near Kiel,
19888 Schleswig-Holstein, Germany. I live together with a wonderful partner
19889 (Angela Fuß) and two own children and two bonus children (contributed
19890 by Angela).&lt;/p&gt;
19891
19892 &lt;p&gt;During the day I am part-time employed as a system administrator
19893 and part-time working as an IT consultant. The consultancy work
19894 touches free software topics wherever and whenever possible. During
19895 the nights I am a free software developer. In the gaps I also train in
19896 becoming an osteopath.&lt;/p&gt;
19897
19898 &lt;p&gt;Starting in 2010 we (Andreas Buchholz, Angela Fuß, Mike Gabriel)
19899 have set up a free software project in the area of Kiel that aims at
19900 introducing free software into schools. The project&#39;s name is
19901 &quot;IT-Zukunft Schule&quot; (IT future for schools). The project links IT
19902 skills with communication skills.&lt;/p&gt;
19903
19904 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux/Debian Edu
19905 project?&lt;/strong&gt;&lt;/p&gt;
19906
19907 &lt;p&gt;While preparing our own customised Linux distribution for
19908 &quot;IT-Zukunft Schule&quot; we were repeatedly asked if we really wanted to
19909 reinvent the wheel. What schools really need is already available,
19910 people said. From this impulse we started evaluating other Linux
19911 distributions that target being used for school networks.&lt;/p&gt;
19912
19913 &lt;p&gt;At the end we short-listed two approaches and compared them: a
19914 commercial Linux distribution developed by a company in Bremen,
19915 Germany, and Skolelinux / Debian Edu. Between 12/2010 and 03/2011 we
19916 went to several events and met people being responsible for marketing
19917 and development of either of the distributions. Skolelinux / Debian
19918 Edu was by far much more convincing compared to the other product that
19919 got short-listed beforehand--across the full spectrum. What was most
19920 attractive for me personally: the perspective of collaboration within
19921 the developmental branch of the Debian Edu project itself.&lt;/p&gt;
19922
19923 &lt;p&gt;In parallel with this, we talked to many local and not-so-local
19924 people. People teaching at schools, headmasters, politicians, data
19925 protection experts, other IT professionals.&lt;/p&gt;
19926
19927 &lt;p&gt;We came to two conclusions:&lt;/p&gt;
19928
19929 &lt;p&gt;First, a technical conclusion: What schools need is available in
19930 bits and pieces here and there, and none of the solutions really fit
19931 by 100%. Any school we have seen has a very individual IT setup
19932 whereas most of each school&#39;s requirements could mapped by a standard
19933 IT solution. The requirement to this IT solution is flexibility and
19934 customisability, so that individual adaptations here and there are
19935 possible. In terms of re-distributing and rolling out such a
19936 standardised IT system for schools (a system that is still to some
19937 degree customisable) there is still a lot of work to do here
19938 locally. Debian Edu / Skolelinux has been our choice as the starting
19939 point.&lt;/p&gt;
19940
19941 &lt;p&gt;Second, a holistic conclusion: What schools need does not exist at
19942 all (or we missed it so far). There are several technical solutions
19943 for handling IT at schools that tend to make a good impression. What
19944 has been missing completely here in Germany, though, is the enrolment
19945 of people into using IT and teaching with IT. &quot;IT-Zukunft Schule&quot;
19946 tries to provide an approach for this.&lt;/p&gt;
19947
19948 &lt;p&gt;Only some schools have some sort of a media concept which explains,
19949 defines and gives guidance on how to use IT in class. Most schools in
19950 Northern Germany do not have an IT service provider, the school&#39;s IT
19951 equipment is managed by one or (if the school is lucky) two (admin)
19952 teachers, most of the workload these admin teachers get done in there
19953 spare time.&lt;/p&gt;
19954
19955 &lt;p&gt;We were surprised that only a very few admin teachers were
19956 networked with colleagues from other schools. Basically, every school
19957 here around has its individual approach of providing IT equipment to
19958 teachers and students and the exchange of ideas has been quasi
19959 non-existent until 2010/2011.&lt;/p&gt;
19960
19961 &lt;p&gt;Quite some (non-admin) teachers try to avoid using IT technology in
19962 class as a learning medium completely. Several reasons for this
19963 avoidance do exist.&lt;/p&gt;
19964
19965 &lt;p&gt;We discovered that no-one has ever taken a closer look at this
19966 social part of IT management in schools, so far. On our quest journey
19967 for a technical IT solution for schools, we discussed this issue with
19968 several teachers, headmasters, politicians, other IT professionals and
19969 they all confirmed: a holistic approach of considering IT management
19970 at schools, an approach that includes the people in place, will be new
19971 and probably a gain for all.&lt;/p&gt;
19972
19973 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux/Debian
19974 Edu?&lt;/strong&gt;&lt;/p&gt;
19975
19976 &lt;p&gt;There is a list of advantages: international context, openness to
19977 any kind of contributions, do-ocracy policy, the closeness to Debian,
19978 the different installation scenarios possible (from stand-alone
19979 workstation to complex multi-server sites), the transparency within
19980 project communication, honest communication within the group of
19981 developers, etc.&lt;/p&gt;
19982
19983 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux/Debian
19984 Edu?&lt;/strong&gt;&lt;/p&gt;
19985
19986 &lt;p&gt;Every coin has two sides:&lt;/p&gt;
19987
19988 &lt;p&gt;Technically: &lt;a href=&quot;http://bugs.debian.org/311188&quot;&gt;BTS issue
19989 #311188&lt;/a&gt;, tricky upgradability of a Debian Edu main server, network
19990 client installations on top of a plain vanilla Debian installation
19991 should become possible sometime in the near future, one could think
19992 about splitting the very complex package debian-edu-config into
19993 several portions (to make it easier for new developers to
19994 contribute).&lt;/p&gt;
19995
19996 &lt;p&gt;Another issue I see is that we (as Debian Edu developers) should
19997 find out more about the network of people who do the marketing for
19998 Debian Edu / Skolelinux. There is a very active group in Germany
19999 promoting Skolelinux on the bigger Linux Days within Germany. Are
20000 there other groups like that in other countries? How can we bring
20001 these marketing people together (marketing group A with group B and
20002 all of them with the group of Debian Edu developers)? During the last
20003 meeting of the German Skolelinux group, I got the impression of people
20004 there being rather disconnected from the development department of
20005 Debian Edu / Skolelinux.&lt;/p&gt;
20006
20007 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
20008
20009 &lt;p&gt;For my daily business, I do not use commercial software at all.&lt;/p&gt;
20010
20011 &lt;p&gt;For normal stuff I use Iceweasel/Firefox, Libreoffice.org. For
20012 serious text writing I prefer LaTeX. I use gimp, inkscape, scribus for
20013 more artistic tasks. I run virtual machines in KVM and Virtualbox.&lt;/p&gt;
20014
20015 &lt;p&gt;I am one of the upstream developers of X2Go. In 2010 I started the
20016 development of a Python based X2Go Client, called PyHoca-GUI.
20017 PyHoca-GUI has brought forth a Python X2Go Client API that currently
20018 is being integrated in Ubuntu&#39;s software center.&lt;/p&gt;
20019
20020 &lt;p&gt;For communications I have my own Kolab server running using Horde
20021 as web-based groupware client. For IRC I love to use irssi, for Jabber
20022 I have several clients that I use, mostly pidgin, though. I am also
20023 the Debian maintainer of Coccinella, a Jabber-based interactive
20024 whiteboard.&lt;/p&gt;
20025
20026 &lt;p&gt;My favourite terminal emulator is KDE&#39;s Yakuake.&lt;/p&gt;
20027
20028 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
20029 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
20030
20031 &lt;p&gt;Communicate, communicate, communicate. Enrol people, enrol people,
20032 enrol people.&lt;/p&gt;
20033 </description>
20034 </item>
20035
20036 <item>
20037 <title>SOAP based webservice from Dell to check server support status</title>
20038 <link>http://people.skolelinux.org/pere/blog/SOAP_based_webservice_from_Dell_to_check_server_support_status.html</link>
20039 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/SOAP_based_webservice_from_Dell_to_check_server_support_status.html</guid>
20040 <pubDate>Fri, 1 Jun 2012 15:20:00 +0200</pubDate>
20041 <description>&lt;p&gt;A few years ago I wrote
20042 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Checking_server_hardware_support_status_for_Dell__HP_and_IBM_servers.html&quot;&gt;how
20043 to extract support status&lt;/a&gt; for your Dell and HP servers. Recently
20044 I have learned from colleges here at the
20045 &lt;a href=&quot;http://www.uio.no/&quot;&gt;University of Oslo&lt;/a&gt; that Dell have
20046 made this even easier, by providing a SOAP based web service. Given
20047 the service tag, one can now query the Dell servers and get machine
20048 readable information about the support status. This perl code
20049 demonstrate how to do it:&lt;/p&gt;
20050
20051 &lt;p&gt;&lt;pre&gt;
20052 use strict;
20053 use warnings;
20054 use SOAP::Lite;
20055 use Data::Dumper;
20056 my $GUID = &#39;11111111-1111-1111-1111-111111111111&#39;;
20057 my $App = &#39;test&#39;;
20058 my $servicetag = $ARGV[0] or die &quot;Please supply a servicetag. $!\n&quot;;
20059 my ($deal, $latest, @dates);
20060 my $s = SOAP::Lite
20061 -&gt; uri(&#39;http://support.dell.com/WebServices/&#39;)
20062 -&gt; on_action( sub { join &#39;&#39;, @_ } )
20063 -&gt; proxy(&#39;http://xserv.dell.com/services/assetservice.asmx&#39;)
20064 ;
20065 my $a = $s-&gt;GetAssetInformation(
20066 SOAP::Data-&gt;name(&#39;guid&#39;)-&gt;value($GUID)-&gt;type(&#39;&#39;),
20067 SOAP::Data-&gt;name(&#39;applicationName&#39;)-&gt;value($App)-&gt;type(&#39;&#39;),
20068 SOAP::Data-&gt;name(&#39;serviceTags&#39;)-&gt;value($servicetag)-&gt;type(&#39;&#39;),
20069 );
20070 print Dumper($a -&gt; result) ;
20071 &lt;/pre&gt;&lt;/p&gt;
20072
20073 &lt;p&gt;The output can look like this:&lt;/p&gt;
20074
20075 &lt;p&gt;&lt;pre&gt;
20076 $VAR1 = {
20077 &#39;Asset&#39; =&gt; {
20078 &#39;Entitlements&#39; =&gt; {
20079 &#39;EntitlementData&#39; =&gt; [
20080 {
20081 &#39;EntitlementType&#39; =&gt; &#39;Expired&#39;,
20082 &#39;EndDate&#39; =&gt; &#39;2009-07-29T00:00:00&#39;,
20083 &#39;Provider&#39; =&gt; &#39;&#39;,
20084 &#39;StartDate&#39; =&gt; &#39;2006-07-29T00:00:00&#39;,
20085 &#39;DaysLeft&#39; =&gt; &#39;0&#39;
20086 },
20087 {
20088 &#39;EntitlementType&#39; =&gt; &#39;Expired&#39;,
20089 &#39;EndDate&#39; =&gt; &#39;2009-07-29T00:00:00&#39;,
20090 &#39;Provider&#39; =&gt; &#39;&#39;,
20091 &#39;StartDate&#39; =&gt; &#39;2006-07-29T00:00:00&#39;,
20092 &#39;DaysLeft&#39; =&gt; &#39;0&#39;
20093 },
20094 {
20095 &#39;EntitlementType&#39; =&gt; &#39;Expired&#39;,
20096 &#39;EndDate&#39; =&gt; &#39;2007-07-29T00:00:00&#39;,
20097 &#39;Provider&#39; =&gt; &#39;&#39;,
20098 &#39;StartDate&#39; =&gt; &#39;2006-07-29T00:00:00&#39;,
20099 &#39;DaysLeft&#39; =&gt; &#39;0&#39;
20100 }
20101 ]
20102 },
20103 &#39;AssetHeaderData&#39; =&gt; {
20104 &#39;SystemModel&#39; =&gt; &#39;GX620&#39;,
20105 &#39;ServiceTag&#39; =&gt; &#39;8DSGD2J&#39;,
20106 &#39;SystemShipDate&#39; =&gt; &#39;2006-07-29T19:00:00-05:00&#39;,
20107 &#39;Buid&#39; =&gt; &#39;2323&#39;,
20108 &#39;Region&#39; =&gt; &#39;Europe&#39;,
20109 &#39;SystemID&#39; =&gt; &#39;PLX_GX620&#39;,
20110 &#39;SystemType&#39; =&gt; &#39;OptiPlex&#39;
20111 }
20112 }
20113 };
20114 &lt;/pre&gt;&lt;/p&gt;
20115
20116 &lt;p&gt;I have not been able to find any documentation from Dell about this
20117 service outside the
20118 &lt;a href=&quot;http://xserv.dell.com/services/assetservice.asmx?op=GetAssetInformation&quot;&gt;inline
20119 documentation&lt;/a&gt;, and according to
20120 &lt;a href=&quot;http://iboyd.net/index.php/2012/02/14/updated-dell-warranty-information-script/&quot;&gt;one
20121 comment&lt;/a&gt; it can have stability issues, but it is a lot better than
20122 scraping HTML pages. :)&lt;/p&gt;
20123
20124 &lt;p&gt;Wonder if HP and other server vendors have a similar service. If
20125 you know of one, drop me an email. :)&lt;/p&gt;
20126 </description>
20127 </item>
20128
20129 <item>
20130 <title>First monitor calibration using ColorHug</title>
20131 <link>http://people.skolelinux.org/pere/blog/First_monitor_calibration_using_ColorHug.html</link>
20132 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_monitor_calibration_using_ColorHug.html</guid>
20133 <pubDate>Thu, 31 May 2012 22:10:00 +0200</pubDate>
20134 <description>&lt;p&gt;A few days ago my color calibration gadget
20135 &lt;a href=&quot;http://www.hughski.com/index.html&quot;&gt;ColorHug&lt;/a&gt; arrived in the
20136 mail, and I&#39;ve had a few days to test it. As all my machines are
20137 running Debian Squeeze, where
20138 &lt;a href=&quot;http://packages.qa.debian.org/c/colorhug-client.html&quot;&gt;the
20139 calibration software&lt;/a&gt; is missing (it is present in Wheezy and Sid),
20140 I ran the calibration using the Fedora based live CD. This worked
20141 just fine. So far I have only done the quick calibration. It was
20142 slow enough for me, so I will leave the more extensive calibration for
20143 another day.&lt;/p&gt;
20144
20145 &lt;p&gt;After calibration, I get a
20146 &lt;a href=&quot;http://en.wikipedia.org/wiki/ICC_profile&quot;&gt;ICC color
20147 profile&lt;/a&gt; file that can be passed to programs understanding such
20148 tools. KDE do not seem to understand it out of the box, so I searched
20149 for command line tools to use to load the color profile into X.
20150 xcalib was the first one I found, and it seem to work fine for single
20151 monitor setups. But for my video player, a laptop with a flat screen
20152 attached, it was unable to load the color profile for the correct
20153 monitor. After searching a bit, I
20154 &lt;a href=&quot;http://ubuntuforums.org/showthread.php?t=1347896&quot;&gt;discovered&lt;/a&gt;
20155 that the dispwin tool from the argyll package would do what I wanted,
20156 and a simple&lt;/p&gt;
20157
20158 &lt;p&gt;&lt;pre&gt;
20159 dispwin -d 1 profile.icc
20160 &lt;/pre&gt;&lt;/p&gt;
20161
20162 &lt;p&gt;later I had the color profile loaded for the correct monitor. The
20163 result was a bit more pink than I expected. I guess I picked the
20164 wrong monitor type for the &quot;led&quot; monitor I got, but the result is good
20165 enough for now.&lt;/p&gt;
20166 </description>
20167 </item>
20168
20169 <item>
20170 <title>Debian Edu interview: Ralf Gesellensetter</title>
20171 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Ralf_Gesellensetter.html</link>
20172 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Ralf_Gesellensetter.html</guid>
20173 <pubDate>Sun, 27 May 2012 17:15:00 +0200</pubDate>
20174 <description>&lt;p&gt;In 2003, a German teacher showed up on the
20175 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu and Skolelinux&lt;/a&gt;
20176 mailing list with interesting problems and reports proving he setting
20177 up Linux for a (for us at the time) lot of pupils. His name was Ralf
20178 Gesellensetter, and he has been an important tester and contributor
20179 since then, helping to make sure the
20180 &lt;a href=&quot;http://www.debian.org/News/2012/20120311.html&quot;&gt;Debian Edu
20181 Squeeze&lt;/a&gt; release became as good as it is..&lt;/p&gt;
20182
20183 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
20184
20185 &lt;p&gt;I am a teacher from Germany, and my subjects are Geography,
20186 Mathematics, and Computer Science (&quot;Informatik&quot;). During the past 12
20187 years (since 2000), I have been working for a comprehensive (and soon,
20188 also inclusive) school leading to all kind of general levels, such as
20189 O- or A-level (&quot;Abitur&quot;). For quite as long, I&#39;ve been taking care of
20190 our computer network.&lt;/p&gt;
20191
20192 &lt;p&gt;Now, in my early 40s, I enjoy the privilege of spending a lot of my
20193 spare time together with my wife, our son (3 years) and our daughter
20194 (4 months).&lt;/p&gt;
20195
20196 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux/Debian Edu
20197 project?&lt;/strong&gt;&lt;/p&gt;
20198
20199 &lt;p&gt;We had tried different Linux based school servers, when members of
20200 my local Linux User Group (LUG OWL) detected Skolelinux. I remember
20201 very well, being part of a party celebrating the Linux New Media Award
20202 (&quot;Best Newcomer Distribution&quot;, also nominated: Ubuntu) that was given
20203 to Skolelinux at Linux World Exposition in Frankfurt, 2005 (IIRC). Few
20204 months later, I had the chance to join a developer meeting in Ulsrud
20205 (Oslo) and to hand out the award to Knut Yrvin and others. For more
20206 than 7 years, Skolelinux is part of our schools infrastructure, namely
20207 our main server (tjener), one LTSP (today without thin clients), and
20208 approximately 50 work stations. Most of these have the option to boot a
20209 locally installed Skolelinux image. As a consequence, I joined quite
20210 a few events dealing with free software or Linux, and met many Debian
20211 (Edu) developers. All of them seemed quite nice and competent to me,
20212 one more reason to stick to Skolelinux.&lt;/p&gt;
20213
20214 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux/Debian
20215 Edu?&lt;/strong&gt;&lt;/p&gt;
20216
20217 &lt;p&gt;Debian driven, you are given all the advantages of a community
20218 project including well maintained updates. Once, you are familiar with
20219 the network layout, you can easily roll out an entire educational
20220 computer infrastructure, from just one installation media. As only
20221 free software (FOSS) is used, that supports even elderly hardware,
20222 up-sizing your IT equipment is only limited by space (i.e. available
20223 labs). Especially if you run a LTSP thin client server, your
20224 administration costs tend towards zero.&lt;/p&gt;
20225
20226 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux/Debian
20227 Edu?&lt;/strong&gt;&lt;/p&gt;
20228
20229 &lt;p&gt;While Debian&#39;s stability has loads of advantages for servers, this
20230 might be different in some cases for clients: Schools with unlimited
20231 budget might buy new hardware with components that are not yet
20232 supported by Debian stable, or wish to use more recent versions of
20233 office packages or desktop environments. These schools have the
20234 option to run Debian testing or other distributions - if they have the
20235 capacity to do so. Another issue is that Debian release cycles
20236 include a wide range of changes; therefor a high percentage of human
20237 power seems to be absorbed by just keeping the features of Skolelinux
20238 within the new setting of the version to come. During this process,
20239 the cogs of Debian Edu are getting more and more professional,
20240 i.e. harder to understand for novices.&lt;/p&gt;
20241
20242 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
20243
20244 &lt;p&gt;LibreOffice, Wikipedia, Openstreetmap, Iceweasel (Mozilla Firefox),
20245 KMail, Gimp, Inkscape - and of course the Linux Kernel (not only on
20246 PC, Laptop, Mobile, but also our SAT receiver)&lt;/p&gt;
20247
20248 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
20249 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
20250
20251 &lt;p&gt;&lt;ol&gt;
20252
20253 &lt;li&gt;Support computer science as regular subject in schools to make
20254 people really &quot;own&quot; their hardware, to make them understand the
20255 difference between proprietary software products, and free software
20256 developing.&lt;/li&gt;
20257
20258 &lt;li&gt;Make budget baskets corresponding: In Germany&#39;s public schools
20259 there are more or less fixed budgets for IT equipment (including
20260 licenses), so schools won&#39;t benefit from any savings here. This
20261 privilege is left to private schools which have consequently a large
20262 share among German Skolelinux schools.&lt;/li&gt;
20263
20264 &lt;li&gt;Get free software in the seminars where would-be teachers are
20265 trained. In many cases, teachers&#39; software customs are respected by
20266 decision makers rather than the expertise of any IT experts.&lt;/li&gt;
20267
20268 &lt;li&gt;Don&#39;t limit ourself to free software run natively. Everybody uses
20269 free software or free licenses (for instance Wikipedia), and this
20270 general concept should get expanded to free educational content to be
20271 shared world wide (school books e.g.).&lt;/li&gt;
20272
20273 &lt;li&gt;Make clear where ever you can that the market share of free (libre)
20274 office suites is much above 20 p.c. today, and that you pupils don&#39;t
20275 need to know the &quot;ribbon menu&quot; in order to get employed.&lt;/li&gt;
20276
20277 &lt;li&gt;Talk about the difference between freeware and free software.&lt;/li&gt;
20278
20279 &lt;li&gt;Spread free software, or even collections of portable free apps
20280 for USB pen drives. Endorse students to get a legal copy of
20281 Libreoffice rather than accepting them to use illegal serials. And
20282 keep sending documents in ODF formats.&lt;/li&gt;
20283
20284 &lt;/ol&gt;&lt;/p&gt;
20285 </description>
20286 </item>
20287
20288 <item>
20289 <title>The cost of ODF and OOXML</title>
20290 <link>http://people.skolelinux.org/pere/blog/The_cost_of_ODF_and_OOXML.html</link>
20291 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_cost_of_ODF_and_OOXML.html</guid>
20292 <pubDate>Sat, 26 May 2012 18:00:00 +0200</pubDate>
20293 <description>&lt;p&gt;I just come across a blog post from Glyn Moody reporting the
20294 claimed cost from Microsoft on requiring ODF to be used by the UK
20295 government. I just sent him an email to let him know that his
20296 assumption are most likely wrong. Sharing it here in case some of my
20297 blog readers have seem the same numbers float around in the UK.&lt;/p&gt;
20298
20299 &lt;p&gt;&lt;blockquote&gt; &lt;p&gt;Hi. I just noted your
20300 &lt;a href=&quot;http://blogs.computerworlduk.com/open-enterprise/2012/04/does-microsoft-office-lock-in-cost-the-uk-government-500-million/index.htm&quot;&gt;http://blogs.computerworlduk.com/open-enterprise/2012/04/does-microsoft-office-lock-in-cost-the-uk-government-500-million/index.htm&lt;/a&gt;
20301 comment:&lt;/p&gt;
20302
20303 &lt;p&gt;&lt;blockquote&gt;&quot;They&#39;re all in Danish, not unreasonably, but even
20304 with the help of Google Translate I can&#39;t find any figures about the
20305 savings of &quot;moving to a flexible two standard&quot; as claimed by the
20306 Microsoft email. But I assume it is backed up somewhere, so let&#39;s take
20307 it, and the £500 million figure for the UK, on trust.&quot;
20308 &lt;/blockquote&gt;&lt;/p&gt;
20309
20310 &lt;p&gt;I can tell you that the Danish reports are inflated. I believe it is
20311 the same reports that were used in the Norwegian debate around 2007,
20312 and Gisle Hannemyr (a well known IT commentator in Norway) had a look
20313 at the content. In short, the reason it is claimed that using ODF
20314 will be so costly, is based on the assumption that this mean every
20315 existing document need to be converted from one of the MS Office
20316 formats to ODF, transferred to the receiver, and converted back from
20317 ODF to one of the MS Office formats, and that the conversion will cost
20318 10 minutes of work time for both the sender and the receiver. In
20319 reality the sender would have a tool capable of saving to ODF, and the
20320 receiver would have a tool capable of reading it, and the time spent
20321 would at most be a few seconds for saving and loading, not 20 minutes
20322 of wasted effort.&lt;/p&gt;
20323
20324 &lt;p&gt;Microsoft claimed all these costs were saved by allowing people to
20325 transfer the original files from MS Office instead of spending 10
20326 minutes converting to ODF. :)&lt;/p&gt;
20327
20328 &lt;p&gt;See
20329 &lt;a href=&quot;http://hannemyr.com/no/ms12_vl02.php&quot;&gt;http://hannemyr.com/no/ms12_vl02.php&lt;/a&gt;
20330 and
20331 &lt;a href=&quot;http://hannemyr.com/no/ms12.php&quot;&gt;http://hannemyr.com/no/ms12.php&lt;/a&gt;
20332 for background information. Norwegian only, sorry. :)&lt;/p&gt;
20333 &lt;/blockquote&gt;&lt;/p&gt;
20334 </description>
20335 </item>
20336
20337 <item>
20338 <title>ColorHug - USB and free software based screen color calibration</title>
20339 <link>http://people.skolelinux.org/pere/blog/ColorHug___USB_and_free_software_based_screen_color_calibration.html</link>
20340 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/ColorHug___USB_and_free_software_based_screen_color_calibration.html</guid>
20341 <pubDate>Fri, 18 May 2012 10:00:00 +0200</pubDate>
20342 <description>&lt;p&gt;In january, I
20343 &lt;a href=&quot;http://blog.cihar.com/archives/2012/01/17/colorhug-has-arrived/&quot;&gt;discovered
20344 the ColorHug&lt;/a&gt;, a USB dongle from
20345 &lt;a href=&quot;http://www.hughski.com/index.html&quot;&gt;Hughski&lt;/a&gt; to calibrate
20346 the color on a computer screen. The software required is
20347 &lt;a href=&quot;http://packages.qa.debian.org/c/colorhug-client.html&quot;&gt;included
20348 in Debian&lt;/a&gt;, and I decided back then to preorder from the next
20349 batch. Yesterday I finally heard back from them, and got the
20350 opportunity to order. Today I ordered mine, and eagerly await the
20351 delivery. I hope it arrive next week, as I got a confirmation that it
20352 should go in the mail on monday. :)&lt;/p&gt;
20353
20354 &lt;p&gt;If you want to ensure the colors on the screen match the intended
20355 colors, I suggest you check out this cheap tool with free software
20356 drivers. :)&lt;/p&gt;
20357 </description>
20358 </item>
20359
20360 <item>
20361 <title>Debian Edu interview: Jürgen Leibner</title>
20362 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__J_rgen_Leibner.html</link>
20363 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__J_rgen_Leibner.html</guid>
20364 <pubDate>Sun, 13 May 2012 20:30:00 +0200</pubDate>
20365 <description>&lt;p&gt;It has been a few busy weeks for me, but I am finally back to
20366 publish another interview with the people behind
20367 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu and Skolelinux&lt;/a&gt;.
20368 This time it is one of our German developers, who have helped out over the
20369 years to make sure both a lot of major but also a lot of the minor
20370 details get right before release.
20371
20372 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
20373
20374 &lt;p&gt;My name is Jürgen Leibner, I&#39;m 49 years old and living in
20375 Bielefeld, a town in northern Germany. I worked nearly 20 years as
20376 certified engineer in the department for plant design and layout of an
20377 international company for machinery and equipment. Since 2011 I&#39;m a
20378 certified technical writer (tekom e.V.) and doing technical
20379 documentations for a steam turbine manufacturer. From April this year
20380 I will manage the department of technical documentation at a
20381 manufacturer of automation and assembly line engineering.&lt;/p&gt;
20382
20383 &lt;p&gt;My first contact with linux was around 1993. Since that time I used
20384 it at work and at home repeatedly but not exclusively as I do now at
20385 home since 2006.&lt;/p&gt;
20386
20387 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux/Debian Edu
20388 project?&lt;/strong&gt;&lt;/p&gt;
20389
20390 &lt;p&gt;Once a day in the early year of 2001 when I wanted to fetch my
20391 daughter from primary school, there was a teacher sitting in the
20392 middle of 20 old computers trying to boot them and he failed. I helped
20393 him to get them booting. That was seen by the school director and she
20394 asked me if I would like to manage that the school gets all that old
20395 computers in use. I answered: &quot;Yes&quot;.&lt;/p&gt;
20396
20397 &lt;p&gt;Some weeks later every of the 10 classrooms had one computer
20398 running Windows98. I began to collect old computers and equipment as
20399 gifts and installed the first computer room with a peer-to-peer
20400 network. I did my work at school without being payed in my spare time
20401 and with a lot of fun. About one year later the school was connected
20402 to Internet and a local area network was installed in the school
20403 building. That was the time to have a server and I knew it must be a
20404 Linux server to be able to fulfil all the wishes of the teachers and
20405 being able to do this in a transparent and economic way, without extra
20406 costs for things like licence and software. So I searched for a
20407 school server system running under Linux and I found a couple of
20408 people nearby who founded &#39;skolelinux.de&#39;. It was the Skolelinux
20409 prerelease 32 I first tried out for being used at the school. I
20410 managed the IT of that school until the municipal authority took over
20411 the IT management and centralised the services for all schools in
20412 Bielefeld in December of 2006.&lt;/p&gt;
20413
20414 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux/Debian
20415 Edu?&lt;/strong&gt;&lt;/p&gt;
20416
20417 &lt;p&gt;When I&#39;m looking back to the beginning, there were other advantages
20418 for me as today.&lt;/p&gt;
20419
20420 &lt;p&gt;In the past there were advantages like:&lt;/p&gt;
20421
20422 &lt;p&gt;&lt;ul&gt;
20423
20424 &lt;li&gt;I don&#39;t need to buy it so it generates no costs to the school as
20425 they had little money to spent for computers and software.&lt;/li&gt;
20426
20427 &lt;li&gt;It has a licence which grands all rights to use it without
20428 cost.&lt;/li&gt;
20429
20430 &lt;li&gt;It was more able to fit all requirements of a server system for
20431 schools than a Microsoft server system, even if there are only Windows
20432 clients because of it&#39;s preconfigured overall concept of being a
20433 infrastructure solution and community for schools, not only a
20434 server&lt;/li&gt;
20435
20436 &lt;li&gt;I was able to configure the server to the needs of the
20437 school.&lt;/li&gt;
20438
20439 &lt;/ul&gt;&lt;/p&gt;
20440
20441 &lt;p&gt;Today some of the advantages has been lost, changed or new ones
20442 came up in this way:&lt;/p&gt;
20443
20444 &lt;p&gt;&lt;ul&gt;
20445
20446 &lt;li&gt;Most schools here do have money to buy hardware and software
20447 now.&lt;/li&gt;
20448
20449 &lt;li&gt;They are today mostly managed from central IT departments which
20450 have own concepts which often do not fit to Debian Edu concepts
20451 because they are to close to Microsoft ideology.&lt;/li&gt;
20452
20453 &lt;li&gt;With the Squeeze version of Debian Edu which now uses GOsa² for
20454 management I feel more able to manage the daily tasks than with the
20455 interfaces used in the past.&lt;/li&gt;
20456
20457 &lt;li&gt;It is more modular than in the past and fits even better to the
20458 different needs.&lt;/li&gt;
20459
20460 &lt;li&gt;The documentation is usable and gets better every day.&lt;/li&gt;
20461
20462 &lt;li&gt;More people than ever before are using Debian Edu all over the
20463 world and so the community, which is an very important part I think,
20464 is sharing knowledge and minds.&lt;/li&gt;
20465
20466 &lt;li&gt;Most, maybe all, of the technical requirements for schools are
20467 solved today by Debian Edu. &lt;/li&gt;
20468
20469 &lt;/ul&gt;&lt;/p&gt;
20470
20471 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux/Debian
20472 Edu?&lt;/strong&gt;&lt;/p&gt;
20473
20474 &lt;p&gt;&lt;ul&gt;
20475
20476 &lt;li&gt;There are too few IT companies able to integrate Debian Edu into
20477 their product portfolio for serving schools with concepts or even
20478 whole municipality areas.&lt;/li&gt;
20479
20480 &lt;li&gt;Debian Edu has beside other free and open software projects not
20481 enough lobbyists which promote free and open software to
20482 politicians.&lt;/li&gt;
20483
20484 &lt;li&gt;Technically there are no disadvantages I&#39;m aware of.&lt;/li&gt;
20485
20486 &lt;/ul&gt;&lt;/p&gt;
20487
20488 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
20489
20490 &lt;p&gt;I use Debian stable on my home server and on my little desktop
20491 computer. On my laptop I use Debian testing/sid. The applications I
20492 use on my laptop and my desktop are Open/Libre-office, Iceweasel,
20493 KMail, DigiKam, Amarok, Dolphin, okular and all the other programs I
20494 need from the KDE environment. On console I use newsbeuter, mutt,
20495 screen, irssi and all the other famous and useful tools.&lt;/p&gt;
20496
20497 &lt;p&gt;My home server provides mail services with exim, dovecot, roundcube
20498 and mutt over ssh on the console, file services with samba, NFS,
20499 rsync, web services with apache, moinmoin-wiki, multimedia services
20500 with gallery2 and mediatomb and database services with MySQL for me
20501 and the whole family. I probably forgot something.&lt;/p&gt;
20502
20503 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
20504 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
20505
20506 &lt;p&gt;I believe, we should provide concepts for IT companies to integrate
20507 Debian Edu into their product portfolio with use cases for different
20508 countries and areas all over the world.&lt;/p&gt;
20509 </description>
20510 </item>
20511
20512 <item>
20513 <title>Cutting it short - and picking the right tool for the job</title>
20514 <link>http://people.skolelinux.org/pere/blog/Cutting_it_short___and_picking_the_right_tool_for_the_job.html</link>
20515 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Cutting_it_short___and_picking_the_right_tool_for_the_job.html</guid>
20516 <pubDate>Mon, 30 Apr 2012 23:30:00 +0200</pubDate>
20517 <description>&lt;p&gt;&lt;!-- IMG_5869.JPG --&gt;
20518 &lt;img src=&quot;http://people.skolelinux.org/pere/blog/images/panasonic-er-1611.jpeg&quot;&gt;&lt;/p&gt;
20519
20520 &lt;p&gt;I normally cut my hair short, and my tool of choice has been a
20521 common hair/beard cutter, bought in a electrical shop here in Norway.
20522 But the last ones have not really been up to the task. My last
20523 cutter, some model from Braun, could only cut a few of my hairs at the
20524 time, and cutting my head took forever. And the one before that did
20525 not work very well either. We have looked for something better for a
20526 while, but it was not until I ended up visiting a hairdresser that we
20527 discovered that there are indeed better tools available. But these
20528 are not marketed and sold to &quot;regular consumers&quot;. The hair saloons
20529 can get them through their suppliers, but their suppliers only sell
20530 companies. The models they sell, are very different from the ones
20531 available from Elkjøp and Lefdal. The main difference is their
20532 efficiency. It would cut my hair in 5 minutes, instead of the 30-40
20533 minutes required by my impotent Braun. The hairdresser I visited had
20534 a Panasonic ER160, which unfortunately is no longer available from the
20535 producer. But I found it had a successor, the Panasonic ER1611.&lt;/p&gt;
20536
20537 &lt;p&gt;The next step was to find somewhere to buy it. This was not
20538 straight forward. The list of suppliers I got from the hairdresser
20539 did not want to sell anything to me. But searching for the model on
20540 the web we found a supplier in Norway willing to sell it to us for
20541 around NOK 4000,-. This was a bit much. We kept searching and
20542 finally found a Danish supplier
20543 &lt;a href=&quot;http://nicehair.dk/panasonic-er-1611-professionel-hartrimmer.html&quot;&gt;selling
20544 it for around NOK 1800,-&lt;/a&gt;. We ordered one, and it arrived a few
20545 days ago.&lt;/p&gt;
20546
20547 &lt;p&gt;The instructions said it had to charge for 8 hours when we started
20548 to use it, so we left it charging over night. Normally it will only
20549 need one hour to charge. The following evening we successfully tested
20550 it, and I can warmly recommend it to anyone looking for a real hair
20551 cutter. The ones we have used until now have been hair cutter
20552 toys.&lt;/p&gt;
20553 </description>
20554 </item>
20555
20556 <item>
20557 <title>HTC One X - Your video? What do you mean?</title>
20558 <link>http://people.skolelinux.org/pere/blog/HTC_One_X___Your_video___What_do_you_mean_.html</link>
20559 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/HTC_One_X___Your_video___What_do_you_mean_.html</guid>
20560 <pubDate>Thu, 26 Apr 2012 13:20:00 +0200</pubDate>
20561 <description>&lt;p&gt;In &lt;a href=&quot;http://www.idg.no/computerworld/article243690.ece&quot;&gt;an
20562 article today&lt;/a&gt; published by Computerworld Norway, the photographer
20563 &lt;a href=&quot;http://www.urke.com/eirik/&quot;&gt;Eirik Helland Urke&lt;/a&gt; reports
20564 that the video editor application included with
20565 &lt;a href=&quot;http://www.htc.com/www/smartphones/htc-one-x/#specs&quot;&gt;HTC One
20566 X&lt;/a&gt; have some quite surprising terms of use. The article is mostly
20567 based on the twitter message from mister Urke, stating:
20568
20569 &lt;p&gt;&lt;blockquote&gt;
20570 &quot;&lt;a href=&quot;http://twitter.com/urke/status/194062269724897280&quot;&gt;Drøy
20571 brukeravtale: HTC kan bruke MINE redigerte videoer kommersielt. Selv
20572 kan jeg KUN bruke dem privat.&lt;/a&gt;&quot;
20573 &lt;/blockquote&gt;&lt;/p&gt;
20574
20575 &lt;p&gt;I quickly translated it to this English message:&lt;/p&gt;
20576
20577 &lt;p&gt;&lt;blockquote&gt;
20578 &quot;Arrogant user agreement: HTC can use MY edited videos
20579 commercially. Although I can ONLY use them privately.&quot;
20580 &lt;/blockquote&gt;&lt;/p&gt;
20581
20582 &lt;p&gt;I&#39;ve been unable to find the text of the license term myself, but
20583 suspect it is a variation of the MPEG-LA terms I
20584 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Terms_of_use_for_video_produced_by_a_Canon_IXUS_130_digital_camera.html&quot;&gt;discovered
20585 with my Canon IXUS 130&lt;/a&gt;. The HTC One X specification specifies that
20586 the recording format of the phone is .amr for audio and .mp3 for
20587 video. AMR is
20588 &lt;a href=&quot;http://en.wikipedia.org/wiki/Adaptive_Multi-Rate_audio_codec#Licensing_and_patent_issues&quot;&gt;Adaptive
20589 Multi-Rate audio codec&lt;/a&gt; with patents which according to the
20590 Wikipedia article require an license agreement with
20591 &lt;a href=&quot;http://www.voiceage.com/&quot;&gt;VoiceAge&lt;/a&gt;. MP4 is
20592 &lt;a href=&quot;http://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Patent_licensing&quot;&gt;MPEG4 with
20593 H.264&lt;/a&gt;, which according to Wikipedia require a licence agreement
20594 with &lt;a href=&quot;http://www.mpegla.com/&quot;&gt;MPEG-LA&lt;/a&gt;.&lt;/p&gt;
20595
20596 &lt;p&gt;I know why I prefer
20597 &lt;a href=&quot;http://www.digistan.org/open-standard:definition&quot;&gt;free and open
20598 standards&lt;/a&gt; also for video.&lt;/p&gt;
20599 </description>
20600 </item>
20601
20602 <item>
20603 <title>RAND terms - non-reasonable and discriminatory</title>
20604 <link>http://people.skolelinux.org/pere/blog/RAND_terms___non_reasonable_and_discriminatory.html</link>
20605 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/RAND_terms___non_reasonable_and_discriminatory.html</guid>
20606 <pubDate>Thu, 19 Apr 2012 22:20:00 +0200</pubDate>
20607 <description>&lt;p&gt;Here in Norway, the
20608 &lt;a href=&quot;http://www.regjeringen.no/nb/dep/fad.html?id=339&quot;&gt; Ministry of
20609 Government Administration, Reform and Church Affairs&lt;/a&gt; is behind
20610 a &lt;a href=&quot;http://standard.difi.no/forvaltningsstandarder&quot;&gt;directory of
20611 standards&lt;/a&gt; that are recommended or mandatory for use by the
20612 government. When the directory was created, the people behind it made
20613 an effort to ensure that everyone would be able to implement the
20614 standards and compete on equal terms to supply software and solutions
20615 to the government. Free software and non-free software could compete
20616 on the same level.&lt;/p&gt;
20617
20618 &lt;p&gt;But recently, some standards with RAND
20619 (&lt;a href=&quot;http://en.wikipedia.org/wiki/Reasonable_and_non-discriminatory_licensing&quot;&gt;Reasonable
20620 And Non-Discriminatory&lt;/a&gt;) terms have made their way into the
20621 directory. And while this might not sound too bad, the fact is that
20622 standard specifications with RAND terms often block free software from
20623 implementing them. The reasonable part of RAND mean that the cost per
20624 user/unit is low,and the non-discriminatory part mean that everyone
20625 willing to pay will get a license. Both sound great in theory. In
20626 practice, to get such license one need to be able to count users, and
20627 be able to pay a small amount of money per unit or user. By
20628 definition, users of free software do not need to register their use.
20629 So counting users or units is not possible for free software projects.
20630 And given that people will use the software without handing any money
20631 to the author, it is not really economically possible for a free
20632 software author to pay a small amount of money to license the rights
20633 to implement a standard when the income available is zero. The result
20634 in these situations is that free software are locked out from
20635 implementing standards with RAND terms.&lt;/p&gt;
20636
20637 &lt;p&gt;Because of this, when I see someone claiming the terms of a
20638 standard is reasonable and non-discriminatory, all I can think of is
20639 how this really is non-reasonable and discriminatory. Because free
20640 software developers are working in a global market, it does not really
20641 help to know that software patents are not supposed to be enforceable
20642 in Norway. The patent regimes in other countries affect us even here.
20643 I really hope the people behind the standard directory will pay more
20644 attention to these issues in the future.&lt;/p&gt;
20645
20646 &lt;p&gt;You can find more on the issues with RAND, FRAND and RAND-Z terms
20647 from Simon Phipps
20648 (&lt;a href=&quot;http://blogs.computerworlduk.com/simon-says/2010/11/rand-not-so-reasonable/&quot;&gt;RAND:
20649 Not So Reasonable?&lt;/a&gt;).&lt;/p&gt;
20650
20651 &lt;p&gt;Update 2012-04-21: Just came across a
20652 &lt;a href=&quot;http://blogs.computerworlduk.com/open-enterprise/2012/04/of-microsoft-netscape-patents-and-open-standards/index.htm&quot;&gt;blog
20653 post from Glyn Moody&lt;/a&gt; over at Computer World UK warning about the
20654 same issue, and urging people to speak out to the UK government. I
20655 can only urge Norwegian users to do the same for
20656 &lt;a href=&quot;http://www.standard.difi.no/hoyring/hoyring-om-nye-anbefalte-it-standarder&quot;&gt;the
20657 hearing taking place at the moment&lt;/a&gt; (respond before 2012-04-27).
20658 It proposes to require video conferencing standards including
20659 specifications with RAND terms.&lt;/p&gt;
20660 </description>
20661 </item>
20662
20663 <item>
20664 <title>Debian Edu interview: Andreas Mundt</title>
20665 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Andreas_Mundt.html</link>
20666 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Andreas_Mundt.html</guid>
20667 <pubDate>Sun, 15 Apr 2012 12:10:00 +0200</pubDate>
20668 <description>&lt;p&gt;Behind &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu and
20669 Skolelinux&lt;/a&gt; there are a lot of people doing the hard work of
20670 setting together all the pieces. This time I present to you Andreas
20671 Mundt, who have been part of the technical development team several
20672 years. He was also a key contributor in getting GOsa and Kerberos set
20673 up in the recently released
20674 &lt;a href=&quot;http://wiki.debian.org/DebianEdu/Documentation/Squeeze&quot;&gt;Debian
20675 Edu Squeeze&lt;/a&gt; version.&lt;/p&gt;
20676
20677 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
20678
20679 &lt;p&gt;My name is Andreas Mundt, I grew up in south Germany. After
20680 studying Physics I spent several years at university doing research in
20681 Quantum Optics. After that I worked some years in an optics company.
20682 Finally I decided to turn over a new leaf in my life and started
20683 teaching 10 to 19 years old kids at school. I teach math, physics,
20684 information technology and science/technology.&lt;/p&gt;
20685
20686 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux/Debian Edu
20687 project?&lt;/strong&gt;&lt;/p&gt;
20688
20689 &lt;p&gt;Already before I switched to teaching, I followed the Debian Edu
20690 project because of my interest in education and Debian. Within the
20691 qualification/training period for the teaching, I started
20692 contributing.&lt;/p&gt;
20693
20694 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux/Debian
20695 Edu?&lt;/strong&gt;&lt;/p&gt;
20696
20697 &lt;p&gt;The advantages of Debian Edu are the well known name, the
20698 out-of-the-box philosophy and of course the great free software of the
20699 Debian Project!&lt;/p&gt;
20700
20701 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux/Debian
20702 Edu?&lt;/strong&gt;&lt;/p&gt;
20703
20704 &lt;p&gt;As every coin has two sides, the out-of-the-box philosophy has its
20705 downside, too. In my opinion, it is hard to modify and tweak the
20706 setup, if you need or want that. Further more, it is not easily
20707 possible to upgrade the system to a new release. It takes much too
20708 long after a Debian release to prepare the -Edu release, perhaps
20709 because the number of developers working on the core of the code is
20710 rather small and often busy elsewhere.&lt;/p&gt;
20711
20712 &lt;p&gt;The &lt;a href=&quot;http://wiki.debian.org/DebianLAN&quot;&gt;Debian LAN&lt;/a&gt;
20713 project might fill the use case of a more flexible system.&lt;/p&gt;
20714
20715 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
20716
20717 &lt;p&gt;I am only using non-free software if I am forced to and run Debian
20718 on all my machines. For documents I prefer LaTeX and PGF/TikZ, then
20719 mutt and iceweasel for email respectively web browsing. At school I
20720 have Arduino and Fritzing in use for a micro controller project.&lt;/p&gt;
20721
20722 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
20723 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
20724
20725 &lt;p&gt;One of the major problems is the vendor lock-in from top to bottom:
20726 Especially in combination with ignorant government employees and
20727 politicians, this works out great for the &quot;market-leader&quot;. The school
20728 administration here in Baden-Wuerttemberg is occupied by that vendor.
20729 Documents have to be prepared in non-free, proprietary formats. Even
20730 free browsers do not work for the school administration. Publishers
20731 of school books provide software only for proprietary platforms.&lt;/p&gt;
20732
20733 &lt;p&gt;To change this, political work is very important. Parts of the
20734 political spectrum have become aware of the problem in the last years.
20735 However it takes quite some time and courageous politicians to &#39;free&#39;
20736 the system. There is currently some discussion about &quot;Open Data&quot; and
20737 &quot;Free/Open Standards&quot;. I am not sure if all the involved parties have
20738 a clue about the potential of these ideas, and probably only a
20739 fraction takes them seriously. However it might slowly make free
20740 software and the philosophy behind it more known and popular.&lt;/p&gt;
20741 </description>
20742 </item>
20743
20744 <item>
20745 <title>Debian Edu interview: Justin B. Rye</title>
20746 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Justin_B__Rye.html</link>
20747 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Justin_B__Rye.html</guid>
20748 <pubDate>Sun, 8 Apr 2012 10:50:00 +0200</pubDate>
20749 <description>&lt;p&gt;It take all kind of contributions to create a Linux distribution
20750 like &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt;,
20751 and this time I lend the ear to Justin B. Rye, who is listed as a big
20752 contributor to the
20753 &lt;a href=&quot;http://wiki.debian.org/DebianEdu/Documentation/Squeeze&quot;&gt;Debian
20754 Edu Squeeze release manual&lt;/a&gt;.
20755
20756 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
20757
20758 &lt;p&gt;I&#39;m a 44-year-old linguistics graduate living in Edinburgh who has
20759 occasionally been employed as a sysadmin.&lt;/p&gt;
20760
20761 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux/Debian Edu
20762 project?&lt;/strong&gt;&lt;/p&gt;
20763
20764 &lt;p&gt;I&#39;m neither a developer nor a Skolelinux/Debian Edu user! The only
20765 reason my name&#39;s in the credits for the documentation is that I hang
20766 around on debian-l10n-english waiting for people to mention things
20767 they&#39;d like a native English speaker to proofread... So I did a sweep
20768 through the wiki for typos and Norglish and inconsistent spellings of
20769 &quot;localisation&quot;.&lt;/p&gt;
20770
20771 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux/Debian
20772 Edu?&lt;/strong&gt;&lt;/p&gt;
20773
20774 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux/Debian
20775 Edu?&lt;/strong&gt;&lt;/p&gt;
20776
20777 &lt;p&gt;These questions are too hard for me - I don&#39;t use it! In fact I
20778 had hardly any contact with I.T. until long after I&#39;d got out of the
20779 education system.&lt;/p&gt;
20780
20781 &lt;p&gt;I can tell you the advantages of Debian for me though: it soaks up
20782 as much of my free time as I want and no more, and lets me do
20783 everything I want a computer for without ever forcing me to spend
20784 money on the latest hardware.&lt;/p&gt;
20785
20786 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
20787
20788 &lt;p&gt;I&#39;ve been using Debian since Rex; popularity-contest says the
20789 software that I use most is xinit, xterm, and xulrunner (in other
20790 words, I use a distinctly retro sort of desktop).&lt;/p&gt;
20791
20792 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
20793 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
20794
20795 &lt;p&gt;Well, I don&#39;t know. I suppose I&#39;d be inclined to try reasoning
20796 with the people who make the decisions, but obviously if that worked
20797 you would hardly need a strategy.&lt;/p&gt;
20798 </description>
20799 </item>
20800
20801 <item>
20802 <title>Why the KDE menu is slow when /usr/ is NFS mounted - and a workaround</title>
20803 <link>http://people.skolelinux.org/pere/blog/Why_the_KDE_menu_is_slow_when__usr__is_NFS_mounted___and_a_workaround.html</link>
20804 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Why_the_KDE_menu_is_slow_when__usr__is_NFS_mounted___and_a_workaround.html</guid>
20805 <pubDate>Fri, 6 Apr 2012 22:40:00 +0200</pubDate>
20806 <description>&lt;p&gt;Recently I have spent time with
20807 &lt;a href=&quot;http://www.slxdrift.no/&quot;&gt;Skolelinux Drift AS&lt;/a&gt; on speeding
20808 up a &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt;
20809 Lenny installation using LTSP diskless workstations, and in the
20810 process I discovered something very surprising. The reason the KDE
20811 menu was responding slow when using it for the first time, was mostly
20812 due to the way KDE find application icons. I discovered that showing
20813 the Multimedia menu would cause more than 20 000 IP packages to be
20814 passed between the LTSP client and the NFS server. Most of these were
20815
20816 NFS LOOKUP calls, resulting in a NFS3ERR_NOENT response. Because the
20817 ping times between the client and the server were in the range 2-20
20818 ms, the menus would be very slow. Looking at the strace of kicker in
20819 Lenny (or plasma-desktop i Squeeze - same problem there), I see that
20820 the source of these NFS calls are access(2) system calls for
20821 non-existing files. KDE can do hundreds of access(2) calls to find
20822 one icon file. In my example, just finding the mplayer icon required
20823 around 230 access(2) calls.&lt;/p&gt;
20824
20825 &lt;p&gt;The KDE code seem to search for icons using a list of icon
20826 directories, and the list of possible directories is large. In
20827 (almost) each directory, it look for files ending in .png, .svgz, .svg
20828 and .xpm. The result is a very slow KDE menu when /usr/ is NFS
20829 mounted. Showing a single sub menu may result in thousands of NFS
20830 requests. I am not the first one to discover this. I found a
20831 &lt;a href=&quot;https://bugs.kde.org/show_bug.cgi?id=211416&quot;&gt;KDE bug report
20832 from 2009&lt;/a&gt; about this problem, and it is still unsolved.&lt;/p&gt;
20833
20834 &lt;p&gt;My solution to speed up the KDE menu was to create a package
20835 kde-icon-cache that upon installation will look at all .desktop files
20836 used to generate the KDE menu, find their icons, search the icon paths
20837 for the file that KDE will end up finding at run time, and copying the
20838 icon file to /var/lib/kde-icon-cache/. Finally, I add symlinks to
20839 these icon files in one of the first directories where KDE will look
20840 for them. This cut down the number of file accesses required to find
20841 one icon from several hundred to less than 5, and make the KDE menu
20842 almost instantaneous. I&#39;m not quite sure where to make the package
20843 publicly available, so for now it is only available on request.&lt;/p&gt;
20844
20845 &lt;p&gt;The bug report mention that this do not only affect the KDE menu
20846 and icon handling, but also the login process. Not quite sure how to
20847 speed up that part without replacing NFS with for example NBD, and
20848 that is not really an option at the moment.&lt;/p&gt;
20849
20850 &lt;p&gt;If you got feedback on this issue, please let us know on debian-edu
20851 (at) lists.debian.org.&lt;/p&gt;
20852
20853 &lt;p&gt;Update 2015-08-04: The
20854 &lt;a href=&quot;http://anonscm.debian.org/cgit/debian-edu/upstream/kde-icon-cache.git/&quot;&gt;source
20855 of the scripts and associated Debian package&lt;/a&gt; is available from the
20856 Debian Edu github repository.&lt;/p&gt;
20857 </description>
20858 </item>
20859
20860 <item>
20861 <title>Debian Edu in the Linux Weekly News</title>
20862 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_in_the_Linux_Weekly_News.html</link>
20863 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_in_the_Linux_Weekly_News.html</guid>
20864 <pubDate>Thu, 5 Apr 2012 08:00:00 +0200</pubDate>
20865 <description>&lt;p&gt;About two weeks ago, I was interviewed via email about
20866 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu and Skolelinux&lt;/a&gt; by
20867 Bruce Byfield in Linux Weekly News. The result was made public for
20868 non-subscribers today. I am pleased to see liked our Linux solution
20869 for schools. Check out his article
20870 &lt;a href=&quot;https://lwn.net/Articles/488805/&quot;&gt;Debian Edu/Skolelinux: A
20871 distribution for education&lt;/a&gt; if you want to learn more.&lt;/p&gt;
20872 </description>
20873 </item>
20874
20875 <item>
20876 <title>Debian Edu interview: Wolfgang Schweer</title>
20877 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Wolfgang_Schweer.html</link>
20878 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Wolfgang_Schweer.html</guid>
20879 <pubDate>Sun, 1 Apr 2012 23:00:00 +0200</pubDate>
20880 <description>&lt;p&gt;Germany is a core area for the
20881 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu and Skolelinux&lt;/a&gt;
20882 user community, and this time I managed to get hold of Wolfgang
20883 Schweer, a valuable contributor to the project from Germany.
20884
20885 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
20886
20887 &lt;p&gt;I&#39;ve studied Mathematics at the university &#39;Ruhr-Universität&#39; in
20888 Bochum, Germany. Since 1981 I&#39;m working as a teacher at the school
20889 &quot;&lt;a href=&quot;http://www.westfalenkolleg-dortmund.de/&quot;&gt;Westfalen-Kolleg
20890 Dortmund&lt;/a&gt;&quot;, a second chance school. Here, young adults is given
20891 the opportunity to get further education in order to do the school
20892 examination &#39;Abitur&#39;, which will allow to study at a university. This
20893 second chance is of value for those who want a better job perspective
20894 or failed to get a higher school examination being teens.&lt;/p&gt;
20895
20896 &lt;p&gt;Besides teaching I was involved in developing online courses for a
20897 blended learning project called &#39;abitur-online.nrw&#39; and in some other
20898 information technology related projects. For about ten years I&#39;ve been
20899 teacher and coordinator for the &#39;abitur-online&#39; project at my
20900 school. Being now in my early sixties, I&#39;ve decided to leave school at
20901 the end of April this year.&lt;/p&gt;
20902
20903 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux/Debian Edu
20904 project?&lt;/strong&gt;&lt;/p&gt;
20905
20906 &lt;p&gt;The first information about Skolelinux must have come to my
20907 attention years ago and somehow related to LTSP (Linux Terminal Server
20908 Project). At school, we had set up a network at the beginning of 1997
20909 using Suse Linux on the desktop, replacing a Novell network. Since
20910 2002, we used old machines from the city council of Dortmund as thin
20911 clients (LTSP, later Ubuntu/Lessdisks) cause new hardware was out of
20912 reach. At home I&#39;m using Debian since years and - subscribed to the
20913 Debian news letter - heard from time to time about Skolelinux. About
20914 two years ago I proposed to replace the (somehow undocumented and only
20915 known to me) system at school by a well known Debian based system:
20916 Skolelinux.&lt;/p&gt;
20917
20918 &lt;p&gt;Students and teachers appreciated the new system because of a
20919 better look and feel and an enhanced access to local media on thin
20920 clients. The possibility to alter and/or reset passwords using a GUI
20921 was welcomed, too. Being able to do administrative tasks using a GUI
20922 and to easily set up workstations using PXE was of very high value for
20923 the admin teachers.&lt;/p&gt;
20924
20925 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux/Debian
20926 Edu?&lt;/strong&gt;&lt;/p&gt;
20927
20928 &lt;p&gt;It&#39;s open source, easy to set up, stable and flexible due to it&#39;s
20929 Debian base. It integrates LTSP out-of-the-box. And it is documented!
20930 So it was a perfect choice.&lt;/p&gt;
20931
20932 &lt;p&gt;Being open source, there are no license problems and so it&#39;s
20933 possible to point teachers and students to programs like
20934 OpenOffice.org, ViewYourMind (mind mapping) and The Gimp. It&#39;s of
20935 high value to be able to adapt parts of the system to special needs of
20936 a school and to choose where to get support for this.&lt;/p&gt;
20937
20938 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux/Debian
20939 Edu?&lt;/strong&gt;&lt;/p&gt;
20940
20941 &lt;p&gt;Nothing yet.&lt;/p&gt;
20942
20943 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
20944
20945 &lt;p&gt;At home (Debian Sid with Gnome Desktop): Iceweasel, LibreOffice,
20946 Mutt, Gedit, Document Viewer, Midnight Commander, flpsed (PDF
20947 Annotator). At school (Skolelinux Lenny): Iceweasel, Gedit,
20948 LibreOffice.&lt;/p&gt;
20949
20950 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
20951 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
20952
20953 &lt;p&gt;Some time ago I thought it was enough to tell people about it. But
20954 that doesn&#39;t seem to work quite well. Now I concentrate on those more
20955 interested and hope to get multiplicators that way.&lt;/p&gt;
20956 </description>
20957 </item>
20958
20959 <item>
20960 <title>Debian Edu screencast: Checking email with kmail using Kerberos authentication</title>
20961 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_screencast__Checking_email_with_kmail_using_Kerberos_authentication.html</link>
20962 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_screencast__Checking_email_with_kmail_using_Kerberos_authentication.html</guid>
20963 <pubDate>Sun, 25 Mar 2012 10:00:00 +0200</pubDate>
20964 <description>&lt;!-- Video HTML based on http://www.diveintohtml5.net/video.html --&gt;
20965
20966 &lt;p&gt;The same Debian Edu developer that did the last screen cast I
20967 published, Wolfgang Schweer, has created a new screen cast showing how
20968 to set up Kmail in Debian Edu Squeze to authenticate using Kerberos,
20969 allowing users to check their local email account without providing
20970 any password. The video is embedded here in quarter size,
20971 and also available from &lt;a href=&quot;https://vimeo.com/38601767&quot;&gt;vimeo&lt;/a&gt;
20972 and download as a
20973 &lt;a href=&quot;http://ftp.skolelinux.org/skolelinux/press/screencasts/2012-03-14-Debian-Edu_Configure_Kmail_for_internal_usage.ogv&quot;&gt;Ogg
20974 Theora&lt;/a&gt; file. Check it out below.&lt;/p&gt;
20975
20976 &lt;p&gt;&lt;video id=&quot;kmail-kerberos-movie&quot; width=&quot;256&quot; height=&quot;184&quot; preload controls&gt;
20977 &lt;source src=&quot;http://ftp.skolelinux.org/skolelinux/press/screencasts/2012-03-14-Debian-Edu_Configure_Kmail_for_internal_usage.ogv&quot; type=&#39;video/ogg; codecs=&quot;theora, vorbis&quot;&#39; /&gt;
20978 &lt;p&gt;Download video as
20979 &lt;a href=&quot;http://ftp.skolelinux.org/skolelinux/press/screencasts/2012-03-14-Debian-Edu_Configure_Kmail_for_internal_usage.ogv&quot;&gt;Ogg&lt;/a&gt;.&lt;/p&gt;
20980 &lt;/video&gt;&lt;/p&gt;
20981 </description>
20982 </item>
20983
20984 <item>
20985 <title>Debian Edu interview: John Ingleby</title>
20986 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__John_Ingleby.html</link>
20987 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__John_Ingleby.html</guid>
20988 <pubDate>Mon, 19 Mar 2012 21:15:00 +0100</pubDate>
20989 <description>&lt;p&gt;&lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt;
20990 users are spread all across the globe. The second inteview after
20991 &lt;a href=&quot;http://lists.debian.org/debian-edu-announce/2012/03/msg00001.html&quot;&gt;the
20992 Squeeze release&lt;/a&gt; was publised is with John Ingleby, a teacher and
20993 long time Linux user in United Kingdom.&lt;/p&gt;
20994
20995 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
20996
20997 &lt;p&gt;I teach ICT part time at the Rudolf Steiner School in Kings
20998 Langley, near London, UK. Previously I worked as a technical
20999 author/trainer while my children attended the school, and I also
21000 contributed to the Schoolforge UK community with the aim of
21001 encouraging UK schools to adopt free/open source software. Five or six
21002 years ago we had about 50 schools interested in some way, but we
21003 weren&#39;t able to convert many of them into sustainable
21004 installations.&lt;/p&gt;
21005
21006 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux/Debian Edu
21007 project?&lt;/strong&gt;&lt;/p&gt;
21008
21009 &lt;p&gt;Skolelinux had two representatives at an early Edubuntu meeting in
21010 London which I attended. However at that time our school network had
21011 just been installed using CentOS, LTSP 4 and GNOME. When LTSP 5 came
21012 along we switched to Edubuntu thin client servers so now we have a
21013 mixed environment which includes Windows PCs and student laptops, as
21014 well as their MacBooks and iPads. However, the proprietary systems
21015 have always been rather problematic, and we never built a GUI for the
21016 LDAP server, so when I discovered Skolelinux is configured for all
21017 these things we decided to try it.&lt;/p&gt;
21018
21019 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux/Debian
21020 Edu?&lt;/strong&gt;&lt;/p&gt;
21021
21022 &lt;p&gt;By far the biggest advantage is the Debian Edu community. Apart
21023 from that I have always believed in the same &quot;sustainable computing&quot;
21024 goals that Skolelinux is built on: installing Linux on computers which
21025 would otherwise be thrown away, to provide a reliable, secure and
21026 low-cost IT environment for schools. From my own experience I know
21027 that a part-time person can teach and manage a network of about 25
21028 Linux computers, but it would take much more of my time if we had
21029 proprietary software everywhere.&lt;/p&gt;
21030
21031 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux/Debian
21032 Edu?&lt;/strong&gt;&lt;/p&gt;
21033
21034 &lt;p&gt;As a newcomer I&#39;m just finding out who&#39;s who in the community and
21035 how you&#39;re organised, and what your procedures are for dealing with
21036 various things such as editing manual pages and so-on. The only
21037 English language mailing list seems to be for developers as well as
21038 users, so my inbox needs heavy pruning each day!&lt;/p&gt;
21039
21040 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
21041
21042 &lt;p&gt;Besides the software already mentioned at school we use Samba,
21043 OpenLDAP, CUPS, Nagios and Dansguardian for the network, and on the
21044 desktops we have LibreOffice, Firefox, GIMP and Inkscape. At home I
21045 use Ubuntu and an Android 4 eePad Transformer (but I&#39;m not sure if
21046 that counts...)&lt;/p&gt;
21047
21048 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
21049 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
21050
21051 &lt;p&gt;That&#39;s a tough question! For very many years UK schools installed
21052 and taught only proprietary software, so that at the highest levels
21053 the notion of &quot;computer&quot; means simply &quot;proprietary office
21054 applications&quot;. However, schools today are experiencing budget
21055 constraints, and many are having to think hard about upgrading Windows
21056 XP. At the same time, we have students showing teachers how to use
21057 iPads, MacBooks and Android, so the choice of operating system is no
21058 longer quite so automatic. What is more, our government at last
21059 realised that we need people with programming skills, so they&#39;re
21060 putting coding back in the curriculum! And it&#39;s encouraging that the
21061 first 10,000 Raspberry Pi units sold out in 2 hours.&lt;/p&gt;
21062
21063 &lt;p&gt;I don&#39;t really know what strategy is going to get UK schools to use
21064 free software, but building an active community of Skolelinux/Debian
21065 Edu users in this country has to be part of it.&lt;/p&gt;
21066 </description>
21067 </item>
21068
21069 <item>
21070 <title>Writing and translating documentation in Debian Edu</title>
21071 <link>http://people.skolelinux.org/pere/blog/Writing_and_translating_documentation_in_Debian_Edu.html</link>
21072 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Writing_and_translating_documentation_in_Debian_Edu.html</guid>
21073 <pubDate>Fri, 16 Mar 2012 09:55:00 +0100</pubDate>
21074 <description>&lt;p&gt;Documentation in Debian Edu is provided in several languages, and
21075 it is important to make it both easy to contribute and to keep the
21076 translated versions in sync. To do this we have come up with what we
21077 believe is a very efficient work flow.&lt;/p&gt;
21078
21079 &lt;ol&gt;
21080
21081 &lt;li&gt;The documentation is written in a
21082 &lt;a href=&quot;http://moinmo.in&quot;&gt;moinmoin wiki&lt;/a&gt; (see for example
21083 &lt;a href=&quot;http://wiki.debian.org/DebianEdu/Documentation/Squeeze&quot;&gt;the
21084 Squeeze release manual&lt;/a&gt;) with support for exporting the content as
21085 docbook XML.&lt;/li&gt;
21086
21087 &lt;li&gt;This docbook document is given to po4a to extract a gettext style
21088 .pot file with the content, which in turn is used to create .po files
21089 with the translated text.&lt;/li&gt;
21090
21091 &lt;li&gt;The .po files are given to translators, and they can always tell
21092 which part of the original wiki document is new or changed. They can
21093 use their normal translation tools like lokalize or poedit to write
21094 the translation. There is even a system in place to handle translated
21095 images.&lt;/li&gt;
21096
21097 &lt;li&gt;The translated .po files are combined with the original docbook
21098 XML document using po4a to create a translated docbook document.&lt;/li&gt;
21099
21100 &lt;li&gt;The final step is to use all the generated docbook files and
21101 create PDF and HTML version of the original and translated documents.&lt;/li&gt;
21102
21103 &lt;/ol&gt;
21104
21105 &lt;p&gt;This setup work very well, but have a few issues. The biggest
21106 issue is that &lt;a href=&quot;http://moinmo.in/DocBook&quot;&gt;the docbook support
21107 we use in moinmoin&lt;/a&gt; is not actively maintained. The docbook
21108 support is also buggy, and our build system contain workarounds to
21109 make sure the generated docbook is usable despite these bugs.&lt;/p&gt;
21110
21111 &lt;p&gt;If you want to have a look at our setup, it is all there in the
21112 &lt;a href=&quot;http://packages.qa.debian.org/debian-edu-doc&quot;&gt;debian-edu-doc
21113 package&lt;/a&gt;.&lt;/p&gt;
21114 </description>
21115 </item>
21116
21117 <item>
21118 <title>Skolelinux / Debian Edu Squeeze is out!</title>
21119 <link>http://people.skolelinux.org/pere/blog/Skolelinux___Debian_Edu_Squeeze_is_out_.html</link>
21120 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Skolelinux___Debian_Edu_Squeeze_is_out_.html</guid>
21121 <pubDate>Sun, 11 Mar 2012 23:00:00 +0100</pubDate>
21122 <description>&lt;p&gt;This weekend we finally published the first stable release of
21123 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Skolelinux / Debian Edu&lt;/a&gt; based
21124 on Debian/Squeeze. The full announcement is
21125 &lt;a href=&quot;http://lists.debian.org/debian-edu-announce/2012/03/msg00001.html&quot;&gt;available&lt;/a&gt;
21126 from the project announcement list. Now is a good time to test if it
21127 you have not done so already.&lt;/p&gt;
21128
21129 &lt;p&gt;I plan to present the new version at
21130 &lt;a href=&quot;http://www.nuug.no/aktiviteter/20120313-skolelinux/&quot;&gt;a NUUG
21131 meeting&lt;/a&gt; on tuesday. I look forward to seeing you there if you are
21132 in Oslo, Norway.&lt;/p&gt;
21133 </description>
21134 </item>
21135
21136 <item>
21137 <title>Debian Edu interview: Nigel Barker</title>
21138 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Nigel_Barker.html</link>
21139 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Nigel_Barker.html</guid>
21140 <pubDate>Fri, 9 Mar 2012 11:30:00 +0100</pubDate>
21141 <description>&lt;p&gt;Inspired by &lt;a href=&quot;http://raphaelhertzog.com/tag/interview/&quot;&gt;the
21142 interview series&lt;/a&gt; conducted by Raphael, I started a Norwegian
21143 interview series with people involved in the Debian Edu / Skolelinux
21144 community. This was so popular that I believe it is time to move to a
21145 more international audience.&lt;/p&gt;
21146
21147 &lt;p&gt;While &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu and
21148 Skolelinux&lt;/a&gt; originated in France and Norway, and have most users in
21149 Europe, there are users all around the globe. One of those far away
21150 from me is Nigel Barker, a long time Debian Edu system administrator
21151 and contributor. It is thanks to him that Debian Edu is adjusted to
21152 work out of the box in Japan. I got him to answer a few questions,
21153 and am happy to share the response with you. :)
21154
21155
21156 &lt;p&gt;&lt;strong&gt;Who are you, and how do you spend your days?&lt;/strong&gt;&lt;/p&gt;
21157
21158 &lt;p&gt;My name is Nigel Barker, and I am British. I am married to Yumiko,
21159 and we have three lovely children, aged 15, 14 and 4(!) I am the IT
21160 Coordinator at Hiroshima International School, Japan. I am also a
21161 teacher, and in fact I spend most of my day teaching Mathematics,
21162 Science, IT, and Chemistry. I was originally a Chemistry teacher, but
21163 I have always had an interest in computers. Another teacher teaches
21164 primary school IT, but apart from that I am the only computer person,
21165 so that means I am the network manager, technician and webmaster,
21166 also, and I help people with their computer problems. I teach python
21167 to beginners in an after-school club. I am way too busy, so I really
21168 appreciate the simplicity of Skolelinux.&lt;/p&gt;
21169
21170 &lt;p&gt;&lt;strong&gt;How did you get in contact with the Skolelinux/Debian Edu
21171 project?&lt;/strong&gt;&lt;/p&gt;
21172
21173 &lt;p&gt;In around 2004 or 5 I discovered the ltsp project, and set up a
21174 server in the IT lab. I wanted some way to connect it to our central
21175 samba server, which I was also quite poor at configuring. I discovered
21176 Edubuntu when it came out, but it didn&#39;t really improve my setup. I
21177 did various desperate searches for things like &quot;school Linux server&quot;
21178 and ended up in a document called &quot;Drift&quot; something or other. Reading
21179 there it became clear that Skolelinux was going to solve all my
21180 problems in one go. I was very excited, but apprehensive, because my
21181 previous attempts to install Debian had ended in failure (I used
21182 Mandrake for everything - ltsp, samba, apache, mail, ns...). I
21183 downloaded a beta version, had some problems, so subscribed to the
21184 Debian Edu list for help. I have remained subscribed ever since, and
21185 my school has run a Skolelinux network since Sarge.&lt;/p&gt;
21186
21187 &lt;p&gt;&lt;strong&gt;What do you see as the advantages of Skolelinux/Debian
21188 Edu?&lt;/strong&gt;&lt;/p&gt;
21189
21190 &lt;p&gt;For me the integrated setup. This is not just the server, or the
21191 workstation, or the ltsp. Its all of them, and its all configured
21192 ready to go. I read somewhere in the early documentation that it is
21193 designed to be setup and managed by the Maths or Science teacher, who
21194 doesn&#39;t necessarily know much about computers, in a small Norwegian
21195 school. That describes me perfectly if you replace Norway with
21196 Japan.&lt;/p&gt;
21197
21198 &lt;p&gt;&lt;strong&gt;What do you see as the disadvantages of Skolelinux/Debian
21199 Edu?&lt;/strong&gt;&lt;/p&gt;
21200
21201 &lt;p&gt;The desktop is fairly plain. If you compare it with Edubuntu, who
21202 have fun themes for children, or with distributions such as Mint, who
21203 make the desktop beautiful. They create a good impression on people
21204 who don&#39;t need to understand how to use any of it, but who might be
21205 important to the school. School administrators or directors, for
21206 instance, or parents. Even kids. Debian itself usually has ugly
21207 default theme settings. It was my dream a few years back that some
21208 kind of integration would allow Edubuntu to do the desktop stuff and
21209 Debian Edu the servers, but now I realise how impossible that is. A
21210 second disadvantage is that if something goes wrong, or you need to
21211 customise something, then suddenly the level of expertise required
21212 multiplies. For example, backup wasn&#39;t working properly in Lenny. It
21213 took me ages to learn how to set up my own server to do rsync backups.
21214 I am afraid of anything to do with ldap, but perhaps Gosa will
21215 help.&lt;/p&gt;
21216
21217 &lt;p&gt;&lt;strong&gt;Which free software do you use daily?&lt;/strong&gt;&lt;/p&gt;
21218
21219 &lt;p&gt;Nowadays I only use Debian on my personal computers. I have one for
21220 studio work (I play guitar and write songs), running AV Linux
21221 (customised Debian) a netbook running Squeeze, and a bigger laptop
21222 still running Skolelinux Lenny workstation. I have a Tjener in my
21223 house, that&#39;s very useful for the family photos and music. At school
21224 the students only use Skolelinux. (Some teachers and the office still
21225 have windows). So that means we only use free software all day every
21226 day. Open office, The GIMP, Firefox/Iceweasel, VLC and Audacity are
21227 installed on every computer in school, irrespective of OS. We also
21228 have Koha on Debian for the library, and Apache, Moodle, b2evolution
21229 and Etomite on Debian for the www. The firewall is Untangle.&lt;/p&gt;
21230
21231 &lt;p&gt;&lt;strong&gt;Which strategy do you believe is the right one to use to
21232 get schools to use free software?&lt;/strong&gt;&lt;/p&gt;
21233
21234 &lt;p&gt;Current trends are in our favour. Open source is big in industry,
21235 and ordinary people have heard of it. The spread of Android and the
21236 popularity of Apple have helped to weaken the impression that you have
21237 to have Microsoft on everything. People complain to me much less about
21238 file formats and Word than they did 5 years ago. The Edu aspect is
21239 also a selling point. This is all customised for schools. Where is the
21240 Windows-edu, or the Mac-edu? But of course the main attraction is
21241 budget.The trick is to convince people that the quality is not
21242 compromised when you stop paying and use free software instead. That
21243 is one reason why I say the desktop experience is a weakness. People
21244 are not impressed when their USB drive doesn&#39;t work, or their browser
21245 doesn&#39;t play flash, for example.&lt;/p&gt;
21246 </description>
21247 </item>
21248
21249 <item>
21250 <title>Debian Edu screencast: Mass creation of user accounts in Squeeze</title>
21251 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_screencast__Mass_creation_of_user_accounts_in_Squeeze.html</link>
21252 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_screencast__Mass_creation_of_user_accounts_in_Squeeze.html</guid>
21253 <pubDate>Wed, 7 Mar 2012 13:40:00 +0100</pubDate>
21254 <description>&lt;!-- Video HTML based on http://www.diveintohtml5.net/video.html --&gt;
21255
21256 &lt;p&gt;One of the Debian Edu developers, Wolfgang Schweer, just created a
21257 screen cast documenting how to create a lot of new users in LDAP on
21258 Debian Edu Squeeze. The video is embedded here in quarter size, and
21259 also available from &lt;a href=&quot;http://vimeo.com/37675399&quot;&gt;vimeo&lt;/a&gt; and
21260 download as a
21261 &lt;a href=&quot;http://ftp.skolelinux.org/skolelinux/press/screencasts/2012-02-29-debian_edu_mass_create_user_accounts.ogv&quot;&gt;Ogg
21262 Theora&lt;/a&gt; file. Check it out below.&lt;/p&gt;
21263
21264 &lt;p&gt;&lt;video id=&quot;gosa-mass-user-create-movie&quot; width=&quot;256&quot; height=&quot;184&quot; preload controls&gt;
21265 &lt;source src=&quot;http://ftp.skolelinux.org/skolelinux/press/screencasts/2012-02-29-debian_edu_mass_create_user_accounts.ogv&quot; type=&#39;video/ogg; codecs=&quot;theora, vorbis&quot;&#39; /&gt;
21266 &lt;p&gt;Download video as
21267 &lt;a href=&quot;http://ftp.skolelinux.org/skolelinux/press/screencasts/2012-02-29-debian_edu_mass_create_user_accounts.ogv&quot;&gt;Ogg&lt;/a&gt;.&lt;/p&gt;
21268 &lt;/video&gt;&lt;/p&gt;
21269 </description>
21270 </item>
21271
21272 <item>
21273 <title>Third release candidate of Debian Edu / Skolelinux based on Squeeze</title>
21274 <link>http://people.skolelinux.org/pere/blog/Third_release_candidate_of_Debian_Edu___Skolelinux_based_on_Squeeze.html</link>
21275 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Third_release_candidate_of_Debian_Edu___Skolelinux_based_on_Squeeze.html</guid>
21276 <pubDate>Sun, 4 Mar 2012 18:20:00 +0100</pubDate>
21277 <description>&lt;p&gt;This weekend we wrapped up and published the third release
21278 candidate for &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu /
21279 Skolelinux&lt;/a&gt; based on Squeeze. The full announcement is
21280 &lt;a href=&quot;http://lists.debian.org/debian-edu-announce/2012/03/msg00000.html&quot;&gt;available&lt;/a&gt;
21281 from the project announcement list. Check it out if you
21282 need a software solution for your school.&lt;/p&gt;
21283 </description>
21284 </item>
21285
21286 <item>
21287 <title>Stopmotion for making stop motion animations on Linux - reloaded</title>
21288 <link>http://people.skolelinux.org/pere/blog/Stopmotion_for_making_stop_motion_animations_on_Linux___reloaded.html</link>
21289 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Stopmotion_for_making_stop_motion_animations_on_Linux___reloaded.html</guid>
21290 <pubDate>Sat, 3 Mar 2012 12:50:00 +0100</pubDate>
21291 <description>&lt;p&gt;Many years ago, the &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Skolelinux
21292 / Debian Edu project&lt;/a&gt; initiated a student project to create a tool
21293 for making stop motion movies. The proposal came from a teacher
21294 needing such tool on Skolelinux. The project, called &quot;stopmotion&quot;,
21295 was manned by two extraordinary students and won a school award and a
21296 national aware with this great project. The project was initiated and
21297 mentored by Herman Robak, and manned by the students Bjørn Erik Nilsen
21298 and Fredrik Berg Kjølstad. They got in touch with people at Aardman
21299 Animation studio and received feedback on how professionals would like
21300 such stopmotion tool to work, and the end result was and is used by
21301 animators around the globe. But as is usual after studying, both got
21302 jobs and went elsewhere, and did not have time to properly tend to the
21303 project, and it has been lingering for a few years now. Until last
21304 year...&lt;/p&gt;
21305
21306 &lt;p&gt;Last year some of the users got together with Herman, and moved the
21307 project to Sourceforge and in effect restarted the project under a new
21308 name,
21309 &lt;a href=&quot;http://sourceforge.net/projects/linuxstopmotion/&quot;&gt;linuxstopmotion&lt;/a&gt;.
21310 The name change was done to make it possible to find the project using
21311 Internet search engines (try to search for &#39;stopmotion&#39; to see what I
21312 mean). I&#39;ve been following
21313 &lt;a href=&quot;https://lists.sourceforge.net/lists/listinfo/linuxstopmotion-community&quot;&gt;the
21314 mailing list&lt;/a&gt; and the improvement already in place and planned for
21315 the future is encouraging. If you want to make stop motion movies.
21316 Check it out. :)&lt;/p&gt;
21317 </description>
21318 </item>
21319
21320 <item>
21321 <title>Second release candidate of Debian Edu / Skolelinux based on Squeeze</title>
21322 <link>http://people.skolelinux.org/pere/blog/Second_release_candidate_of_Debian_Edu___Skolelinux_based_on_Squeeze.html</link>
21323 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Second_release_candidate_of_Debian_Edu___Skolelinux_based_on_Squeeze.html</guid>
21324 <pubDate>Mon, 27 Feb 2012 14:00:00 +0100</pubDate>
21325 <description>&lt;p&gt;This weekend we wrapped up and published the second release
21326 candidate for &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu /
21327 Skolelinux&lt;/a&gt; based on Squeeze. The full announcement did for some
21328 reason not make it the project announcement list, but is
21329 &lt;a href=&quot;http://lists.debian.org/debian-devel-announce/2012/02/msg00015.html&quot;&gt;available&lt;/a&gt;
21330 from the Debian development announcement list. Check it out if you
21331 need a software solution for your school.&lt;/p&gt;
21332 </description>
21333 </item>
21334
21335 <item>
21336 <title>First release candidate of Debian Edu / Skolelinux based on Squeeze</title>
21337 <link>http://people.skolelinux.org/pere/blog/First_release_candidate_of_Debian_Edu___Skolelinux_based_on_Squeeze.html</link>
21338 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_release_candidate_of_Debian_Edu___Skolelinux_based_on_Squeeze.html</guid>
21339 <pubDate>Sun, 19 Feb 2012 23:10:00 +0100</pubDate>
21340 <description>&lt;p&gt;One week delayed due to DVD build problems, we managed today to
21341 wrap up and publish the first release candidate for
21342 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt; based
21343 on Squeeze. The full announcement is
21344 &lt;a href=&quot;http://lists.debian.org/debian-edu-announce/2012/02/msg00001.html&quot;&gt;available&lt;/a&gt;
21345 on the project announcement list. Check it out if you need a software
21346 solution for your school.&lt;/p&gt;
21347 </description>
21348 </item>
21349
21350 <item>
21351 <title>How to figure out which RAID disk to replace when it fail</title>
21352 <link>http://people.skolelinux.org/pere/blog/How_to_figure_out_which_RAID_disk_to_replace_when_it_fail.html</link>
21353 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_figure_out_which_RAID_disk_to_replace_when_it_fail.html</guid>
21354 <pubDate>Tue, 14 Feb 2012 21:25:00 +0100</pubDate>
21355 <description>&lt;p&gt;Once in a while my home server have disk problems. Thanks to Linux
21356 Software RAID, I have not lost data yet (but
21357 &lt;a href=&quot;http://comments.gmane.org/gmane.linux.raid/34532&quot;&gt;I was
21358 close&lt;/a&gt; this summer :). But once a disk is starting to behave
21359 funny, a practical problem present itself. How to get from the Linux
21360 device name (like /dev/sdd) to something that can be used to identify
21361 the disk when the computer is turned off? In my case I have SATA
21362 disks with a unique ID printed on the label. All I need is a way to
21363 figure out how to query the disk to get the ID out.&lt;/p&gt;
21364
21365 &lt;p&gt;After fumbling a bit, I
21366 &lt;a href=&quot;http://www.cyberciti.biz/faq/linux-getting-scsi-ide-harddisk-information/&quot;&gt;found
21367 that hdparm -I&lt;/a&gt; will report the disk serial number, which is
21368 printed on the disk label. The following (almost) one-liner can be
21369 used to look up the ID of all the failed disks:&lt;/p&gt;
21370
21371 &lt;blockquote&gt;&lt;pre&gt;
21372 for d in $(cat /proc/mdstat |grep &#39;(F)&#39;|tr &#39; &#39; &quot;\n&quot;|grep &#39;(F)&#39;|cut -d\[ -f1|sort -u);
21373 do
21374 printf &quot;Failed disk $d: &quot;
21375 hdparm -I /dev/$d |grep &#39;Serial Num&#39;
21376 done
21377 &lt;/blockquote&gt;&lt;/pre&gt;
21378
21379 &lt;p&gt;Putting it here to make sure I do not have to search for it the
21380 next time, and in case other find it useful.&lt;/p&gt;
21381
21382 &lt;p&gt;At the moment I have two failing disk. :(&lt;/p&gt;
21383
21384 &lt;blockquote&gt;&lt;pre&gt;
21385 Failed disk sdd1: Serial Number: WD-WCASJ1860823
21386 Failed disk sdd2: Serial Number: WD-WCASJ1860823
21387 Failed disk sde2: Serial Number: WD-WCASJ1840589
21388 &lt;/blockquote&gt;&lt;/pre&gt;
21389
21390 &lt;p&gt;The last time I had failing disks, I added the serial number on
21391 labels I printed and stuck on the short sides of each disk, to be able
21392 to figure out which disk to take out of the box without having to
21393 remove each disk to look at the physical vendor label. The vendor
21394 label is at the top of the disk, which is hidden when the disks are
21395 mounted inside my box.&lt;/p&gt;
21396
21397 &lt;p&gt;I really wish the check_linux_raid Nagios plugin for checking Linux
21398 Software RAID in the
21399 &lt;a href=&quot;http://packages.qa.debian.org/n/nagios-plugins.html&quot;&gt;nagios-plugins-standard&lt;/a&gt;
21400 debian package would look up this value automatically, as it would
21401 make the plugin a lot more useful when my disks fail. At the moment
21402 it only report a failure when there are no more spares left (it really
21403 should warn as soon as a disk is failing), and it do not tell me which
21404 disk(s) is failing when the RAID is running short on disks.&lt;/p&gt;
21405 </description>
21406 </item>
21407
21408 <item>
21409 <title>Automatic proxy configuration with Debian Edu / Skolelinux</title>
21410 <link>http://people.skolelinux.org/pere/blog/Automatic_proxy_configuration_with_Debian_Edu___Skolelinux.html</link>
21411 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Automatic_proxy_configuration_with_Debian_Edu___Skolelinux.html</guid>
21412 <pubDate>Mon, 13 Feb 2012 23:40:00 +0100</pubDate>
21413 <description>&lt;p&gt;New in the Squeeze version of
21414 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt; is the
21415 ability for clients to automatically configure their proxy settings
21416 based on their environment. We want all systems on the client to use
21417 the WPAD based proxy definition fetched from &lt;tt&gt;http://wpad/wpad.dat&lt;/tt&gt;, to
21418 allow sites to control the proxy setting from a central place and make
21419 sure clients do not have hard coded proxy settings. The schools can
21420 change the global proxy setting by editing
21421 &lt;tt&gt;tjener:/etc/debian-edu/www/wpad.dat&lt;/tt&gt; and the change propagate
21422 to all Debian Edu clients in the network.&lt;/p&gt;
21423
21424 &lt;p&gt;The problem is that some systems do not understand the WPAD system.
21425 In other words, how do one get from a WPAD file like this (this is a
21426 simple one, they can run arbitrary code):&lt;/p&gt;
21427
21428 &lt;blockquote&gt;&lt;pre&gt;
21429 function FindProxyForURL(url, host)
21430 {
21431 if (!isResolvable(host) ||
21432 isPlainHostName(host) ||
21433 dnsDomainIs(host, &quot;.intern&quot;))
21434 return &quot;DIRECT&quot;;
21435 else
21436 return &quot;PROXY webcache:3128; DIRECT&quot;;
21437 }
21438 &lt;/pre&gt;&lt;/blockquote&gt;
21439
21440 &lt;p&gt;to a proxy setting in the process environment looking like this:&lt;/p&gt;
21441
21442 &lt;blockquote&gt;&lt;pre&gt;
21443 http_proxy=http://webcache:3128/
21444 ftp_proxy=http://webcache:3128/
21445 &lt;/pre&gt;&lt;/blockquote&gt;
21446
21447 &lt;p&gt;To do this conversion I developed a perl script that will execute
21448 the javascript fragment in the WPAD file and return the proxy that
21449 would be used for
21450 &lt;tt&gt;&lt;a href=&quot;http://www.debian.org/&quot;&gt;http://www.debian.org/&lt;/a&gt;&lt;/tt&gt;,
21451 and insert this extracted proxy URL in &lt;tt&gt;/etc/environment&lt;/tt&gt; and
21452 &lt;tt&gt;/etc/apt/apt.conf&lt;/tt&gt;. The perl script wpad-extract work just
21453 fine in Squeeze, but in Wheezy the library it need to run the
21454 javascript code is &lt;a href=&quot;http://bugs.debian.org/631045&quot;&gt;no longer
21455 able to build&lt;/a&gt; because the C library it depended on is now a C++
21456 library. I hope someone find a solution to that problem before Wheezy
21457 is frozen. An alternative would be for us to rewrite wpad-extract to
21458 use some other javascript library currently working in Wheezy, but no
21459 known alternative is known at the moment.&lt;/p&gt;
21460
21461 &lt;p&gt;This automatic proxy system allow the roaming workstation (aka
21462 laptop) setup in Debian Edu/Squeeze to use the proxy when the laptop
21463 is connected to the backbone network in a Debian Edu setup, and to
21464 automatically use any proxy present and announced using the WPAD
21465 feature when it is connected to other networks. And if no proxy is
21466 announced, direct connections will be used instead.&lt;/p&gt;
21467
21468 &lt;p&gt;Silently using a proxy announced on the network might be a privacy
21469 or security problem. But those controlling DHCP and DNS on a network
21470 could just as easily set up a transparent proxy, and force all HTTP
21471 and FTP connections to use a proxy anyway, so I consider that
21472 distinction to be academic. If you are afraid of using the wrong
21473 proxy, you should avoid connecting to the network in question in the
21474 first place. In Debian Edu, the proxy setup is updated using dhcp and
21475 ifupdown hooks, to make sure the configuration is updated every time
21476 the network setup changes.&lt;/p&gt;
21477
21478 &lt;p&gt;The WPAD system is documented in a
21479 &lt;a href=&quot;http://tools.ietf.org/html/draft-ietf-wrec-wpad-01&quot;&gt;IETF
21480 draft&lt;/a&gt; and a
21481 &lt;a href=&quot;http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol&quot;&gt;Wikipedia
21482 page&lt;/a&gt; for those that want to learn more.&lt;/p&gt;
21483 </description>
21484 </item>
21485
21486 <item>
21487 <title>Saving power with Debian Edu / Skolelinux using shutdown-at-night</title>
21488 <link>http://people.skolelinux.org/pere/blog/Saving_power_with_Debian_Edu___Skolelinux_using_shutdown_at_night.html</link>
21489 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Saving_power_with_Debian_Edu___Skolelinux_using_shutdown_at_night.html</guid>
21490 <pubDate>Sun, 5 Feb 2012 09:45:00 +0100</pubDate>
21491 <description>&lt;p&gt;Since the Lenny version of
21492 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt;, a
21493 feature to save power have been included. It is as simple as it is
21494 practical: Shut down unused clients at night, and turn them on again
21495 in the morning. This is done using the
21496 &lt;a href=&quot;http://packages.qa.debian.org/s/shutdown-at-night.html&quot;&gt;shutdown-at-night&lt;/a&gt; Debian package.&lt;/p&gt;
21497
21498 &lt;p&gt;To enable this feature on a client, the machine need to be added to
21499 the netgroup shutdown-at-night-hosts. For Debian Edu, this is done in
21500 LDAP, and once this is in place, the machine in question will check
21501 every hour from 16:00 until 06:00 to see if the machine is unused, and
21502 shut it down if it is. If the hardware in question is supported by
21503 the
21504 &lt;a href=&quot;http://packages.qa.debian.org/n/nvram-wakeup.html&quot;&gt;nvram-wakeup&lt;/a&gt;
21505 package, the BIOS is told to turn the machine back on around 07:00 +-
21506 10 minutes. If this isn&#39;t working, one can configure wake-on-lan to
21507 try to turn on the client. The wake-on-lan option is only documented
21508 and not enabled by default in Debian Edu.&lt;/p&gt;
21509
21510 &lt;p&gt;It is important to not turn all machines on at once, as this can
21511 blow a fuse if several computers are connected to the same fuse like
21512 the common setup for a classroom. The nvram-wakeup method only work
21513 for machines with a functioning hardware/BIOS clock. I&#39;ve seen old
21514 machines where the BIOS battery were dead and the hardware clock were
21515 starting from 0 (or was it 1990?) every boot. If you have one of
21516 those, you have to turn on the computer manually.&lt;/p&gt;
21517
21518 &lt;p&gt;The shutdown-at-night package is completely self contained, and can
21519 also be used outside the Debian Edu environment. For those without a
21520 central LDAP server with netgroups, one can instead touch the file
21521 &lt;tt&gt;/etc/shutdown-at-night/shutdown-at-night&lt;/tt&gt; to enable it.
21522 Perhaps you too can use it to save some power?&lt;/p&gt;
21523 </description>
21524 </item>
21525
21526 <item>
21527 <title>Third beta version of Debian Edu / Skolelinux based on Squeeze</title>
21528 <link>http://people.skolelinux.org/pere/blog/Third_beta_version_of_Debian_Edu___Skolelinux_based_on_Squeeze.html</link>
21529 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Third_beta_version_of_Debian_Edu___Skolelinux_based_on_Squeeze.html</guid>
21530 <pubDate>Sat, 4 Feb 2012 13:25:00 +0100</pubDate>
21531 <description>&lt;p&gt;I am happy to announce that finally we managed today to wrap up and
21532 publish the third beta version of
21533 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt; based
21534 on Squeeze. If you want to test a LDAP backed Kerberos server with
21535 out of the box PXE configuration for running diskless machines and
21536 installing new machines, check it out. If you need a software
21537 solution for your school, check it out too. The full announcement is
21538 &lt;a href=&quot;http://lists.debian.org/debian-edu-announce/2012/02/msg00000.html&quot;&gt;available&lt;/a&gt;
21539 on the project announcement list.&lt;/p&gt;
21540
21541 &lt;p&gt;I am very happy to report these changes and improvements since
21542 beta2 (there are more, see announcement for full list):&lt;/p&gt;
21543
21544 &lt;ul&gt;
21545
21546 &lt;li&gt;It is now possible to change the pre-configured IP subnet from
21547 10.0.0.0/8 to something else by using the subnet-change tool after
21548 the installation.&lt;/li&gt;
21549
21550 &lt;li&gt;Too full partitions are now automatically extended on the Main
21551 Server, based on the rules specified in /etc/fsautoresizetab.&lt;/li&gt;
21552
21553 &lt;li&gt;The CUPS queues are now automatically flushed every night, and all
21554 disabled queues are restarted every hour. This should cut down on
21555 the amount of manual administration needed for printers.&lt;/li&gt;
21556
21557 &lt;li&gt;The set of initial users have been changed. Now a personal user
21558 for the local system administrator is created during installation
21559 instead of the previously created localadmin and super-admin users,
21560 and this user is granted administrative privileges using group
21561 membership. This reduces the number of passwords one need to keep
21562 up to date on the system.&lt;/li&gt;
21563
21564 &lt;/ul&gt;
21565
21566 &lt;p&gt;The new main server seem to work so well that I am testing it as my
21567 private DNS/LDAP/Kerberos/PXE/LTSP server at home. I will use it look
21568 for issues we could fix to polish Debian Edu even further before the
21569 final Squeeze release is published.&lt;/p&gt;
21570
21571 &lt;p&gt;Next weekend the project organise a
21572 &lt;a href=&quot;http://lists.debian.org/debian-edu-announce/2012/01/msg00001.html&quot;&gt;developer
21573 gathering&lt;/a&gt; in Oslo. We will continue the work on the Squeeze
21574 version, and start initial planning for the Wheezy version. Perhaps I
21575 will see you there?&lt;/p&gt;
21576 </description>
21577 </item>
21578
21579 <item>
21580 <title>Handling non-free firmware in Debian Edu/Squeeze</title>
21581 <link>http://people.skolelinux.org/pere/blog/Handling_non_free_firmware_in_Debian_Edu_Squeeze.html</link>
21582 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Handling_non_free_firmware_in_Debian_Edu_Squeeze.html</guid>
21583 <pubDate>Fri, 27 Jan 2012 23:30:00 +0100</pubDate>
21584 <description>&lt;p&gt;With some computer hardware, one need non-free firmware blobs.
21585 This is the sad fact of todays computers. In the next version of
21586 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt; based
21587 on Squeeze, we provide several scripts and modifications to make
21588 firmware blobs easier to handle. The common use case I run into is a
21589 laptop with a wireless network card requiring non-free firmware to
21590 work, but there are other use cases as well.&lt;/p&gt;
21591
21592 &lt;p&gt;First and foremost, Debian Edu provide ISO images for DVD and CD
21593 with all firmware packages in the Debian sections main and non-free
21594 included, to ensure debian-installer find and can install all of them
21595 during installation. This take care firmware for network devices used
21596 by the installer when installing from from local media. But for
21597 example multimedia devices are not activated in the installer and are
21598 not taken care of by this.&lt;/p&gt;
21599
21600 &lt;p&gt;For non-network devices, we provide the script
21601 &lt;tt&gt;/usr/share/debian-edu-config/tools/auto-addfirmware&lt;/tt&gt; which
21602 search through the &lt;tt&gt;dmesg&lt;/tt&gt; output for drivers requesting extra
21603 firmware. The firmware file name is looked up in the Contents-ARCH.gz
21604 file available in the package repository, and the packages providing
21605 the requested firmware file(s) is installed. I have proposed to do
21606 something similar in debian-installer (BTS report
21607 &lt;a href=&quot;http://bugs.debian.org/655507&quot;&gt;#655507&lt;/a&gt;), to allow PXE
21608 installs of Debian to handle firmware installation better. Run the
21609 script as root from the command line to fetch and install the needed
21610 firmware packages.&lt;/p&gt;
21611
21612 &lt;p&gt;Debian Edu provide PXE installation of Debian out of the box, and
21613 because some machines need firmware to get their network cards
21614 working, the installation initrd some times need extra firmware
21615 included to be able to install at all. To fill the PXE installation
21616 initrd with extra firmware, the
21617 &lt;tt&gt;/usr/share/debian-edu-config/tools/pxe-addfirmware&lt;/tt&gt; script is
21618 provided. Again, just run it as root on the command line to fill the
21619 PXE initrd with firmware packages.&lt;/p&gt;
21620
21621 &lt;p&gt;Last, some LTSP clients might also need firmware to get their
21622 network cards working. For this,
21623 &lt;tt&gt;/usr/share/debian-edu-config/tools/ltsp-addfirmware&lt;/tt&gt; is
21624 provided to update the LTSP initrd with firmware blobs. It is used
21625 the same way as the other firmware related tools.&lt;/p&gt;
21626
21627 &lt;p&gt;At the moment, we do not run any of these during installation. We
21628 do not know if this is acceptable for the local administrator to use
21629 non-free software, and it is their choice.&lt;/p&gt;
21630
21631 &lt;p&gt;We plan to release beta3 this weekend. You might want to give it a
21632 try.&lt;/p&gt;
21633 </description>
21634 </item>
21635
21636 <item>
21637 <title>Setting up a new school with Debian Edu/Squeeze</title>
21638 <link>http://people.skolelinux.org/pere/blog/Setting_up_a_new_school_with_Debian_Edu_Squeeze.html</link>
21639 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Setting_up_a_new_school_with_Debian_Edu_Squeeze.html</guid>
21640 <pubDate>Wed, 25 Jan 2012 21:00:00 +0100</pubDate>
21641 <description>&lt;p&gt;The next version of &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu
21642 / Skolelinux&lt;/a&gt; will include a new tool
21643 &lt;tt&gt;sitesummary2ldapdhcp&lt;/tt&gt;, which can be used to quickly set up all
21644 the computers in a school without much manual labour. Here is a short
21645 summary on how to use it to set up a new school.&lt;/p&gt;
21646
21647 &lt;p&gt;First, install a combined Main Server and Thin Client Server as the
21648 central server in the network. Next, PXE boot all the client machines
21649 as thin clients and wait 5 minutes after the last client booted to
21650 allow the clients to report their existence to the central server. When
21651 this is done, log on to the central server and run
21652 &lt;tt&gt;sitesummary2ldapdhcp -a&lt;/tt&gt; in the &lt;tt&gt;konsole&lt;/tt&gt; to use the
21653 collected information to generate system objects in LDAP. The output
21654 will look similar to this:&lt;/p&gt;
21655
21656 &lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
21657 % sitesummary2ldapdhcp -a
21658 info: Updating machine tjener.intern [10.0.2.2] id ether-00:01:02:03:04:05.
21659 info: Create GOsa machine for auto-mac-00-01-02-03-04-06 [10.0.16.20] id ether-00:01:02:03:04:06.
21660
21661 Enter password if you want to activate these changes, and ^c to abort.
21662
21663 Connecting to LDAP as cn=admin,ou=ldap-access,dc=skole,dc=skolelinux,dc=no
21664 enter password: *******
21665 %
21666 &lt;/pre&gt;&lt;/blockquote&gt;&lt;/p&gt;
21667
21668 &lt;p&gt;After providing the LDAP administrative password (the same as the
21669 root password set during installation), the LDAP database will be
21670 populated with system objects for each PXE booted machine with
21671 automatically generated names. The final step to set up the school is
21672 then to log into &lt;a href=&quot;https://oss.gonicus.de/labs/gosa/&quot;&gt;GOsa&lt;/a&gt;,
21673 the web based user, group and system administration system to change
21674 system names, add systems to the correct host groups and finally
21675 enable DHCP and DNS for the systems. All clients that should be used
21676 as diskless workstations should be added to the workstation-hosts
21677 group. After this is done, all computers can be booted again via PXE
21678 and get their assigned names and group based configuration
21679 automatically.&lt;/p&gt;
21680
21681 &lt;p&gt;We plan to release beta3 with the updated version of this feature
21682 enabled this weekend. You might want to give it a try.&lt;/p&gt;
21683
21684 &lt;p&gt;Update 2012-01-28: When calling sitesummary2ldapdhcp to add new
21685 hosts, one need to add the option -a. I forgot to mention this in my
21686 original text, and have added it to the text now.&lt;/p&gt;
21687 </description>
21688 </item>
21689
21690 <item>
21691 <title>Changing the default Iceweasel start page in Debian Edu/Squeeze</title>
21692 <link>http://people.skolelinux.org/pere/blog/Changing_the_default_Iceweasel_start_page_in_Debian_Edu_Squeeze.html</link>
21693 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Changing_the_default_Iceweasel_start_page_in_Debian_Edu_Squeeze.html</guid>
21694 <pubDate>Tue, 10 Jan 2012 15:30:00 +0100</pubDate>
21695 <description>&lt;p&gt;In the Squeeze version of
21696 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt; soon
21697 to be released, users of the system will get their default browser
21698 start page set from LDAP, allowing the system administrator to point
21699 all users to the school web page by updating one setting in LDAP. In
21700 addition to setting the default start page when a machine boots, users
21701 are shown the same page as a welcome page when they log in for the
21702 first time.&lt;/p&gt;
21703
21704 &lt;p&gt;The LDAP object dc=skole,dc=skolelinux,dc=no have an attribute
21705 labeledURI with &quot;http://www/ LDAP for Debian Edu/Skolelinux&quot; as the
21706 default content. By changing this value to another URL, all users get
21707 to see the page behind this new URL.&lt;/p&gt;
21708
21709 &lt;p&gt;An easy way to update it is by using the ldapvi tool. It can be
21710 called as &quot;&lt;tt&gt;ldapvi -ZD &#39;(cn=admin)&#39;&lt;/tt&gt;&#39; to update LDAP with the
21711 new setting.&lt;/p&gt;
21712
21713 &lt;p&gt;We have written the code to adjust the default start page and show
21714 the welcome page, and I wonder if there is an easier way to do this
21715 from within Iceweasel instead.&lt;/p&gt;
21716 </description>
21717 </item>
21718
21719 <item>
21720 <title>Second beta version of Debian Edu / Skolelinux based on Squeeze</title>
21721 <link>http://people.skolelinux.org/pere/blog/Second_beta_version_of_Debian_Edu___Skolelinux_based_on_Squeeze.html</link>
21722 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Second_beta_version_of_Debian_Edu___Skolelinux_based_on_Squeeze.html</guid>
21723 <pubDate>Sat, 7 Jan 2012 22:50:00 +0100</pubDate>
21724 <description>&lt;p&gt;I am happy to announce that today we managed to wrap up and publish
21725 the second beta version of
21726 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt;. If
21727 you want to test a LDAP backed Kerberos server with out of the box PXE
21728 configuration for running diskless machines and installing new
21729 machines, check it out. If you need a software solution for your
21730 school, check it out too. The full announcement is
21731 &lt;a href=&quot;http://lists.debian.org/debian-edu-announce/2012/01/msg00000.html&quot;&gt;available&lt;/a&gt;
21732 on the project announcement list.&lt;/p&gt;
21733 </description>
21734 </item>
21735
21736 <item>
21737 <title>Fixing an hanging debian installer for Debian Edu</title>
21738 <link>http://people.skolelinux.org/pere/blog/Fixing_an_hanging_debian_installer_for_Debian_Edu.html</link>
21739 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Fixing_an_hanging_debian_installer_for_Debian_Edu.html</guid>
21740 <pubDate>Tue, 3 Jan 2012 11:25:00 +0100</pubDate>
21741 <description>&lt;p&gt;During christmas, I have been working getting the next version of
21742 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu / Skolelinux&lt;/a&gt; ready
21743 for release. The initial problem I looked at was particularly
21744 interesting.&lt;/p&gt;
21745
21746 &lt;P&gt;The installer would hang at the end when it was doing it
21747 post-installation configuration, and whatevery I did to try to find
21748 the cause and fix it always worked while I tested it, but never when I
21749 integrated it into the installer and ran the installation from
21750 scratch. I would try to restart processes, close file descriptors,
21751 remove or create files, and the installer would always unblock and
21752 wrap up its tasks.&lt;/p&gt;
21753
21754 &lt;p&gt;Eventually the cause was found. The kernel was simply running out
21755 of entropy, causing the Kerberos setup to hang waiting for more.
21756 Pressing keys was adding entropy to the kernel, and thus all my tries
21757 to fix the problem worked not because what I was typing to fix it, but
21758 because I was typing.&lt;/P&gt;
21759
21760 &lt;p&gt;The fix I implemented was to add a background process looking at
21761 the level of entropy in the kernel (by checking
21762 /proc/sys/kernel/random/entropy_avail), and if it was too small, the
21763 installer will flush the kernel file buffers and do &#39;find /&#39; to
21764 generate some disk IO. Disk IO generate entropy in the kernel, and is
21765 one of the few things that can be initated from within the system to
21766 generate entropy.&lt;/p&gt;
21767
21768 &lt;p&gt;The fix is in
21769 &lt;a href=&quot;http://wiki.debian.org/DebianEdu/Documentation/Squeeze/Installation&quot;&gt;beta1
21770 of the Debian Edu/Squeeze&lt;/a&gt; version, and we
21771 &lt;a href=&quot;http://wiki.debian.org/DebianEdu&quot;&gt;welcome more testers and
21772 developers&lt;/a&gt;. We plan to release beta2 this weekend.&lt;/p&gt;
21773 </description>
21774 </item>
21775
21776 <item>
21777 <title>Automatically upgrading server firmware on Dell PowerEdge</title>
21778 <link>http://people.skolelinux.org/pere/blog/Automatically_upgrading_server_firmware_on_Dell_PowerEdge.html</link>
21779 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Automatically_upgrading_server_firmware_on_Dell_PowerEdge.html</guid>
21780 <pubDate>Mon, 21 Nov 2011 12:00:00 +0100</pubDate>
21781 <description>&lt;p&gt;At work we have heaps of servers. I believe the total count is
21782 around 1000 at the moment. To be able to get help from the vendors
21783 when something go wrong, we want to keep the firmware on the servers
21784 up to date. If the firmware isn&#39;t the latest and greatest, the
21785 vendors typically refuse to start debugging any problems until the
21786 firmware is upgraded. So before every reboot, we want to upgrade the
21787 firmware, and we would really like everyone handling servers at the
21788 university to do this themselves when they plan to reboot a machine.
21789 For that to happen we at the unix server admin group need to provide
21790 the tools to do so.&lt;/p&gt;
21791
21792 &lt;p&gt;To make firmware upgrading easier, I am working on a script to
21793 fetch and install the latest firmware for the servers we got. Most of
21794 our hardware are from Dell and HP, so I have focused on these servers
21795 so far. This blog post is about the Dell part.&lt;/P&gt;
21796
21797 &lt;p&gt;On the Dell FTP site I was lucky enough to find
21798 &lt;a href=&quot;ftp://ftp.us.dell.com/catalog/Catalog.xml.gz&quot;&gt;an XML file&lt;/a&gt;
21799 with firmware information for all 11th generation servers, listing
21800 which firmware should be used on a given model and where on the FTP
21801 site I can find it. Using a simple perl XML parser I can then
21802 download the shell scripts Dell provides to do firmware upgrades from
21803 within Linux and reboot when all the firmware is primed and ready to
21804 be activated on the first reboot.&lt;/p&gt;
21805
21806 &lt;p&gt;This is the Dell related fragment of the perl code I am working on.
21807 Are there anyone working on similar tools for firmware upgrading all
21808 servers at a site? Please get in touch and lets share resources.&lt;/p&gt;
21809
21810 &lt;p&gt;&lt;pre&gt;
21811 #!/usr/bin/perl
21812 use strict;
21813 use warnings;
21814 use File::Temp qw(tempdir);
21815 BEGIN {
21816 # Install needed RHEL packages if missing
21817 my %rhelmodules = (
21818 &#39;XML::Simple&#39; =&gt; &#39;perl-XML-Simple&#39;,
21819 );
21820 for my $module (keys %rhelmodules) {
21821 eval &quot;use $module;&quot;;
21822 if ($@) {
21823 my $pkg = $rhelmodules{$module};
21824 system(&quot;yum install -y $pkg&quot;);
21825 eval &quot;use $module;&quot;;
21826 }
21827 }
21828 }
21829 my $errorsto = &#39;pere@hungry.com&#39;;
21830
21831 upgrade_dell();
21832
21833 exit 0;
21834
21835 sub run_firmware_script {
21836 my ($opts, $script) = @_;
21837 unless ($script) {
21838 print STDERR &quot;fail: missing script name\n&quot;;
21839 exit 1
21840 }
21841 print STDERR &quot;Running $script\n\n&quot;;
21842
21843 if (0 == system(&quot;sh $script $opts&quot;)) { # FIXME correct exit code handling
21844 print STDERR &quot;success: firmware script ran succcessfully\n&quot;;
21845 } else {
21846 print STDERR &quot;fail: firmware script returned error\n&quot;;
21847 }
21848 }
21849
21850 sub run_firmware_scripts {
21851 my ($opts, @dirs) = @_;
21852 # Run firmware packages
21853 for my $dir (@dirs) {
21854 print STDERR &quot;info: Running scripts in $dir\n&quot;;
21855 opendir(my $dh, $dir) or die &quot;Unable to open directory $dir: $!&quot;;
21856 while (my $s = readdir $dh) {
21857 next if $s =~ m/^\.\.?/;
21858 run_firmware_script($opts, &quot;$dir/$s&quot;);
21859 }
21860 closedir $dh;
21861 }
21862 }
21863
21864 sub download {
21865 my $url = shift;
21866 print STDERR &quot;info: Downloading $url\n&quot;;
21867 system(&quot;wget --quiet \&quot;$url\&quot;&quot;);
21868 }
21869
21870 sub upgrade_dell {
21871 my @dirs;
21872 my $product = `dmidecode -s system-product-name`;
21873 chomp $product;
21874
21875 if ($product =~ m/PowerEdge/) {
21876
21877 # on RHEL, these pacakges are needed by the firwmare upgrade scripts
21878 system(&#39;yum install -y compat-libstdc++-33.i686 libstdc++.i686 libxml2.i686 procmail&#39;);
21879
21880 my $tmpdir = tempdir(
21881 CLEANUP =&gt; 1
21882 );
21883 chdir($tmpdir);
21884 fetch_dell_fw(&#39;catalog/Catalog.xml.gz&#39;);
21885 system(&#39;gunzip Catalog.xml.gz&#39;);
21886 my @paths = fetch_dell_fw_list(&#39;Catalog.xml&#39;);
21887 # -q is quiet, disabling interactivity and reducing console output
21888 my $fwopts = &quot;-q&quot;;
21889 if (@paths) {
21890 for my $url (@paths) {
21891 fetch_dell_fw($url);
21892 }
21893 run_firmware_scripts($fwopts, $tmpdir);
21894 } else {
21895 print STDERR &quot;error: Unsupported Dell model &#39;$product&#39;.\n&quot;;
21896 print STDERR &quot;error: Please report to $errorsto.\n&quot;;
21897 }
21898 chdir(&#39;/&#39;);
21899 } else {
21900 print STDERR &quot;error: Unsupported Dell model &#39;$product&#39;.\n&quot;;
21901 print STDERR &quot;error: Please report to $errorsto.\n&quot;;
21902 }
21903 }
21904
21905 sub fetch_dell_fw {
21906 my $path = shift;
21907 my $url = &quot;ftp://ftp.us.dell.com/$path&quot;;
21908 download($url);
21909 }
21910
21911 # Using ftp://ftp.us.dell.com/catalog/Catalog.xml.gz, figure out which
21912 # firmware packages to download from Dell. Only work for Linux
21913 # machines and 11th generation Dell servers.
21914 sub fetch_dell_fw_list {
21915 my $filename = shift;
21916
21917 my $product = `dmidecode -s system-product-name`;
21918 chomp $product;
21919 my ($mybrand, $mymodel) = split(/\s+/, $product);
21920
21921 print STDERR &quot;Finding firmware bundles for $mybrand $mymodel\n&quot;;
21922
21923 my $xml = XMLin($filename);
21924 my @paths;
21925 for my $bundle (@{$xml-&gt;{SoftwareBundle}}) {
21926 my $brand = $bundle-&gt;{TargetSystems}-&gt;{Brand}-&gt;{Display}-&gt;{content};
21927 my $model = $bundle-&gt;{TargetSystems}-&gt;{Brand}-&gt;{Model}-&gt;{Display}-&gt;{content};
21928 my $oscode;
21929 if (&quot;ARRAY&quot; eq ref $bundle-&gt;{TargetOSes}-&gt;{OperatingSystem}) {
21930 $oscode = $bundle-&gt;{TargetOSes}-&gt;{OperatingSystem}[0]-&gt;{osCode};
21931 } else {
21932 $oscode = $bundle-&gt;{TargetOSes}-&gt;{OperatingSystem}-&gt;{osCode};
21933 }
21934 if ($mybrand eq $brand &amp;&amp; $mymodel eq $model &amp;&amp; &quot;LIN&quot; eq $oscode)
21935 {
21936 @paths = map { $_-&gt;{path} } @{$bundle-&gt;{Contents}-&gt;{Package}};
21937 }
21938 }
21939 for my $component (@{$xml-&gt;{SoftwareComponent}}) {
21940 my $componenttype = $component-&gt;{ComponentType}-&gt;{value};
21941
21942 # Drop application packages, only firmware and BIOS
21943 next if &#39;APAC&#39; eq $componenttype;
21944
21945 my $cpath = $component-&gt;{path};
21946 for my $path (@paths) {
21947 if ($cpath =~ m%/$path$%) {
21948 push(@paths, $cpath);
21949 }
21950 }
21951 }
21952 return @paths;
21953 }
21954 &lt;/pre&gt;
21955
21956 &lt;p&gt;The code is only tested on RedHat Enterprise Linux, but I suspect
21957 it could work on other platforms with some tweaking. Anyone know a
21958 index like Catalog.xml is available from HP for HP servers? At the
21959 moment I maintain a similar list manually and it is quickly getting
21960 outdated.&lt;/p&gt;
21961 </description>
21962 </item>
21963
21964 <item>
21965 <title>Free e-book kiosk for the public libraries?</title>
21966 <link>http://people.skolelinux.org/pere/blog/Free_e_book_kiosk_for_the_public_libraries_.html</link>
21967 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Free_e_book_kiosk_for_the_public_libraries_.html</guid>
21968 <pubDate>Fri, 7 Oct 2011 19:20:00 +0200</pubDate>
21969 <description>&lt;p&gt;Here in Norway the public libraries are debating with the
21970 publishing houses how to handle electronic books. Surprisingly, the
21971 libraries seem to be willing to accept digital restriction mechanisms
21972 (DRM) on books and renting e-books with artificial scarcity from the
21973 publishing houses. Time limited renting (2-3 years) is one proposed
21974 model, and only allowing X borrowers for each book is another.
21975 Personally I find it amazing that libraries are even considering such
21976 models.&lt;/p&gt;
21977
21978 &lt;p&gt;Anyway, while reading &lt;a href=&quot;http://boklaben.no/?p=220&quot;&gt;part of
21979 this debate&lt;/a&gt;, it occurred to me that someone should present a more
21980 sensible approach to the libraries, to allow its borrowers to get used
21981 to a better model. The idea is simple:&lt;/p&gt;
21982
21983 &lt;p&gt;Create a computer system for the libraries, either in the form of a
21984 Live DVD or a installable distribution, that provide a simple kiosk
21985 solution to hand out free e-books. As a start, the books distributed
21986 by &lt;a href=&quot;http://www.gutenberg.org/&quot;&gt;Project Gutenberg&lt;/a&gt; (about
21987 36,000 books), &lt;a href=&quot;http://runeberg.org/&quot;&gt;Project Runenberg&lt;/a&gt;
21988 (1149 books) and &lt;a href=&quot;http://www.archive.org/details/texts&quot;&gt;The
21989 Internet Archive&lt;/a&gt; (3,033,748 books) could be included, but any book
21990 where the copyright has expired or with a free licence could be
21991 distributed.&lt;/p&gt;
21992
21993 &lt;p&gt;The computer system would make it easy to:&lt;/p&gt;
21994
21995 &lt;ul&gt;
21996
21997 &lt;li&gt;Copy e-books into a USB stick, reading tablets, cell phones and
21998 other relevant equipment.&lt;/li&gt;
21999
22000 &lt;li&gt;Show the books for reading on the the screen in the library.&lt;/li&gt;
22001
22002 &lt;/ul&gt;
22003
22004 &lt;p&gt;In addition to such kiosk solution, there should probably be a web
22005 site as well to allow people easy access to these books without
22006 visiting the library. The site would be the distribution point for
22007 the kiosk systems, which would connect regularly to fetch any new
22008 books available.&lt;/p&gt;
22009
22010 &lt;p&gt;Are there anyone working on a system like this? I guess it would
22011 fit any library in the world, and not just the Norwegian public
22012 libraries. :)&lt;/p&gt;
22013 </description>
22014 </item>
22015
22016 <item>
22017 <title>Ripping problematic DVDs using dvdbackup and genisoimage</title>
22018 <link>http://people.skolelinux.org/pere/blog/Ripping_problematic_DVDs_using_dvdbackup_and_genisoimage.html</link>
22019 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Ripping_problematic_DVDs_using_dvdbackup_and_genisoimage.html</guid>
22020 <pubDate>Sat, 17 Sep 2011 20:20:00 +0200</pubDate>
22021 <description>&lt;p&gt;For convenience, I want to store copies of all my DVDs on my file
22022 server. It allow me to save shelf space flat while still having my
22023 movie collection easily available. It also make it possible to let
22024 the kids see their favourite DVDs without wearing the physical copies
22025 down. I prefer to store the DVDs as ISOs to keep the DVD menu and
22026 subtitle options intact. It also ensure that the entire film is one
22027 file on the disk. As this is for personal use, the ripping is
22028 perfectly legal here in Norway.&lt;/p&gt;
22029
22030 &lt;p&gt;Normally I rip the DVDs using dd like this:&lt;/p&gt;
22031
22032 &lt;blockquote&gt;&lt;pre&gt;
22033 #!/bin/sh
22034 # apt-get install lsdvd
22035 title=$(lsdvd 2&gt;/dev/null|awk &#39;/Disc Title: / {print $3}&#39;)
22036 dd if=/dev/dvd of=/storage/dvds/$title.iso bs=1M
22037 &lt;/pre&gt;&lt;/blockquote&gt;
22038
22039 &lt;p&gt;But some DVDs give a input/output error when I read it, and I have
22040 been looking for a better alternative. I have no idea why this I/O
22041 error occur, but suspect my DVD drive, the Linux kernel driver or
22042 something fishy with the DVDs in question. Or perhaps all three.&lt;/p&gt;
22043
22044 &lt;p&gt;Anyway, I believe I found a solution today using dvdbackup and
22045 genisoimage. This script gave me a working ISO for a problematic
22046 movie by first extracting the DVD file system and then re-packing it
22047 back as an ISO.
22048
22049 &lt;blockquote&gt;&lt;pre&gt;
22050 #!/bin/sh
22051 # apt-get install lsdvd dvdbackup genisoimage
22052 set -e
22053 tmpdir=/storage/dvds/
22054 title=$(lsdvd 2&gt;/dev/null|awk &#39;/Disc Title: / {print $3}&#39;)
22055 dvdbackup -i /dev/dvd -M -o $tmpdir -n$title
22056 genisoimage -dvd-video -o $tmpdir/$title.iso $tmpdir/$title
22057 rm -rf $tmpdir/$title
22058 &lt;/pre&gt;&lt;/blockquote&gt;
22059
22060 &lt;p&gt;Anyone know of a better way available in Debian/Squeeze?&lt;/p&gt;
22061
22062 &lt;p&gt;Update 2011-09-18: I got a tip from Konstantin Khomoutov about the
22063 readom program from the wodim package. It is specially written to
22064 read optical media, and is called like this: &lt;tt&gt;readom dev=/dev/dvd
22065 f=image.iso&lt;/tt&gt;. It got 6 GB along with the problematic Cars DVD
22066 before it failed, and failed right away with a Timmy Time DVD.&lt;/p&gt;
22067
22068 &lt;p&gt;Next, I got a tip from Bastian Blank about
22069 &lt;a href=&quot;http://bblank.thinkmo.de/blog/new-software-python-dvdvideo&quot;&gt;his
22070 program python-dvdvideo&lt;/a&gt;, which seem to be just what I am looking
22071 for. Tested it with my problematic Timmy Time DVD, and it succeeded
22072 creating a ISO image. The git source built and installed just fine in
22073 Squeeze, so I guess this will be my tool of choice in the future.&lt;/p&gt;
22074 </description>
22075 </item>
22076
22077 <item>
22078 <title>How is booting into runlevel 1 different from single user boots?</title>
22079 <link>http://people.skolelinux.org/pere/blog/How_is_booting_into_runlevel_1_different_from_single_user_boots_.html</link>
22080 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_is_booting_into_runlevel_1_different_from_single_user_boots_.html</guid>
22081 <pubDate>Thu, 4 Aug 2011 12:40:00 +0200</pubDate>
22082 <description>&lt;p&gt;Wouter Verhelst have some
22083 &lt;a href=&quot;http://grep.be/blog/en/retorts/pere_kubuntu_boot&quot;&gt;interesting
22084 comments and opinions&lt;/a&gt; on my blog post on
22085 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/What_should_start_from__etc_rcS_d__in_Debian____almost_nothing.html&quot;&gt;the
22086 need to clean up /etc/rcS.d/ in Debian&lt;/a&gt; and my blog post about
22087 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/What_is_missing_in_the_Debian_desktop__or_why_my_parents_use_Kubuntu.html&quot;&gt;the
22088 default KDE desktop in Debian&lt;/a&gt;. I only have time to address one
22089 small piece of his comment now, and though it best to address the
22090 misunderstanding he bring forward:&lt;/p&gt;
22091
22092 &lt;p&gt;&lt;blockquote&gt;
22093 Currently, a system admin has four options: [...] boot to a
22094 single-user system (by adding &#39;single&#39; to the kernel command line;
22095 this runs rcS and rc1 scripts)
22096 &lt;/blockquote&gt;&lt;/p&gt;
22097
22098 &lt;p&gt;This make me believe Wouter believe booting into single user mode
22099 and booting into runlevel 1 is the same. I am not surprised he
22100 believe this, because it would make sense and is a quite sensible
22101 thing to believe. But because the boot in Debian is slightly broken,
22102 runlevel 1 do not work properly and it isn&#39;t the same as single user
22103 mode. I&#39;ll try to explain what is actually happing, but it is a bit
22104 hard to explain.&lt;/p&gt;
22105
22106 &lt;p&gt;Single user mode is defined like this in /etc/inittab:
22107 &quot;&lt;tt&gt;~~:S:wait:/sbin/sulogin&lt;/tt&gt;&quot;. This means the only thing that is
22108 executed in single user mode is sulogin. Single user mode is a boot
22109 state &quot;between&quot; the runlevels, and when booting into single user mode,
22110 only the scripts in /etc/rcS.d/ are executed before the init process
22111 enters the single user state. When switching to runlevel 1, the state
22112 is in fact not ending in runlevel 1, but it passes through runlevel 1
22113 and end up in the single user mode (see /etc/rc1.d/S03single, which
22114 runs &quot;init -t1 S&quot; to switch to single user mode at the end of runlevel
22115 1. It is confusing that the &#39;S&#39; (single user) init mode is not the
22116 mode enabled by /etc/rcS.d/ (which is more like the initial boot
22117 mode).&lt;/p&gt;
22118
22119 &lt;p&gt;This summary might make it clearer. When booting for the first
22120 time into single user mode, the following commands are executed:
22121 &quot;&lt;tt&gt;/etc/init.d/rc S; /sbin/sulogin&lt;/tt&gt;&quot;. When booting into
22122 runlevel 1, the following commands are executed: &quot;&lt;tt&gt;/etc/init.d/rc
22123 S; /etc/init.d/rc 1; /sbin/sulogin&lt;/tt&gt;&quot;. A problem show up when
22124 trying to continue after visiting single user mode. Not all services
22125 are started again as they should, causing the machine to end up in an
22126 unpredicatble state. This is why Debian admins recommend rebooting
22127 after visiting single user mode.&lt;/p&gt;
22128
22129 &lt;p&gt;A similar problem with runlevel 1 is caused by the amount of
22130 scripts executed from /etc/rcS.d/. When switching from say runlevel 2
22131 to runlevel 1, the services started from /etc/rcS.d/ are not properly
22132 stopped when passing through the scripts in /etc/rc1.d/, and not
22133 started again when switching away from runlevel 1 to the runlevels
22134 2-5. I believe the problem is best fixed by moving all the scripts
22135 out of /etc/rcS.d/ that are not &lt;strong&gt;required&lt;/strong&gt; to get a
22136 functioning single user mode during boot.&lt;/p&gt;
22137
22138 &lt;p&gt;I have spent several years investigating the Debian boot system,
22139 and discovered this problem a few years ago. I suspect it originates
22140 from when sysvinit was introduced into Debian, a long time ago.&lt;/p&gt;
22141 </description>
22142 </item>
22143
22144 <item>
22145 <title>What should start from /etc/rcS.d/ in Debian? - almost nothing</title>
22146 <link>http://people.skolelinux.org/pere/blog/What_should_start_from__etc_rcS_d__in_Debian____almost_nothing.html</link>
22147 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/What_should_start_from__etc_rcS_d__in_Debian____almost_nothing.html</guid>
22148 <pubDate>Sat, 30 Jul 2011 14:00:00 +0200</pubDate>
22149 <description>&lt;p&gt;In the Debian boot system, several packages include scripts that
22150 are started from /etc/rcS.d/. In fact, there is a bite more of them
22151 than make sense, and this causes a few problems. What kind of
22152 problems, you might ask. There are at least two problems. The first
22153 is that it is not possible to recover a machine after switching to
22154 runlevel 1. One need to actually reboot to get the machine back to
22155 the expected state. The other is that single user boot will sometimes
22156 run into problems because some of the subsystems are activated before
22157 the root login is presented, causing problems when trying to recover a
22158 machine from a problem in that subsystem. A minor additional point is
22159 that moving more scripts out of rcS.d/ and into the other rc#.d/
22160 directories will increase the amount of scripts that can run in
22161 parallel during boot, and thus decrease the boot time.&lt;/p&gt;
22162
22163 &lt;p&gt;So, which scripts should start from rcS.d/. In short, only the
22164 scripts that _have_ to execute before the root login prompt is
22165 presented during a single user boot should go there. Everything else
22166 should go into the numeric runlevels. This means things like
22167 lm-sensors, fuse and x11-common should not run from rcS.d, but from
22168 the numeric runlevels. Today in Debian, there are around 115 init.d
22169 scripts that are started from rcS.d/, and most of them should be moved
22170 out. Do your package have one of them? Please help us make single
22171 user and runlevel 1 better by moving it.&lt;/p&gt;
22172
22173 &lt;p&gt;Scripts setting up the screen, keyboard, system partitions
22174 etc. should still be started from rcS.d/, but there is for example no
22175 need to have the network enabled before the single user login prompt
22176 is presented.&lt;/p&gt;
22177
22178 &lt;p&gt;As always, things are not so easy to fix as they sound. To keep
22179 Debian systems working while scripts migrate and during upgrades, the
22180 scripts need to be moved from rcS.d/ to rc2.d/ in reverse dependency
22181 order, ie the scripts that nothing in rcS.d/ depend on can be moved,
22182 and the next ones can only be moved when their dependencies have been
22183 moved first. This migration must be done sequentially while we ensure
22184 that the package system upgrade packages in the right order to keep
22185 the system state correct. This will require some coordination when it
22186 comes to network related packages, but most of the packages with
22187 scripts that should migrate do not have anything in rcS.d/ depending
22188 on them. Some packages have already been updated, like the sudo
22189 package, while others are still left to do. I wish I had time to work
22190 on this myself, but real live constrains make it unlikely that I will
22191 find time to push this forward.&lt;/p&gt;
22192 </description>
22193 </item>
22194
22195 <item>
22196 <title>What is missing in the Debian desktop, or why my parents use Kubuntu</title>
22197 <link>http://people.skolelinux.org/pere/blog/What_is_missing_in_the_Debian_desktop__or_why_my_parents_use_Kubuntu.html</link>
22198 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/What_is_missing_in_the_Debian_desktop__or_why_my_parents_use_Kubuntu.html</guid>
22199 <pubDate>Fri, 29 Jul 2011 08:10:00 +0200</pubDate>
22200 <description>&lt;p&gt;While at Debconf11, I have several times during discussions
22201 mentioned the issues I believe should be improved in Debian for its
22202 desktop to be useful for more people. The use case for this is my
22203 parents, which are currently running Kubuntu which solve the
22204 issues.&lt;/p&gt;
22205
22206 &lt;p&gt;I suspect these four missing features are not very hard to
22207 implement. After all, they are present in Ubuntu, so if we wanted to
22208 do this in Debian we would have a source.&lt;/p&gt;
22209
22210 &lt;ol&gt;
22211
22212 &lt;li&gt;&lt;strong&gt;Simple GUI based upgrade of packages.&lt;/strong&gt; When there
22213 are new packages available for upgrades, a icon in the KDE status bar
22214 indicate this, and clicking on it will activate the simple upgrade
22215 tool to handle it. I have no problem guiding both of my parents
22216 through the process over the phone. If a kernel reboot is required,
22217 this too is indicated by the status bars and the upgrade tool. Last
22218 time I checked, nothing with the same features was working in KDE in
22219 Debian.&lt;/li&gt;
22220
22221 &lt;li&gt;&lt;strong&gt;Simple handling of missing Firefox browser
22222 plugins.&lt;/strong&gt; When the browser encounter a MIME type it do not
22223 currently have a handler for, it will ask the user if the system
22224 should search for a package that would add support for this MIME type,
22225 and if the user say yes, the APT sources will be searched for packages
22226 advertising the MIME type in their control file (visible in the
22227 Packages file in the APT archive). If one or more packages are found,
22228 it is a simple click of the mouse to add support for the missing mime
22229 type. If the package require the user to accept some non-free
22230 license, this is explained to the user. The entire process make it
22231 more clear to the user why something do not work in the browser, and
22232 make the chances higher for the user to blame the web page authors and
22233 not the browser for any missing features.&lt;/li&gt;
22234
22235 &lt;li&gt;&lt;strong&gt;Simple handling of missing multimedia codec/format
22236 handlers.&lt;/strong&gt; When the media players encounter a format or codec
22237 it is not supporting, a dialog pop up asking the user if the system
22238 should search for a package that would add support for it. This
22239 happen with things like MP3, Windows Media or H.264. The selection
22240 and installation procedure is very similar to the Firefox browser
22241 plugin handling. This is as far as I know implemented using a
22242 gstreamer hook. The end result is that the user easily get access to
22243 the codecs that are present from the APT archives available, while
22244 explaining more on why a given format is unsupported by Ubuntu.&lt;/li&gt;
22245
22246 &lt;li&gt;&lt;strong&gt;Better browser handling of some MIME types.&lt;/strong&gt; When
22247 displaying a text/plain file in my Debian browser, it will propose to
22248 start emacs to show it. If I remember correctly, when doing the same
22249 in Kunbutu it show the file as a text file in the browser. At least I
22250 know Opera will show text files within the browser. I much prefer the
22251 latter behaviour.&lt;/li&gt;
22252
22253 &lt;/ol&gt;
22254
22255 &lt;p&gt;There are other nice features as well, like the simplified suite
22256 upgrader, but given that I am the one mostly doing the dist-upgrade,
22257 it do not matter much.&lt;/p&gt;
22258
22259 &lt;p&gt;I really hope we could get these features in place for the next
22260 Debian release. It would require the coordinated effort of several
22261 maintainers, but would make the end user experience a lot better.&lt;/p&gt;
22262 </description>
22263 </item>
22264
22265 <item>
22266 <title>Perl modules used by FixMyStreet which are missing in Debian/Squeeze</title>
22267 <link>http://people.skolelinux.org/pere/blog/Perl_modules_used_by_FixMyStreet_which_are_missing_in_Debian_Squeeze.html</link>
22268 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Perl_modules_used_by_FixMyStreet_which_are_missing_in_Debian_Squeeze.html</guid>
22269 <pubDate>Tue, 26 Jul 2011 12:25:00 +0200</pubDate>
22270 <description>&lt;p&gt;The Norwegian &lt;a href=&quot;http://www.fiksgatami.no/&quot;&gt;FiksGataMi&lt;/A&gt;
22271 site is build on Debian/Squeeze, and this platform was chosen because
22272 I am most familiar with Debian (being a Debian Developer for around 10
22273 years) because it is the latest stable Debian release which should get
22274 security support for a few years.&lt;/p&gt;
22275
22276 &lt;p&gt;The web service is written in Perl, and depend on some perl modules
22277 that are missing in Debian at the moment. It would be great if these
22278 modules were added to the Debian archive, allowing anyone to set up
22279 their own &lt;a href=&quot;http://www.fixmystreet.com&quot;&gt;FixMyStreet&lt;/a&gt; clone
22280 in their own country using only Debian packages. The list of modules
22281 missing in Debian/Squeeze isn&#39;t very long, and I hope the perl group
22282 will find time to package the 12 modules Catalyst::Plugin::SmartURI,
22283 Catalyst::Plugin::Unicode::Encoding, Catalyst::View::TT, Devel::Hide,
22284 Sort::Key, Statistics::Distributions, Template::Plugin::Comma,
22285 Template::Plugin::DateTime::Format, Term::Size::Any, Term::Size::Perl,
22286 URI::SmartURI and Web::Scraper to make the maintenance of FixMyStreet
22287 easier in the future.&lt;/p&gt;
22288
22289 &lt;p&gt;Thanks to the great tools in Debian, getting the missing modules
22290 installed on my server was a simple call to &#39;cpan2deb Module::Name&#39;
22291 and &#39;dpkg -i&#39; to install the resulting package. But this leave me
22292 with the responsibility of tracking security problems, which I really
22293 do not have time for.&lt;/p&gt;
22294 </description>
22295 </item>
22296
22297 <item>
22298 <title>Free Software vs. proprietary softare...</title>
22299 <link>http://people.skolelinux.org/pere/blog/Free_Software_vs__proprietary_softare___.html</link>
22300 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Free_Software_vs__proprietary_softare___.html</guid>
22301 <pubDate>Mon, 20 Jun 2011 12:50:00 +0200</pubDate>
22302 <description>&lt;p&gt;Reading
22303 &lt;a href=&quot;http://blog.thingiverse.com/2011/06/20/open-source-vs-closed-source-eulas/&quot;&gt;the
22304 thingiverse blog&lt;/a&gt;, I came across two highlights of interesting
22305 parts of the
22306 &lt;a href=&quot;http://wiki.blender.org/index.php/Autodesk_EULA&quot;&gt;Autodesk&lt;/a&gt;
22307 and
22308 &lt;a href=&quot;http://blog.makezine.com/archive/2011/06/things-you-cant-do-with-the-microsoft-kinect-sdk.html&quot;&gt;Microsoft
22309 Kinect&lt;/a&gt; End User License Agreements (EULAs), which illustrates
22310 quite well why I stay away from software with EULAs. Whenever I take
22311 the time to read their content, the terms are simply unacceptable.&lt;/p&gt;
22312 </description>
22313 </item>
22314
22315 <item>
22316 <title>Experimental Open311 API for the mySociety fixmystreet system</title>
22317 <link>http://people.skolelinux.org/pere/blog/Experimental_Open311_API_for_the_mySociety_fixmystreet_system.html</link>
22318 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Experimental_Open311_API_for_the_mySociety_fixmystreet_system.html</guid>
22319 <pubDate>Sat, 30 Apr 2011 17:20:00 +0200</pubDate>
22320 <description>&lt;p&gt;Today, the first draft implementation of an
22321 &lt;a href=&quot;http://www.open311.org/&quot;&gt;Open311 API&lt;/a&gt; for the Norwegian
22322 service &lt;a href=&quot;http://www.fiksgatami.no/&quot;&gt;FiksGataMi&lt;/a&gt; started to
22323 work. It is only available on the developer server for now, and I
22324 have not tested it using any existing Open311 client (I lack the
22325 platforms needed to run the clients I have found so far), but it is
22326 able to query the database and extract a list of open and closed
22327 requests within a given category and reported to a given municipality.
22328 I believe that is a good start to create a useful service for those
22329 that want to do data mining on the requests submitted so far.&lt;/p&gt;
22330
22331 &lt;p&gt;Where is it? Visit
22332 &lt;a href=&quot;http://fiksgatami-dev.nuug.no/open311.cgi/v2/&quot;&gt;http://fiksgatami-dev.nuug.no/open311.cgi/v2/&lt;/a&gt;
22333 to have a look. Please send feedback to the
22334 &lt;a href=&quot;http://lists.nuug.no/mailman/listinfo/fiksgatami&quot;&gt;fiksgatami
22335 (at) nuug.no&lt;/a&gt; mailing list.&lt;/p&gt;
22336 </description>
22337 </item>
22338
22339 <item>
22340 <title>Initial notes on adding Open311 server API on FixMyStreet</title>
22341 <link>http://people.skolelinux.org/pere/blog/Initial_notes_on_adding_Open311_server_API_on_FixMyStreet.html</link>
22342 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Initial_notes_on_adding_Open311_server_API_on_FixMyStreet.html</guid>
22343 <pubDate>Fri, 29 Apr 2011 10:00:00 +0200</pubDate>
22344 <description>&lt;p&gt;The last few days I have spent some time trying to add support for
22345 the &lt;a href=&quot;http://www.open311.org/&quot;&gt;Open311 API&lt;/a&gt; in the
22346 &lt;a href=&quot;http://www.fiksgatami.no/&quot;&gt;Norwegian FixMyStreet service&lt;/a&gt;.
22347 Earlier I believed Open311 would be a useful API to use to submit
22348 reports to the municipalities, but when I noticed that the
22349 &lt;a href=&quot;http://fixmystreet.org.nz/&quot;&gt;New Zealand version&lt;/a&gt; of
22350 FixMyStreet had implemented Open311 on the server side, it occurred to
22351 me that this was a nice way to allow the public, press and
22352 municipalities to do data mining directly in the FixMyStreet service.
22353 Thus I went to work implementing the Open311 specification for
22354 FixMyStreet. The implementation is not yet ready, but I am starting
22355 to get a draft limping along. In the process, I have discovered a few
22356 issues with the Open311 specification.&lt;/p&gt;
22357
22358 &lt;p&gt;One obvious missing feature is the lack of natural language
22359 handling in the specification. The specification seem to assume all
22360 reports will be written in English, and do not provide a way for the
22361 receiving end to specify which languages are understood there. To be
22362 able to use the same client and submit to several Open311 receivers,
22363 it would be useful to know which language to use when writing reports.
22364 I believe the specification should be extended to allow the receivers
22365 of problem reports to specify which language they accept, and the
22366 submitter to specify which language the report is written in.
22367 Language of a text can also be automatically guessed using statistical
22368 methods, but for multi-lingual persons like myself, it is useful to
22369 know which language to use when writing a problem report. I suspect
22370 some lang=nb,nn kind of attribute would solve it.&lt;/p&gt;
22371
22372 &lt;p&gt;A key part of the Open311 API is the list of services provided,
22373 which is similar to the categories used by FixMyStreet. One issue I
22374 run into is the need to specify both name and unique identifier for
22375 each category. The specification do not state that the identifier
22376 should be numeric, but all example implementations have used numbers
22377 here. In FixMyStreet, there is no number associated with each
22378 category. As the specification do not forbid it, I will use the name
22379 as the unique identifier for now and see how open311 clients handle
22380 it.&lt;/p&gt;
22381
22382 &lt;p&gt;The report format in open311 and the report format in FixMyStreet
22383 differ in a key part. FixMyStreet have a title and a description,
22384 while Open311 only have a description and lack the title. I&#39;m not
22385 quite sure how to best handle this yet. When asking for a FixMyStreet
22386 report in Open311 format, I just merge title an description into the
22387 open311 description, but this is not going to work if the open311 API
22388 should be used for submitting new reports to FixMyStreet.&lt;/p&gt;
22389
22390 &lt;p&gt;The search feature in Open311 is missing a way to ask for problems
22391 near a geographic location. I believe this is important if one is to
22392 use Open311 as the query language for mobile units. The specification
22393 should be extended to handle this, probably using some new lat=, lon=
22394 and range= options.&lt;/p&gt;
22395
22396 &lt;p&gt;The final challenge I see is that the FixMyStreet code handle
22397 several administrations in one interface, while the Open311 API seem
22398 to assume only one administration. For FixMyStreet, this mean a
22399 report can be sent to several administrations, and the categories
22400 available depend on the location of the problem. Not quite sure how
22401 to best handle this. I&#39;ve noticed
22402 &lt;a href=&quot;http://seeclickfix.com/open311/&quot;&gt;SeeClickFix&lt;/a&gt; added
22403 latitude and longitude options to the services request, but it do not
22404 solve the problem of what to return when no location is specified.
22405 Will have to investigate this a bit more.&lt;/p&gt;
22406
22407 &lt;p&gt;My distaste for web forums have kept me from bringing these issues
22408 up with the open311 developer group. I really wish they had a email
22409 list available via &lt;a href=&quot;http://www.gmane.org/&quot;&gt;Gmane&lt;/a&gt; to use for
22410 discussions instead of only
22411 &lt;a href=&quot;http://lists.open311.org/groups/discuss&quot;&gt;a forum&lt;a/&gt;. Oh,
22412 well. That will probably resolve itself, one way or another. I&#39;ve
22413 also tried visiting the IRC channel #open311 on FreeNode, but no-one
22414 seem to reply to my questions there. This make me wonder if I just
22415 fail to understand how the open311 community work. It sure do not
22416 work like the free software project communities I am used to.&lt;/p&gt;
22417 </description>
22418 </item>
22419
22420 <item>
22421 <title>Gnash enteres Google Summer of Code 2011</title>
22422 <link>http://people.skolelinux.org/pere/blog/Gnash_enteres_Google_Summer_of_Code_2011.html</link>
22423 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Gnash_enteres_Google_Summer_of_Code_2011.html</guid>
22424 <pubDate>Wed, 6 Apr 2011 09:00:00 +0200</pubDate>
22425 <description>&lt;p&gt;&lt;a href=&quot;http://www.getgnash.org/&quot;&gt;The Gnash project&lt;/a&gt; is still
22426 the most promising solution for a Free Software Flash implementation.
22427 A few days ago the project
22428 &lt;a href=&quot;http://lists.gnu.org/archive/html/gnash-dev/2011-04/msg00011.html&quot;&gt;announced&lt;/a&gt;
22429 that it will participate in Google Summer of Code. I hope many
22430 students apply, and that some of them succeed in getting AVM2 support
22431 into Gnash.&lt;/p&gt;
22432 </description>
22433 </item>
22434
22435 <item>
22436 <title>A Norwegian FixMyStreet have kept me busy the last few weeks</title>
22437 <link>http://people.skolelinux.org/pere/blog/A_Norwegian_FixMyStreet_have_kept_me_busy_the_last_few_weeks.html</link>
22438 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_Norwegian_FixMyStreet_have_kept_me_busy_the_last_few_weeks.html</guid>
22439 <pubDate>Sun, 3 Apr 2011 22:50:00 +0200</pubDate>
22440 <description>&lt;p&gt;Here is a small update for my English readers. Most of my blog
22441 posts have been in Norwegian the last few weeks, so here is a short
22442 update in English.&lt;/p&gt;
22443
22444 &lt;p&gt;The kids still keep me too busy to get much free software work
22445 done, but I did manage to organise a project to get a Norwegian port
22446 of the British service
22447 &lt;a href=&quot;http://www.fixmystreet.com/&quot;&gt;FixMyStreet&lt;/a&gt; up and running,
22448 and it has been running for a month now. The entire project has been
22449 organised by me and two others. Around Christmas we gathered sponsors
22450 to fund the development work. In January I drafted a contract with
22451 &lt;a href=&quot;http://www.mysociety.org/&quot;&gt;mySociety&lt;/a&gt; on what to develop,
22452 and in February the development took place. Most of it involved
22453 converting the source to use GPS coordinates instead of British
22454 easting/northing, and the resulting code should be a lot easier to get
22455 running in any country by now. The Norwegian
22456 &lt;a href=&quot;http://www.fiksgatami.no/&quot;&gt;FiksGataMi&lt;/a&gt; is using
22457 &lt;a href=&quot;http://www.openstreetmap.org/&quot;&gt;OpenStreetmap&lt;/a&gt; as the map
22458 source and the source for administrative borders in Norway, and
22459 support for this had to be added/fixed.&lt;/p&gt;
22460
22461 &lt;p&gt;The Norwegian version went live March 3th, and we spent the weekend
22462 polishing the system before we announced it March 7th. The system is
22463 running on a KVM instance of Debian/Squeeze, and has seen almost 3000
22464 problem reports in a few weeks. Soon we hope to announce the Android
22465 and iPhone versions making it even easier to report problems with the
22466 public infrastructure.&lt;/p&gt;
22467
22468 &lt;p&gt;Perhaps something to consider for those of you in countries without
22469 such service?&lt;/p&gt;
22470 </description>
22471 </item>
22472
22473 <item>
22474 <title>Using NVD and CPE to track CVEs in locally maintained software</title>
22475 <link>http://people.skolelinux.org/pere/blog/Using_NVD_and_CPE_to_track_CVEs_in_locally_maintained_software.html</link>
22476 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Using_NVD_and_CPE_to_track_CVEs_in_locally_maintained_software.html</guid>
22477 <pubDate>Fri, 28 Jan 2011 15:40:00 +0100</pubDate>
22478 <description>&lt;p&gt;The last few days I have looked at ways to track open security
22479 issues here at my work with the University of Oslo. My idea is that
22480 it should be possible to use the information about security issues
22481 available on the Internet, and check our locally
22482 maintained/distributed software against this information. It should
22483 allow us to verify that no known security issues are forgotten. The
22484 CVE database listing vulnerabilities seem like a great central point,
22485 and by using the package lists from Debian mapped to CVEs provided by
22486 the testing security team, I believed it should be possible to figure
22487 out which security holes were present in our free software
22488 collection.&lt;/p&gt;
22489
22490 &lt;p&gt;After reading up on the topic, it became obvious that the first
22491 building block is to be able to name software packages in a unique and
22492 consistent way across data sources. I considered several ways to do
22493 this, for example coming up with my own naming scheme like using URLs
22494 to project home pages or URLs to the Freshmeat entries, or using some
22495 existing naming scheme. And it seem like I am not the first one to
22496 come across this problem, as MITRE already proposed and implemented a
22497 solution. Enter the &lt;a href=&quot;http://cpe.mitre.org/index.html&quot;&gt;Common
22498 Platform Enumeration&lt;/a&gt; dictionary, a vocabulary for referring to
22499 software, hardware and other platform components. The CPE ids are
22500 mapped to CVEs in the &lt;a href=&quot;http://web.nvd.nist.gov/&quot;&gt;National
22501 Vulnerability Database&lt;/a&gt;, allowing me to look up know security
22502 issues for any CPE name. With this in place, all I need to do is to
22503 locate the CPE id for the software packages we use at the university.
22504 This is fairly trivial (I google for &#39;cve cpe $package&#39; and check the
22505 NVD entry if a CVE for the package exist).&lt;/p&gt;
22506
22507 &lt;p&gt;To give you an example. The GNU gzip source package have the CPE
22508 name cpe:/a:gnu:gzip. If the old version 1.3.3 was the package to
22509 check out, one could look up
22510 &lt;a href=&quot;http://web.nvd.nist.gov/view/vuln/search?cpe=cpe%3A%2Fa%3Agnu%3Agzip:1.3.3&quot;&gt;cpe:/a:gnu:gzip:1.3.3
22511 in NVD&lt;/a&gt; and get a list of 6 security holes with public CVE entries.
22512 The most recent one is
22513 &lt;a href=&quot;http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2010-0001&quot;&gt;CVE-2010-0001&lt;/a&gt;,
22514 and at the bottom of the NVD page for this vulnerability the complete
22515 list of affected versions is provided.&lt;/p&gt;
22516
22517 &lt;p&gt;The NVD database of CVEs is also available as a XML dump, allowing
22518 for offline processing of issues. Using this dump, I&#39;ve written a
22519 small script taking a list of CPEs as input and list all CVEs
22520 affecting the packages represented by these CPEs. One give it CPEs
22521 with version numbers as specified above and get a list of open
22522 security issues out.&lt;/p&gt;
22523
22524 &lt;p&gt;Of course for this approach to be useful, the quality of the NVD
22525 information need to be high. For that to happen, I believe as many as
22526 possible need to use and contribute to the NVD database. I notice
22527 RHEL is providing
22528 &lt;a href=&quot;https://www.redhat.com/security/data/metrics/rhsamapcpe.txt&quot;&gt;a
22529 map from CVE to CPE&lt;/a&gt;, indicating that they are using the CPE
22530 information. I&#39;m not aware of Debian and Ubuntu doing the same.&lt;/p&gt;
22531
22532 &lt;p&gt;To get an idea about the quality for free software, I spent some
22533 time making it possible to compare the CVE database from Debian with
22534 the CVE database in NVD. The result look fairly good, but there are
22535 some inconsistencies in NVD (same software package having several
22536 CPEs), and some inaccuracies (NVD not mentioning buggy packages that
22537 Debian believe are affected by a CVE). Hope to find time to improve
22538 the quality of NVD, but that require being able to get in touch with
22539 someone maintaining it. So far my three emails with questions and
22540 corrections have not seen any reply, but I hope contact can be
22541 established soon.&lt;/p&gt;
22542
22543 &lt;p&gt;An interesting application for CPEs is cross platform package
22544 mapping. It would be useful to know which packages in for example
22545 RHEL, OpenSuSe and Mandriva are missing from Debian and Ubuntu, and
22546 this would be trivial if all linux distributions provided CPE entries
22547 for their packages.&lt;/p&gt;
22548 </description>
22549 </item>
22550
22551 <item>
22552 <title>Which module is loaded for a given PCI and USB device?</title>
22553 <link>http://people.skolelinux.org/pere/blog/Which_module_is_loaded_for_a_given_PCI_and_USB_device_.html</link>
22554 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Which_module_is_loaded_for_a_given_PCI_and_USB_device_.html</guid>
22555 <pubDate>Sun, 23 Jan 2011 00:20:00 +0100</pubDate>
22556 <description>&lt;p&gt;In the
22557 &lt;a href=&quot;http://packages.qa.debian.org/discover-data&quot;&gt;discover-data&lt;/a&gt;
22558 package in Debian, there is a script to report useful information
22559 about the running hardware for use when people report missing
22560 information. One part of this script that I find very useful when
22561 debugging hardware problems, is the part mapping loaded kernel module
22562 to the PCI device it claims. It allow me to quickly see if the kernel
22563 module I expect is driving the hardware I am struggling with. To see
22564 the output, make sure discover-data is installed and run
22565 &lt;tt&gt;/usr/share/bug/discover-data 3&gt;&amp;1&lt;/tt&gt;. The relevant output on
22566 one of my machines like this:&lt;/p&gt;
22567
22568 &lt;pre&gt;
22569 loaded modules:
22570 10de:03eb i2c_nforce2
22571 10de:03f1 ohci_hcd
22572 10de:03f2 ehci_hcd
22573 10de:03f0 snd_hda_intel
22574 10de:03ec pata_amd
22575 10de:03f6 sata_nv
22576 1022:1103 k8temp
22577 109e:036e bttv
22578 109e:0878 snd_bt87x
22579 11ab:4364 sky2
22580 &lt;/pre&gt;
22581
22582 &lt;p&gt;The code in question look like this, slightly modified for
22583 readability and to drop the output to file descriptor 3:&lt;/p&gt;
22584
22585 &lt;pre&gt;
22586 if [ -d /sys/bus/pci/devices/ ] ; then
22587 echo loaded pci modules:
22588 (
22589 cd /sys/bus/pci/devices/
22590 for address in * ; do
22591 if [ -d &quot;$address/driver/module&quot; ] ; then
22592 module=`cd $address/driver/module ; pwd -P | xargs basename`
22593 if grep -q &quot;^$module &quot; /proc/modules ; then
22594 address=$(echo $address |sed s/0000://)
22595 id=`lspci -n -s $address | tail -n 1 | awk &#39;{print $3}&#39;`
22596 echo &quot;$id $module&quot;
22597 fi
22598 fi
22599 done
22600 )
22601 echo
22602 fi
22603 &lt;/pre&gt;
22604
22605 &lt;p&gt;Similar code could be used to extract USB device module
22606 mappings:&lt;/p&gt;
22607
22608 &lt;pre&gt;
22609 if [ -d /sys/bus/usb/devices/ ] ; then
22610 echo loaded usb modules:
22611 (
22612 cd /sys/bus/usb/devices/
22613 for address in * ; do
22614 if [ -d &quot;$address/driver/module&quot; ] ; then
22615 module=`cd $address/driver/module ; pwd -P | xargs basename`
22616 if grep -q &quot;^$module &quot; /proc/modules ; then
22617 address=$(echo $address |sed s/0000://)
22618 id=$(lsusb -s $address | tail -n 1 | awk &#39;{print $6}&#39;)
22619 if [ &quot;$id&quot; ] ; then
22620 echo &quot;$id $module&quot;
22621 fi
22622 fi
22623 fi
22624 done
22625 )
22626 echo
22627 fi
22628 &lt;/pre&gt;
22629
22630 &lt;p&gt;This might perhaps be something to include in other tools as
22631 well.&lt;/p&gt;
22632 </description>
22633 </item>
22634
22635 <item>
22636 <title>The video format most supported in web browsers?</title>
22637 <link>http://people.skolelinux.org/pere/blog/The_video_format_most_supported_in_web_browsers_.html</link>
22638 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_video_format_most_supported_in_web_browsers_.html</guid>
22639 <pubDate>Sun, 16 Jan 2011 00:20:00 +0100</pubDate>
22640 <description>&lt;p&gt;The video format struggle on the web continues, and the three
22641 contenders seem to be Ogg Theora, H.264 and WebM. Most video sites
22642 seem to use H.264, while others use Ogg Theora. Interestingly enough,
22643 the comments I see give me the feeling that a lot of people believe
22644 H.264 is the most supported video format in browsers, but according to
22645 the Wikipedia article on
22646 &lt;a href=&quot;http://en.wikipedia.org/wiki/HTML5_video&quot;&gt;HTML5 video&lt;/a&gt;,
22647 this is not true. Check out the nice table of supprted formats in
22648 different browsers there. The format supported by most browsers is
22649 Ogg Theora, supported by released versions of Mozilla Firefox, Google
22650 Chrome, Chromium, Opera, Konqueror, Epiphany, Origyn Web Browser and
22651 BOLT browser, while not supported by Internet Explorer nor Safari.
22652 The runner up is WebM supported by released versions of Google Chrome
22653 Chromium Opera and Origyn Web Browser, and test versions of Mozilla
22654 Firefox. H.264 is supported by released versions of Safari, Origyn
22655 Web Browser and BOLT browser, and the test version of Internet
22656 Explorer. Those wanting Ogg Theora support in Internet Explorer and
22657 Safari can install plugins to get it.&lt;/p&gt;
22658
22659 &lt;p&gt;To me, the simple conclusion from this is that to reach most users
22660 without any extra software installed, one uses Ogg Theora with the
22661 HTML5 video tag. Of course to reach all those without a browser
22662 handling HTML5, one need fallback mechanisms. In
22663 &lt;a href=&quot;http://www.nuug.no/&quot;&gt;NUUG&lt;/a&gt;, we provide first fallback to a
22664 plugin capable of playing MPEG1 video, and those without such support
22665 we have a second fallback to the Cortado java applet playing Ogg
22666 Theora. This seem to work quite well, as can be seen in an &lt;a
22667 href=&quot;http://www.nuug.no/aktiviteter/20110111-semantic-web/&quot;&gt;example
22668 from last week&lt;/a&gt;.&lt;/p&gt;
22669
22670 &lt;p&gt;The reason Ogg Theora is the most supported format, and H.264 is
22671 the least supported is simple. Implementing and using H.264
22672 require royalty payment to MPEG-LA, and the terms of use from MPEG-LA
22673 are incompatible with free software licensing. If you believed H.264
22674 was without royalties and license terms, check out
22675 &quot;&lt;a href=&quot;http://webmink.com/essays/h-264/&quot;&gt;H.264 – Not The Kind Of
22676 Free That Matters&lt;/a&gt;&quot; by Simon Phipps.&lt;/p&gt;
22677
22678 &lt;p&gt;A incomplete list of sites providing video in Ogg Theora is
22679 available from
22680 &lt;a href=&quot;http://wiki.xiph.org/index.php/List_of_Theora_videos&quot;&gt;the
22681 Xiph.org wiki&lt;/a&gt;, if you want to have a look. I&#39;m not aware of a
22682 similar list for WebM nor H.264.&lt;/p&gt;
22683
22684 &lt;p&gt;Update 2011-01-16 09:40: A question from Tollef on IRC made me
22685 realise that I failed to make it clear enough this text is about the
22686 &amp;lt;video&amp;gt; tag support in browsers and not the video support
22687 provided by external plugins like the Flash plugins.&lt;/p&gt;
22688 </description>
22689 </item>
22690
22691 <item>
22692 <title>Chrome plan to drop H.264 support for HTML5 &amp;lt;video&amp;gt;</title>
22693 <link>http://people.skolelinux.org/pere/blog/Chrome_plan_to_drop_H_264_support_for_HTML5__lt_video_gt_.html</link>
22694 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Chrome_plan_to_drop_H_264_support_for_HTML5__lt_video_gt_.html</guid>
22695 <pubDate>Wed, 12 Jan 2011 22:10:00 +0100</pubDate>
22696 <description>&lt;p&gt;Today I discovered
22697 &lt;a href=&quot;http://www.digi.no/860070/google-dropper-h264-stotten-i-chrome&quot;&gt;via
22698 digi.no&lt;/a&gt; that the Chrome developers, in a surprising announcement,
22699 &lt;a href=&quot;http://blog.chromium.org/2011/01/html-video-codec-support-in-chrome.html&quot;&gt;yesterday
22700 announced&lt;/a&gt; plans to drop H.264 support for HTML5 &amp;lt;video&amp;gt; in
22701 the browser. The argument used is that H.264 is not a &quot;completely
22702 open&quot; codec technology. If you believe H.264 was free for everyone
22703 to use, I recommend having a look at the essay
22704 &quot;&lt;a href=&quot;http://webmink.com/essays/h-264/&quot;&gt;H.264 – Not The Kind Of
22705 Free That Matters&lt;/a&gt;&quot;. It is not free of cost for creators of video
22706 tools, nor those of us that want to publish on the Internet, and the
22707 terms provided by MPEG-LA excludes free software projects from
22708 licensing the patents needed for H.264. Some background information
22709 on the Google announcement is available from
22710 &lt;a href=&quot;http://www.osnews.com/story/24243/Google_To_Drop_H264_Support_from_Chrome&quot;&gt;OSnews&lt;/a&gt;.
22711 A good read. :)&lt;/p&gt;
22712
22713 &lt;p&gt;Personally, I believe it is great that Google is taking a stand to
22714 promote equal terms for everyone when it comes to video publishing on
22715 the Internet. This can only be done by publishing using free and open
22716 standards, which is only possible if the web browsers provide support
22717 for these free and open standards. At the moment there seem to be two
22718 camps in the web browser world when it come to video support. Some
22719 browsers support H.264, and others support
22720 &lt;a href=&quot;http://www.theora.org/&quot;&gt;Ogg Theora&lt;/a&gt; and
22721 &lt;a href=&quot;http://www.webmproject.org/&quot;&gt;WebM&lt;/a&gt;
22722 (&lt;a href=&quot;http://www.diracvideo.org/&quot;&gt;Dirac&lt;/a&gt; is not really an option
22723 yet), forcing those of us that want to publish video on the Internet
22724 and which can not accept the terms of use presented by MPEG-LA for
22725 H.264 to not reach all potential viewers.
22726 Wikipedia keep &lt;a href=&quot;http://en.wikipedia.org/wiki/HTML5_video&quot;&gt;an
22727 updated summary&lt;/a&gt; of the current browser support.&lt;/p&gt;
22728
22729 &lt;p&gt;Not surprising, several people would prefer Google to keep
22730 promoting H.264, and John Gruber
22731 &lt;a href=&quot;http://daringfireball.net/2011/01/simple_questions&quot;&gt;presents
22732 the mind set&lt;/a&gt; of these people quite well. His rhetorical questions
22733 provoked a reply from Thom Holwerda with another set of questions
22734 &lt;a href=&quot;http://www.osnews.com/story/24245/10_Questions_for_John_Gruber_Regarding_H_264_WebM&quot;&gt;presenting
22735 the issues with H.264&lt;/a&gt;. Both are worth a read.&lt;/p&gt;
22736
22737 &lt;p&gt;Some argue that if Google is dropping H.264 because it isn&#39;t free,
22738 they should also drop support for the Adobe Flash plugin. This
22739 argument was covered by Simon Phipps in
22740 &lt;a href=&quot;http://blogs.computerworlduk.com/simon-says/2011/01/google-and-h264---far-from-hypocritical/index.htm&quot;&gt;todays
22741 blog post&lt;/a&gt;, which I find to put the issue in context. To me it
22742 make perfect sense to drop native H.264 support for HTML5 in the
22743 browser while still allowing plugins.&lt;/p&gt;
22744
22745 &lt;p&gt;I suspect the reason this announcement make so many people protest,
22746 is that all the users and promoters of H.264 suddenly get an uneasy
22747 feeling that they might be backing the wrong horse. A lot of TV
22748 broadcasters have been moving to H.264 the last few years, and a lot
22749 of money has been invested in hardware based on the belief that they
22750 could use the same video format for both broadcasting and web
22751 publishing. Suddenly this belief is shaken.&lt;/p&gt;
22752
22753 &lt;p&gt;An interesting question is why Google is doing this. While the
22754 presented argument might be true enough, I believe Google would only
22755 present the argument if the change make sense from a business
22756 perspective. One reason might be that they are currently negotiating
22757 with MPEG-LA over royalties or usage terms, and giving MPEG-LA the
22758 feeling that dropping H.264 completely from Chroome, Youtube and
22759 Google Video would improve the negotiation position of Google.
22760 Another reason might be that Google want to save money by not having
22761 to pay the video tax to MPEG-LA at all, and thus want to move to a
22762 video format not requiring royalties at all. A third reason might be
22763 that the Chrome development team simply want to avoid the
22764 Chrome/Chromium split to get more help with the development of Chrome.
22765 I guess time will tell.&lt;/p&gt;
22766
22767 &lt;p&gt;Update 2011-01-15: The Google Chrome team provided
22768 &lt;a href=&quot;http://blog.chromium.org/2011/01/more-about-chrome-html-video-codec.html&quot;&gt;more
22769 background and information on the move&lt;/a&gt; it a blog post yesterday.&lt;/p&gt;
22770 </description>
22771 </item>
22772
22773 <item>
22774 <title>What standards are Free and Open as defined by Digistan?</title>
22775 <link>http://people.skolelinux.org/pere/blog/What_standards_are_Free_and_Open_as_defined_by_Digistan_.html</link>
22776 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/What_standards_are_Free_and_Open_as_defined_by_Digistan_.html</guid>
22777 <pubDate>Thu, 30 Dec 2010 23:15:00 +0100</pubDate>
22778 <description>&lt;p&gt;After trying to
22779 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Is_Ogg_Theora_a_free_and_open_standard_.html&quot;&gt;compare
22780 Ogg Theora&lt;/a&gt; to
22781 &lt;a href=&quot;http://www.digistan.org/open-standard:definition&quot;&gt;the Digistan
22782 definition&lt;/a&gt; of a free and open standard, I concluded that this need
22783 to be done for more standards and started on a framework for doing
22784 this. As a start, I want to get the status for all the standards in
22785 the Norwegian reference directory, which include UTF-8, HTML, PDF, ODF,
22786 JPEG, PNG, SVG and others. But to be able to complete this in a
22787 reasonable time frame, I will need help.&lt;/p&gt;
22788
22789 &lt;p&gt;If you want to help out with this work, please visit
22790 &lt;a href=&quot;http://wiki.nuug.no/grupper/standard/digistan-analyse&quot;&gt;the
22791 wiki pages I have set up for this&lt;/a&gt;, and let me know that you want
22792 to help out. The IRC channel #nuug on irc.freenode.net is a good
22793 place to coordinate this for now, as it is the IRC channel for the
22794 NUUG association where I have created the framework (I am the leader
22795 of the Norwegian Unix User Group).&lt;/p&gt;
22796
22797 &lt;p&gt;The framework is still forming, and a lot is left to do. Do not be
22798 scared by the sketchy form of the current pages. :)&lt;/p&gt;
22799 </description>
22800 </item>
22801
22802 <item>
22803 <title>The many definitions of a open standard</title>
22804 <link>http://people.skolelinux.org/pere/blog/The_many_definitions_of_a_open_standard.html</link>
22805 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_many_definitions_of_a_open_standard.html</guid>
22806 <pubDate>Mon, 27 Dec 2010 14:45:00 +0100</pubDate>
22807 <description>&lt;p&gt;One of the reasons I like the Digistan definition of
22808 &quot;&lt;a href=&quot;http://www.digistan.org/open-standard:definition&quot;&gt;Free and
22809 Open Standard&lt;/a&gt;&quot; is that this is a new term, and thus the meaning of
22810 the term has been decided by Digistan. The term &quot;Open Standard&quot; has
22811 become so misunderstood that it is no longer very useful when talking
22812 about standards. One end up discussing which definition is the best
22813 one and with such frame the only one gaining are the proponents of
22814 de-facto standards and proprietary solutions.&lt;/p&gt;
22815
22816 &lt;p&gt;But to give us an idea about the diversity of definitions of open
22817 standards, here are a few that I know about. This list is not
22818 complete, but can be a starting point for those that want to do a
22819 complete survey. More definitions are available on the
22820 &lt;a href=&quot;http://en.wikipedia.org/wiki/Open_standard&quot;&gt;wikipedia
22821 page&lt;/a&gt;.&lt;/p&gt;
22822
22823 &lt;p&gt;First off is my favourite, the definition from the European
22824 Interoperability Framework version 1.0. Really sad to notice that BSA
22825 and others has succeeded in getting it removed from version 2.0 of the
22826 framework by stacking the committee drafting the new version with
22827 their own people. Anyway, the definition is still available and it
22828 include the key properties needed to make sure everyone can use a
22829 specification on equal terms.&lt;/p&gt;
22830
22831 &lt;blockquote&gt;
22832
22833 &lt;p&gt;The following are the minimal characteristics that a specification
22834 and its attendant documents must have in order to be considered an
22835 open standard:&lt;/p&gt;
22836
22837 &lt;ul&gt;
22838
22839 &lt;li&gt;The standard is adopted and will be maintained by a not-for-profit
22840 organisation, and its ongoing development occurs on the basis of an
22841 open decision-making procedure available to all interested parties
22842 (consensus or majority decision etc.).&lt;/li&gt;
22843
22844 &lt;li&gt;The standard has been published and the standard specification
22845 document is available either freely or at a nominal charge. It must be
22846 permissible to all to copy, distribute and use it for no fee or at a
22847 nominal fee.&lt;/li&gt;
22848
22849 &lt;li&gt;The intellectual property - i.e. patents possibly present - of
22850 (parts of) the standard is made irrevocably available on a royalty-
22851 free basis.&lt;/li&gt;
22852
22853 &lt;li&gt;There are no constraints on the re-use of the standard.&lt;/li&gt;
22854
22855 &lt;/ul&gt;
22856 &lt;/blockquote&gt;
22857
22858 &lt;p&gt;Another one originates from my friends over at
22859 &lt;a href=&quot;http://www.dkuug.dk/&quot;&gt;DKUUG&lt;/a&gt;, who coined and gathered
22860 support for &lt;a href=&quot;http://www.aaben-standard.dk/&quot;&gt;this
22861 definition&lt;/a&gt; in 2004. It even made it into the Danish parlament as
22862 &lt;a href=&quot;http://www.ft.dk/dokumenter/tingdok.aspx?/samling/20051/beslutningsforslag/B103/som_fremsat.htm&quot;&gt;their
22863 definition of a open standard&lt;/a&gt;. Another from a different part of
22864 the Danish government is available from the wikipedia page.&lt;/p&gt;
22865
22866 &lt;blockquote&gt;
22867
22868 &lt;p&gt;En åben standard opfylder følgende krav:&lt;/p&gt;
22869
22870 &lt;ol&gt;
22871
22872 &lt;li&gt;Veldokumenteret med den fuldstændige specifikation offentligt
22873 tilgængelig.&lt;/li&gt;
22874
22875 &lt;li&gt;Frit implementerbar uden økonomiske, politiske eller juridiske
22876 begrænsninger på implementation og anvendelse.&lt;/li&gt;
22877
22878 &lt;li&gt;Standardiseret og vedligeholdt i et åbent forum (en såkaldt
22879 &quot;standardiseringsorganisation&quot;) via en åben proces.&lt;/li&gt;
22880
22881 &lt;/ol&gt;
22882
22883 &lt;/blockquote&gt;
22884
22885 &lt;p&gt;Then there is &lt;a href=&quot;http://www.fsfe.org/projects/os/def.html&quot;&gt;the
22886 definition&lt;/a&gt; from Free Software Foundation Europe.&lt;/p&gt;
22887
22888 &lt;blockquote&gt;
22889
22890 &lt;p&gt;An Open Standard refers to a format or protocol that is&lt;/p&gt;
22891
22892 &lt;ol&gt;
22893
22894 &lt;li&gt;subject to full public assessment and use without constraints in a
22895 manner equally available to all parties;&lt;/li&gt;
22896
22897 &lt;li&gt;without any components or extensions that have dependencies on
22898 formats or protocols that do not meet the definition of an Open
22899 Standard themselves;&lt;/li&gt;
22900
22901 &lt;li&gt;free from legal or technical clauses that limit its utilisation by
22902 any party or in any business model;&lt;/li&gt;
22903
22904 &lt;li&gt;managed and further developed independently of any single vendor
22905 in a process open to the equal participation of competitors and third
22906 parties;&lt;/li&gt;
22907
22908 &lt;li&gt;available in multiple complete implementations by competing
22909 vendors, or as a complete implementation equally available to all
22910 parties.&lt;/li&gt;
22911
22912 &lt;/ol&gt;
22913
22914 &lt;/blockquote&gt;
22915
22916 &lt;p&gt;A long time ago, SUN Microsystems, now bought by Oracle, created
22917 its
22918 &lt;a href=&quot;http://blogs.sun.com/dennisding/resource/Open%20Standard%20Definition.pdf&quot;&gt;Open
22919 Standards Checklist&lt;/a&gt; with a fairly detailed description.&lt;/p&gt;
22920
22921 &lt;blockquote&gt;
22922 &lt;p&gt;Creation and Management of an Open Standard
22923
22924 &lt;ul&gt;
22925
22926 &lt;li&gt;Its development and management process must be collaborative and
22927 democratic:
22928
22929 &lt;ul&gt;
22930
22931 &lt;li&gt;Participation must be accessible to all those who wish to
22932 participate and can meet fair and reasonable criteria
22933 imposed by the organization under which it is developed
22934 and managed.&lt;/li&gt;
22935
22936 &lt;li&gt;The processes must be documented and, through a known
22937 method, can be changed through input from all
22938 participants.&lt;/li&gt;
22939
22940 &lt;li&gt;The process must be based on formal and binding commitments for
22941 the disclosure and licensing of intellectual property rights.&lt;/li&gt;
22942
22943 &lt;li&gt;Development and management should strive for consensus,
22944 and an appeals process must be clearly outlined.&lt;/li&gt;
22945
22946 &lt;li&gt;The standard specification must be open to extensive
22947 public review at least once in its life-cycle, with
22948 comments duly discussed and acted upon, if required.&lt;/li&gt;
22949
22950 &lt;/ul&gt;
22951
22952 &lt;/li&gt;
22953
22954 &lt;/ul&gt;
22955
22956 &lt;p&gt;Use and Licensing of an Open Standard&lt;/p&gt;
22957 &lt;ul&gt;
22958
22959 &lt;li&gt;The standard must describe an interface, not an implementation,
22960 and the industry must be capable of creating multiple, competing
22961 implementations to the interface described in the standard without
22962 undue or restrictive constraints. Interfaces include APIs,
22963 protocols, schemas, data formats and their encoding.&lt;/li&gt;
22964
22965 &lt;li&gt; The standard must not contain any proprietary &quot;hooks&quot; that create
22966 a technical or economic barriers&lt;/li&gt;
22967
22968 &lt;li&gt;Faithful implementations of the standard must
22969 interoperate. Interoperability means the ability of a computer
22970 program to communicate and exchange information with other computer
22971 programs and mutually to use the information which has been
22972 exchanged. This includes the ability to use, convert, or exchange
22973 file formats, protocols, schemas, interface information or
22974 conventions, so as to permit the computer program to work with other
22975 computer programs and users in all the ways in which they are
22976 intended to function.&lt;/li&gt;
22977
22978 &lt;li&gt;It must be permissible for anyone to copy, distribute and read the
22979 standard for a nominal fee, or even no fee. If there is a fee, it
22980 must be low enough to not preclude widespread use.&lt;/li&gt;
22981
22982 &lt;li&gt;It must be possible for anyone to obtain free (no royalties or
22983 fees; also known as &quot;royalty free&quot;), worldwide, non-exclusive and
22984 perpetual licenses to all essential patent claims to make, use and
22985 sell products based on the standard. The only exceptions are
22986 terminations per the reciprocity and defensive suspension terms
22987 outlined below. Essential patent claims include pending, unpublished
22988 patents, published patents, and patent applications. The license is
22989 only for the exact scope of the standard in question.
22990
22991 &lt;ul&gt;
22992
22993 &lt;li&gt; May be conditioned only on reciprocal licenses to any of
22994 licensees&#39; patent claims essential to practice that standard
22995 (also known as a reciprocity clause)&lt;/li&gt;
22996
22997 &lt;li&gt; May be terminated as to any licensee who sues the licensor
22998 or any other licensee for infringement of patent claims
22999 essential to practice that standard (also known as a
23000 &quot;defensive suspension&quot; clause)&lt;/li&gt;
23001
23002 &lt;li&gt; The same licensing terms are available to every potential
23003 licensor&lt;/li&gt;
23004
23005 &lt;/ul&gt;
23006 &lt;/li&gt;
23007
23008 &lt;li&gt;The licensing terms of an open standards must not preclude
23009 implementations of that standard under open source licensing terms
23010 or restricted licensing terms&lt;/li&gt;
23011
23012 &lt;/ul&gt;
23013
23014 &lt;/blockquote&gt;
23015
23016 &lt;p&gt;It is said that one of the nice things about standards is that
23017 there are so many of them. As you can see, the same holds true for
23018 open standard definitions. Most of the definitions have a lot in
23019 common, and it is not really controversial what properties a open
23020 standard should have, but the diversity of definitions have made it
23021 possible for those that want to avoid a level marked field and real
23022 competition to downplay the significance of open standards. I hope we
23023 can turn this tide by focusing on the advantages of Free and Open
23024 Standards.&lt;/p&gt;
23025 </description>
23026 </item>
23027
23028 <item>
23029 <title>Is Ogg Theora a free and open standard?</title>
23030 <link>http://people.skolelinux.org/pere/blog/Is_Ogg_Theora_a_free_and_open_standard_.html</link>
23031 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Is_Ogg_Theora_a_free_and_open_standard_.html</guid>
23032 <pubDate>Sat, 25 Dec 2010 20:25:00 +0100</pubDate>
23033 <description>&lt;p&gt;&lt;a href=&quot;http://www.digistan.org/open-standard:definition&quot;&gt;The
23034 Digistan definition&lt;/a&gt; of a free and open standard reads like this:&lt;/p&gt;
23035
23036 &lt;blockquote&gt;
23037
23038 &lt;p&gt;The Digital Standards Organization defines free and open standard
23039 as follows:&lt;/p&gt;
23040
23041 &lt;ol&gt;
23042
23043 &lt;li&gt;A free and open standard is immune to vendor capture at all stages
23044 in its life-cycle. Immunity from vendor capture makes it possible to
23045 freely use, improve upon, trust, and extend a standard over time.&lt;/li&gt;
23046
23047 &lt;li&gt;The standard is adopted and will be maintained by a not-for-profit
23048 organisation, and its ongoing development occurs on the basis of an
23049 open decision-making procedure available to all interested
23050 parties.&lt;/li&gt;
23051
23052 &lt;li&gt;The standard has been published and the standard specification
23053 document is available freely. It must be permissible to all to copy,
23054 distribute, and use it freely.&lt;/li&gt;
23055
23056 &lt;li&gt;The patents possibly present on (parts of) the standard are made
23057 irrevocably available on a royalty-free basis.&lt;/li&gt;
23058
23059 &lt;li&gt;There are no constraints on the re-use of the standard.&lt;/li&gt;
23060
23061 &lt;/ol&gt;
23062
23063 &lt;p&gt;The economic outcome of a free and open standard, which can be
23064 measured, is that it enables perfect competition between suppliers of
23065 products based on the standard.&lt;/p&gt;
23066 &lt;/blockquote&gt;
23067
23068 &lt;p&gt;For a while now I have tried to figure out of Ogg Theora is a free
23069 and open standard according to this definition. Here is a short
23070 writeup of what I have been able to gather so far. I brought up the
23071 topic on the Xiph advocacy mailing list
23072 &lt;a href=&quot;http://lists.xiph.org/pipermail/advocacy/2009-July/001632.html&quot;&gt;in
23073 July 2009&lt;/a&gt;, for those that want to see some background information.
23074 According to Ivo Emanuel Gonçalves and Monty Montgomery on that list
23075 the Ogg Theora specification fulfils the Digistan definition.&lt;/p&gt;
23076
23077 &lt;p&gt;&lt;strong&gt;Free from vendor capture?&lt;/strong&gt;&lt;/p&gt;
23078
23079 &lt;p&gt;As far as I can see, there is no single vendor that can control the
23080 Ogg Theora specification. It can be argued that the
23081 &lt;a href=&quot;http://www.xiph.org/&quot;&gt;Xiph foundation&lt;/A&gt; is such vendor, but
23082 given that it is a non-profit foundation with the expressed goal
23083 making free and open protocols and standards available, it is not
23084 obvious that this is a real risk. One issue with the Xiph
23085 foundation is that its inner working (as in board member list, or who
23086 control the foundation) are not easily available on the web. I&#39;ve
23087 been unable to find out who is in the foundation board, and have not
23088 seen any accounting information documenting how money is handled nor
23089 where is is spent in the foundation. It is thus not obvious for an
23090 external observer who control The Xiph foundation, and for all I know
23091 it is possible for a single vendor to take control over the
23092 specification. But it seem unlikely.&lt;/p&gt;
23093
23094 &lt;p&gt;&lt;strong&gt;Maintained by open not-for-profit organisation?&lt;/strong&gt;&lt;/p&gt;
23095
23096 &lt;p&gt;Assuming that the Xiph foundation is the organisation its web pages
23097 claim it to be, this point is fulfilled. If Xiph foundation is
23098 controlled by a single vendor, it isn&#39;t, but I have not found any
23099 documentation indicating this.&lt;/p&gt;
23100
23101 &lt;p&gt;According to
23102 &lt;a href=&quot;http://media.hiof.no/diverse/fad/rapport_4.pdf&quot;&gt;a report&lt;/a&gt;
23103 prepared by Audun Vaaler og Børre Ludvigsen for the Norwegian
23104 government, the Xiph foundation is a non-commercial organisation and
23105 the development process is open, transparent and non-Discrimatory.
23106 Until proven otherwise, I believe it make most sense to believe the
23107 report is correct.&lt;/p&gt;
23108
23109 &lt;p&gt;&lt;strong&gt;Specification freely available?&lt;/strong&gt;&lt;/p&gt;
23110
23111 &lt;p&gt;The specification for the &lt;a href=&quot;http://www.xiph.org/ogg/doc/&quot;&gt;Ogg
23112 container format&lt;/a&gt; and both the
23113 &lt;a href=&quot;http://www.xiph.org/vorbis/doc/&quot;&gt;Vorbis&lt;/a&gt; and
23114 &lt;a href=&quot;http://theora.org/doc/&quot;&gt;Theora&lt;/a&gt; codeces are available on
23115 the web. This are the terms in the Vorbis and Theora specification:
23116
23117 &lt;blockquote&gt;
23118
23119 Anyone may freely use and distribute the Ogg and [Vorbis/Theora]
23120 specifications, whether in private, public, or corporate
23121 capacity. However, the Xiph.Org Foundation and the Ogg project reserve
23122 the right to set the Ogg [Vorbis/Theora] specification and certify
23123 specification compliance.
23124
23125 &lt;/blockquote&gt;
23126
23127 &lt;p&gt;The Ogg container format is specified in IETF
23128 &lt;a href=&quot;http://www.xiph.org/ogg/doc/rfc3533.txt&quot;&gt;RFC 3533&lt;/a&gt;, and
23129 this is the term:&lt;p&gt;
23130
23131 &lt;blockquote&gt;
23132
23133 &lt;p&gt;This document and translations of it may be copied and furnished to
23134 others, and derivative works that comment on or otherwise explain it
23135 or assist in its implementation may be prepared, copied, published and
23136 distributed, in whole or in part, without restriction of any kind,
23137 provided that the above copyright notice and this paragraph are
23138 included on all such copies and derivative works. However, this
23139 document itself may not be modified in any way, such as by removing
23140 the copyright notice or references to the Internet Society or other
23141 Internet organizations, except as needed for the purpose of developing
23142 Internet standards in which case the procedures for copyrights defined
23143 in the Internet Standards process must be followed, or as required to
23144 translate it into languages other than English.&lt;/p&gt;
23145
23146 &lt;p&gt;The limited permissions granted above are perpetual and will not be
23147 revoked by the Internet Society or its successors or assigns.&lt;/p&gt;
23148 &lt;/blockquote&gt;
23149
23150 &lt;p&gt;All these terms seem to allow unlimited distribution and use, an
23151 this term seem to be fulfilled. There might be a problem with the
23152 missing permission to distribute modified versions of the text, and
23153 thus reuse it in other specifications. Not quite sure if that is a
23154 requirement for the Digistan definition.&lt;/p&gt;
23155
23156 &lt;p&gt;&lt;strong&gt;Royalty-free?&lt;/strong&gt;&lt;/p&gt;
23157
23158 &lt;p&gt;There are no known patent claims requiring royalties for the Ogg
23159 Theora format.
23160 &lt;a href=&quot;http://www.streamingmedia.com/Articles/ReadArticle.aspx?ArticleID=65782&quot;&gt;MPEG-LA&lt;/a&gt;
23161 and
23162 &lt;a href=&quot;http://yro.slashdot.org/story/10/04/30/237238/Steve-Jobs-Hints-At-Theora-Lawsuit&quot;&gt;Steve
23163 Jobs&lt;/a&gt; in Apple claim to know about some patent claims (submarine
23164 patents) against the Theora format, but no-one else seem to believe
23165 them. Both Opera Software and the Mozilla Foundation have looked into
23166 this and decided to implement Ogg Theora support in their browsers
23167 without paying any royalties. For now the claims from MPEG-LA and
23168 Steve Jobs seem more like FUD to scare people to use the H.264 codec
23169 than any real problem with Ogg Theora.&lt;/p&gt;
23170
23171 &lt;p&gt;&lt;strong&gt;No constraints on re-use?&lt;/strong&gt;&lt;/p&gt;
23172
23173 &lt;p&gt;I am not aware of any constraints on re-use.&lt;/p&gt;
23174
23175 &lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;
23176
23177 &lt;p&gt;3 of 5 requirements seem obviously fulfilled, and the remaining 2
23178 depend on the governing structure of the Xiph foundation. Given the
23179 background report used by the Norwegian government, I believe it is
23180 safe to assume the last two requirements are fulfilled too, but it
23181 would be nice if the Xiph foundation web site made it easier to verify
23182 this.&lt;/p&gt;
23183
23184 &lt;p&gt;It would be nice to see other analysis of other specifications to
23185 see if they are free and open standards.&lt;/p&gt;
23186 </description>
23187 </item>
23188
23189 <item>
23190 <title>The reply from Edgar Villanueva to Microsoft in Peru</title>
23191 <link>http://people.skolelinux.org/pere/blog/The_reply_from_Edgar_Villanueva_to_Microsoft_in_Peru.html</link>
23192 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_reply_from_Edgar_Villanueva_to_Microsoft_in_Peru.html</guid>
23193 <pubDate>Sat, 25 Dec 2010 10:50:00 +0100</pubDate>
23194 <description>&lt;p&gt;A few days ago
23195 &lt;a href=&quot;http://www.idg.no/computerworld/article189879.ece&quot;&gt;an
23196 article&lt;/a&gt; in the Norwegian Computerworld magazine about how version
23197 2.0 of
23198 &lt;a href=&quot;http://en.wikipedia.org/wiki/European_Interoperability_Framework&quot;&gt;European
23199 Interoperability Framework&lt;/a&gt; has been successfully lobbied by the
23200 proprietary software industry to remove the focus on free software.
23201 Nothing very surprising there, given
23202 &lt;a href=&quot;http://news.slashdot.org/story/10/03/29/2115235/Open-Source-Open-Standards-Under-Attack-In-Europe&quot;&gt;earlier
23203 reports&lt;/a&gt; on how Microsoft and others have stacked the committees in
23204 this work. But I find this very sad. The definition of
23205 &lt;a href=&quot;http://www.nuug.no/dokumenter/standard-presse-def-200506.txt&quot;&gt;an
23206 open standard from version 1&lt;/a&gt; was very good, and something I
23207 believe should be used also in the future, alongside
23208 &lt;a href=&quot;http://www.digistan.org/open-standard:definition&quot;&gt;the
23209 definition from Digistan&lt;/A&gt;. Version 2 have removed the open
23210 standard definition from its content.&lt;/p&gt;
23211
23212 &lt;p&gt;Anyway, the news reminded me of the great reply sent by Dr. Edgar
23213 Villanueva, congressman in Peru at the time, to Microsoft as a reply
23214 to Microsofts attack on his proposal regarding the use of free software
23215 in the public sector in Peru. As the text was not available from a
23216 few of the URLs where it used to be available, I copy it here from
23217 &lt;a href=&quot;http://gnuwin.epfl.ch/articles/en/reponseperou/villanueva_to_ms.html&quot;&gt;my
23218 source&lt;/a&gt; to ensure it is available also in the future. Some
23219 background information about that story is available in
23220 &lt;a href=&quot;http://www.linuxjournal.com/article/6099&quot;&gt;an article&lt;/a&gt; from
23221 Linux Journal in 2002.&lt;/p&gt;
23222
23223 &lt;blockquote&gt;
23224 &lt;p&gt;Lima, 8th of April, 2002&lt;br&gt;
23225 To: Señor JUAN ALBERTO GONZÁLEZ&lt;br&gt;
23226 General Manager of Microsoft Perú&lt;/p&gt;
23227
23228 &lt;p&gt;Dear Sir:&lt;/p&gt;
23229
23230 &lt;p&gt;First of all, I thank you for your letter of March 25, 2002 in which you state the official position of Microsoft relative to Bill Number 1609, Free Software in Public Administration, which is indubitably inspired by the desire for Peru to find a suitable place in the global technological context. In the same spirit, and convinced that we will find the best solutions through an exchange of clear and open ideas, I will take this opportunity to reply to the commentaries included in your letter.&lt;/p&gt;
23231
23232 &lt;p&gt;While acknowledging that opinions such as yours constitute a significant contribution, it would have been even more worthwhile for me if, rather than formulating objections of a general nature (which we will analyze in detail later) you had gathered solid arguments for the advantages that proprietary software could bring to the Peruvian State, and to its citizens in general, since this would have allowed a more enlightening exchange in respect of each of our positions.&lt;/p&gt;
23233
23234 &lt;p&gt;With the aim of creating an orderly debate, we will assume that what you call &quot;open source software&quot; is what the Bill defines as &quot;free software&quot;, since there exists software for which the source code is distributed together with the program, but which does not fall within the definition established by the Bill; and that what you call &quot;commercial software&quot; is what the Bill defines as &quot;proprietary&quot; or &quot;unfree&quot;, given that there exists free software which is sold in the market for a price like any other good or service.&lt;/p&gt;
23235
23236 &lt;p&gt;It is also necessary to make it clear that the aim of the Bill we are discussing is not directly related to the amount of direct savings that can by made by using free software in state institutions. That is in any case a marginal aggregate value, but in no way is it the chief focus of the Bill. The basic principles which inspire the Bill are linked to the basic guarantees of a state of law, such as:&lt;/p&gt;
23237
23238 &lt;p&gt;
23239 &lt;ul&gt;
23240 &lt;li&gt;Free access to public information by the citizen. &lt;/li&gt;
23241 &lt;li&gt;Permanence of public data. &lt;/li&gt;
23242 &lt;li&gt;Security of the State and citizens.&lt;/li&gt;
23243 &lt;/ul&gt;
23244 &lt;/p&gt;
23245
23246 &lt;p&gt;To guarantee the free access of citizens to public information, it is indispensable that the encoding of data is not tied to a single provider. The use of standard and open formats gives a guarantee of this free access, if necessary through the creation of compatible free software.&lt;/p&gt;
23247
23248 &lt;p&gt;To guarantee the permanence of public data, it is necessary that the usability and maintenance of the software does not depend on the goodwill of the suppliers, or on the monopoly conditions imposed by them. For this reason the State needs systems the development of which can be guaranteed due to the availability of the source code.&lt;/p&gt;
23249
23250 &lt;p&gt;To guarantee national security or the security of the State, it is indispensable to be able to rely on systems without elements which allow control from a distance or the undesired transmission of information to third parties. Systems with source code freely accessible to the public are required to allow their inspection by the State itself, by the citizens, and by a large number of independent experts throughout the world. Our proposal brings further security, since the knowledge of the source code will eliminate the growing number of programs with *spy code*. &lt;/p&gt;
23251
23252 &lt;p&gt;In the same way, our proposal strengthens the security of the citizens, both in their role as legitimate owners of information managed by the state, and in their role as consumers. In this second case, by allowing the growth of a widespread availability of free software not containing *spy code* able to put at risk privacy and individual freedoms.&lt;/p&gt;
23253
23254 &lt;p&gt;In this sense, the Bill is limited to establishing the conditions under which the state bodies will obtain software in the future, that is, in a way compatible with these basic principles.&lt;/p&gt;
23255
23256
23257 &lt;p&gt;From reading the Bill it will be clear that once passed:&lt;br&gt;
23258 &lt;li&gt;the law does not forbid the production of proprietary software&lt;/li&gt;
23259 &lt;li&gt;the law does not forbid the sale of proprietary software&lt;/li&gt;
23260 &lt;li&gt;the law does not specify which concrete software to use&lt;/li&gt;
23261 &lt;li&gt;the law does not dictate the supplier from whom software will be bought&lt;/li&gt;
23262 &lt;li&gt;the law does not limit the terms under which a software product can be licensed.&lt;/li&gt;
23263
23264 &lt;/p&gt;
23265
23266 &lt;p&gt;What the Bill does express clearly, is that, for software to be acceptable for the state it is not enough that it is technically capable of fulfilling a task, but that further the contractual conditions must satisfy a series of requirements regarding the license, without which the State cannot guarantee the citizen adequate processing of his data, watching over its integrity, confidentiality, and accessibility throughout time, as these are very critical aspects for its normal functioning.&lt;/p&gt;
23267
23268 &lt;p&gt;We agree, Mr. Gonzalez, that information and communication technology have a significant impact on the quality of life of the citizens (whether it be positive or negative). We surely also agree that the basic values I have pointed out above are fundamental in a democratic state like Peru. So we are very interested to know of any other way of guaranteeing these principles, other than through the use of free software in the terms defined by the Bill.&lt;/p&gt;
23269
23270 &lt;p&gt;As for the observations you have made, we will now go on to analyze them in detail:&lt;/p&gt;
23271
23272 &lt;p&gt;Firstly, you point out that: &quot;1. The bill makes it compulsory for all public bodies to use only free software, that is to say open source software, which breaches the principles of equality before the law, that of non-discrimination and the right of free private enterprise, freedom of industry and of contract, protected by the constitution.&quot;&lt;/p&gt;
23273
23274 &lt;p&gt;This understanding is in error. The Bill in no way affects the rights you list; it limits itself entirely to establishing conditions for the use of software on the part of state institutions, without in any way meddling in private sector transactions. It is a well established principle that the State does not enjoy the wide spectrum of contractual freedom of the private sector, as it is limited in its actions precisely by the requirement for transparency of public acts; and in this sense, the preservation of the greater common interest must prevail when legislating on the matter.&lt;/p&gt;
23275
23276 &lt;p&gt;The Bill protects equality under the law, since no natural or legal person is excluded from the right of offering these goods to the State under the conditions defined in the Bill and without more limitations than those established by the Law of State Contracts and Purchasing (T.U.O. by Supreme Decree No. 012-2001-PCM).&lt;/p&gt;
23277
23278 &lt;p&gt;The Bill does not introduce any discrimination whatever, since it only establishes *how* the goods have to be provided (which is a state power) and not *who* has to provide them (which would effectively be discriminatory, if restrictions based on national origin, race religion, ideology, sexual preference etc. were imposed). On the contrary, the Bill is decidedly antidiscriminatory. This is so because by defining with no room for doubt the conditions for the provision of software, it prevents state bodies from using software which has a license including discriminatory conditions.&lt;/p&gt;
23279
23280 &lt;p&gt;It should be obvious from the preceding two paragraphs that the Bill does not harm free private enterprise, since the latter can always choose under what conditions it will produce software; some of these will be acceptable to the State, and others will not be since they contradict the guarantee of the basic principles listed above. This free initiative is of course compatible with the freedom of industry and freedom of contract (in the limited form in which the State can exercise the latter). Any private subject can produce software under the conditions which the State requires, or can refrain from doing so. Nobody is forced to adopt a model of production, but if they wish to provide software to the State, they must provide the mechanisms which guarantee the basic principles, and which are those described in the Bill.&lt;/p&gt;
23281
23282 &lt;p&gt;By way of an example: nothing in the text of the Bill would prevent your company offering the State bodies an office &quot;suite&quot;, under the conditions defined in the Bill and setting the price that you consider satisfactory. If you did not, it would not be due to restrictions imposed by the law, but to business decisions relative to the method of commercializing your products, decisions with which the State is not involved.&lt;/p&gt;
23283
23284 &lt;p&gt;To continue; you note that:&quot; 2. The bill, by making the use of open source software compulsory, would establish discriminatory and non competitive practices in the contracting and purchasing by public bodies...&quot;&lt;/p&gt;
23285
23286 &lt;p&gt;This statement is just a reiteration of the previous one, and so the response can be found above. However, let us concern ourselves for a moment with your comment regarding &quot;non-competitive ... practices.&quot;&lt;/p&gt;
23287
23288 &lt;p&gt;Of course, in defining any kind of purchase, the buyer sets conditions which relate to the proposed use of the good or service. From the start, this excludes certain manufacturers from the possibility of competing, but does not exclude them &quot;a priori&quot;, but rather based on a series of principles determined by the autonomous will of the purchaser, and so the process takes place in conformance with the law. And in the Bill it is established that *no one* is excluded from competing as far as he guarantees the fulfillment of the basic principles.&lt;/p&gt;
23289
23290 &lt;p&gt;Furthermore, the Bill *stimulates* competition, since it tends to generate a supply of software with better conditions of usability, and to better existing work, in a model of continuous improvement.&lt;/p&gt;
23291
23292 &lt;p&gt;On the other hand, the central aspect of competivity is the chance to provide better choices to the consumer. Now, it is impossible to ignore the fact that marketing does not play a neutral role when the product is offered on the market (since accepting the opposite would lead one to suppose that firms&#39; expenses in marketing lack any sense), and that therefore a significant expense under this heading can influence the decisions of the purchaser. This influence of marketing is in large measure reduced by the bill that we are backing, since the choice within the framework proposed is based on the *technical merits* of the product and not on the effort put into commercialization by the producer; in this sense, competitiveness is increased, since the smallest software producer can compete on equal terms with the most powerful corporations.&lt;/p&gt;
23293
23294 &lt;p&gt;It is necessary to stress that there is no position more anti-competitive than that of the big software producers, which frequently abuse their dominant position, since in innumerable cases they propose as a solution to problems raised by users: &quot;update your software to the new version&quot; (at the user&#39;s expense, naturally); furthermore, it is common to find arbitrary cessation of technical help for products, which, in the provider&#39;s judgment alone, are &quot;old&quot;; and so, to receive any kind of technical assistance, the user finds himself forced to migrate to new versions (with non-trivial costs, especially as changes in hardware platform are often involved). And as the whole infrastructure is based on proprietary data formats, the user stays &quot;trapped&quot; in the need to continue using products from the same supplier, or to make the huge effort to change to another environment (probably also proprietary).&lt;/p&gt;
23295
23296 &lt;p&gt;You add: &quot;3. So, by compelling the State to favor a business model based entirely on open source, the bill would only discourage the local and international manufacturing companies, which are the ones which really undertake important expenditures, create a significant number of direct and indirect jobs, as well as contributing to the GNP, as opposed to a model of open source software which tends to have an ever weaker economic impact, since it mainly creates jobs in the service sector.&quot;&lt;/p&gt;
23297
23298 &lt;p&gt;I do not agree with your statement. Partly because of what you yourself point out in paragraph 6 of your letter, regarding the relative weight of services in the context of software use. This contradiction alone would invalidate your position. The service model, adopted by a large number of companies in the software industry, is much larger in economic terms, and with a tendency to increase, than the licensing of programs.&lt;/p&gt;
23299
23300 &lt;p&gt;On the other hand, the private sector of the economy has the widest possible freedom to choose the economic model which best suits its interests, even if this freedom of choice is often obscured subliminally by the disproportionate expenditure on marketing by the producers of proprietary software.&lt;/p&gt;
23301
23302 &lt;p&gt;In addition, a reading of your opinion would lead to the conclusion that the State market is crucial and essential for the proprietary software industry, to such a point that the choice made by the State in this bill would completely eliminate the market for these firms. If that is true, we can deduce that the State must be subsidizing the proprietary software industry. In the unlikely event that this were true, the State would have the right to apply the subsidies in the area it considered of greatest social value; it is undeniable, in this improbable hypothesis, that if the State decided to subsidize software, it would have to do so choosing the free over the proprietary, considering its social effect and the rational use of taxpayers money.&lt;/p&gt;
23303
23304 &lt;p&gt;In respect of the jobs generated by proprietary software in countries like ours, these mainly concern technical tasks of little aggregate value; at the local level, the technicians who provide support for proprietary software produced by transnational companies do not have the possibility of fixing bugs, not necessarily for lack of technical capability or of talent, but because they do not have access to the source code to fix it. With free software one creates more technically qualified employment and a framework of free competence where success is only tied to the ability to offer good technical support and quality of service, one stimulates the market, and one increases the shared fund of knowledge, opening up alternatives to generate services of greater total value and a higher quality level, to the benefit of all involved: producers, service organizations, and consumers.&lt;/p&gt;
23305
23306 &lt;p&gt;It is a common phenomenon in developing countries that local software industries obtain the majority of their takings in the service sector, or in the creation of &quot;ad hoc&quot; software. Therefore, any negative impact that the application of the Bill might have in this sector will be more than compensated by a growth in demand for services (as long as these are carried out to high quality standards). If the transnational software companies decide not to compete under these new rules of the game, it is likely that they will undergo some decrease in takings in terms of payment for licenses; however, considering that these firms continue to allege that much of the software used by the State has been illegally copied, one can see that the impact will not be very serious. Certainly, in any case their fortune will be determined by market laws, changes in which cannot be avoided; many firms traditionally associated with proprietary software have already set out on the road (supported by copious expense) of providing services associated with free software, which shows that the models are not mutually exclusive.&lt;/p&gt;
23307
23308 &lt;p&gt;With this bill the State is deciding that it needs to preserve certain fundamental values. And it is deciding this based on its sovereign power, without affecting any of the constitutional guarantees. If these values could be guaranteed without having to choose a particular economic model, the effects of the law would be even more beneficial. In any case, it should be clear that the State does not choose an economic model; if it happens that there only exists one economic model capable of providing software which provides the basic guarantee of these principles, this is because of historical circumstances, not because of an arbitrary choice of a given model.&lt;/p&gt;
23309
23310 &lt;p&gt;Your letter continues: &quot;4. The bill imposes the use of open source software without considering the dangers that this can bring from the point of view of security, guarantee, and possible violation of the intellectual property rights of third parties.&quot;&lt;/p&gt;
23311
23312 &lt;p&gt;Alluding in an abstract way to &quot;the dangers this can bring&quot;, without specifically mentioning a single one of these supposed dangers, shows at the least some lack of knowledge of the topic. So, allow me to enlighten you on these points.&lt;/p&gt;
23313
23314 &lt;p&gt;On security:&lt;/p&gt;
23315
23316 &lt;p&gt;National security has already been mentioned in general terms in the initial discussion of the basic principles of the bill. In more specific terms, relative to the security of the software itself, it is well known that all software (whether proprietary or free) contains errors or &quot;bugs&quot; (in programmers&#39; slang). But it is also well known that the bugs in free software are fewer, and are fixed much more quickly, than in proprietary software. It is not in vain that numerous public bodies responsible for the IT security of state systems in developed countries require the use of free software for the same conditions of security and efficiency.&lt;/p&gt;
23317
23318 &lt;p&gt;What is impossible to prove is that proprietary software is more secure than free, without the public and open inspection of the scientific community and users in general. This demonstration is impossible because the model of proprietary software itself prevents this analysis, so that any guarantee of security is based only on promises of good intentions (biased, by any reckoning) made by the producer itself, or its contractors.&lt;/p&gt;
23319
23320 &lt;p&gt;It should be remembered that in many cases, the licensing conditions include Non-Disclosure clauses which prevent the user from publicly revealing security flaws found in the licensed proprietary product.&lt;/p&gt;
23321
23322 &lt;p&gt;In respect of the guarantee:&lt;/p&gt;
23323
23324 &lt;p&gt;As you know perfectly well, or could find out by reading the &quot;End User License Agreement&quot; of the products you license, in the great majority of cases the guarantees are limited to replacement of the storage medium in case of defects, but in no case is compensation given for direct or indirect damages, loss of profits, etc... If as a result of a security bug in one of your products, not fixed in time by yourselves, an attacker managed to compromise crucial State systems, what guarantees, reparations and compensation would your company make in accordance with your licensing conditions? The guarantees of proprietary software, inasmuch as programs are delivered ``AS IS&#39;&#39;, that is, in the state in which they are, with no additional responsibility of the provider in respect of function, in no way differ from those normal with free software.&lt;/p&gt;
23325
23326 &lt;p&gt;On Intellectual Property:&lt;/p&gt;
23327
23328 &lt;p&gt;Questions of intellectual property fall outside the scope of this bill, since they are covered by specific other laws. The model of free software in no way implies ignorance of these laws, and in fact the great majority of free software is covered by copyright. In reality, the inclusion of this question in your observations shows your confusion in respect of the legal framework in which free software is developed. The inclusion of the intellectual property of others in works claimed as one&#39;s own is not a practice that has been noted in the free software community; whereas, unfortunately, it has been in the area of proprietary software. As an example, the condemnation by the Commercial Court of Nanterre, France, on 27th September 2001 of Microsoft Corp. to a penalty of 3 million francs in damages and interest, for violation of intellectual property (piracy, to use the unfortunate term that your firm commonly uses in its publicity).&lt;/p&gt;
23329
23330 &lt;p&gt;You go on to say that: &quot;The bill uses the concept of open source software incorrectly, since it does not necessarily imply that the software is free or of zero cost, and so arrives at mistaken conclusions regarding State savings, with no cost-benefit analysis to validate its position.&quot;&lt;/p&gt;
23331
23332 &lt;p&gt;This observation is wrong; in principle, freedom and lack of cost are orthogonal concepts: there is software which is proprietary and charged for (for example, MS Office), software which is proprietary and free of charge (MS Internet Explorer), software which is free and charged for (Red Hat, SuSE etc GNU/Linux distributions), software which is free and not charged for (Apache, Open Office, Mozilla), and even software which can be licensed in a range of combinations (MySQL).&lt;/p&gt;
23333
23334 &lt;p&gt;Certainly free software is not necessarily free of charge. And the text of the bill does not state that it has to be so, as you will have noted after reading it. The definitions included in the Bill state clearly *what* should be considered free software, at no point referring to freedom from charges. Although the possibility of savings in payments for proprietary software licenses are mentioned, the foundations of the bill clearly refer to the fundamental guarantees to be preserved and to the stimulus to local technological development. Given that a democratic State must support these principles, it has no other choice than to use software with publicly available source code, and to exchange information only in standard formats.&lt;/p&gt;
23335
23336 &lt;p&gt;If the State does not use software with these characteristics, it will be weakening basic republican principles. Luckily, free software also implies lower total costs; however, even given the hypothesis (easily disproved) that it was more expensive than proprietary software, the simple existence of an effective free software tool for a particular IT function would oblige the State to use it; not by command of this Bill, but because of the basic principles we enumerated at the start, and which arise from the very essence of the lawful democratic State.&lt;/p&gt;
23337
23338 &lt;p&gt;You continue: &quot;6. It is wrong to think that Open Source Software is free of charge. Research by the Gartner Group (an important investigator of the technological market recognized at world level) has shown that the cost of purchase of software (operating system and applications) is only 8% of the total cost which firms and institutions take on for a rational and truly beneficial use of the technology. The other 92% consists of: installation costs, enabling, support, maintenance, administration, and down-time.&quot;&lt;/p&gt;
23339
23340 &lt;p&gt;This argument repeats that already given in paragraph 5 and partly contradicts paragraph 3. For the sake of brevity we refer to the comments on those paragraphs. However, allow me to point out that your conclusion is logically false: even if according to Gartner Group the cost of software is on average only 8% of the total cost of use, this does not in any way deny the existence of software which is free of charge, that is, with a licensing cost of zero.&lt;/p&gt;
23341
23342 &lt;p&gt;In addition, in this paragraph you correctly point out that the service components and losses due to down-time make up the largest part of the total cost of software use, which, as you will note, contradicts your statement regarding the small value of services suggested in paragraph 3. Now the use of free software contributes significantly to reduce the remaining life-cycle costs. This reduction in the costs of installation, support etc. can be noted in several areas: in the first place, the competitive service model of free software, support and maintenance for which can be freely contracted out to a range of suppliers competing on the grounds of quality and low cost. This is true for installation, enabling, and support, and in large part for maintenance. In the second place, due to the reproductive characteristics of the model, maintenance carried out for an application is easily replicable, without incurring large costs (that is, without paying more than once for the same thing) since modifications, if one wishes, can be incorporated in the common fund of knowledge. Thirdly, the huge costs caused by non-functioning software (&quot;blue screens of death&quot;, malicious code such as virus, worms, and trojans, exceptions, general protection faults and other well-known problems) are reduced considerably by using more stable software; and it is well known that one of the most notable virtues of free software is its stability.&lt;/p&gt;
23343
23344 &lt;p&gt;You further state that: &quot;7. One of the arguments behind the bill is the supposed freedom from costs of open-source software, compared with the costs of commercial software, without taking into account the fact that there exist types of volume licensing which can be highly advantageous for the State, as has happened in other countries.&quot;&lt;/p&gt;
23345
23346 &lt;p&gt;I have already pointed out that what is in question is not the cost of the software but the principles of freedom of information, accessibility, and security. These arguments have been covered extensively in the preceding paragraphs to which I would refer you.&lt;/p&gt;
23347
23348 &lt;p&gt;On the other hand, there certainly exist types of volume licensing (although unfortunately proprietary software does not satisfy the basic principles). But as you correctly pointed out in the immediately preceding paragraph of your letter, they only manage to reduce the impact of a component which makes up no more than 8% of the total.&lt;/p&gt;
23349
23350 &lt;p&gt;You continue: &quot;8. In addition, the alternative adopted by the bill (I) is clearly more expensive, due to the high costs of software migration, and (II) puts at risk compatibility and interoperability of the IT platforms within the State, and between the State and the private sector, given the hundreds of versions of open source software on the market.&quot;&lt;/p&gt;
23351
23352 &lt;p&gt;Let us analyze your statement in two parts. Your first argument, that migration implies high costs, is in reality an argument in favor of the Bill. Because the more time goes by, the more difficult migration to another technology will become; and at the same time, the security risks associated with proprietary software will continue to increase. In this way, the use of proprietary systems and formats will make the State ever more dependent on specific suppliers. Once a policy of using free software has been established (which certainly, does imply some cost) then on the contrary migration from one system to another becomes very simple, since all data is stored in open formats. On the other hand, migration to an open software context implies no more costs than migration between two different proprietary software contexts, which invalidates your argument completely.&lt;/p&gt;
23353
23354 &lt;p&gt;The second argument refers to &quot;problems in interoperability of the IT platforms within the State, and between the State and the private sector&quot; This statement implies a certain lack of knowledge of the way in which free software is built, which does not maximize the dependence of the user on a particular platform, as normally happens in the realm of proprietary software. Even when there are multiple free software distributions, and numerous programs which can be used for the same function, interoperability is guaranteed as much by the use of standard formats, as required by the bill, as by the possibility of creating interoperable software given the availability of the source code.&lt;/p&gt;
23355
23356 &lt;p&gt;You then say that: &quot;9. The majority of open source code does not offer adequate levels of service nor the guarantee from recognized manufacturers of high productivity on the part of the users, which has led various public organizations to retract their decision to go with an open source software solution and to use commercial software in its place.&quot;&lt;/p&gt;
23357
23358 &lt;p&gt;This observation is without foundation. In respect of the guarantee, your argument was rebutted in the response to paragraph 4. In respect of support services, it is possible to use free software without them (just as also happens with proprietary software), but anyone who does need them can obtain support separately, whether from local firms or from international corporations, again just as in the case of proprietary software.&lt;/p&gt;
23359
23360 &lt;p&gt;On the other hand, it would contribute greatly to our analysis if you could inform us about free software projects *established* in public bodies which have already been abandoned in favor of proprietary software. We know of a good number of cases where the opposite has taken place, but not know of any where what you describe has taken place.&lt;/p&gt;
23361
23362 &lt;p&gt;You continue by observing that: &quot;10. The bill discourages the creativity of the Peruvian software industry, which invoices 40 million US$/year, exports 4 million US$ (10th in ranking among non-traditional exports, more than handicrafts) and is a source of highly qualified employment. With a law that encourages the use of open source, software programmers lose their intellectual property rights and their main source of payment.&quot;&lt;/p&gt;
23363
23364 &lt;p&gt;It is clear enough that nobody is forced to commercialize their code as free software. The only thing to take into account is that if it is not free software, it cannot be sold to the public sector. This is not in any case the main market for the national software industry. We covered some questions referring to the influence of the Bill on the generation of employment which would be both highly technically qualified and in better conditions for competition above, so it seems unnecessary to insist on this point.&lt;/p&gt;
23365
23366 &lt;p&gt;What follows in your statement is incorrect. On the one hand, no author of free software loses his intellectual property rights, unless he expressly wishes to place his work in the public domain. The free software movement has always been very respectful of intellectual property, and has generated widespread public recognition of its authors. Names like those of Richard Stallman, Linus Torvalds, Guido van Rossum, Larry Wall, Miguel de Icaza, Andrew Tridgell, Theo de Raadt, Andrea Arcangeli, Bruce Perens, Darren Reed, Alan Cox, Eric Raymond, and many others, are recognized world-wide for their contributions to the development of software that is used today by millions of people throughout the world. On the other hand, to say that the rewards for authors rights make up the main source of payment of Peruvian programmers is in any case a guess, in particular since there is no proof to this effect, nor a demonstration of how the use of free software by the State would influence these payments.&lt;/p&gt;
23367
23368 &lt;p&gt;You go on to say that: &quot;11. Open source software, since it can be distributed without charge, does not allow the generation of income for its developers through exports. In this way, the multiplier effect of the sale of software to other countries is weakened, and so in turn is the growth of the industry, while Government rules ought on the contrary to stimulate local industry.&quot;&lt;/p&gt;
23369
23370 &lt;p&gt;This statement shows once again complete ignorance of the mechanisms of and market for free software. It tries to claim that the market of sale of non- exclusive rights for use (sale of licenses) is the only possible one for the software industry, when you yourself pointed out several paragraphs above that it is not even the most important one. The incentives that the bill offers for the growth of a supply of better qualified professionals, together with the increase in experience that working on a large scale with free software within the State will bring for Peruvian technicians, will place them in a highly competitive position to offer their services abroad.&lt;/p&gt;
23371
23372 &lt;p&gt;You then state that: &quot;12. In the Forum, the use of open source software in education was discussed, without mentioning the complete collapse of this initiative in a country like Mexico, where precisely the State employees who founded the project now state that open source software did not make it possible to offer a learning experience to pupils in the schools, did not take into account the capability at a national level to give adequate support to the platform, and that the software did not and does not allow for the levels of platform integration that now exist in schools.&quot;&lt;/p&gt;
23373
23374 &lt;p&gt;In fact Mexico has gone into reverse with the Red Escolar (Schools Network) project. This is due precisely to the fact that the driving forces behind the Mexican project used license costs as their main argument, instead of the other reasons specified in our project, which are far more essential. Because of this conceptual mistake, and as a result of the lack of effective support from the SEP (Secretary of State for Public Education), the assumption was made that to implant free software in schools it would be enough to drop their software budget and send them a CD ROM with Gnu/Linux instead. Of course this failed, and it couldn&#39;t have been otherwise, just as school laboratories fail when they use proprietary software and have no budget for implementation and maintenance. That&#39;s exactly why our bill is not limited to making the use of free software mandatory, but recognizes the need to create a viable migration plan, in which the State undertakes the technical transition in an orderly way in order to then enjoy the advantages of free software.&lt;/p&gt;
23375
23376 &lt;p&gt;You end with a rhetorical question: &quot;13. If open source software satisfies all the requirements of State bodies, why do you need a law to adopt it? Shouldn&#39;t it be the market which decides freely which products give most benefits or value?&quot;&lt;/p&gt;
23377
23378 &lt;p&gt;We agree that in the private sector of the economy, it must be the market that decides which products to use, and no state interference is permissible there. However, in the case of the public sector, the reasoning is not the same: as we have already established, the state archives, handles, and transmits information which does not belong to it, but which is entrusted to it by citizens, who have no alternative under the rule of law. As a counterpart to this legal requirement, the State must take extreme measures to safeguard the integrity, confidentiality, and accessibility of this information. The use of proprietary software raises serious doubts as to whether these requirements can be fulfilled, lacks conclusive evidence in this respect, and so is not suitable for use in the public sector.&lt;/p&gt;
23379
23380 &lt;p&gt;The need for a law is based, firstly, on the realization of the fundamental principles listed above in the specific area of software; secondly, on the fact that the State is not an ideal homogeneous entity, but made up of multiple bodies with varying degrees of autonomy in decision making. Given that it is inappropriate to use proprietary software, the fact of establishing these rules in law will prevent the personal discretion of any state employee from putting at risk the information which belongs to citizens. And above all, because it constitutes an up-to-date reaffirmation in relation to the means of management and communication of information used today, it is based on the republican principle of openness to the public.&lt;/p&gt;
23381
23382 &lt;p&gt;In conformance with this universally accepted principle, the citizen has the right to know all information held by the State and not covered by well- founded declarations of secrecy based on law. Now, software deals with information and is itself information. Information in a special form, capable of being interpreted by a machine in order to execute actions, but crucial information all the same because the citizen has a legitimate right to know, for example, how his vote is computed or his taxes calculated. And for that he must have free access to the source code and be able to prove to his satisfaction the programs used for electoral computations or calculation of his taxes.&lt;/p&gt;
23383
23384 &lt;p&gt;I wish you the greatest respect, and would like to repeat that my office will always be open for you to expound your point of view to whatever level of detail you consider suitable.&lt;/p&gt;
23385
23386 &lt;p&gt;Cordially,&lt;br&gt;
23387 DR. EDGAR DAVID VILLANUEVA NUÑEZ&lt;br&gt;
23388 Congressman of the Republic of Perú.&lt;/p&gt;
23389 &lt;/blockquote&gt;
23390 </description>
23391 </item>
23392
23393 <item>
23394 <title>Officeshots still going strong</title>
23395 <link>http://people.skolelinux.org/pere/blog/Officeshots_still_going_strong.html</link>
23396 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Officeshots_still_going_strong.html</guid>
23397 <pubDate>Sat, 25 Dec 2010 09:40:00 +0100</pubDate>
23398 <description>&lt;p&gt;Half a year ago I
23399 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Officeshots_taking_shape.html&quot;&gt;wrote
23400 a bit&lt;/a&gt; about &lt;a href=&quot;http://www.officeshots.org/&quot;&gt;OfficeShots&lt;/a&gt;,
23401 a web service to allow anyone to test how ODF documents are handled by
23402 the different programs reading and writing the ODF format.&lt;/p&gt;
23403
23404 &lt;p&gt;I just had a look at the service, and it seem to be going strong.
23405 Very interesting to see the results reported in the gallery, how
23406 different Office implementations handle different ODF features. Sad
23407 to see that KOffice was not doing it very well, and happy to see that
23408 LibreOffice has been tested already (but sadly not listed as a option
23409 for OfficeShots users yet). I am glad to see that the ODF community
23410 got such a great test tool available.&lt;/p&gt;
23411 </description>
23412 </item>
23413
23414 <item>
23415 <title>How to test if a laptop is working with Linux</title>
23416 <link>http://people.skolelinux.org/pere/blog/How_to_test_if_a_laptop_is_working_with_Linux.html</link>
23417 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_test_if_a_laptop_is_working_with_Linux.html</guid>
23418 <pubDate>Wed, 22 Dec 2010 14:55:00 +0100</pubDate>
23419 <description>&lt;p&gt;The last few days I have spent at work here at the &lt;a
23420 href=&quot;http://www.uio.no/&quot;&gt;University of Oslo&lt;/a&gt; testing if the new
23421 batch of computers will work with Linux. Every year for the last few
23422 years the university have organised shared bid of a few thousand
23423 computers, and this year HP won the bid. Two different desktops and
23424 five different laptops are on the list this year. We in the UNIX
23425 group want to know which one of these computers work well with RHEL
23426 and Ubuntu, the two Linux distributions we currently handle at the
23427 university.&lt;/p&gt;
23428
23429 &lt;p&gt;My test method is simple, and I share it here to get feedback and
23430 perhaps inspire others to test hardware as well. To test, I PXE
23431 install the OS version of choice, and log in as my normal user and run
23432 a few applications and plug in selected pieces of hardware. When
23433 something fail, I make a note about this in the test matrix and move
23434 on. If I have some spare time I try to report the bug to the OS
23435 vendor, but as I only have the machines for a short time, I rarely
23436 have the time to do this for all the problems I find.&lt;/p&gt;
23437
23438 &lt;p&gt;Anyway, to get to the point of this post. Here is the simple tests
23439 I perform on a new model.&lt;/p&gt;
23440
23441 &lt;ul&gt;
23442
23443 &lt;li&gt;Is PXE installation working? I&#39;m testing with RHEL6, Ubuntu Lucid
23444 and Ubuntu Maverik at the moment. If I feel like it, I also test with
23445 RHEL5 and Debian Edu/Squeeze.&lt;/li&gt;
23446
23447 &lt;li&gt;Is X.org working? If the graphical login screen show up after
23448 installation, X.org is working.&lt;/li&gt;
23449
23450 &lt;li&gt;Is hardware accelerated OpenGL working? Running glxgears (in
23451 package mesa-utils on Ubuntu) and writing down the frames per second
23452 reported by the program.&lt;/li&gt;
23453
23454 &lt;li&gt;Is sound working? With Gnome and KDE, a sound is played when
23455 logging in, and if I can hear this the test is successful. If there
23456 are several audio exits on the machine, I try them all and check if
23457 the Gnome/KDE audio mixer can control where to send the sound. I
23458 normally test this by playing
23459 &lt;a href=&quot;http://www.nuug.no/aktiviteter/20101012-chef/ &quot;&gt;a HTML5
23460 video&lt;/a&gt; in Firefox/Iceweasel.&lt;/li&gt;
23461
23462 &lt;li&gt;Is the USB subsystem working? I test this by plugging in a USB
23463 memory stick and see if Gnome/KDE notices this.&lt;/li&gt;
23464
23465 &lt;li&gt;Is the CD/DVD player working? I test this by inserting any CD/DVD
23466 I have lying around, and see if Gnome/KDE notices this.&lt;/li&gt;
23467
23468 &lt;li&gt;Is any built in camera working? Test using cheese, and see if a
23469 picture from the v4l device show up.&lt;/li&gt;
23470
23471 &lt;li&gt;Is bluetooth working? Use the Gnome/KDE browsing tool to see if
23472 any bluetooth devices are discovered. In my office, I normally see a
23473 few.&lt;/li&gt;
23474
23475 &lt;li&gt;For laptops, is the SD or Compaq Flash reader working. I have
23476 memory modules lying around, and stick them in and see if Gnome/KDE
23477 notice this.&lt;/li&gt;
23478
23479 &lt;li&gt;For laptops, is suspend/hibernate working? I&#39;m testing if the
23480 special button work, and if the laptop continue to work after
23481 resume.&lt;/li&gt;
23482
23483 &lt;li&gt;For laptops, is the extra buttons working, like audio level,
23484 adjusting background light, switching on/off external video output,
23485 switching on/off wifi, bluetooth, etc? The set of buttons differ from
23486 laptop to laptop, so I just write down which are working and which are
23487 not.&lt;/li&gt;
23488
23489 &lt;li&gt;Some laptops have smart card readers, finger print readers,
23490 acceleration sensors etc. I rarely test these, as I do not know how
23491 to quickly test if they are working or not, so I only document their
23492 existence.&lt;/li&gt;
23493
23494 &lt;/ul&gt;
23495
23496 &lt;p&gt;By now I suspect you are really curious what the test results are
23497 for the HP machines I am testing. I&#39;m not done yet, so I will report
23498 the test results later. For now I can report that HP 8100 Elite work
23499 fine, and hibernation fail with HP EliteBook 8440p on Ubuntu Lucid,
23500 and audio fail on RHEL6. Ubuntu Maverik worked with 8440p. As you
23501 can see, I have most machines left to test. One interesting
23502 observation is that Ubuntu Lucid has almost twice the frame rate than
23503 RHEL6 with glxgears. No idea why.&lt;/p&gt;
23504 </description>
23505 </item>
23506
23507 <item>
23508 <title>Some thoughts on BitCoins</title>
23509 <link>http://people.skolelinux.org/pere/blog/Some_thoughts_on_BitCoins.html</link>
23510 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Some_thoughts_on_BitCoins.html</guid>
23511 <pubDate>Sat, 11 Dec 2010 15:10:00 +0100</pubDate>
23512 <description>&lt;p&gt;As I continue to explore
23513 &lt;a href=&quot;http://www.bitcoin.org/&quot;&gt;BitCoin&lt;/a&gt;, I&#39;ve starting to wonder
23514 what properties the system have, and how it will be affected by laws
23515 and regulations here in Norway. Here are some random notes.&lt;/p&gt;
23516
23517 &lt;p&gt;One interesting thing to note is that since the transactions are
23518 verified using a peer to peer network, all details about a transaction
23519 is known to everyone. This means that if a BitCoin address has been
23520 published like I did with mine in my initial post about BitCoin, it is
23521 possible for everyone to see how many BitCoins have been transfered to
23522 that address. There is even a web service to look at the details for
23523 all transactions. There I can see that my address
23524 &lt;a href=&quot;http://blockexplorer.com/address/15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&quot;&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/a&gt;
23525 have received 16.06 Bitcoin, the
23526 &lt;a href=&quot;http://blockexplorer.com/address/1LfdGnGuWkpSJgbQySxxCWhv8MHqvwst3&quot;&gt;1LfdGnGuWkpSJgbQySxxCWhv8MHqvwst3&lt;/a&gt;
23527 address of Simon Phipps have received 181.97 BitCoin and the address
23528 &lt;a href=&quot;http://blockexplorer.com/address/1MCwBbhNGp5hRm5rC1Aims2YFRe2SXPYKt&quot;&gt;1MCwBbhNGp5hRm5rC1Aims2YFRe2SXPYKt&lt;/A&gt;
23529 of EFF have received 2447.38 BitCoins so far. Thank you to each and
23530 every one of you that donated bitcoins to support my activity. The
23531 fact that anyone can see how much money was transfered to a given
23532 address make it more obvious why the BitCoin community recommend to
23533 generate and hand out a new address for each transaction. I&#39;m told
23534 there is no way to track which addresses belong to a given person or
23535 organisation without the person or organisation revealing it
23536 themselves, as Simon, EFF and I have done.&lt;/p&gt;
23537
23538 &lt;p&gt;In Norway, and in most other countries, there are laws and
23539 regulations limiting how much money one can transfer across the border
23540 without declaring it. There are money laundering, tax and accounting
23541 laws and regulations I would expect to apply to the use of BitCoin.
23542 If the Skolelinux foundation
23543 (&lt;a href=&quot;http://linuxiskolen.no/slxdebianlabs/donations.html&quot;&gt;SLX
23544 Debian Labs&lt;/a&gt;) were to accept donations in BitCoin in addition to
23545 normal bank transfers like EFF is doing, how should this be accounted?
23546 Given that it is impossible to know if money can cross the border or
23547 not, should everything or nothing be declared? What exchange rate
23548 should be used when calculating taxes? Would receivers have to pay
23549 income tax if the foundation were to pay Skolelinux contributors in
23550 BitCoin? I have no idea, but it would be interesting to know.&lt;/p&gt;
23551
23552 &lt;p&gt;For a currency to be useful and successful, it must be trusted and
23553 accepted by a lot of users. It must be possible to get easy access to
23554 the currency (as a wage or using currency exchanges), and it must be
23555 easy to spend it. At the moment BitCoin seem fairly easy to get
23556 access to, but there are very few places to spend it. I am not really
23557 a regular user of any of the vendor types currently accepting BitCoin,
23558 so I wonder when my kind of shop would start accepting BitCoins. I
23559 would like to buy electronics, travels and subway tickets, not herbs
23560 and books. :) The currency is young, and this will improve over time
23561 if it become popular, but I suspect regular banks will start to lobby
23562 to get BitCoin declared illegal if it become popular. I&#39;m sure they
23563 will claim it is helping fund terrorism and money laundering (which
23564 probably would be true, as is any currency in existence), but I
23565 believe the problems should be solved elsewhere and not by blaming
23566 currencies.&lt;/p&gt;
23567
23568 &lt;p&gt;The process of creating new BitCoins is called mining, and it is
23569 CPU intensive process that depend on a bit of luck as well (as one is
23570 competing against all the other miners currently spending CPU cycles
23571 to see which one get the next lump of cash). The &quot;winner&quot; get 50
23572 BitCoin when this happen. Yesterday I came across the obvious way to
23573 join forces to increase ones changes of getting at least some coins,
23574 by coordinating the work on mining BitCoins across several machines
23575 and people, and sharing the result if one is lucky and get the 50
23576 BitCoins. Check out
23577 &lt;a href=&quot;http://www.bluishcoder.co.nz/bitcoin-pool/&quot;&gt;BitCoin Pool&lt;/a&gt;
23578 if this sounds interesting. I have not had time to try to set up a
23579 machine to participate there yet, but have seen that running on ones
23580 own for a few days have not yield any BitCoins througth mining
23581 yet.&lt;/p&gt;
23582
23583 &lt;p&gt;Update 2010-12-15: Found an &lt;a
23584 href=&quot;http://inertia.posterous.com/reply-to-the-underground-economist-why-bitcoi&quot;&gt;interesting
23585 criticism&lt;/a&gt; of bitcoin. Not quite sure how valid it is, but thought
23586 it was interesting to read. The arguments presented seem to be
23587 equally valid for gold, which was used as a currency for many years.&lt;/p&gt;
23588 </description>
23589 </item>
23590
23591 <item>
23592 <title>Now accepting bitcoins - anonymous and distributed p2p crypto-money</title>
23593 <link>http://people.skolelinux.org/pere/blog/Now_accepting_bitcoins___anonymous_and_distributed_p2p_crypto_money.html</link>
23594 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Now_accepting_bitcoins___anonymous_and_distributed_p2p_crypto_money.html</guid>
23595 <pubDate>Fri, 10 Dec 2010 08:20:00 +0100</pubDate>
23596 <description>&lt;p&gt;With this weeks lawless
23597 &lt;a href=&quot;http://www.salon.com/news/opinion/glenn_greenwald/2010/12/06/wikileaks/index.html&quot;&gt;governmental
23598 attacks&lt;/a&gt; on Wikileak and
23599 &lt;a href=&quot;http://www.salon.com/technology/dan_gillmor/2010/12/06/war_on_speech&quot;&gt;free
23600 speech&lt;/a&gt;, it has become obvious that PayPal, visa and mastercard can
23601 not be trusted to handle money transactions.
23602 A blog post from
23603 &lt;a href=&quot;http://webmink.com/2010/12/06/now-accepting-bitcoin/&quot;&gt;Simon
23604 Phipps on bitcoin&lt;/a&gt; reminded me about a project that a friend of
23605 mine mentioned earlier. I decided to follow Simon&#39;s example, and get
23606 involved with &lt;a href=&quot;http://www.bitcoin.org/&quot;&gt;BitCoin&lt;/a&gt;. I got
23607 some help from my friend to get it all running, and he even handed me
23608 some bitcoins to get started. I even donated a few bitcoins to Simon
23609 for helping me remember BitCoin.&lt;/p&gt;
23610
23611 &lt;p&gt;So, what is bitcoins, you probably wonder? It is a digital
23612 crypto-currency, decentralised and handled using peer-to-peer
23613 networks. It allows anonymous transactions and prohibits central
23614 control over the transactions, making it impossible for governments
23615 and companies alike to block donations and other transactions. The
23616 source is free software, and while the key dependency wxWidgets 2.9
23617 for the graphical user interface is missing in Debian, the command
23618 line client builds just fine. Hopefully Jonas
23619 &lt;a href=&quot;http://bugs.debian.org/578157&quot;&gt;will get the package into
23620 Debian&lt;/a&gt; soon.&lt;/p&gt;
23621
23622 &lt;p&gt;Bitcoins can be converted to other currencies, like USD and EUR.
23623 There are &lt;a href=&quot;http://www.bitcoin.org/trade&quot;&gt;companies accepting
23624 bitcoins&lt;/a&gt; when selling services and goods, and there are even
23625 currency &quot;stock&quot; markets where the exchange rate is decided. There
23626 are not many users so far, but the concept seems promising. If you
23627 want to get started and lack a friend with any bitcoins to spare,
23628 you can even get
23629 &lt;a href=&quot;https://freebitcoins.appspot.com/&quot;&gt;some for free&lt;/a&gt; (0.05
23630 bitcoin at the time of writing). Use
23631 &lt;a href=&quot;http://www.bitcoinwatch.com/&quot;&gt;BitcoinWatch&lt;/a&gt; to keep an eye
23632 on the current exchange rates.&lt;/p&gt;
23633
23634 &lt;p&gt;As an experiment, I have decided to set up bitcoind on one of my
23635 machines. If you want to support my activity, please send Bitcoin
23636 donations to the address
23637 &lt;b&gt;15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&lt;/b&gt;. Thank you!&lt;/p&gt;
23638 </description>
23639 </item>
23640
23641 <item>
23642 <title>Student group continue the work on my Reprap 3D printer</title>
23643 <link>http://people.skolelinux.org/pere/blog/Student_group_continue_the_work_on_my_Reprap_3D_printer.html</link>
23644 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Student_group_continue_the_work_on_my_Reprap_3D_printer.html</guid>
23645 <pubDate>Thu, 9 Dec 2010 19:30:00 +0100</pubDate>
23646 <description>&lt;p&gt;A few days ago, I was introduces to some students in the robot
23647 student assosiation &lt;a href=&quot;http://www.robotica.no/&quot;&gt;Robotica
23648 Osloensis&lt;/a&gt; at the University of Oslo where I work, who planned to
23649 get their own 3D printer. They wanted to learn from me based on my
23650 work in the area. After having a short lunch meeting with them, I
23651 offered them to borrow my reprap kit, as I never had time to complete
23652 the build and this seem unlike to change any time soon. I look
23653 forward to see how this goes. This monday their volunteer driver
23654 picked up my kit and drove it to their lab, and tomorrow I am told the
23655 last exam is over so they can start work on getting the 3D printer
23656 operational.&lt;/p&gt;
23657
23658 &lt;p&gt;The robotic group have already build several robots on their own,
23659 and seem capable of getting the reprap operational. I really look
23660 forward to being able to print all the cool 3D designs published on
23661 &lt;a href=&quot;http://www.thingiverse.com/&quot;&gt;Thingiverse&lt;/a&gt;. I even got
23662 some 3D scans I got made during Dagen@IFI when one of the groups at
23663 the computer science department at the university demonstrated their
23664 very cool 3D scanner.&lt;/p&gt;
23665 </description>
23666 </item>
23667
23668 <item>
23669 <title>Debian Edu development gathering and General Assembly for FRiSK</title>
23670 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_development_gathering_and_General_Assembly_for_FRiSK.html</link>
23671 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_development_gathering_and_General_Assembly_for_FRiSK.html</guid>
23672 <pubDate>Mon, 29 Nov 2010 18:40:00 +0100</pubDate>
23673 <description>&lt;p&gt;On friday, the first Debian Edu / Skolelinux
23674 &lt;a href=&quot;http://www.friprogramvareiskolen.no/Gathering/2010-12-03-05-Oslo&quot;&gt;development
23675 gathering&lt;/a&gt; in a long time take place here in Oslo, Norway. I
23676 really look forward to seeing all the good people working on the
23677 Squeeze release. The gathering is open for everyone interested in
23678 learning more about Debian Edu / Skolelinux.&lt;/p&gt;
23679
23680 &lt;p&gt;On Saturday, the Norwegian member organization taking care of
23681 organizing these development gatherings, Fri Programvare i Skolen,
23682 will hold its
23683 &lt;a href=&quot;http://friprogramvareiskolen.no/Genfors/2010&quot;&gt;General Assembly
23684 for 2010&lt;/a&gt;. Membership is open for all, and currently there are 388
23685 people registered as members. Last year 32 members cast their vote in
23686 the memberdb based election system. I hope more people find time to
23687 vote this year.&lt;/p&gt;
23688 </description>
23689 </item>
23690
23691 <item>
23692 <title>Why isn&#39;t Debian Edu using VLC?</title>
23693 <link>http://people.skolelinux.org/pere/blog/Why_isn_t_Debian_Edu_using_VLC_.html</link>
23694 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Why_isn_t_Debian_Edu_using_VLC_.html</guid>
23695 <pubDate>Sat, 27 Nov 2010 11:30:00 +0100</pubDate>
23696 <description>&lt;p&gt;In the latest issue of Linux Journal, the readers choices were
23697 presented, and the winner among the multimedia player were VLC.
23698 Personally, I like VLC, and it is my player of choice when I first try
23699 to play a video file or stream. Only if VLC fail will I drag out
23700 gmplayer to see if it can do better. The reason is mostly the failure
23701 model and trust. When VLC fail, it normally pop up a error message
23702 reporting the problem. When mplayer fail, it normally segfault or
23703 just hangs. The latter failure mode drain my trust in the program.&lt;p&gt;
23704
23705 &lt;p&gt;But even if VLC is my player of choice, we have choosen to use
23706 mplayer in &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian
23707 Edu/Skolelinux&lt;/a&gt;. The reason is simple. We need a good browser
23708 plugin to play web videos seamlessly, and the VLC browser plugin is
23709 not very good. For example, it lack in-line control buttons, so there
23710 is no way for the user to pause the video. Also, when I
23711 &lt;a href=&quot;http://wiki.debian.org/DebianEdu/BrowserMultimedia&quot;&gt;last
23712 tested the browser plugins&lt;/a&gt; available in Debian, the VLC plugin
23713 failed on several video pages where mplayer based plugins worked. If
23714 the browser plugin for VLC was as good as the gecko-mediaplayer
23715 package (which uses mplayer), we would switch.&lt;/P&gt;
23716
23717 &lt;p&gt;While VLC is a good player, its user interface is slightly
23718 annoying. The most annoying feature is its inconsistent use of
23719 keyboard shortcuts. When the player is in full screen mode, its
23720 shortcuts are different from when it is playing the video in a window.
23721 For example, space only work as pause when in full screen mode. I
23722 wish it had consisten shortcuts and that space also would work when in
23723 window mode. Another nice shortcut in gmplayer is [enter] to restart
23724 the current video. It is very nice when playing short videos from the
23725 web and want to restart it when new people arrive to have a look at
23726 what is going on.&lt;/p&gt;
23727 </description>
23728 </item>
23729
23730 <item>
23731 <title>Lenny-&gt;Squeeze upgrades of the Gnome and KDE desktop, now with apt-get autoremove</title>
23732 <link>http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades_of_the_Gnome_and_KDE_desktop__now_with_apt_get_autoremove.html</link>
23733 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades_of_the_Gnome_and_KDE_desktop__now_with_apt_get_autoremove.html</guid>
23734 <pubDate>Mon, 22 Nov 2010 14:15:00 +0100</pubDate>
23735 <description>&lt;p&gt;Michael Biebl suggested to me on IRC, that I changed my automated
23736 upgrade testing of the
23737 &lt;a href=&quot;http://people.skolelinux.org/~pere/debian-upgrade-testing/&quot;&gt;Lenny
23738 Gnome and KDE Desktop&lt;/a&gt; to do &lt;tt&gt;apt-get autoremove&lt;/tt&gt; when using apt-get.
23739 This seem like a very good idea, so I adjusted by test scripts and
23740 can now present the updated result from today:&lt;/p&gt;
23741
23742 &lt;p&gt;This is for Gnome:&lt;/p&gt;
23743
23744 &lt;p&gt;Installed using apt-get, missing with aptitude&lt;/p&gt;
23745
23746 &lt;blockquote&gt;&lt;p&gt;
23747 apache2.2-bin
23748 aptdaemon
23749 baobab
23750 binfmt-support
23751 browser-plugin-gnash
23752 cheese-common
23753 cli-common
23754 cups-pk-helper
23755 dmz-cursor-theme
23756 empathy
23757 empathy-common
23758 freedesktop-sound-theme
23759 freeglut3
23760 gconf-defaults-service
23761 gdm-themes
23762 gedit-plugins
23763 geoclue
23764 geoclue-hostip
23765 geoclue-localnet
23766 geoclue-manual
23767 geoclue-yahoo
23768 gnash
23769 gnash-common
23770 gnome
23771 gnome-backgrounds
23772 gnome-cards-data
23773 gnome-codec-install
23774 gnome-core
23775 gnome-desktop-environment
23776 gnome-disk-utility
23777 gnome-screenshot
23778 gnome-search-tool
23779 gnome-session-canberra
23780 gnome-system-log
23781 gnome-themes-extras
23782 gnome-themes-more
23783 gnome-user-share
23784 gstreamer0.10-fluendo-mp3
23785 gstreamer0.10-tools
23786 gtk2-engines
23787 gtk2-engines-pixbuf
23788 gtk2-engines-smooth
23789 hamster-applet
23790 libapache2-mod-dnssd
23791 libapr1
23792 libaprutil1
23793 libaprutil1-dbd-sqlite3
23794 libaprutil1-ldap
23795 libart2.0-cil
23796 libboost-date-time1.42.0
23797 libboost-python1.42.0
23798 libboost-thread1.42.0
23799 libchamplain-0.4-0
23800 libchamplain-gtk-0.4-0
23801 libcheese-gtk18
23802 libclutter-gtk-0.10-0
23803 libcryptui0
23804 libdiscid0
23805 libelf1
23806 libepc-1.0-2
23807 libepc-common
23808 libepc-ui-1.0-2
23809 libfreerdp-plugins-standard
23810 libfreerdp0
23811 libgconf2.0-cil
23812 libgdata-common
23813 libgdata7
23814 libgdu-gtk0
23815 libgee2
23816 libgeoclue0
23817 libgexiv2-0
23818 libgif4
23819 libglade2.0-cil
23820 libglib2.0-cil
23821 libgmime2.4-cil
23822 libgnome-vfs2.0-cil
23823 libgnome2.24-cil
23824 libgnomepanel2.24-cil
23825 libgpod-common
23826 libgpod4
23827 libgtk2.0-cil
23828 libgtkglext1
23829 libgtksourceview2.0-common
23830 libmono-addins-gui0.2-cil
23831 libmono-addins0.2-cil
23832 libmono-cairo2.0-cil
23833 libmono-corlib2.0-cil
23834 libmono-i18n-west2.0-cil
23835 libmono-posix2.0-cil
23836 libmono-security2.0-cil
23837 libmono-sharpzip2.84-cil
23838 libmono-system2.0-cil
23839 libmtp8
23840 libmusicbrainz3-6
23841 libndesk-dbus-glib1.0-cil
23842 libndesk-dbus1.0-cil
23843 libopal3.6.8
23844 libpolkit-gtk-1-0
23845 libpt2.6.7
23846 libpython2.6
23847 librpm1
23848 librpmio1
23849 libsdl1.2debian
23850 libsrtp0
23851 libssh-4
23852 libtelepathy-farsight0
23853 libtelepathy-glib0
23854 libtidy-0.99-0
23855 media-player-info
23856 mesa-utils
23857 mono-2.0-gac
23858 mono-gac
23859 mono-runtime
23860 nautilus-sendto
23861 nautilus-sendto-empathy
23862 p7zip-full
23863 pkg-config
23864 python-aptdaemon
23865 python-aptdaemon-gtk
23866 python-axiom
23867 python-beautifulsoup
23868 python-bugbuddy
23869 python-clientform
23870 python-coherence
23871 python-configobj
23872 python-crypto
23873 python-cupshelpers
23874 python-elementtree
23875 python-epsilon
23876 python-evolution
23877 python-feedparser
23878 python-gdata
23879 python-gdbm
23880 python-gst0.10
23881 python-gtkglext1
23882 python-gtksourceview2
23883 python-httplib2
23884 python-louie
23885 python-mako
23886 python-markupsafe
23887 python-mechanize
23888 python-nevow
23889 python-notify
23890 python-opengl
23891 python-openssl
23892 python-pam
23893 python-pkg-resources
23894 python-pyasn1
23895 python-pysqlite2
23896 python-rdflib
23897 python-serial
23898 python-tagpy
23899 python-twisted-bin
23900 python-twisted-conch
23901 python-twisted-core
23902 python-twisted-web
23903 python-utidylib
23904 python-webkit
23905 python-xdg
23906 python-zope.interface
23907 remmina
23908 remmina-plugin-data
23909 remmina-plugin-rdp
23910 remmina-plugin-vnc
23911 rhythmbox-plugin-cdrecorder
23912 rhythmbox-plugins
23913 rpm-common
23914 rpm2cpio
23915 seahorse-plugins
23916 shotwell
23917 software-center
23918 system-config-printer-udev
23919 telepathy-gabble
23920 telepathy-mission-control-5
23921 telepathy-salut
23922 tomboy
23923 totem
23924 totem-coherence
23925 totem-mozilla
23926 totem-plugins
23927 transmission-common
23928 xdg-user-dirs
23929 xdg-user-dirs-gtk
23930 xserver-xephyr
23931 &lt;/p&gt;&lt;/blockquote&gt;
23932
23933 &lt;p&gt;Installed using apt-get, removed with aptitude&lt;/p&gt;
23934
23935 &lt;blockquote&gt;&lt;p&gt;
23936 cheese
23937 ekiga
23938 eog
23939 epiphany-extensions
23940 evolution-exchange
23941 fast-user-switch-applet
23942 file-roller
23943 gcalctool
23944 gconf-editor
23945 gdm
23946 gedit
23947 gedit-common
23948 gnome-games
23949 gnome-games-data
23950 gnome-nettool
23951 gnome-system-tools
23952 gnome-themes
23953 gnuchess
23954 gucharmap
23955 guile-1.8-libs
23956 libavahi-ui0
23957 libdmx1
23958 libgalago3
23959 libgtk-vnc-1.0-0
23960 libgtksourceview2.0-0
23961 liblircclient0
23962 libsdl1.2debian-alsa
23963 libspeexdsp1
23964 libsvga1
23965 rhythmbox
23966 seahorse
23967 sound-juicer
23968 system-config-printer
23969 totem-common
23970 transmission-gtk
23971 vinagre
23972 vino
23973 &lt;/p&gt;&lt;/blockquote&gt;
23974
23975 &lt;p&gt;Installed using aptitude, missing with apt-get&lt;/p&gt;
23976
23977 &lt;blockquote&gt;&lt;p&gt;
23978 gstreamer0.10-gnomevfs
23979 &lt;/p&gt;&lt;/blockquote&gt;
23980
23981 &lt;p&gt;Installed using aptitude, removed with apt-get&lt;/p&gt;
23982
23983 &lt;blockquote&gt;&lt;p&gt;
23984 [nothing]
23985 &lt;/p&gt;&lt;/blockquote&gt;
23986
23987 &lt;p&gt;This is for KDE:&lt;/p&gt;
23988
23989 &lt;p&gt;Installed using apt-get, missing with aptitude&lt;/p&gt;
23990
23991 &lt;blockquote&gt;&lt;p&gt;
23992 ksmserver
23993 &lt;/p&gt;&lt;/blockquote&gt;
23994
23995 &lt;p&gt;Installed using apt-get, removed with aptitude&lt;/p&gt;
23996
23997 &lt;blockquote&gt;&lt;p&gt;
23998 kwin
23999 network-manager-kde
24000 &lt;/p&gt;&lt;/blockquote&gt;
24001
24002 &lt;p&gt;Installed using aptitude, missing with apt-get&lt;/p&gt;
24003
24004 &lt;blockquote&gt;&lt;p&gt;
24005 arts
24006 dolphin
24007 freespacenotifier
24008 google-gadgets-gst
24009 google-gadgets-xul
24010 kappfinder
24011 kcalc
24012 kcharselect
24013 kde-core
24014 kde-plasma-desktop
24015 kde-standard
24016 kde-window-manager
24017 kdeartwork
24018 kdeartwork-emoticons
24019 kdeartwork-style
24020 kdeartwork-theme-icon
24021 kdebase
24022 kdebase-apps
24023 kdebase-workspace
24024 kdebase-workspace-bin
24025 kdebase-workspace-data
24026 kdeeject
24027 kdelibs
24028 kdeplasma-addons
24029 kdeutils
24030 kdewallpapers
24031 kdf
24032 kfloppy
24033 kgpg
24034 khelpcenter4
24035 kinfocenter
24036 konq-plugins-l10n
24037 konqueror-nsplugins
24038 kscreensaver
24039 kscreensaver-xsavers
24040 ktimer
24041 kwrite
24042 libgle3
24043 libkde4-ruby1.8
24044 libkonq5
24045 libkonq5-templates
24046 libnetpbm10
24047 libplasma-ruby
24048 libplasma-ruby1.8
24049 libqt4-ruby1.8
24050 marble-data
24051 marble-plugins
24052 netpbm
24053 nuvola-icon-theme
24054 plasma-dataengines-workspace
24055 plasma-desktop
24056 plasma-desktopthemes-artwork
24057 plasma-runners-addons
24058 plasma-scriptengine-googlegadgets
24059 plasma-scriptengine-python
24060 plasma-scriptengine-qedje
24061 plasma-scriptengine-ruby
24062 plasma-scriptengine-webkit
24063 plasma-scriptengines
24064 plasma-wallpapers-addons
24065 plasma-widget-folderview
24066 plasma-widget-networkmanagement
24067 ruby
24068 sweeper
24069 update-notifier-kde
24070 xscreensaver-data-extra
24071 xscreensaver-gl
24072 xscreensaver-gl-extra
24073 xscreensaver-screensaver-bsod
24074 &lt;/p&gt;&lt;/blockquote&gt;
24075
24076 &lt;p&gt;Installed using aptitude, removed with apt-get&lt;/p&gt;
24077
24078 &lt;blockquote&gt;&lt;p&gt;
24079 ark
24080 google-gadgets-common
24081 google-gadgets-qt
24082 htdig
24083 kate
24084 kdebase-bin
24085 kdebase-data
24086 kdepasswd
24087 kfind
24088 klipper
24089 konq-plugins
24090 konqueror
24091 ksysguard
24092 ksysguardd
24093 libarchive1
24094 libcln6
24095 libeet1
24096 libeina-svn-06
24097 libggadget-1.0-0b
24098 libggadget-qt-1.0-0b
24099 libgps19
24100 libkdecorations4
24101 libkephal4
24102 libkonq4
24103 libkonqsidebarplugin4a
24104 libkscreensaver5
24105 libksgrd4
24106 libksignalplotter4
24107 libkunitconversion4
24108 libkwineffects1a
24109 libmarblewidget4
24110 libntrack-qt4-1
24111 libntrack0
24112 libplasma-geolocation-interface4
24113 libplasmaclock4a
24114 libplasmagenericshell4
24115 libprocesscore4a
24116 libprocessui4a
24117 libqalculate5
24118 libqedje0a
24119 libqtruby4shared2
24120 libqzion0a
24121 libruby1.8
24122 libscim8c2a
24123 libsmokekdecore4-3
24124 libsmokekdeui4-3
24125 libsmokekfile3
24126 libsmokekhtml3
24127 libsmokekio3
24128 libsmokeknewstuff2-3
24129 libsmokeknewstuff3-3
24130 libsmokekparts3
24131 libsmokektexteditor3
24132 libsmokekutils3
24133 libsmokenepomuk3
24134 libsmokephonon3
24135 libsmokeplasma3
24136 libsmokeqtcore4-3
24137 libsmokeqtdbus4-3
24138 libsmokeqtgui4-3
24139 libsmokeqtnetwork4-3
24140 libsmokeqtopengl4-3
24141 libsmokeqtscript4-3
24142 libsmokeqtsql4-3
24143 libsmokeqtsvg4-3
24144 libsmokeqttest4-3
24145 libsmokeqtuitools4-3
24146 libsmokeqtwebkit4-3
24147 libsmokeqtxml4-3
24148 libsmokesolid3
24149 libsmokesoprano3
24150 libtaskmanager4a
24151 libtidy-0.99-0
24152 libweather-ion4a
24153 libxklavier16
24154 libxxf86misc1
24155 okteta
24156 oxygencursors
24157 plasma-dataengines-addons
24158 plasma-scriptengine-superkaramba
24159 plasma-widget-lancelot
24160 plasma-widgets-addons
24161 plasma-widgets-workspace
24162 polkit-kde-1
24163 ruby1.8
24164 systemsettings
24165 update-notifier-common
24166 &lt;/p&gt;&lt;/blockquote&gt;
24167
24168 &lt;p&gt;Running apt-get autoremove made the results using apt-get and
24169 aptitude a bit more similar, but there are still quite a lott of
24170 differences. I have no idea what packages should be installed after
24171 the upgrade, but hope those that do can have a look.&lt;/p&gt;
24172 </description>
24173 </item>
24174
24175 <item>
24176 <title>Migrating Xen virtual machines using LVM to KVM using disk images</title>
24177 <link>http://people.skolelinux.org/pere/blog/Migrating_Xen_virtual_machines_using_LVM_to_KVM_using_disk_images.html</link>
24178 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Migrating_Xen_virtual_machines_using_LVM_to_KVM_using_disk_images.html</guid>
24179 <pubDate>Mon, 22 Nov 2010 11:20:00 +0100</pubDate>
24180 <description>&lt;p&gt;Most of the computers in use by the
24181 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu/Skolelinux project&lt;/a&gt;
24182 are virtual machines. And they have been Xen machines running on a
24183 fairly old IBM eserver xseries 345 machine, and we wanted to migrate
24184 them to KVM on a newer Dell PowerEdge 2950 host machine. This was a
24185 bit harder that it could have been, because we set up the Xen virtual
24186 machines to get the virtual partitions from LVM, which as far as I
24187 know is not supported by KVM. So to migrate, we had to convert
24188 several LVM logical volumes to partitions on a virtual disk file.&lt;/p&gt;
24189
24190 &lt;p&gt;I found
24191 &lt;a href=&quot;http://searchnetworking.techtarget.com.au/articles/35011-Six-steps-for-migrating-Xen-virtual-machines-to-KVM&quot;&gt;a
24192 nice recipe&lt;/a&gt; to do this, and wrote the following script to do the
24193 migration. It uses qemu-img from the qemu package to make the disk
24194 image, parted to partition it, losetup and kpartx to present the disk
24195 image partions as devices, and dd to copy the data. I NFS mounted the
24196 new servers storage area on the old server to do the migration.&lt;/p&gt;
24197
24198 &lt;pre&gt;
24199 #!/bin/sh
24200
24201 # Based on
24202 # http://searchnetworking.techtarget.com.au/articles/35011-Six-steps-for-migrating-Xen-virtual-machines-to-KVM
24203
24204 set -e
24205 set -x
24206
24207 if [ -z &quot;$1&quot; ] ; then
24208 echo &quot;Usage: $0 &amp;lt;hostname&amp;gt;&quot;
24209 exit 1
24210 else
24211 host=&quot;$1&quot;
24212 fi
24213
24214 if [ ! -e /dev/vg_data/$host-disk ] ; then
24215 echo &quot;error: unable to find LVM volume for $host&quot;
24216 exit 1
24217 fi
24218
24219 # Partitions need to be a bit bigger than the LVM LVs. not sure why.
24220 disksize=$( lvs --units m | grep $host-disk | awk &#39;{sum = sum + $4} END { print int(sum * 1.05) }&#39;)
24221 swapsize=$( lvs --units m | grep $host-swap | awk &#39;{sum = sum + $4} END { print int(sum * 1.05) }&#39;)
24222 totalsize=$(( ( $disksize + $swapsize ) ))
24223
24224 img=$host.img
24225 #dd if=/dev/zero of=$img bs=1M count=$(( $disksize + $swapsize ))
24226 qemu-img create $img ${totalsize}MMaking room on the Debian Edu/Sqeeze DVD
24227
24228 parted $img mklabel msdos
24229 parted $img mkpart primary linux-swap 0 $disksize
24230 parted $img mkpart primary ext2 $disksize $totalsize
24231 parted $img set 1 boot on
24232
24233 modprobe dm-mod
24234 losetup /dev/loop0 $img
24235 kpartx -a /dev/loop0
24236
24237 dd if=/dev/vg_data/$host-disk of=/dev/mapper/loop0p1 bs=1M
24238 fsck.ext3 -f /dev/mapper/loop0p1 || true
24239 mkswap /dev/mapper/loop0p2
24240
24241 kpartx -d /dev/loop0
24242 losetup -d /dev/loop0
24243 &lt;/pre&gt;
24244
24245 &lt;p&gt;The script is perhaps so simple that it is not copyrightable, but
24246 if it is, it is licenced using GPL v2 or later at your discretion.&lt;/p&gt;
24247
24248 &lt;p&gt;After doing this, I booted a Debian CD in rescue mode in KVM with
24249 the new disk image attached, installed grub-pc and linux-image-686 and
24250 set up grub to boot from the disk image. After this, the KVM machines
24251 seem to work just fine.&lt;/p&gt;
24252 </description>
24253 </item>
24254
24255 <item>
24256 <title>Lenny-&gt;Squeeze upgrades, apt vs aptitude with the Gnome and KDE desktop</title>
24257 <link>http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades__apt_vs_aptitude_with_the_Gnome_and_KDE_desktop.html</link>
24258 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades__apt_vs_aptitude_with_the_Gnome_and_KDE_desktop.html</guid>
24259 <pubDate>Sat, 20 Nov 2010 22:50:00 +0100</pubDate>
24260 <description>&lt;p&gt;I&#39;m still running upgrade testing of the
24261 &lt;a href=&quot;http://people.skolelinux.org/~pere/debian-upgrade-testing/&quot;&gt;Lenny
24262 Gnome and KDE Desktop&lt;/a&gt;, but have not had time to spend on reporting the
24263 status. Here is a short update based on a test I ran 20101118.&lt;/p&gt;
24264
24265 &lt;p&gt;I still do not know what a correct migration should look like, so I
24266 report any differences between apt and aptitude and hope someone else
24267 can see if anything should be changed.&lt;/p&gt;
24268
24269 &lt;p&gt;This is for Gnome:&lt;/p&gt;
24270
24271 &lt;p&gt;Installed using apt-get, missing with aptitude&lt;/p&gt;
24272
24273 &lt;blockquote&gt;&lt;p&gt;
24274 apache2.2-bin aptdaemon at-spi baobab binfmt-support
24275 browser-plugin-gnash cheese-common cli-common cpp-4.3 cups-pk-helper
24276 dmz-cursor-theme empathy empathy-common finger
24277 freedesktop-sound-theme freeglut3 gconf-defaults-service gdm-themes
24278 gedit-plugins geoclue geoclue-hostip geoclue-localnet geoclue-manual
24279 geoclue-yahoo gnash gnash-common gnome gnome-backgrounds
24280 gnome-cards-data gnome-codec-install gnome-core
24281 gnome-desktop-environment gnome-disk-utility gnome-screenshot
24282 gnome-search-tool gnome-session-canberra gnome-spell
24283 gnome-system-log gnome-themes-extras gnome-themes-more
24284 gnome-user-share gs-common gstreamer0.10-fluendo-mp3
24285 gstreamer0.10-tools gtk2-engines gtk2-engines-pixbuf
24286 gtk2-engines-smooth hal-info hamster-applet libapache2-mod-dnssd
24287 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
24288 libart2.0-cil libatspi1.0-0 libboost-date-time1.42.0
24289 libboost-python1.42.0 libboost-thread1.42.0 libchamplain-0.4-0
24290 libchamplain-gtk-0.4-0 libcheese-gtk18 libclutter-gtk-0.10-0
24291 libcryptui0 libcupsys2 libdiscid0 libeel2-data libelf1 libepc-1.0-2
24292 libepc-common libepc-ui-1.0-2 libfreerdp-plugins-standard
24293 libfreerdp0 libgail-common libgconf2.0-cil libgdata-common libgdata7
24294 libgdl-1-common libgdu-gtk0 libgee2 libgeoclue0 libgexiv2-0 libgif4
24295 libglade2.0-cil libglib2.0-cil libgmime2.4-cil libgnome-vfs2.0-cil
24296 libgnome2.24-cil libgnomepanel2.24-cil libgnomeprint2.2-data
24297 libgnomeprintui2.2-common libgnomevfs2-bin libgpod-common libgpod4
24298 libgtk2.0-cil libgtkglext1 libgtksourceview-common
24299 libgtksourceview2.0-common libmono-addins-gui0.2-cil
24300 libmono-addins0.2-cil libmono-cairo2.0-cil libmono-corlib2.0-cil
24301 libmono-i18n-west2.0-cil libmono-posix2.0-cil
24302 libmono-security2.0-cil libmono-sharpzip2.84-cil
24303 libmono-system2.0-cil libmtp8 libmusicbrainz3-6
24304 libndesk-dbus-glib1.0-cil libndesk-dbus1.0-cil libopal3.6.8
24305 libpolkit-gtk-1-0 libpt-1.10.10-plugins-alsa
24306 libpt-1.10.10-plugins-v4l libpt2.6.7 libpython2.6 librpm1 librpmio1
24307 libsdl1.2debian libservlet2.4-java libsrtp0 libssh-4
24308 libtelepathy-farsight0 libtelepathy-glib0 libtidy-0.99-0
24309 libxalan2-java libxerces2-java media-player-info mesa-utils
24310 mono-2.0-gac mono-gac mono-runtime nautilus-sendto
24311 nautilus-sendto-empathy openoffice.org-writer2latex
24312 openssl-blacklist p7zip p7zip-full pkg-config python-4suite-xml
24313 python-aptdaemon python-aptdaemon-gtk python-axiom
24314 python-beautifulsoup python-bugbuddy python-clientform
24315 python-coherence python-configobj python-crypto python-cupshelpers
24316 python-cupsutils python-eggtrayicon python-elementtree
24317 python-epsilon python-evolution python-feedparser python-gdata
24318 python-gdbm python-gst0.10 python-gtkglext1 python-gtkmozembed
24319 python-gtksourceview2 python-httplib2 python-louie python-mako
24320 python-markupsafe python-mechanize python-nevow python-notify
24321 python-opengl python-openssl python-pam python-pkg-resources
24322 python-pyasn1 python-pysqlite2 python-rdflib python-serial
24323 python-tagpy python-twisted-bin python-twisted-conch
24324 python-twisted-core python-twisted-web python-utidylib python-webkit
24325 python-xdg python-zope.interface remmina remmina-plugin-data
24326 remmina-plugin-rdp remmina-plugin-vnc rhythmbox-plugin-cdrecorder
24327 rhythmbox-plugins rpm-common rpm2cpio seahorse-plugins shotwell
24328 software-center svgalibg1 system-config-printer-udev
24329 telepathy-gabble telepathy-mission-control-5 telepathy-salut tomboy
24330 totem totem-coherence totem-mozilla totem-plugins
24331 transmission-common xdg-user-dirs xdg-user-dirs-gtk xserver-xephyr
24332 zip
24333 &lt;/p&gt;&lt;/blockquote&gt;
24334
24335 Installed using apt-get, removed with aptitude
24336
24337 &lt;blockquote&gt;&lt;p&gt;
24338 arj bluez-utils cheese dhcdbd djvulibre-desktop ekiga eog
24339 epiphany-extensions epiphany-gecko evolution-exchange
24340 fast-user-switch-applet file-roller gcalctool gconf-editor gdm gedit
24341 gedit-common gnome-app-install gnome-games gnome-games-data
24342 gnome-nettool gnome-system-tools gnome-themes gnome-utils
24343 gnome-vfs-obexftp gnome-volume-manager gnuchess gucharmap
24344 guile-1.8-libs hal libavahi-compat-libdnssd1 libavahi-core5
24345 libavahi-ui0 libbind9-50 libbluetooth2 libcamel1.2-11 libcdio7
24346 libcucul0 libcurl3 libdirectfb-1.0-0 libdmx1 libdvdread3
24347 libedata-cal1.2-6 libedataserver1.2-9 libeel2-2.20 libepc-1.0-1
24348 libepc-ui-1.0-1 libexchange-storage1.2-3 libfaad0 libgadu3
24349 libgalago3 libgd2-noxpm libgda3-3 libgda3-common libggz2 libggzcore9
24350 libggzmod4 libgksu1.2-0 libgksuui1.0-1 libgmyth0 libgnome-desktop-2
24351 libgnome-pilot2 libgnomecups1.0-1 libgnomeprint2.2-0
24352 libgnomeprintui2.2-0 libgpod3 libgraphviz4 libgtk-vnc-1.0-0
24353 libgtkhtml2-0 libgtksourceview1.0-0 libgtksourceview2.0-0
24354 libgucharmap6 libhesiod0 libicu38 libisccc50 libisccfg50 libiw29
24355 libjaxp1.3-java-gcj libkpathsea4 liblircclient0 libltdl3 liblwres50
24356 libmagick++10 libmagick10 libmalaga7 libmozjs1d libmpfr1ldbl libmtp7
24357 libmysqlclient15off libnautilus-burn4 libneon27 libnm-glib0
24358 libnm-util0 libopal-2.2 libosp5 libparted1.8-10 libpisock9
24359 libpisync1 libpoppler-glib3 libpoppler3 libpt-1.10.10 libraw1394-8
24360 libsdl1.2debian-alsa libsensors3 libsexy2 libsmbios2 libsoup2.2-8
24361 libspeexdsp1 libssh2-1 libsuitesparse-3.1.0 libsvga1
24362 libswfdec-0.6-90 libtalloc1 libtotem-plparser10 libtrackerclient0
24363 libvoikko1 libxalan2-java-gcj libxerces2-java-gcj libxklavier12
24364 libxtrap6 libxxf86misc1 libzephyr3 mysql-common rhythmbox seahorse
24365 sound-juicer swfdec-gnome system-config-printer totem-common
24366 totem-gstreamer transmission-gtk vinagre vino w3c-dtd-xhtml wodim
24367 &lt;/p&gt;&lt;/blockquote&gt;
24368
24369 &lt;p&gt;Installed using aptitude, missing with apt-get&lt;/p&gt;
24370
24371 &lt;blockquote&gt;&lt;p&gt;
24372 gstreamer0.10-gnomevfs
24373 &lt;/p&gt;&lt;/blockquote&gt;
24374
24375 &lt;p&gt;Installed using aptitude, removed with apt-get&lt;/p&gt;
24376
24377 &lt;blockquote&gt;&lt;p&gt;
24378 [nothing]
24379 &lt;/p&gt;&lt;/blockquote&gt;
24380
24381 &lt;p&gt;This is for KDE:&lt;/p&gt;
24382
24383 &lt;p&gt;Installed using apt-get, missing with aptitude&lt;/p&gt;
24384
24385 &lt;blockquote&gt;&lt;p&gt;
24386 autopoint bomber bovo cantor cantor-backend-kalgebra cpp-4.3 dcoprss
24387 edict espeak espeak-data eyesapplet fifteenapplet finger gettext
24388 ghostscript-x git gnome-audio gnugo granatier gs-common
24389 gstreamer0.10-pulseaudio indi kaddressbook-plugins kalgebra
24390 kalzium-data kanjidic kapman kate-plugins kblocks kbreakout kbstate
24391 kde-icons-mono kdeaccessibility kdeaddons-kfile-plugins
24392 kdeadmin-kfile-plugins kdeartwork-misc kdeartwork-theme-window
24393 kdeedu kdeedu-data kdeedu-kvtml-data kdegames kdegames-card-data
24394 kdegames-mahjongg-data kdegraphics-kfile-plugins kdelirc
24395 kdemultimedia-kfile-plugins kdenetwork-kfile-plugins
24396 kdepim-kfile-plugins kdepim-kio-plugins kdessh kdetoys kdewebdev
24397 kdiamond kdnssd kfilereplace kfourinline kgeography-data kigo
24398 killbots kiriki klettres-data kmoon kmrml knewsticker-scripts
24399 kollision kpf krosspython ksirk ksmserver ksquares kstars-data
24400 ksudoku kubrick kweather libasound2-plugins libboost-python1.42.0
24401 libcfitsio3 libconvert-binhex-perl libcrypt-ssleay-perl libdb4.6++
24402 libdjvulibre-text libdotconf1.0 liberror-perl libespeak1
24403 libfinance-quote-perl libgail-common libgsl0ldbl libhtml-parser-perl
24404 libhtml-tableextract-perl libhtml-tagset-perl libhtml-tree-perl
24405 libio-stringy-perl libkdeedu4 libkdegames5 libkiten4 libkpathsea5
24406 libkrossui4 libmailtools-perl libmime-tools-perl
24407 libnews-nntpclient-perl libopenbabel3 libportaudio2 libpulse-browse0
24408 libservlet2.4-java libspeechd2 libtiff-tools libtimedate-perl
24409 libunistring0 liburi-perl libwww-perl libxalan2-java libxerces2-java
24410 lirc luatex marble networkstatus noatun-plugins
24411 openoffice.org-writer2latex palapeli palapeli-data parley
24412 parley-data poster psutils pulseaudio pulseaudio-esound-compat
24413 pulseaudio-module-x11 pulseaudio-utils quanta-data rocs rsync
24414 speech-dispatcher step svgalibg1 texlive-binaries texlive-luatex
24415 ttf-sazanami-gothic
24416 &lt;/p&gt;&lt;/blockquote&gt;
24417
24418 &lt;p&gt;Installed using apt-get, removed with aptitude&lt;/p&gt;
24419
24420 &lt;blockquote&gt;&lt;p&gt;
24421 amor artsbuilder atlantik atlantikdesigner blinken bluez-utils cvs
24422 dhcdbd djvulibre-desktop imlib-base imlib11 kalzium kanagram kandy
24423 kasteroids katomic kbackgammon kbattleship kblackbox kbounce kbruch
24424 kcron kdat kdemultimedia-kappfinder-data kdeprint kdict kdvi kedit
24425 keduca kenolaba kfax kfaxview kfouleggs kgeography kghostview
24426 kgoldrunner khangman khexedit kiconedit kig kimagemapeditor
24427 kitchensync kiten kjumpingcube klatin klettres klickety klines
24428 klinkstatus kmag kmahjongg kmailcvt kmenuedit kmid kmilo kmines
24429 kmousetool kmouth kmplot knetwalk kodo kolf kommander konquest kooka
24430 kpager kpat kpdf kpercentage kpilot kpoker kpovmodeler krec
24431 kregexpeditor kreversi ksame ksayit kshisen ksig ksim ksirc ksirtet
24432 ksmiletris ksnake ksokoban kspaceduel kstars ksvg ksysv kteatime
24433 ktip ktnef ktouch ktron kttsd ktuberling kturtle ktux kuickshow
24434 kverbos kview kviewshell kvoctrain kwifimanager kwin kwin4 kwordquiz
24435 kworldclock kxsldbg libakode2 libarts1-akode libarts1-audiofile
24436 libarts1-mpeglib libarts1-xine libavahi-compat-libdnssd1
24437 libavahi-core5 libavc1394-0 libbind9-50 libbluetooth2
24438 libboost-python1.34.1 libcucul0 libcurl3 libcvsservice0
24439 libdirectfb-1.0-0 libdjvulibre21 libdvdread3 libfaad0 libfreebob0
24440 libgd2-noxpm libgraphviz4 libgsmme1c2a libgtkhtml2-0 libicu38
24441 libiec61883-0 libindex0 libisccc50 libisccfg50 libiw29
24442 libjaxp1.3-java-gcj libk3b3 libkcal2b libkcddb1 libkdeedu3
24443 libkdegames1 libkdepim1a libkgantt0 libkleopatra1 libkmime2
24444 libkpathsea4 libkpimexchange1 libkpimidentities1 libkscan1
24445 libksieve0 libktnef1 liblockdev1 libltdl3 liblwres50 libmagick10
24446 libmimelib1c2a libmodplug0c2 libmozjs1d libmpcdec3 libmpfr1ldbl
24447 libneon27 libnm-util0 libopensync0 libpisock9 libpoppler-glib3
24448 libpoppler-qt2 libpoppler3 libraw1394-8 librss1 libsensors3
24449 libsmbios2 libssh2-1 libsuitesparse-3.1.0 libswfdec-0.6-90
24450 libtalloc1 libxalan2-java-gcj libxerces2-java-gcj libxtrap6 lskat
24451 mpeglib network-manager-kde noatun pmount tex-common texlive-base
24452 texlive-common texlive-doc-base texlive-fonts-recommended tidy
24453 ttf-dustin ttf-kochi-gothic ttf-sjfonts
24454 &lt;/p&gt;&lt;/blockquote&gt;
24455
24456 &lt;p&gt;Installed using aptitude, missing with apt-get&lt;/p&gt;
24457
24458 &lt;blockquote&gt;&lt;p&gt;
24459 dolphin kde-core kde-plasma-desktop kde-standard kde-window-manager
24460 kdeartwork kdebase kdebase-apps kdebase-workspace
24461 kdebase-workspace-bin kdebase-workspace-data kdeutils kscreensaver
24462 kscreensaver-xsavers libgle3 libkonq5 libkonq5-templates libnetpbm10
24463 netpbm plasma-widget-folderview plasma-widget-networkmanagement
24464 xscreensaver-data-extra xscreensaver-gl xscreensaver-gl-extra
24465 xscreensaver-screensaver-bsod
24466 &lt;/p&gt;&lt;/blockquote&gt;
24467
24468 &lt;p&gt;Installed using aptitude, removed with apt-get&lt;/p&gt;
24469
24470 &lt;blockquote&gt;&lt;p&gt;
24471 kdebase-bin konq-plugins konqueror
24472 &lt;/p&gt;&lt;/blockquote&gt;
24473 </description>
24474 </item>
24475
24476 <item>
24477 <title>Gnash buildbot slave and Debian kfreebsd</title>
24478 <link>http://people.skolelinux.org/pere/blog/Gnash_buildbot_slave_and_Debian_kfreebsd.html</link>
24479 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Gnash_buildbot_slave_and_Debian_kfreebsd.html</guid>
24480 <pubDate>Sat, 20 Nov 2010 07:20:00 +0100</pubDate>
24481 <description>&lt;p&gt;Answering
24482 &lt;a href=&quot;http://www.listware.net/201011/gnash-dev/67431-gnash-dev-buildbot-looking-for-slaves.html&quot;&gt;the
24483 call from the Gnash project&lt;/a&gt; for
24484 &lt;a href=&quot;http://www.gnashdev.org:8010&quot;&gt;buildbot&lt;/a&gt; slaves to test the
24485 current source, I have set up a virtual KVM machine on the Debian
24486 Edu/Skolelinux virtualization host to test the git source on
24487 Debian/Squeeze. I hope this can help the developers in getting new
24488 releases out more often.&lt;/p&gt;
24489
24490 &lt;p&gt;As the developers want less main-stream build platforms tested to,
24491 I have considered setting up a &lt;a
24492 href=&quot;http://www.debian.org/ports/kfreebsd-gnu/&quot;&gt;Debian/kfreebsd&lt;/a&gt;
24493 machine as well. I have also considered using the kfreebsd
24494 architecture in Debian as a file server in NUUG to get access to the 5
24495 TB zfs volume we currently use to store DV video. Because of this, I
24496 finally got around to do a test installation of Debian/Squeeze with
24497 kfreebsd. Installation went fairly smooth, thought I noticed some
24498 visual glitches in the cdebconf dialogs (black cursor left on the
24499 screen at random locations). Have not gotten very far with the
24500 testing. Noticed cfdisk did not work, but fdisk did so it was not a
24501 fatal problem. Have to spend some more time on it to see if it is
24502 useful as a file server for NUUG. Will try to find time to set up a
24503 gnash buildbot slave on the Debian Edu/Skolelinux this weekend.&lt;/p&gt;
24504 </description>
24505 </item>
24506
24507 <item>
24508 <title>Debian in 3D</title>
24509 <link>http://people.skolelinux.org/pere/blog/Debian_in_3D.html</link>
24510 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_in_3D.html</guid>
24511 <pubDate>Tue, 9 Nov 2010 16:10:00 +0100</pubDate>
24512 <description>&lt;p&gt;&lt;img src=&quot;http://thingiverse-production.s3.amazonaws.com/renders/23/e0/c4/f9/2b/debswagtdose_preview_medium.jpg&quot;&gt;&lt;/p&gt;
24513
24514 &lt;p&gt;3D printing is just great. I just came across this Debian logo in
24515 3D linked in from
24516 &lt;a href=&quot;http://blog.thingiverse.com/2010/11/09/participatory-branding/&quot;&gt;the
24517 thingiverse blog&lt;/a&gt;.&lt;/p&gt;
24518 </description>
24519 </item>
24520
24521 <item>
24522 <title>Making room on the Debian Edu/Sqeeze DVD</title>
24523 <link>http://people.skolelinux.org/pere/blog/Making_room_on_the_Debian_Edu_Sqeeze_DVD.html</link>
24524 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Making_room_on_the_Debian_Edu_Sqeeze_DVD.html</guid>
24525 <pubDate>Sun, 7 Nov 2010 11:45:00 +0100</pubDate>
24526 <description>&lt;p&gt;Prioritising packages for the Debian Edu /
24527 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Skolelinux&lt;/a&gt; DVD, which is
24528 supposed provide a school with all the services and user applications
24529 needed on the pupils computer network has always been hard. Even
24530 schools without Internet connections should be able to get Debian Edu
24531 working using this DVD.&lt;/p&gt;
24532
24533 &lt;p&gt;The job became a lot harder when apt and aptitude started
24534 installing recommended packages by default. We want the same set of
24535 packages to be installed when using the DVD and the netinst CD, and
24536 that means all recommended packages need to be on the DVD. I created
24537 a patch for debian-cd in &lt;a href=&quot;http://bugs.debian.org/601203&quot;&gt;BTS
24538 report #601203&lt;/a&gt; to do this, and since this change was applied to
24539 the Debian Edu DVD build, we have been seriously short on space.&lt;/p&gt;
24540
24541 &lt;p&gt;A few days ago we decided to drop blender, wxmaxima and kicad from
24542 the default installation to save space on the DVD, believing that
24543 those needing these applications are few and can get them from the
24544 Debian archive.&lt;/p&gt;
24545
24546 &lt;p&gt;Yesterday, I had a look what source packages to see which packages
24547 were using most space. A few large packages are well know;
24548 openoffice.org, openclipart and fluid-soundfont. But I also
24549 discovered that lilypond used 106 MiB and fglrx-driver used 53 MiB.
24550 The lilypond package is pulled in as a dependency for rosegarden, and
24551 when looking a bit closer I discovered that 99 MiB of the 106 MiB were
24552 the documentation package, which is recommended by the binary package.
24553 I decided to drop this documentation package from our DVD, as most of
24554 our users will use the GUI front-ends and do not need the lilypond
24555 documentation. Similarly, I dropped the non-free fglrx-driver package
24556 which might be installed by d-i when its hardware is detected, as the
24557 free X driver should work.&lt;/p&gt;
24558
24559 &lt;p&gt;With this change, we finally got space for the LXDE and Gnome
24560 desktop packages as well as the language specific packages making the
24561 DVD more useful again.&lt;/p&gt;
24562 </description>
24563 </item>
24564
24565 <item>
24566 <title>Software updates 2010-10-24</title>
24567 <link>http://people.skolelinux.org/pere/blog/Software_updates_2010_10_24.html</link>
24568 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Software_updates_2010_10_24.html</guid>
24569 <pubDate>Sun, 24 Oct 2010 22:45:00 +0200</pubDate>
24570 <description>&lt;p&gt;Some updates.&lt;/p&gt;
24571
24572 &lt;p&gt;My &lt;a href=&quot;http://pledgebank.com/gnash-avm2&quot;&gt;gnash pledge&lt;/a&gt; to
24573 raise money for the project is going well. The lower limit of 10
24574 signers was reached in 24 hours, and so far 13 people have signed it.
24575 More signers and more funding is most welcome, and I am really curious
24576 how far we can get before the time limit of December 24 is reached.
24577 :)&lt;/p&gt;
24578
24579 &lt;p&gt;On the #gnash IRC channel on irc.freenode.net, I was just tipped
24580 about what appear to be a great code coverage tool capable of
24581 generating code coverage stats without any changes to the source code.
24582 It is called
24583 &lt;a href=&quot;http://simonkagstrom.github.com/kcov/index.html&quot;&gt;kcov&lt;/a&gt;,
24584 and can be used using &lt;tt&gt;kcov &amp;lt;directory&amp;gt; &amp;lt;binary&amp;gt;&lt;/tt&gt;.
24585 It is missing in Debian, but the git source built just fine in Squeeze
24586 after I installed libelf-dev, libdwarf-dev, pkg-config and
24587 libglib2.0-dev. Failed to build in Lenny, but suspect that is
24588 solvable. I hope kcov make it into Debian soon.&lt;/p&gt;
24589
24590 &lt;p&gt;Finally found time to wrap up the release notes for &lt;a
24591 href=&quot;http://lists.debian.org/debian-edu-announce/2010/10/msg00002.html&quot;&gt;a
24592 new alpha release of Debian Edu&lt;/a&gt;, and just published the second
24593 alpha test release of the Squeeze based Debian Edu /
24594 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Skolelinux&lt;/a&gt;
24595 release. Give it a try if you need a complete linux solution for your
24596 school, including central infrastructure server, workstations, thin
24597 client servers and diskless workstations. A nice touch added
24598 yesterday is RDP support on the thin client servers, for windows
24599 clients to get a Linux desktop on request.&lt;/p&gt;
24600 </description>
24601 </item>
24602
24603 <item>
24604 <title>Pledge for funding to the Gnash project to get AVM2 support</title>
24605 <link>http://people.skolelinux.org/pere/blog/Pledge_for_funding_to_the_Gnash_project_to_get_AVM2_support.html</link>
24606 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Pledge_for_funding_to_the_Gnash_project_to_get_AVM2_support.html</guid>
24607 <pubDate>Tue, 19 Oct 2010 14:45:00 +0200</pubDate>
24608 <description>&lt;p&gt;&lt;a href=&quot;http://www.getgnash.org/&quot;&gt;The Gnash project&lt;/a&gt; is the
24609 most promising solution for a Free Software Flash implementation. It
24610 has done great so far, but there is still far to go, and recently its
24611 funding has dried up. I believe AVM2 support in Gnash is vital to the
24612 continued progress of the project, as more and more sites show up with
24613 AVM2 flash files.&lt;/p&gt;
24614
24615 &lt;p&gt;To try to get funding for developing such support, I have started
24616 &lt;a href=&quot;http://www.pledgebank.com/gnash-avm2&quot;&gt;a pledge&lt;/a&gt; with the
24617 following text:&lt;/P&gt;
24618
24619 &lt;p&gt;&lt;blockquote&gt;
24620
24621 &lt;p&gt;&quot;I will pay 100$ to the Gnash project to develop AVM2 support but
24622 only if 10 other people will do the same.&quot;&lt;/p&gt;
24623
24624 &lt;p&gt;- Petter Reinholdtsen, free software developer&lt;/p&gt;
24625
24626 &lt;p&gt;Deadline to sign up by: 24th December 2010&lt;/p&gt;
24627
24628 &lt;p&gt;The Gnash project need to get support for the new Flash file
24629 format AVM2 to work with a lot of sites using Flash on the
24630 web. Gnash already work with a lot of Flash sites using the old AVM1
24631 format, but more and more sites are using the AVM2 format these
24632 days. The project web page is available from
24633 http://www.getgnash.org/ . Gnash is a free software implementation
24634 of Adobe Flash, allowing those of us that do not accept the terms of
24635 the Adobe Flash license to get access to Flash sites.&lt;/p&gt;
24636
24637 &lt;p&gt;The project need funding to get developers to put aside enough
24638 time to develop the AVM2 support, and this pledge is my way to try
24639 to get this to happen.&lt;/p&gt;
24640
24641 &lt;p&gt;The project accept donations via the OpenMediaNow foundation,
24642 &lt;a href=&quot;http://www.openmedianow.org/?q=node/32&quot;&gt;http://www.openmedianow.org/?q=node/32&lt;/a&gt; .&lt;/p&gt;
24643
24644 &lt;/blockquote&gt;&lt;/p&gt;
24645
24646 &lt;p&gt;I hope you will support this effort too. I hope more than 10
24647 people will participate to make this happen. The more money the
24648 project gets, the more features it can develop using these funds.
24649 :)&lt;/p&gt;
24650 </description>
24651 </item>
24652
24653 <item>
24654 <title>First version of a Perl library to control the Spykee robot</title>
24655 <link>http://people.skolelinux.org/pere/blog/First_version_of_a_Perl_library_to_control_the_Spykee_robot.html</link>
24656 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_version_of_a_Perl_library_to_control_the_Spykee_robot.html</guid>
24657 <pubDate>Sat, 9 Oct 2010 14:00:00 +0200</pubDate>
24658 <description>&lt;p&gt;This summer I got the chance to buy cheap Spykee robots, and since
24659 then I have worked on getting Linux software in place to control them.
24660 The firmware for the robot is available from the producer, and using
24661 that source it was trivial to figure out the protocol specification.
24662 I&#39;ve started on a perl library to control it, and made some demo
24663 programs using this perl library to allow one to control the
24664 robots.&lt;/p&gt;
24665
24666 &lt;p&gt;The library is quite functional already, and capable of controlling
24667 the driving, fetching video, uploading MP3s and play them. There are
24668 a few less important features too.&lt;/p&gt;
24669
24670 &lt;p&gt;Since a few weeks ago, I ran out of time to spend on this project,
24671 but I never got around to releasing the current source. I decided
24672 today that it was time to do something about it, and uploaded the
24673 source to my Debian package store at people.skolelinux.org.&lt;/p&gt;
24674
24675 &lt;p&gt;Because it was simpler for me, I made a Debian package and
24676 published the source and deb. If you got a spykee robot, grab the
24677 source or binary package:&lt;/p&gt;
24678
24679 &lt;p&gt;&lt;ul&gt;
24680 &lt;li&gt;&lt;a href=&quot;http://people.skolelinux.org/~pere/debian/packages/lenny/libspykee-perl_0.0.20101009-1.tar.gz&quot;&gt;libspykee-perl_0.0.20101009-1.tar.gz&lt;/a&gt;&lt;/li&gt;
24681 &lt;li&gt;&lt;a href=&quot;http://people.skolelinux.org/~pere/debian/packages/lenny/libspykee-perl_0.0.20101009-1.dsc&quot;&gt;libspykee-perl_0.0.20101009-1.dsc&lt;/a&gt;&lt;/li&gt;
24682 &lt;li&gt;&lt;a href=&quot;http://people.skolelinux.org/~pere/debian/packages/lenny/libspykee-perl_0.0.20101009-1_all.deb&quot;&gt;libspykee-perl_0.0.20101009-1_all.deb&lt;/a&gt;&lt;/li&gt;
24683 &lt;/ul&gt;&lt;/p&gt;
24684
24685 &lt;p&gt;If you are interested in helping out with developing this library,
24686 please let me know.&lt;/p&gt;
24687 </description>
24688 </item>
24689
24690 <item>
24691 <title>Links for 2010-10-03</title>
24692 <link>http://people.skolelinux.org/pere/blog/Links_for_2010_10_03.html</link>
24693 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Links_for_2010_10_03.html</guid>
24694 <pubDate>Sun, 3 Oct 2010 22:30:00 +0200</pubDate>
24695 <description>&lt;p&gt;&lt;ul&gt;
24696
24697 &lt;li&gt;&lt;a href=&quot;http://arstechnica.com/business/news/2010/09/there-is-no-plan-b-why-the-ipv4-to-ipv6-transition-will-be-ugly.ars&quot;&gt;There
24698 is no Plan B: why the IPv4-to-IPv6 transition will be ugly&lt;/a&gt;&lt;/li&gt;
24699
24700 &lt;li&gt;Scanner looking under clothes
24701 &lt;a href=&quot;http://www.dagbladet.no/2010/10/03/nyheter/utenriks/reise/overvakingskamera/flyplasser/13667192/&quot;&gt;has
24702 already been misused at Heathrow&lt;/a&gt;.&lt;/li&gt;
24703
24704 &lt;li&gt;&lt;a href=&quot;http://wiki.softwarelivre.org/Landell&quot;&gt;Landell
24705 Webcasting&lt;/a&gt; - interesting alternative for
24706 &lt;ahref=&quot;http://dvswitch.alioth.debian.org/wiki/&quot;&gt;DVSwitch&lt;/a&gt; with
24707 simple setup.
24708
24709 &lt;/ul&gt;&lt;/p&gt;
24710 </description>
24711 </item>
24712
24713 <item>
24714 <title>Terms of use for video produced by a Canon IXUS 130 digital camera</title>
24715 <link>http://people.skolelinux.org/pere/blog/Terms_of_use_for_video_produced_by_a_Canon_IXUS_130_digital_camera.html</link>
24716 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Terms_of_use_for_video_produced_by_a_Canon_IXUS_130_digital_camera.html</guid>
24717 <pubDate>Thu, 9 Sep 2010 23:55:00 +0200</pubDate>
24718 <description>&lt;p&gt;A few days ago I had the mixed pleasure of bying a new digital
24719 camera, a Canon IXUS 130. It was instructive and very disturbing to
24720 be able to verify that also this camera producer have the nerve to
24721 specify how I can or can not use the videos produced with the camera.
24722 Even thought I was aware of the issue, the options with new cameras
24723 are limited and I ended up bying the camera anyway. What is the
24724 problem, you might ask? It is software patents, MPEG-4, H.264 and the
24725 MPEG-LA that is the problem, and our right to record our experiences
24726 without asking for permissions that is at risk.
24727
24728 &lt;p&gt;On page 27 of the Danish instruction manual, this section is
24729 written:&lt;/p&gt;
24730
24731 &lt;blockquote&gt;
24732 &lt;p&gt;This product is licensed under AT&amp;T patents for the MPEG-4 standard
24733 and may be used for encoding MPEG-4 compliant video and/or decoding
24734 MPEG-4 compliant video that was encoded only (1) for a personal and
24735 non-commercial purpose or (2) by a video provider licensed under the
24736 AT&amp;T patents to provide MPEG-4 compliant video.&lt;/p&gt;
24737
24738 &lt;p&gt;No license is granted or implied for any other use for MPEG-4
24739 standard.&lt;/p&gt;
24740 &lt;/blockquote&gt;
24741
24742 &lt;p&gt;In short, the camera producer have chosen to use technology
24743 (MPEG-4/H.264) that is only provided if I used it for personal and
24744 non-commercial purposes, or ask for permission from the organisations
24745 holding the knowledge monopoly (patent) for technology used.&lt;/p&gt;
24746
24747 &lt;p&gt;This issue has been brewing for a while, and I recommend you to
24748 read
24749 &quot;&lt;a href=&quot;http://www.osnews.com/story/23236/Why_Our_Civilization_s_Video_Art_and_Culture_is_Threatened_by_the_MPEG-LA&quot;&gt;Why
24750 Our Civilization&#39;s Video Art and Culture is Threatened by the
24751 MPEG-LA&lt;/a&gt;&quot; by Eugenia Loli-Queru and
24752 &quot;&lt;a href=&quot;http://webmink.com/2010/09/03/h-264-and-foss/&quot;&gt;H.264 Is Not
24753 The Sort Of Free That Matters&lt;/a&gt;&quot; by Simon Phipps to learn more about
24754 the issue. The solution is to support the
24755 &lt;a href=&quot;http://www.digistan.org/open-standard:definition&quot;&gt;free and
24756 open standards&lt;/a&gt; for video, like &lt;a href=&quot;http://www.theora.org/&quot;&gt;Ogg
24757 Theora&lt;/a&gt;, and avoid MPEG-4 and H.264 if you can.&lt;/p&gt;
24758 </description>
24759 </item>
24760
24761 <item>
24762 <title>Some notes on Flash in Debian and Debian Edu</title>
24763 <link>http://people.skolelinux.org/pere/blog/Some_notes_on_Flash_in_Debian_and_Debian_Edu.html</link>
24764 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Some_notes_on_Flash_in_Debian_and_Debian_Edu.html</guid>
24765 <pubDate>Sat, 4 Sep 2010 10:10:00 +0200</pubDate>
24766 <description>&lt;p&gt;In the &lt;a href=&quot;http://popcon.debian.org/unknown/by_vote&quot;&gt;Debian
24767 popularity-contest numbers&lt;/a&gt;, the adobe-flashplugin package the
24768 second most popular used package that is missing in Debian. The sixth
24769 most popular is flashplayer-mozilla. This is a clear indication that
24770 working flash is important for Debian users. Around 10 percent of the
24771 users submitting data to popcon.debian.org have this package
24772 installed.&lt;/p&gt;
24773
24774 &lt;p&gt;In the report written by Lars Risan in August 2008
24775&lt;a href=&quot;http://wiki.skolelinux.no/Dokumentasjon/Rapporter?action=AttachFile&amp;do=view&amp;target=Skolelinux_i_bruk_rapport_1.0.pdf&quot;&gt;Skolelinux
24776 i bruk – Rapport for Hurum kommune, Universitetet i Agder og
24777 stiftelsen SLX Debian Labs&lt;/a&gt;»), one of the most important problems
24778 schools experienced with &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian
24779 Edu/Skolelinux&lt;/a&gt; was the lack of working Flash. A lot of educational
24780 web sites require Flash to work, and lacking working Flash support in
24781 the web browser and the problems with installing it was perceived as a
24782 good reason to stay with Windows.&lt;/p&gt;
24783
24784 &lt;p&gt;I once saw a funny and sad comment in a web forum, where Linux was
24785 said to be the retarded cousin that did not really understand
24786 everything you told him but could work fairly well. This was a
24787 comment regarding the problems Linux have with proprietary formats and
24788 non-standard web pages, and is sad because it exposes a fairly common
24789 understanding of whose fault it is if web pages that only work in for
24790 example Internet Explorer 6 fail to work on Firefox, and funny because
24791 it explain very well how annoying it is for users when Linux
24792 distributions do not work with the documents they receive or the web
24793 pages they want to visit.&lt;/p&gt;
24794
24795 &lt;p&gt;This is part of the reason why I believe it is important for Debian
24796 and Debian Edu to have a well working Flash implementation in the
24797 distribution, to get at least popular sites as Youtube and Google
24798 Video to working out of the box. For Squeeze, Debian have the chance
24799 to include the latest version of Gnash that will make this happen, as
24800 the new release 0.8.8 was published a few weeks ago and is resting in
24801 unstable. The new version work with more sites that version 0.8.7.
24802 The Gnash maintainers have asked for a freeze exception, but the
24803 release team have not had time to reply to it yet. I hope they agree
24804 with me that Flash is important for the Debian desktop users, and thus
24805 accept the new package into Squeeze.&lt;/p&gt;
24806 </description>
24807 </item>
24808
24809 <item>
24810 <title>My first perl GUI application - controlling a Spykee robot</title>
24811 <link>http://people.skolelinux.org/pere/blog/My_first_perl_GUI_application___controlling_a_Spykee_robot.html</link>
24812 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/My_first_perl_GUI_application___controlling_a_Spykee_robot.html</guid>
24813 <pubDate>Wed, 1 Sep 2010 21:00:00 +0200</pubDate>
24814 <description>&lt;p&gt;This evening I made my first Perl GUI application. The last few
24815 days I have worked on a Perl module for controlling my recently
24816 aquired Spykee robots, and the module is now getting complete enought
24817 that it is possible to use it to control the robot driving at least.
24818 It was now time to figure out how to use it to create some GUI to
24819 allow me to drive the robot around. I picked PerlQt as I have had
24820 positive experiences with the Qt API before, and spent a few minutes
24821 browsing the web for examples. Using Qt Designer seemed like a short
24822 cut, so I ended up writing the perl GUI using Qt Designer and
24823 compiling it into a perl program using the puic program from
24824 libqt-perl. Nothing fancy yet, but it got buttons to connect and
24825 drive around.&lt;/p&gt;
24826
24827 &lt;p&gt;The perl module I have written provide a object oriented API for
24828 controlling the robot. Here is an small example on how to use it:&lt;/p&gt;
24829
24830 &lt;p&gt;&lt;pre&gt;
24831 use Spykee;
24832 Spykee::discover(sub {$robot{$_[0]} = $_[1]});
24833 my $host = (keys %robot)[0];
24834 my $spykee = Spykee-&gt;new();
24835 $spykee-&gt;contact($host, &quot;admin&quot;, &quot;admin&quot;);
24836 $spykee-&gt;left();
24837 sleep 2;
24838 $spykee-&gt;right();
24839 sleep 2;
24840 $spykee-&gt;forward();
24841 sleep 2;
24842 $spykee-&gt;back();
24843 sleep 2;
24844 $spykee-&gt;stop();
24845 &lt;/pre&gt;&lt;/p&gt;
24846
24847 &lt;p&gt;Thanks to the release of the source of the robot firmware, I could
24848 peek into the implementation at the other end to figure out how to
24849 implement the protocol used by the robot. I&#39;ve implemented several of
24850 the commands the robot understand, but is still missing the camera
24851 support to make it possible to control the robot from remote. First I
24852 want to implement support for uploading new firmware and configuring
24853 the wireless network, to make it possible to bootstrap a Spykee robot
24854 without the producers Windows and MacOSX software (I only have Linux,
24855 so I had to ask a friend to come over to get the robot testing
24856 going. :).&lt;/p&gt;
24857
24858 &lt;p&gt;Will release the source to the public soon, but need to figure out
24859 where to make it available first. I will add a link to
24860 &lt;a href=&quot;http://wiki.nuug.no/grupper/robot/&quot;&gt;the NUUG wiki&lt;/a&gt; for
24861 those that want to check back later to find it.&lt;/p&gt;
24862 </description>
24863 </item>
24864
24865 <item>
24866 <title>Broken hard link handling with sshfs</title>
24867 <link>http://people.skolelinux.org/pere/blog/Broken_hard_link_handling_with_sshfs.html</link>
24868 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Broken_hard_link_handling_with_sshfs.html</guid>
24869 <pubDate>Mon, 30 Aug 2010 19:30:00 +0200</pubDate>
24870 <description>&lt;p&gt;Just got an email from Tobias Gruetzmacher as a followup on my
24871 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Broken_umask_handling_with_sshfs.html&quot;&gt;previous
24872 post about sshfs&lt;/a&gt;. He reported another problem with sshfs. It
24873 fail to handle hard links properly. A simple way to spot this is to
24874 look at the . and .. entries in the directory tree. These should have
24875 a link count &gt;1, but on sshfs the count is 1. I just tested to see
24876 what happen when trying to hardlink, and this fail as well:&lt;/p&gt;
24877
24878 &lt;pre&gt;
24879 % ln foo bar
24880 ln: creating hard link `bar&#39; =&gt; `foo&#39;: Function not implemented
24881 %
24882 &lt;/pre&gt;
24883
24884 &lt;p&gt;I have not yet found time to implement a test for this in my file
24885 system test code, but believe having working hard links is useful to
24886 avoid surprised unix programs. Not as useful as working file locking
24887 and symlinks, which are required to get a working desktop, but useful
24888 nevertheless. :)&lt;/p&gt;
24889
24890 &lt;p&gt;The latest version of the file system test code is available via
24891 git from
24892 &lt;a href=&quot;http://github.com/gebi/fs-test&quot;&gt;http://github.com/gebi/fs-test&lt;/a&gt;&lt;/p&gt;
24893 </description>
24894 </item>
24895
24896 <item>
24897 <title>Broken umask handling with sshfs</title>
24898 <link>http://people.skolelinux.org/pere/blog/Broken_umask_handling_with_sshfs.html</link>
24899 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Broken_umask_handling_with_sshfs.html</guid>
24900 <pubDate>Thu, 26 Aug 2010 13:30:00 +0200</pubDate>
24901 <description>&lt;p&gt;My file system sematics program
24902 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Testing_if_a_file_system_can_be_used_for_home_directories___.html&quot;&gt;presented
24903 a few days ago&lt;/a&gt; is very useful to verify that a file system can
24904 work as a unix home directory,and today I had to extend it a bit. I&#39;m
24905 looking into alternatives for home directory access here at the
24906 University of Oslo, and one of the options is sshfs. My friend
24907 Finn-Arne mentioned a while back that they had used sshfs with Debian
24908 Edu, but stopped because of problems. I asked today what the problems
24909 where, and he mentioned that sshfs failed to handle umask properly.
24910 Trying to detect the problem I wrote this addition to my fs testing
24911 script:&lt;/p&gt;
24912
24913 &lt;pre&gt;
24914 mode_t touch_get_mode(const char *name, mode_t mode) {
24915 mode_t retval = 0;
24916 int fd = open(name, O_RDWR|O_CREAT|O_LARGEFILE, mode);
24917 if (-1 != fd) {
24918 unlink(name);
24919 struct stat statbuf;
24920 if (-1 != fstat(fd, &amp;statbuf)) {
24921 retval = statbuf.st_mode &amp; 0x1ff;
24922 }
24923 close(fd);
24924 }
24925 return retval;
24926 }
24927
24928 /* Try to detect problem discovered using sshfs */
24929 int test_umask(void) {
24930 printf(&quot;info: testing umask effect on file creation\n&quot;);
24931
24932 mode_t orig_umask = umask(000);
24933 mode_t newmode;
24934 if (0666 != (newmode = touch_get_mode(&quot;foobar&quot;, 0666))) {
24935 printf(&quot; error: Wrong file mode %o when creating using mode 666 and umask 000\n&quot;,
24936 newmode);
24937 }
24938 umask(007);
24939 if (0660 != (newmode = touch_get_mode(&quot;foobar&quot;, 0666))) {
24940 printf(&quot; error: Wrong file mode %o when creating using mode 666 and umask 007\n&quot;,
24941 newmode);
24942 }
24943
24944 umask (orig_umask);
24945 return 0;
24946 }
24947
24948 int main(int argc, char **argv) {
24949 [...]
24950 test_umask();
24951 return 0;
24952 }
24953 &lt;/pre&gt;
24954
24955 &lt;p&gt;Sure enough. On NFS to a netapp, I get this result:&lt;/p&gt;
24956
24957 &lt;pre&gt;
24958 Testing POSIX/Unix sematics on file system
24959 info: testing symlink creation
24960 info: testing subdirectory creation
24961 info: testing fcntl locking
24962 Read-locking 1 byte from 1073741824
24963 Read-locking 510 byte from 1073741826
24964 Unlocking 1 byte from 1073741824
24965 Write-locking 1 byte from 1073741824
24966 Write-locking 510 byte from 1073741826
24967 Unlocking 2 byte from 1073741824
24968 info: testing umask effect on file creation
24969 &lt;/pre&gt;
24970
24971 &lt;p&gt;When mounting the same directory using sshfs, I get this
24972 result:&lt;/p&gt;
24973
24974 &lt;pre&gt;
24975 Testing POSIX/Unix sematics on file system
24976 info: testing symlink creation
24977 info: testing subdirectory creation
24978 info: testing fcntl locking
24979 Read-locking 1 byte from 1073741824
24980 Read-locking 510 byte from 1073741826
24981 Unlocking 1 byte from 1073741824
24982 Write-locking 1 byte from 1073741824
24983 Write-locking 510 byte from 1073741826
24984 Unlocking 2 byte from 1073741824
24985 info: testing umask effect on file creation
24986 error: Wrong file mode 644 when creating using mode 666 and umask 000
24987 error: Wrong file mode 640 when creating using mode 666 and umask 007
24988 &lt;/pre&gt;
24989
24990 &lt;p&gt;So, I can conclude that sshfs is better than smb to a Netapp or a
24991 Windows server, but not good enough to be used as a home
24992 directory.&lt;/p&gt;
24993
24994 &lt;p&gt;Update 2010-08-26: Reported the issue in
24995 &lt;a href=&quot;http://bugs.debian.org/594498&quot;&gt;BTS report #594498&lt;/a&gt;&lt;/p&gt;
24996
24997 &lt;p&gt;Update 2010-08-27: Michael Gebetsroither report that he found the
24998 script so useful that he created a GIT repository and stored it in
24999 &lt;a href=&quot;http://github.com/gebi/fs-test&quot;&gt;http://github.com/gebi/fs-test&lt;/a&gt;.&lt;/p&gt;
25000 </description>
25001 </item>
25002
25003 <item>
25004 <title>Rob Weir: How to Crush Dissent</title>
25005 <link>http://people.skolelinux.org/pere/blog/Rob_Weir__How_to_Crush_Dissent.html</link>
25006 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Rob_Weir__How_to_Crush_Dissent.html</guid>
25007 <pubDate>Sun, 15 Aug 2010 22:20:00 +0200</pubDate>
25008 <description>&lt;p&gt;I found the notes from Rob Weir on
25009 &lt;a href=&quot;http://feedproxy.google.com/~r/robweir/antic-atom/~3/VGb23-kta8c/how-to-crush-dissent.html&quot;&gt;how
25010 to crush dissent&lt;/a&gt; matching my own thoughts on the matter quite
25011 well. Highly recommended for those wondering which road our society
25012 should go down. In my view we have been heading the wrong way for a
25013 long time.&lt;/p&gt;
25014 </description>
25015 </item>
25016
25017 <item>
25018 <title>No hardcoded config on Debian Edu clients</title>
25019 <link>http://people.skolelinux.org/pere/blog/No_hardcoded_config_on_Debian_Edu_clients.html</link>
25020 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/No_hardcoded_config_on_Debian_Edu_clients.html</guid>
25021 <pubDate>Mon, 9 Aug 2010 20:15:00 +0200</pubDate>
25022 <description>&lt;p&gt;As reported earlier, the last few days I have looked at how Debian
25023 Edu clients are configured, and tried to get rid of all hardcoded
25024 configuration settings on the clients. I believe the work to be
25025 mostly done, and the clients seem to work just fine with dynamically
25026 generated configuration.&lt;/p&gt;
25027
25028 &lt;p&gt;What is the point, you might ask? The point is to allow a Debian
25029 Edu desktop to integrate into an existing network infrastructure
25030 without any manual configuration.&lt;/p&gt;
25031
25032 &lt;p&gt;This is what happens when installing a Debian Edu client here at
25033 the University of Oslo using PXE. With the PXE installation, I am
25034 asked for language (Norwegian Bokmål), locality (Norway) and keyboard
25035 layout (no-latin1), Debian Edu profile (Roaming Workstation), if I
25036 accept to reformat the hard drive (yes), if I want to submit info to
25037 popcon.debian.org (no) and root password (secret). After answering
25038 these questions, the installer goes ahead and does its thing, and
25039 after around 50 minutes it is done. I press enter to finish the
25040 installation, and the machine reboots into KDE. When the machine is
25041 ready and kdm asks for login information, I enter my university
25042 username and password, am told by kdm that a local home directory has
25043 been created and that I must log in again, and finally log in with the
25044 same username and password to the KDE 4.4 desktop. At no point during
25045 this process did it ask for university specific settings, and all the
25046 required configuration was dynamically detected using information
25047 fetched via DHCP and DNS. The roaming workstation is now ready for
25048 use.&lt;/p&gt;
25049
25050 &lt;p&gt;How was this done, you might wonder? First of all, here is the
25051 list of things that need to be configured on the client to get it
25052 working properly out of the box:&lt;/p&gt;
25053
25054 &lt;ul&gt;
25055 &lt;li&gt;IP address/netmask and DNS server.&lt;/li&gt;
25056 &lt;li&gt;Web proxy URL.&lt;/li&gt;
25057 &lt;li&gt;LDAP server for NSS directory information (user, group, etc).&lt;/li&gt;
25058 &lt;li&gt;Kerberos server for PAM password checking.&lt;/li&gt;
25059 &lt;li&gt;SMB mount point to access the network home directory. (*)&lt;/li&gt;
25060 &lt;li&gt;Central syslog server to send syslog messages to. (*)&lt;/li&gt;
25061 &lt;li&gt;Sitesummary collector URL to submit info to central server. (*)&lt;/li&gt;
25062 &lt;/ul&gt;
25063
25064 &lt;p&gt;(Hm, did I forget anything? Let me knew if I did.)&lt;/p&gt;
25065
25066 &lt;p&gt;The points marked (*) are not required to be able to use the
25067 machine, but needed to provide central storage and allowing system
25068 administrators to track their machines. Since yesterday, everything
25069 but the sitesummary collector URL is dynamically discovered at boot
25070 and installation time in the svn version of Debian Edu.&lt;/p&gt;
25071
25072 &lt;p&gt;The IP and DNS setup is fetched during boot using DHCP as usual.
25073 When a DHCP update arrives, the proxy setup is updated by looking for
25074 http://wpat/wpad.dat and using the content of this WPAD file to
25075 configure the http and ftp proxy in /etc/environment and
25076 /etc/apt/apt.conf. I decided to update the proxy setup using a DHCP
25077 hook to ensure that the client stops using the Debian Edu proxy when
25078 it is moved outside the Debian Edu network, and instead uses any local
25079 proxy present on the new network when it moves around.&lt;/p&gt;
25080
25081 &lt;p&gt;The DNS names of the LDAP, Kerberos and syslog server and related
25082 configuration are generated using DNS information at boot. First the
25083 installer looks for a host named ldap in the current DNS domain. If
25084 not found, it looks for _ldap._tcp SRV records in DNS instead. If an
25085 LDAP server is found, its root DSE entry is requested and the
25086 attributes namingContexts and defaultNamingContext are used to
25087 determine which LDAP base to use for NSS. If there are several
25088 namingContexts attibutes and the defaultNamingContext is present, that
25089 LDAP subtree is used as the base. If defaultNamingContext is missing,
25090 the subtrees listed as namingContexts are searched in sequence for any
25091 object with class posixAccount or posixGroup, and the first one with
25092 such an object is used as the LDAP base. For Kerberos, a similar
25093 search is done by first looking for a host named kerberos, and then
25094 for the _kerberos._tcp SRV record. I&#39;ve been unable to find a way to
25095 look up the Kerberos realm, so for this the upper case string of the
25096 current DNS domain is used.&lt;/p&gt;
25097
25098 &lt;p&gt;For the syslog server, the hosts syslog and loghost are searched
25099 for, and the _syslog._udp SRV record is consulted if no such host is
25100 found. This algorithm works for both Debian Edu and the University of
25101 Oslo. A similar strategy would work for locating the sitesummary
25102 server, but have not been implemented yet. I decided to fetch and
25103 save these settings during installation, to make sure moving to a
25104 different network does not change the set of users being allowed to
25105 log in nor the passwords required to log in. Usernames and passwords
25106 will be cached by sssd when the user logs in on the Debian Edu
25107 network, and will not change as the laptop move around. For a
25108 non-roaming machine, there is no caching, but given that it is
25109 supposed to stay in place it should not matter much. Perhaps we
25110 should switch those to use sssd too?&lt;/p&gt;
25111
25112 &lt;p&gt;The user&#39;s SMB mount point for the network home directory is
25113 located when the user logs in for the first time. The LDAP server is
25114 consulted to look for the user&#39;s LDAP object and the sambaHomePath
25115 attribute is used if found. If it isn&#39;t found, the home directory
25116 path fetched from NSS is used instead. Assuming the path is of the
25117 form /site/server/directory/username, the second part is looked up in
25118 DNS and used to generate a SMB URL of the form
25119 smb://server.domain/username. This algorithm works for both Debian
25120 edu and the University of Oslo. Perhaps there are better attributes
25121 to use or a better algorithm that works for more sites, but this will
25122 do for now. :)&lt;/p&gt;
25123
25124 &lt;p&gt;This work should make it easier to integrate the Debian Edu clients
25125 into any LDAP/Kerberos infrastructure, and make the current setup even
25126 more flexible than before. I suspect it will also work for thin
25127 client servers, allowing one to easily set up LTSP and hook it into a
25128 existing network infrastructure, but I have not had time to test this
25129 yet.&lt;/p&gt;
25130
25131 &lt;p&gt;If you want to help out with implementing these things for Debian
25132 Edu, please contact us on debian-edu@lists.debian.org.&lt;/p&gt;
25133
25134 &lt;p&gt;Update 2010-08-09: Simon Farnsworth gave me a heads-up on how to
25135 detect Kerberos realm from DNS, by looking for _kerberos TXT entries
25136 before falling back to the upper case DNS domain name. Will have to
25137 implement it for Debian Edu. :)&lt;/p&gt;
25138 </description>
25139 </item>
25140
25141 <item>
25142 <title>Testing if a file system can be used for home directories...</title>
25143 <link>http://people.skolelinux.org/pere/blog/Testing_if_a_file_system_can_be_used_for_home_directories___.html</link>
25144 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Testing_if_a_file_system_can_be_used_for_home_directories___.html</guid>
25145 <pubDate>Sun, 8 Aug 2010 21:20:00 +0200</pubDate>
25146 <description>&lt;p&gt;A few years ago, I was involved in a project planning to use
25147 Windows file servers as home directory servers for Debian
25148 Edu/Skolelinux machines. This was thought to be no problem, as the
25149 access would be through the SMB network file system protocol, and we
25150 knew other sites used SMB with unix and samba as the file server to
25151 mount home directories without any problems. But, after months of
25152 struggling, we had to conclude that our goal was impossible.&lt;/p&gt;
25153
25154 &lt;p&gt;The reason is simply that while SMB can be used for home
25155 directories when the file server is Samba running on Unix, this only
25156 work because of Samba have some extensions and the fact that the
25157 underlying file system is a unix file system. When using a Windows
25158 file server, the underlying file system do not have POSIX semantics,
25159 and several programs will fail if the users home directory where they
25160 want to store their configuration lack POSIX semantics.&lt;/p&gt;
25161
25162 &lt;p&gt;As part of this work, I wrote a small C program I want to share
25163 with you all, to replicate a few of the problematic applications (like
25164 OpenOffice.org and GCompris) and see if the file system was working as
25165 it should. If you find yourself in spooky file system land, it might
25166 help you find your way out again. This is the fs-test.c source:&lt;/p&gt;
25167
25168 &lt;pre&gt;
25169 /*
25170 * Some tests to check the file system sematics. Used to verify that
25171 * CIFS from a windows server do not work properly as a linux home
25172 * directory.
25173 * License: GPL v2 or later
25174 *
25175 * needs libsqlite3-dev and build-essential installed
25176 * compile with: gcc -Wall -lsqlite3 -DTEST_SQLITE fs-test.c -o fs-test
25177 */
25178
25179 #define _FILE_OFFSET_BITS 64
25180 #define _LARGEFILE_SOURCE 1
25181 #define _LARGEFILE64_SOURCE 1
25182
25183 #define _GNU_SOURCE /* for asprintf() */
25184
25185 #include &amp;lt;errno.h&gt;
25186 #include &amp;lt;fcntl.h&gt;
25187 #include &amp;lt;stdio.h&gt;
25188 #include &amp;lt;string.h&gt;
25189 #include &amp;lt;stdlib.h&gt;
25190 #include &amp;lt;sys/file.h&gt;
25191 #include &amp;lt;sys/stat.h&gt;
25192 #include &amp;lt;sys/types.h&gt;
25193 #include &amp;lt;unistd.h&gt;
25194
25195 #ifdef TEST_SQLITE
25196 /*
25197 * Test sqlite open, as done by gcompris require the libsqlite3-dev
25198 * package and linking with -lsqlite3. A more low level test is
25199 * below.
25200 * See also &amp;lt;URL: http://www.sqlite.org./faq.html#q5 &gt;.
25201 */
25202 #include &amp;lt;sqlite3.h&gt;
25203 #define CREATE_TABLE_USERS \
25204 &quot;CREATE TABLE users (user_id INT UNIQUE, login TEXT, lastname TEXT, firstname TEXT, birthdate TEXT, class_id INT ); &quot;
25205 int test_sqlite_open(void) {
25206 char *zErrMsg;
25207 char *name = &quot;testsqlite.db&quot;;
25208 sqlite3 *db=NULL;
25209 unlink(name);
25210 int rc = sqlite3_open(name, &amp;db);
25211 if( rc ){
25212 printf(&quot;error: sqlite open of %s failed: %s\n&quot;, name, sqlite3_errmsg(db));
25213 sqlite3_close(db);
25214 return -1;
25215 }
25216
25217 /* create tables */
25218 rc = sqlite3_exec(db,CREATE_TABLE_USERS, NULL, 0, &amp;zErrMsg);
25219 if( rc != SQLITE_OK ){
25220 printf(&quot;error: sqlite table create failed: %s\n&quot;, zErrMsg);
25221 sqlite3_close(db);
25222 return -1;
25223 }
25224 printf(&quot;info: sqlite worked\n&quot;);
25225 sqlite3_close(db);
25226 return 0;
25227 }
25228 #endif /* TEST_SQLITE */
25229
25230 /*
25231 * Demonstrate locking issue found in gcompris using sqlite3. This
25232 * work with ext3, but not with cifs server on Windows 2003. This is
25233 * done in the sqlite3 library.
25234 * See also
25235 * &amp;lt;URL:http://www.cygwin.com/ml/cygwin/2001-08/msg00854.html&gt; and the
25236 * POSIX specification
25237 * &amp;lt;URL:http://www.opengroup.org/onlinepubs/009695399/functions/fcntl.html&gt;.
25238 */
25239 int test_gcompris_locking(void) {
25240 struct flock fl;
25241 char *name = &quot;testsqlite.db&quot;;
25242 unlink(name);
25243 int fd = open(name, O_RDWR|O_CREAT|O_LARGEFILE, 0644);
25244 printf(&quot;info: testing fcntl locking\n&quot;);
25245
25246 fl.l_whence = SEEK_SET;
25247 fl.l_pid = getpid();
25248 printf(&quot; Read-locking 1 byte from 1073741824&quot;);
25249 fl.l_start = 1073741824;
25250 fl.l_len = 1;
25251 fl.l_type = F_RDLCK;
25252 if (0 != fcntl(fd, F_SETLK, &amp;fl) ) printf(&quot; - error!\n&quot;); else printf(&quot;\n&quot;);
25253
25254 printf(&quot; Read-locking 510 byte from 1073741826&quot;);
25255 fl.l_start = 1073741826;
25256 fl.l_len = 510;
25257 fl.l_type = F_RDLCK;
25258 if (0 != fcntl(fd, F_SETLK, &amp;fl) ) printf(&quot; - error!\n&quot;); else printf(&quot;\n&quot;);
25259
25260 printf(&quot; Unlocking 1 byte from 1073741824&quot;);
25261 fl.l_start = 1073741824;
25262 fl.l_len = 1;
25263 fl.l_type = F_UNLCK;
25264 if (0 != fcntl(fd, F_SETLK, &amp;fl) ) printf(&quot; - error!\n&quot;); else printf(&quot;\n&quot;);
25265
25266 printf(&quot; Write-locking 1 byte from 1073741824&quot;);
25267 fl.l_start = 1073741824;
25268 fl.l_len = 1;
25269 fl.l_type = F_WRLCK;
25270 if (0 != fcntl(fd, F_SETLK, &amp;fl) ) printf(&quot; - error!\n&quot;); else printf(&quot;\n&quot;);
25271
25272 printf(&quot; Write-locking 510 byte from 1073741826&quot;);
25273 fl.l_start = 1073741826;
25274 fl.l_len = 510;
25275 if (0 != fcntl(fd, F_SETLK, &amp;fl) ) printf(&quot; - error!\n&quot;); else printf(&quot;\n&quot;);
25276
25277 printf(&quot; Unlocking 2 byte from 1073741824&quot;);
25278 fl.l_start = 1073741824;
25279 fl.l_len = 2;
25280 fl.l_type = F_UNLCK;
25281 if (0 != fcntl(fd, F_SETLK, &amp;fl) ) printf(&quot; - error!\n&quot;); else printf(&quot;\n&quot;);
25282
25283 close(fd);
25284 return 0;
25285 }
25286
25287 /*
25288 * Test if permissions of freshly created directories allow entries
25289 * below them. This was a problem with OpenOffice.org and gcompris.
25290 * Mounting with option &#39;sync&#39; seem to solve this problem while
25291 * slowing down file operations.
25292 */
25293 int test_subdirectory_creation(void) {
25294 #define LEVELS 5
25295 char *path = strdup(&quot;test&quot;);
25296 char *dirs[LEVELS];
25297 int level;
25298 printf(&quot;info: testing subdirectory creation\n&quot;);
25299 for (level = 0; level &amp;lt; LEVELS; level++) {
25300 char *newpath = NULL;
25301 if (-1 == mkdir(path, 0777)) {
25302 printf(&quot; error: Unable to create directory &#39;%s&#39;: %s\n&quot;,
25303 path, strerror(errno));
25304 break;
25305 }
25306 asprintf(&amp;newpath, &quot;%s/%s&quot;, path, &quot;test&quot;);
25307 free(path);
25308 path = newpath;
25309 }
25310 return 0;
25311 }
25312
25313 /*
25314 * Test if symlinks can be created. This was a problem detected with
25315 * KDE.
25316 */
25317 int test_symlinks(void) {
25318 printf(&quot;info: testing symlink creation\n&quot;);
25319 unlink(&quot;symlink&quot;);
25320 if (-1 == symlink(&quot;file&quot;, &quot;symlink&quot;))
25321 printf(&quot; error: Unable to create symlink\n&quot;);
25322 return 0;
25323 }
25324
25325 int main(int argc, char **argv) {
25326 printf(&quot;Testing POSIX/Unix sematics on file system\n&quot;);
25327 test_symlinks();
25328 test_subdirectory_creation();
25329 #ifdef TEST_SQLITE
25330 test_sqlite_open();
25331 #endif /* TEST_SQLITE */
25332 test_gcompris_locking();
25333 return 0;
25334 }
25335 &lt;/pre&gt;
25336
25337 &lt;p&gt;When everything is working, it should print something like
25338 this:&lt;/p&gt;
25339
25340 &lt;pre&gt;
25341 Testing POSIX/Unix sematics on file system
25342 info: testing symlink creation
25343 info: testing subdirectory creation
25344 info: sqlite worked
25345 info: testing fcntl locking
25346 Read-locking 1 byte from 1073741824
25347 Read-locking 510 byte from 1073741826
25348 Unlocking 1 byte from 1073741824
25349 Write-locking 1 byte from 1073741824
25350 Write-locking 510 byte from 1073741826
25351 Unlocking 2 byte from 1073741824
25352 &lt;/pre&gt;
25353
25354 &lt;p&gt;I do not remember the exact details of the problems we saw, but one
25355 of them was with locking, where if I remember correctly, POSIX allow a
25356 read-only lock to be upgraded to a read-write lock without unlocking
25357 the read-only lock (while Windows do not). Another was a bug in the
25358 CIFS/SMB client implementation in the Linux kernel where directory
25359 meta information would be wrong for a fraction of a second, making
25360 OpenOffice.org fail to create its deep directory tree because it was
25361 not allowed to create files in its freshly created directory.&lt;/p&gt;
25362
25363 &lt;p&gt;Anyway, here is a nice tool for your tool box, might you never need
25364 it. :)&lt;/p&gt;
25365
25366 &lt;p&gt;Update 2010-08-27: Michael Gebetsroither report that he found the
25367 script so useful that he created a GIT repository and stored it in
25368 &lt;a href=&quot;http://github.com/gebi/fs-test&quot;&gt;http://github.com/gebi/fs-test&lt;/a&gt;.&lt;/p&gt;
25369 </description>
25370 </item>
25371
25372 <item>
25373 <title>Autodetecting Client setup for roaming workstations in Debian Edu</title>
25374 <link>http://people.skolelinux.org/pere/blog/Autodetecting_Client_setup_for_roaming_workstations_in_Debian_Edu.html</link>
25375 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Autodetecting_Client_setup_for_roaming_workstations_in_Debian_Edu.html</guid>
25376 <pubDate>Sat, 7 Aug 2010 14:45:00 +0200</pubDate>
25377 <description>&lt;p&gt;A few days ago, I
25378 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Debian_Edu_roaming_workstation___at_the_university_of_Oslo.html&quot;&gt;tried
25379 to install&lt;/a&gt; a Roaming workation profile from Debian Edu/Squeeze
25380 while on the university network here at the University of Oslo, and
25381 noticed how much had to change to get it operational using the
25382 university infrastructure. It was fairly easy, but it occured to me
25383 that Debian Edu would improve a lot if I could get the client to
25384 connect without any changes at all, and thus let the client configure
25385 itself during installation and first boot to use the infrastructure
25386 around it. Now I am a huge step further along that road.&lt;/p&gt;
25387
25388 &lt;p&gt;With our current squeeze-test packages, I can select the roaming
25389 workstation profile and get a working laptop connecting to the
25390 university LDAP server for user and group and our active directory
25391 servers for Kerberos authentication. All this without any
25392 configuration at all during installation. My users home directory got
25393 a bookmark in the KDE menu to mount it via SMB, with the correct URL.
25394 In short, openldap and sssd is correctly configured. In addition to
25395 this, the client look for http://wpad/wpad.dat to configure a web
25396 proxy, and when it fail to find it no proxy settings are stored in
25397 /etc/environment and /etc/apt/apt.conf. Iceweasel and KDE is
25398 configured to look for the same wpad configuration and also do not use
25399 a proxy when at the university network. If the machine is moved to a
25400 network with such wpad setup, it would automatically use it when DHCP
25401 gave it a IP address.&lt;/p&gt;
25402
25403 &lt;p&gt;The LDAP server is located using DNS, by first looking for the DNS
25404 entry ldap.$domain. If this do not exist, it look for the
25405 _ldap._tcp.$domain SRV records and use the first one as the LDAP
25406 server. Next, it connects to the LDAP server and search all
25407 namingContexts entries for posixAccount or posixGroup objects, and
25408 pick the first one as the LDAP base. For Kerberos, a similar
25409 algorithm is used to locate the LDAP server, and the realm is the
25410 uppercase version of $domain.&lt;/p&gt;
25411
25412 &lt;p&gt;So, what is not working, you might ask. SMB mounting my home
25413 directory do not work. No idea why, but suspected the incorrect
25414 Kerberos settings in /etc/krb5.conf and /etc/samba/smb.conf might be
25415 the cause. These are not properly configured during installation, and
25416 had to be hand-edited to get the correct Kerberos realm and server,
25417 but SMB mounting still do not work. :(&lt;/p&gt;
25418
25419 &lt;p&gt;With this automatic configuration in place, I expect a Debian Edu
25420 roaming profile installation would be able to automatically detect and
25421 connect to any site using LDAP and Kerberos for NSS directory and PAM
25422 authentication. It should also work out of the box in a Active
25423 Directory environment providing posixAccount and posixGroup objects
25424 with UID and GID values.&lt;/p&gt;
25425
25426 &lt;p&gt;If you want to help out with implementing these things for Debian
25427 Edu, please contact us on debian-edu@lists.debian.org.&lt;/p&gt;
25428 </description>
25429 </item>
25430
25431 <item>
25432 <title>Debian Edu roaming workstation - at the university of Oslo</title>
25433 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_roaming_workstation___at_the_university_of_Oslo.html</link>
25434 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu_roaming_workstation___at_the_university_of_Oslo.html</guid>
25435 <pubDate>Tue, 3 Aug 2010 23:30:00 +0200</pubDate>
25436 <description>&lt;p&gt;The new roaming workstation profile in Debian Edu/Squeeze is fairly
25437 similar to the laptop setup am I working on using Ubuntu for the
25438 University of Oslo, and just for the heck of it, I tested today how
25439 hard it would be to integrate that profile into the university
25440 infrastructure. In this case, it is the university LDAP server,
25441 Active Directory Kerberos server and SMB mounting from the Netapp file
25442 servers.&lt;/p&gt;
25443
25444 &lt;p&gt;I was pleasantly surprised that the only three files needed to be
25445 changed (/etc/sssd/sssd.conf, /etc/ldap.conf and
25446 /etc/mklocaluser.d/20-debian-edu-config) and one file had to be added
25447 (/usr/share/perl5/Debian/Edu_Local.pm), to get the client working.
25448 Most of the changes were to get the client to use the university LDAP
25449 for NSS and Kerberos server for PAM, but one was to change a hard
25450 coded DNS domain name in the mklocaluser hook from .intern to
25451 .uio.no.&lt;/p&gt;
25452
25453 &lt;p&gt;This testing was so encouraging, that I went ahead and adjusted the
25454 Debian Edu scripts and setup in subversion to centralise the roaming
25455 workstation setup a bit more and avoid the hardcoded DNS domain name,
25456 so that when I test this tomorrow, I expect to get away with modifying
25457 only /etc/sssd/sssd.conf and /etc/ldap.conf to get it to use the
25458 university servers.&lt;/p&gt;
25459
25460 &lt;p&gt;My goal is to get the clients to have no hardcoded settings and
25461 fetch all their initial setup during installation and first boot, to
25462 allow them to be inserted also into environments where the default
25463 setup in Debian Edu has been changed or as with the university, where
25464 the environment is different but provides the protocols Debian Edu
25465 uses.&lt;/p&gt;
25466 </description>
25467 </item>
25468
25469 <item>
25470 <title>Circular package dependencies harms apt recovery</title>
25471 <link>http://people.skolelinux.org/pere/blog/Circular_package_dependencies_harms_apt_recovery.html</link>
25472 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Circular_package_dependencies_harms_apt_recovery.html</guid>
25473 <pubDate>Tue, 27 Jul 2010 23:50:00 +0200</pubDate>
25474 <description>&lt;p&gt;I discovered this while doing
25475 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Automatic_upgrade_testing_from_Lenny_to_Squeeze.html&quot;&gt;automated
25476 testing of upgrades from Debian Lenny to Squeeze&lt;/a&gt;. A few packages
25477 in Debian still got circular dependencies, and it is often claimed
25478 that apt and aptitude should be able to handle this just fine, but
25479 some times these dependency loops causes apt to fail.&lt;/p&gt;
25480
25481 &lt;p&gt;An example is from todays
25482 &lt;a href=&quot;http://people.skolelinux.org/~pere/debian-upgrade-testing//test-20100727-lenny-squeeze-kde-aptitude.txt&quot;&gt;upgrade
25483 of KDE using aptitude&lt;/a&gt;. In it, a bug in kdebase-workspace-data
25484 causes perl-modules to fail to upgrade. The cause is simple. If a
25485 package fail to unpack, then only part of packages with the circular
25486 dependency might end up being unpacked when unpacking aborts, and the
25487 ones already unpacked will fail to configure in the recovery phase
25488 because its dependencies are unavailable.&lt;/p&gt;
25489
25490 &lt;p&gt;In this log, the problem manifest itself with this error:&lt;/p&gt;
25491
25492 &lt;blockquote&gt;&lt;pre&gt;
25493 dpkg: dependency problems prevent configuration of perl-modules:
25494 perl-modules depends on perl (&gt;= 5.10.1-1); however:
25495 Version of perl on system is 5.10.0-19lenny2.
25496 dpkg: error processing perl-modules (--configure):
25497 dependency problems - leaving unconfigured
25498 &lt;/pre&gt;&lt;/blockquote&gt;
25499
25500 &lt;p&gt;The perl/perl-modules circular dependency is already
25501 &lt;a href=&quot;http://bugs.debian.org/527917&quot;&gt;reported as a bug&lt;/a&gt;, and will
25502 hopefully be solved as soon as possible, but it is not the only one,
25503 and each one of these loops in the dependency tree can cause similar
25504 failures. Of course, they only occur when there are bugs in other
25505 packages causing the unpacking to fail, but it is rather nasty when
25506 the failure of one package causes the problem to become worse because
25507 of dependency loops.&lt;/p&gt;
25508
25509 &lt;p&gt;Thanks to
25510 &lt;a href=&quot;http://lists.debian.org/debian-devel/2010/06/msg00116.html&quot;&gt;the
25511 tireless effort by Bill Allombert&lt;/a&gt;, the number of circular
25512 dependencies
25513 &lt;a href=&quot;http://debian.semistable.com/debgraph.out.html&quot;&gt;left in Debian
25514 is dropping&lt;/a&gt;, and perhaps it will reach zero one day. :)&lt;/p&gt;
25515
25516 &lt;p&gt;Todays testing also exposed a bug in
25517 &lt;a href=&quot;http://bugs.debian.org/590605&quot;&gt;update-notifier&lt;/a&gt; and
25518 &lt;a href=&quot;http://bugs.debian.org/590604&quot;&gt;different behaviour&lt;/a&gt; between
25519 apt-get and aptitude, the latter possibly caused by some circular
25520 dependency. Reported both to BTS to try to get someone to look at
25521 it.&lt;/p&gt;
25522 </description>
25523 </item>
25524
25525 <item>
25526 <title>First Debian Edu test release (alpha0) based on Squeeze is released</title>
25527 <link>http://people.skolelinux.org/pere/blog/First_Debian_Edu_test_release__alpha0__based_on_Squeeze_is_released.html</link>
25528 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/First_Debian_Edu_test_release__alpha0__based_on_Squeeze_is_released.html</guid>
25529 <pubDate>Tue, 27 Jul 2010 17:45:00 +0200</pubDate>
25530 <description>&lt;p&gt;I just posted this announcement culminating several months of work
25531 with the next Debian Edu release. Not nearly done, but one major step
25532 completed.&lt;/p&gt;
25533
25534 &lt;blockquote&gt;
25535 &lt;p&gt;This is the first test release based on Squeeze. The focus of this
25536 release is to test the user application selection. To have a look,
25537 install the standalone profile and let the developers know if the set
25538 of installed packages i.e. applications should be modified. If some
25539 user application is missing, or if there are some applications that no
25540 longer make sense to be included in Debian Edu, please let us know.
25541 Also, if a useful application is missing the translation for your
25542 language of choice, please let us know too.&lt;/p&gt;
25543
25544 &lt;p&gt;In addition, feedback and help to polish the desktop (menus,
25545 artwork, starters, etc.) is appreciated. We would like to ship a nice
25546 and handy KDE4 desktop targeted for schools out of the box.&lt;/p&gt;
25547
25548 &lt;p&gt;The other profiles should be installable, but there is a lot more
25549 work left to be done before they are ready, so do not expect to
25550 much.&lt;/p&gt;
25551
25552 &lt;p&gt;Changes compared to the lenny based version&lt;/p&gt;
25553
25554 &lt;ul&gt;
25555 &lt;li&gt;Everything from Debian Squeeze
25556 &lt;ul&gt;
25557 &lt;li&gt;Desktop environment KDE 4.4 =&gt; the new KDE desktop in
25558 combination with some new artwork
25559 &lt;li&gt;Web browser Iceweasel 3.5
25560 &lt;li&gt;OpenOffice.org 3.2
25561 &lt;li&gt;Educational toolbox GCompris 9.3
25562 &lt;li&gt;Music creator Rosegarden 10.04.2
25563 &lt;li&gt;Image editor Gimp 2.6.10
25564 &lt;li&gt;Virtual universe Celestia 1.6.0
25565 &lt;li&gt;Virtual stargazer Stellarium 0.10.4
25566 &lt;li&gt;3D modeler Blender 2.49.2 (new application)
25567 &lt;li&gt;Video editor Kdenlive 0.7.7 (new application)
25568 &lt;/ul&gt;&lt;/li&gt;
25569 &lt;li&gt;Now using Kerberos for password checking (migration not finished).
25570 Enabled for:
25571 &lt;ul&gt;
25572 &lt;li&gt;PAM
25573 &lt;li&gt;LDAP
25574 &lt;li&gt;IMAP
25575 &lt;li&gt;SMTP (sender verification)
25576 &lt;/ul&gt;
25577 &lt;/li&gt;
25578 &lt;li&gt;New experimental roaming workstation profile for laptops.&lt;/li&gt;
25579 &lt;li&gt;Show welcome page to users when they first log in. The URL is
25580 fetched from LDAP.&lt;/li&gt;
25581 &lt;li&gt;New LXDE desktop option, in addition to KDE (default) and Gnome.&lt;/li&gt;
25582 &lt;li&gt;General cleanup (not finished)&lt;/li&gt;
25583 &lt;/ul&gt;
25584 &lt;p&gt;The following features are not working as they should&lt;/p&gt;
25585
25586 &lt;ul&gt;
25587 &lt;li&gt;No web based administration tool for creating users and groups. The
25588 scripts ldap-createuser-krb and ldap-add-user-to-group can be used
25589 for testing.&lt;/li&gt;
25590 &lt;li&gt;DVD installs are missing debian-installer images for the PXE boot,
25591 and do not set up the PXE menu on eth0 because of this. LTSP
25592 clients should still boot from eth1 on thin client servers.&lt;/li&gt;
25593 &lt;li&gt;The restructured KDE menu is not implemented.&lt;/li&gt;
25594 &lt;li&gt;The LDAP server setup need to be reviewed for security.&lt;/li&gt;
25595 &lt;li&gt;The LDAP directory structure need to be reworked.&lt;/li&gt;
25596 &lt;li&gt;Different sets of packages are installed when using the DVD and the
25597 netinst CD. More packages are installed using the netinst CD.&lt;/li&gt;
25598 &lt;li&gt;The jackd package fail to install. This is believed to be caused by
25599 some ongoing transition, and hopefully should be solved soon. The
25600 jackd1 package can be installed manually for those that need it.&lt;/li&gt;
25601 &lt;li&gt;Some packages lack translations. See
25602 http://wiki.debian.org/DebianEdu/Status/Squeeze for updated status,
25603 and help out with translations.&lt;/li&gt;
25604 &lt;/ul&gt;
25605
25606 &lt;p&gt;To download this multiarch netinstall release you can use&lt;/p&gt;
25607
25608 &lt;ul&gt;
25609 &lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-6.0.0+edua0-CD.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-6.0.0+edua0-CD.iso&lt;/a&gt;&lt;/li&gt;
25610 &lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-6.0.0+edua0-CD.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-6.0.0+edua0-CD.iso&lt;/a&gt;&lt;/li&gt;
25611 &lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/squeeze-alpha/debian-edu-6.0.0+edua0-CD.iso&lt;/li&gt;
25612 &lt;/ul&gt;
25613 &lt;p&gt;To download this multiarch dvd release you can use&lt;/p&gt;
25614
25615 &lt;ul&gt;
25616 &lt;li&gt;&lt;a href=&quot;ftp://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-6.0.0+edua0-DVD.iso&quot;&gt;ftp://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-6.0.0+edua0-DVD.iso&lt;/a&gt;&lt;/li&gt;
25617 &lt;li&gt;&lt;a href=&quot;http://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-6.0.0+edua0-DVD.iso&quot;&gt;http://ftp.skolelinux.org/skolelinux-cd/squeeze-alpha/debian-edu-6.0.0+edua0-DVD.iso&lt;/a&gt;&lt;/li&gt;
25618 &lt;li&gt;rsync -avzP ftp.skolelinux.org::skolelinux-cd/squeeze-alpha/debian-edu-6.0.0+edua0-DVD.iso&lt;/li&gt;
25619 &lt;/ul&gt;
25620
25621 &lt;p&gt;There is no source DVD available yet. It will be prepared when we
25622 get closer to the final release.&lt;/p&gt;
25623
25624 &lt;p&gt;The MD5SUM of these images are&lt;/p&gt;
25625
25626 &lt;ul&gt;
25627 &lt;li&gt;3dbf45d59f42a53518b6e3c9ec3b5eb6 debian-edu-6.0.0+edua0-CD.iso&lt;/li&gt;
25628 &lt;li&gt;22f2cbfce281d1c6e478be452638675d debian-edu-6.0.0+edua0-DVD.iso&lt;/li&gt;
25629 &lt;/ul&gt;
25630
25631 &lt;p&gt;The SHA1SUM of these images are&lt;/p&gt;
25632 &lt;ul&gt;
25633 &lt;li&gt;c53d1b69b40cf37cd27aefaf33f6f6a3821bedf0 debian-edu-6.0.0+edua0-CD.iso&lt;/li&gt;
25634 &lt;li&gt;2ec29d7db676d59d32197b05c277ffe16348376c debian-edu-6.0.0+edua0-DVD.iso&lt;/li&gt;
25635 &lt;/ul&gt;
25636 &lt;p&gt;How to report bugs:
25637 http://wiki.debian.org/DebianEdu/HowTo/ReportBugsInBugzilla&lt;/p&gt;
25638
25639 &lt;p&gt;Please direct replies to debian-edu@lists.debian.org&lt;/p&gt;
25640 &lt;/blockquote&gt;
25641 </description>
25642 </item>
25643
25644 <item>
25645 <title>One step closer to single signon in Debian Edu</title>
25646 <link>http://people.skolelinux.org/pere/blog/One_step_closer_to_single_signon_in_Debian_Edu.html</link>
25647 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/One_step_closer_to_single_signon_in_Debian_Edu.html</guid>
25648 <pubDate>Sun, 25 Jul 2010 10:00:00 +0200</pubDate>
25649 <description>&lt;p&gt;The last few months me and the other Debian Edu developers have
25650 been working hard to get the Debian/Squeeze based version of Debian
25651 Edu/Skolelinux into shape. This future version will use Kerberos for
25652 authentication, and services are slowly migrated to single signon,
25653 getting rid of password questions one at the time.&lt;/p&gt;
25654
25655 &lt;p&gt;It will also feature a roaming workstation profile with local home
25656 directory, for laptops that are only some times on the Skolelinux
25657 network, and for this profile a shortcut is created in Gnome and KDE
25658 to gain access to the users home directory on the file server. This
25659 shortcut uses SMB at the moment, and yesterday I had time to test if
25660 SMB mounting had started working in KDE after we added the cifs-utils
25661 package. I was pleasantly surprised how well it worked.&lt;/p&gt;
25662
25663 &lt;p&gt;Thanks to the recent changes to our samba configuration to get it
25664 to use Kerberos for authentication, there were no question about user
25665 password when mounting the SMB volume. A simple click on the shortcut
25666 in the KDE menu, and a window with the home directory popped
25667 up. :)&lt;/p&gt;
25668
25669 &lt;p&gt;One step closer to a single signon solution out of the box in
25670 Debian Edu. We already had PAM, LDAP, IMAP and SMTP in place, and now
25671 also Samba. Next step is Cups and hopefully also NFS.&lt;/p&gt;
25672
25673 &lt;p&gt;We had planned a alpha0 release of Debian Edu for today, but thanks
25674 to the autobuilder administrators for some architectures being slow to
25675 sign packages, we are still missing the fixed LTSP package we need for
25676 the release. It was uploaded three days ago with urgency=high, and if
25677 it had entered testing yesterday we would have been able to test it in
25678 time for a alpha0 release today. As the binaries for ia64 and powerpc
25679 still not uploaded to the Debian archive, we need to delay the alpha
25680 release another day.&lt;/p&gt;
25681
25682 &lt;p&gt;If you want to help out with implementing Kerberos for Debian Edu,
25683 please contact us on debian-edu@lists.debian.org.&lt;/p&gt;
25684 </description>
25685 </item>
25686
25687 <item>
25688 <title>OpenStreetmap one step closer to having routing on its front page</title>
25689 <link>http://people.skolelinux.org/pere/blog/OpenStreetmap_one_step_closer_to_having_routing_on_its_front_page.html</link>
25690 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/OpenStreetmap_one_step_closer_to_having_routing_on_its_front_page.html</guid>
25691 <pubDate>Sun, 18 Jul 2010 16:45:00 +0200</pubDate>
25692 <description>&lt;p&gt;Thanks to
25693 &lt;a href=&quot;http://feedproxy.google.com/~r/Opengeodata/~3/wUTCzDZk3lc/project-of-the-week-which-way-home&quot;&gt;todays
25694 opengeodata blog entry&lt;/a&gt;, I just discovered that the
25695 OpenStreetmap.org site have gotten
25696 &lt;a href=&quot;http://nroets.dev.openstreetmap.org/demo/index.html?layers=B000FTFTT&quot;&gt;support
25697 for calculating routes&lt;/a&gt;. The support is still experimental and
25698 only available from the development server, until more experience is
25699 gathered on the user interface and any scalability issues.&lt;/p&gt;
25700
25701 &lt;p&gt;Earlier, the routing I knew about using the OpenStreetmap.org data
25702 was provided by &lt;a href=&quot;http://maps.cloudmade.com/&quot;&gt;Cloudmade&lt;/a&gt;,
25703 but having it on the main page is required to make everyone aware of
25704 the issue. I&#39;ve had people reject Openstreetmap.org as a viable
25705 alternative for them because the front page lacked routing support,
25706 and I hope their needs will be catered for when routing show up on the
25707 www.openstreetmap.org front page.&lt;/p&gt;
25708 </description>
25709 </item>
25710
25711 <item>
25712 <title>What are they searching for - PowerDNS and ISC DHCP in LDAP</title>
25713 <link>http://people.skolelinux.org/pere/blog/What_are_they_searching_for___PowerDNS_and_ISC_DHCP_in_LDAP.html</link>
25714 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/What_are_they_searching_for___PowerDNS_and_ISC_DHCP_in_LDAP.html</guid>
25715 <pubDate>Sat, 17 Jul 2010 21:00:00 +0200</pubDate>
25716 <description>&lt;p&gt;This is a
25717 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Time_for_new__LDAP_schemas_replacing_RFC_2307_.html&quot;&gt;followup&lt;/a&gt;
25718 on my
25719 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Idea_for_a_change_to_LDAP_schemas_allowing_DNS_and_DHCP_info_to_be_combined_into_one_object.html&quot;&gt;previous
25720 work&lt;/a&gt; on
25721 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Combining_PowerDNS_and_ISC_DHCP_LDAP_objects.html&quot;&gt;merging
25722 all&lt;/a&gt; the computer related LDAP objects in Debian Edu.&lt;/p&gt;
25723
25724 &lt;p&gt;As a step to try to see if it possible to merge the DNS and DHCP
25725 LDAP objects, I have had a look at how the packages pdns-backend-ldap
25726 and dhcp3-server-ldap in Debian use the LDAP server. The two
25727 implementations are quite different in how they use LDAP.&lt;/p&gt;
25728
25729 To get this information, I started slapd with debugging enabled and
25730 dumped the debug output to a file to get the LDAP searches performed
25731 on a Debian Edu main-server. Here is a summary.
25732
25733 &lt;p&gt;&lt;strong&gt;powerdns&lt;/strong&gt;&lt;/p&gt;
25734
25735 &lt;a href=&quot;http://www.linuxnetworks.de/doc/index.php/PowerDNS_LDAP_Backend&quot;&gt;Clues
25736 on how to&lt;/a&gt; set up PowerDNS to use a LDAP backend is available on
25737 the web.
25738
25739 &lt;p&gt;PowerDNS have two modes of operation using LDAP as its backend.
25740 One &quot;strict&quot; mode where the forward and reverse DNS lookups are done
25741 using the same LDAP objects, and a &quot;tree&quot; mode where the forward and
25742 reverse entries are in two different subtrees in LDAP with a structure
25743 based on the DNS names, as in tjener.intern and
25744 2.2.0.10.in-addr.arpa.&lt;/p&gt;
25745
25746 &lt;p&gt;In tree mode, the server is set up to use a LDAP subtree as its
25747 base, and uses a &quot;base&quot; scoped search for the DNS name by adding
25748 &quot;dc=tjener,dc=intern,&quot; to the base with a filter for
25749 &quot;(associateddomain=tjener.intern)&quot; for the forward entry and
25750 &quot;dc=2,dc=2,dc=0,dc=10,dc=in-addr,dc=arpa,&quot; with a filter for
25751 &quot;(associateddomain=2.2.0.10.in-addr.arpa)&quot; for the reverse entry. For
25752 forward entries, it is looking for attributes named dnsttl, arecord,
25753 nsrecord, cnamerecord, soarecord, ptrrecord, hinforecord, mxrecord,
25754 txtrecord, rprecord, afsdbrecord, keyrecord, aaaarecord, locrecord,
25755 srvrecord, naptrrecord, kxrecord, certrecord, dsrecord, sshfprecord,
25756 ipseckeyrecord, rrsigrecord, nsecrecord, dnskeyrecord, dhcidrecord,
25757 spfrecord and modifytimestamp. For reverse entries it is looking for
25758 the attributes dnsttl, arecord, nsrecord, cnamerecord, soarecord,
25759 ptrrecord, hinforecord, mxrecord, txtrecord, rprecord, aaaarecord,
25760 locrecord, srvrecord, naptrrecord and modifytimestamp. The equivalent
25761 ldapsearch commands could look like this:&lt;/p&gt;
25762
25763 &lt;blockquote&gt;&lt;pre&gt;
25764 ldapsearch -h ldap \
25765 -b dc=tjener,dc=intern,ou=hosts,dc=skole,dc=skolelinux,dc=no \
25766 -s base -x &#39;(associateddomain=tjener.intern)&#39; dNSTTL aRecord nSRecord \
25767 cNAMERecord sOARecord pTRRecord hInfoRecord mXRecord tXTRecord \
25768 rPRecord aFSDBRecord KeyRecord aAAARecord lOCRecord sRVRecord \
25769 nAPTRRecord kXRecord certRecord dSRecord sSHFPRecord iPSecKeyRecord \
25770 rRSIGRecord nSECRecord dNSKeyRecord dHCIDRecord sPFRecord modifyTimestamp
25771
25772 ldapsearch -h ldap \
25773 -b dc=2,dc=2,dc=0,dc=10,dc=in-addr,dc=arpa,ou=hosts,dc=skole,dc=skolelinux,dc=no \
25774 -s base -x &#39;(associateddomain=2.2.0.10.in-addr.arpa)&#39;
25775 dnsttl, arecord, nsrecord, cnamerecord soarecord ptrrecord \
25776 hinforecord mxrecord txtrecord rprecord aaaarecord locrecord \
25777 srvrecord naptrrecord modifytimestamp
25778 &lt;/pre&gt;&lt;/blockquote&gt;
25779
25780 &lt;p&gt;In Debian Edu/Lenny, the PowerDNS tree mode is used with
25781 ou=hosts,dc=skole,dc=skolelinux,dc=no as the base, and these are two
25782 example LDAP objects used there. In addition to these objects, the
25783 parent objects all th way up to ou=hosts,dc=skole,dc=skolelinux,dc=no
25784 also exist.&lt;/p&gt;
25785
25786 &lt;blockquote&gt;&lt;pre&gt;
25787 dn: dc=tjener,dc=intern,ou=hosts,dc=skole,dc=skolelinux,dc=no
25788 objectclass: top
25789 objectclass: dnsdomain
25790 objectclass: domainrelatedobject
25791 dc: tjener
25792 arecord: 10.0.2.2
25793 associateddomain: tjener.intern
25794
25795 dn: dc=2,dc=2,dc=0,dc=10,dc=in-addr,dc=arpa,ou=hosts,dc=skole,dc=skolelinux,dc=no
25796 objectclass: top
25797 objectclass: dnsdomain2
25798 objectclass: domainrelatedobject
25799 dc: 2
25800 ptrrecord: tjener.intern
25801 associateddomain: 2.2.0.10.in-addr.arpa
25802 &lt;/pre&gt;&lt;/blockquote&gt;
25803
25804 &lt;p&gt;In strict mode, the server behaves differently. When looking for
25805 forward DNS entries, it is doing a &quot;subtree&quot; scoped search with the
25806 same base as in the tree mode for a object with filter
25807 &quot;(associateddomain=tjener.intern)&quot; and requests the attributes dnsttl,
25808 arecord, nsrecord, cnamerecord, soarecord, ptrrecord, hinforecord,
25809 mxrecord, txtrecord, rprecord, aaaarecord, locrecord, srvrecord,
25810 naptrrecord and modifytimestamp. For reverse entires it also do a
25811 subtree scoped search but this time the filter is &quot;(arecord=10.0.2.2)&quot;
25812 and the requested attributes are associateddomain, dnsttl and
25813 modifytimestamp. In short, in strict mode the objects with ptrrecord
25814 go away, and the arecord attribute in the forward object is used
25815 instead.&lt;/p&gt;
25816
25817 &lt;p&gt;The forward and reverse searches can be simulated using ldapsearch
25818 like this:&lt;/p&gt;
25819
25820 &lt;blockquote&gt;&lt;pre&gt;
25821 ldapsearch -h ldap -b ou=hosts,dc=skole,dc=skolelinux,dc=no -s sub -x \
25822 &#39;(associateddomain=tjener.intern)&#39; dNSTTL aRecord nSRecord \
25823 cNAMERecord sOARecord pTRRecord hInfoRecord mXRecord tXTRecord \
25824 rPRecord aFSDBRecord KeyRecord aAAARecord lOCRecord sRVRecord \
25825 nAPTRRecord kXRecord certRecord dSRecord sSHFPRecord iPSecKeyRecord \
25826 rRSIGRecord nSECRecord dNSKeyRecord dHCIDRecord sPFRecord modifyTimestamp
25827
25828 ldapsearch -h ldap -b ou=hosts,dc=skole,dc=skolelinux,dc=no -s sub -x \
25829 &#39;(arecord=10.0.2.2)&#39; associateddomain dnsttl modifytimestamp
25830 &lt;/pre&gt;&lt;/blockquote&gt;
25831
25832 &lt;p&gt;In addition to the forward and reverse searches , there is also a
25833 search for SOA records, which behave similar to the forward and
25834 reverse lookups.&lt;/p&gt;
25835
25836 &lt;p&gt;A thing to note with the PowerDNS behaviour is that it do not
25837 specify any objectclass names, and instead look for the attributes it
25838 need to generate a DNS reply. This make it able to work with any
25839 objectclass that provide the needed attributes.&lt;/p&gt;
25840
25841 &lt;p&gt;The attributes are normally provided in the cosine (RFC 1274) and
25842 dnsdomain2 schemas. The latter is used for reverse entries like
25843 ptrrecord and recent DNS additions like aaaarecord and srvrecord.&lt;/p&gt;
25844
25845 &lt;p&gt;In Debian Edu, we have created DNS objects using the object classes
25846 dcobject (for dc), dnsdomain or dnsdomain2 (structural, for the DNS
25847 attributes) and domainrelatedobject (for associatedDomain). The use
25848 of structural object classes make it impossible to combine these
25849 classes with the object classes used by DHCP.&lt;/p&gt;
25850
25851 &lt;p&gt;There are other schemas that could be used too, for example the
25852 dnszone structural object class used by Gosa and bind-sdb for the DNS
25853 attributes combined with the domainrelatedobject object class, but in
25854 this case some unused attributes would have to be included as well
25855 (zonename and relativedomainname).&lt;/p&gt;
25856
25857 &lt;p&gt;My proposal for Debian Edu would be to switch PowerDNS to strict
25858 mode and not use any of the existing objectclasses (dnsdomain,
25859 dnsdomain2 and dnszone) when one want to combine the DNS information
25860 with DHCP information, and instead create a auxiliary object class
25861 defined something like this (using the attributes defined for
25862 dnsdomain and dnsdomain2 or dnszone):&lt;/p&gt;
25863
25864 &lt;blockquote&gt;&lt;pre&gt;
25865 objectclass ( some-oid NAME &#39;dnsDomainAux&#39;
25866 SUP top
25867 AUXILIARY
25868 MAY ( ARecord $ MDRecord $ MXRecord $ NSRecord $ SOARecord $ CNAMERecord $
25869 DNSTTL $ DNSClass $ PTRRecord $ HINFORecord $ MINFORecord $
25870 TXTRecord $ SIGRecord $ KEYRecord $ AAAARecord $ LOCRecord $
25871 NXTRecord $ SRVRecord $ NAPTRRecord $ KXRecord $ CERTRecord $
25872 A6Record $ DNAMERecord
25873 ))
25874 &lt;/pre&gt;&lt;/blockquote&gt;
25875
25876 &lt;p&gt;This will allow any object to become a DNS entry when combined with
25877 the domainrelatedobject object class, and allow any entity to include
25878 all the attributes PowerDNS wants. I&#39;ve sent an email to the PowerDNS
25879 developers asking for their view on this schema and if they are
25880 interested in providing such schema with PowerDNS, and I hope my
25881 message will be accepted into their mailing list soon.&lt;/p&gt;
25882
25883 &lt;p&gt;&lt;strong&gt;ISC dhcp&lt;/strong&gt;&lt;/p&gt;
25884
25885 &lt;p&gt;The DHCP server searches for specific objectclass and requests all
25886 the object attributes, and then uses the attributes it want. This
25887 make it harder to figure out exactly what attributes are used, but
25888 thanks to the working example in Debian Edu I can at least get an idea
25889 what is needed without having to read the source code.&lt;/p&gt;
25890
25891 &lt;p&gt;In the DHCP server configuration, the LDAP base to use and the
25892 search filter to use to locate the correct dhcpServer entity is
25893 stored. These are the relevant entries from
25894 /etc/dhcp3/dhcpd.conf:&lt;/p&gt;
25895
25896 &lt;blockquote&gt;&lt;pre&gt;
25897 ldap-base-dn &quot;dc=skole,dc=skolelinux,dc=no&quot;;
25898 ldap-dhcp-server-cn &quot;dhcp&quot;;
25899 &lt;/pre&gt;&lt;/blockquote&gt;
25900
25901 &lt;p&gt;The DHCP server uses this information to nest all the DHCP
25902 configuration it need. The cn &quot;dhcp&quot; is located using the given LDAP
25903 base and the filter &quot;(&amp;(objectClass=dhcpServer)(cn=dhcp))&quot;. The
25904 search result is this entry:&lt;/p&gt;
25905
25906 &lt;blockquote&gt;&lt;pre&gt;
25907 dn: cn=dhcp,dc=skole,dc=skolelinux,dc=no
25908 cn: dhcp
25909 objectClass: top
25910 objectClass: dhcpServer
25911 dhcpServiceDN: cn=DHCP Config,dc=skole,dc=skolelinux,dc=no
25912 &lt;/pre&gt;&lt;/blockquote&gt;
25913
25914 &lt;p&gt;The content of the dhcpServiceDN attribute is next used to locate the
25915 subtree with DHCP configuration. The DHCP configuration subtree base
25916 is located using a base scope search with base &quot;cn=DHCP
25917 Config,dc=skole,dc=skolelinux,dc=no&quot; and filter
25918 &quot;(&amp;(objectClass=dhcpService)(|(dhcpPrimaryDN=cn=dhcp,dc=skole,dc=skolelinux,dc=no)(dhcpSecondaryDN=cn=dhcp,dc=skole,dc=skolelinux,dc=no)))&quot;.
25919 The search result is this entry:&lt;/p&gt;
25920
25921 &lt;blockquote&gt;&lt;pre&gt;
25922 dn: cn=DHCP Config,dc=skole,dc=skolelinux,dc=no
25923 cn: DHCP Config
25924 objectClass: top
25925 objectClass: dhcpService
25926 objectClass: dhcpOptions
25927 dhcpPrimaryDN: cn=dhcp, dc=skole,dc=skolelinux,dc=no
25928 dhcpStatements: ddns-update-style none
25929 dhcpStatements: authoritative
25930 dhcpOption: smtp-server code 69 = array of ip-address
25931 dhcpOption: www-server code 72 = array of ip-address
25932 dhcpOption: wpad-url code 252 = text
25933 &lt;/pre&gt;&lt;/blockquote&gt;
25934
25935 &lt;p&gt;Next, the entire subtree is processed, one level at the time. When
25936 all the DHCP configuration is loaded, it is ready to receive requests.
25937 The subtree in Debian Edu contain objects with object classes
25938 top/dhcpService/dhcpOptions, top/dhcpSharedNetwork/dhcpOptions,
25939 top/dhcpSubnet, top/dhcpGroup and top/dhcpHost. These provide options
25940 and information about netmasks, dynamic range etc. Leaving out the
25941 details here because it is not relevant for the focus of my
25942 investigation, which is to see if it is possible to merge dns and dhcp
25943 related computer objects.&lt;/p&gt;
25944
25945 &lt;p&gt;When a DHCP request come in, LDAP is searched for the MAC address
25946 of the client (00:00:00:00:00:00 in this example), using a subtree
25947 scoped search with &quot;cn=DHCP Config,dc=skole,dc=skolelinux,dc=no&quot; as
25948 the base and &quot;(&amp;(objectClass=dhcpHost)(dhcpHWAddress=ethernet
25949 00:00:00:00:00:00))&quot; as the filter. This is what a host object look
25950 like:&lt;/p&gt;
25951
25952 &lt;blockquote&gt;&lt;pre&gt;
25953 dn: cn=hostname,cn=group1,cn=THINCLIENTS,cn=DHCP Config,dc=skole,dc=skolelinux,dc=no
25954 cn: hostname
25955 objectClass: top
25956 objectClass: dhcpHost
25957 dhcpHWAddress: ethernet 00:00:00:00:00:00
25958 dhcpStatements: fixed-address hostname
25959 &lt;/pre&gt;&lt;/blockquote&gt;
25960
25961 &lt;p&gt;There is less flexiblity in the way LDAP searches are done here.
25962 The object classes need to have fixed names, and the configuration
25963 need to be stored in a fairly specific LDAP structure. On the
25964 positive side, the invidiual dhcpHost entires can be anywhere without
25965 the DN pointed to by the dhcpServer entries. The latter should make
25966 it possible to group all host entries in a subtree next to the
25967 configuration entries, and this subtree can also be shared with the
25968 DNS server if the schema proposed above is combined with the dhcpHost
25969 structural object class.
25970
25971 &lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;
25972
25973 &lt;p&gt;The PowerDNS implementation seem to be very flexible when it come
25974 to which LDAP schemas to use. While its &quot;tree&quot; mode is rigid when it
25975 come to the the LDAP structure, the &quot;strict&quot; mode is very flexible,
25976 allowing DNS objects to be stored anywhere under the base cn specified
25977 in the configuration.&lt;/p&gt;
25978
25979 &lt;p&gt;The DHCP implementation on the other hand is very inflexible, both
25980 regarding which LDAP schemas to use and which LDAP structure to use.
25981 I guess one could implement ones own schema, as long as the
25982 objectclasses and attributes have the names used, but this do not
25983 really help when the DHCP subtree need to have a fairly fixed
25984 structure.&lt;/p&gt;
25985
25986 &lt;p&gt;Based on the observed behaviour, I suspect a LDAP structure like
25987 this might work for Debian Edu:&lt;/p&gt;
25988
25989 &lt;blockquote&gt;&lt;pre&gt;
25990 ou=services
25991 cn=machine-info (dhcpService) - dhcpServiceDN points here
25992 cn=dhcp (dhcpServer)
25993 cn=dhcp-internal (dhcpSharedNetwork/dhcpOptions)
25994 cn=10.0.2.0 (dhcpSubnet)
25995 cn=group1 (dhcpGroup/dhcpOptions)
25996 cn=dhcp-thinclients (dhcpSharedNetwork/dhcpOptions)
25997 cn=192.168.0.0 (dhcpSubnet)
25998 cn=group1 (dhcpGroup/dhcpOptions)
25999 ou=machines - PowerDNS base points here
26000 cn=hostname (dhcpHost/domainrelatedobject/dnsDomainAux)
26001 &lt;/pre&gt;&lt;/blockquote&gt;
26002
26003 &lt;P&gt;This is not tested yet. If the DHCP server require the dhcpHost
26004 entries to be in the dhcpGroup subtrees, the entries can be stored
26005 there instead of a common machines subtree, and the PowerDNS base
26006 would have to be moved one level up to the machine-info subtree.&lt;/p&gt;
26007
26008 &lt;p&gt;The combined object under the machines subtree would look something
26009 like this:&lt;/p&gt;
26010
26011 &lt;blockquote&gt;&lt;pre&gt;
26012 dn: dc=hostname,ou=machines,cn=machine-info,dc=skole,dc=skolelinux,dc=no
26013 dc: hostname
26014 objectClass: top
26015 objectClass: dhcpHost
26016 objectclass: domainrelatedobject
26017 objectclass: dnsDomainAux
26018 associateddomain: hostname.intern
26019 arecord: 10.11.12.13
26020 dhcpHWAddress: ethernet 00:00:00:00:00:00
26021 dhcpStatements: fixed-address hostname.intern
26022 &lt;/pre&gt;&lt;/blockquote&gt;
26023
26024 &lt;/p&gt;One could even add the LTSP configuration associated with a given
26025 machine, as long as the required attributes are available in a
26026 auxiliary object class.&lt;/p&gt;
26027 </description>
26028 </item>
26029
26030 <item>
26031 <title>Combining PowerDNS and ISC DHCP LDAP objects</title>
26032 <link>http://people.skolelinux.org/pere/blog/Combining_PowerDNS_and_ISC_DHCP_LDAP_objects.html</link>
26033 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Combining_PowerDNS_and_ISC_DHCP_LDAP_objects.html</guid>
26034 <pubDate>Wed, 14 Jul 2010 23:45:00 +0200</pubDate>
26035 <description>&lt;p&gt;For a while now, I have wanted to find a way to change the DNS and
26036 DHCP services in Debian Edu to use the same LDAP objects for a given
26037 computer, to avoid the possibility of having a inconsistent state for
26038 a computer in LDAP (as in DHCP but no DNS entry or the other way
26039 around) and make it easier to add computers to LDAP.&lt;/p&gt;
26040
26041 &lt;p&gt;I&#39;ve looked at how powerdns and dhcpd is using LDAP, and using this
26042 information finally found a solution that seem to work.&lt;/p&gt;
26043
26044 &lt;p&gt;The old setup required three LDAP objects for a given computer.
26045 One forward DNS entry, one reverse DNS entry and one DHCP entry. If
26046 we switch powerdns to use its strict LDAP method (ldap-method=strict
26047 in pdns-debian-edu.conf), the forward and reverse DNS entries are
26048 merged into one while making it impossible to transfer the reverse map
26049 to a slave DNS server.&lt;/p&gt;
26050
26051 &lt;p&gt;If we also replace the object class used to get the DNS related
26052 attributes to one allowing these attributes to be combined with the
26053 dhcphost object class, we can merge the DNS and DHCP entries into one.
26054 I&#39;ve written such object class in the dnsdomainaux.schema file (need
26055 proper OIDs, but that is a minor issue), and tested the setup. It
26056 seem to work.&lt;/p&gt;
26057
26058 &lt;p&gt;With this test setup in place, we can get away with one LDAP object
26059 for both DNS and DHCP, and even the LTSP configuration I suggested in
26060 an earlier email. The combined LDAP object will look something like
26061 this:&lt;/p&gt;
26062
26063 &lt;blockquote&gt;&lt;pre&gt;
26064 dn: cn=hostname,cn=group1,cn=THINCLIENTS,cn=DHCP Config,dc=skole,dc=skolelinux,dc=no
26065 cn: hostname
26066 objectClass: dhcphost
26067 objectclass: domainrelatedobject
26068 objectclass: dnsdomainaux
26069 associateddomain: hostname.intern
26070 arecord: 10.11.12.13
26071 dhcphwaddress: ethernet 00:00:00:00:00:00
26072 dhcpstatements: fixed-address hostname
26073 ldapconfigsound: Y
26074 &lt;/pre&gt;&lt;/blockquote&gt;
26075
26076 &lt;p&gt;The DNS server uses the associateddomain and arecord entries, while
26077 the DHCP server uses the dhcphwaddress and dhcpstatements entries
26078 before asking DNS to resolve the fixed-adddress. LTSP will use
26079 dhcphwaddress or associateddomain and the ldapconfig* attributes.&lt;/p&gt;
26080
26081 &lt;p&gt;I am not yet sure if I can get the DHCP server to look for its
26082 dhcphost in a different location, to allow us to put the objects
26083 outside the &quot;DHCP Config&quot; subtree, but hope to figure out a way to do
26084 that. If I can&#39;t figure out a way to do that, we can still get rid of
26085 the hosts subtree and move all its content into the DHCP Config tree
26086 (which probably should be renamed to be more related to the new
26087 content. I suspect cn=dnsdhcp,ou=services or something like that
26088 might be a good place to put it.&lt;/p&gt;
26089
26090 &lt;p&gt;If you want to help out with implementing this for Debian Edu,
26091 please contact us on debian-edu@lists.debian.org.&lt;/p&gt;
26092 </description>
26093 </item>
26094
26095 <item>
26096 <title>Idea for storing LTSP configuration in LDAP</title>
26097 <link>http://people.skolelinux.org/pere/blog/Idea_for_storing_LTSP_configuration_in_LDAP.html</link>
26098 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Idea_for_storing_LTSP_configuration_in_LDAP.html</guid>
26099 <pubDate>Sun, 11 Jul 2010 22:00:00 +0200</pubDate>
26100 <description>&lt;p&gt;Vagrant mentioned on IRC today that ltsp_config now support
26101 sourcing files from /usr/share/ltsp/ltsp_config.d/ on the thin
26102 clients, and that this can be used to fetch configuration from LDAP if
26103 Debian Edu choose to store configuration there.&lt;/p&gt;
26104
26105 &lt;p&gt;Armed with this information, I got inspired and wrote a test module
26106 to get configuration from LDAP. The idea is to look up the MAC
26107 address of the client in LDAP, and look for attributes on the form
26108 ltspconfigsetting=value, and use this to export SETTING=value to the
26109 LTSP clients.&lt;/p&gt;
26110
26111 &lt;p&gt;The goal is to be able to store the LTSP configuration attributes
26112 in a &quot;computer&quot; LDAP object used by both DNS and DHCP, and thus
26113 allowing us to store all information about a computer in one place.&lt;/p&gt;
26114
26115 &lt;p&gt;This is a untested draft implementation, and I welcome feedback on
26116 this approach. A real LDAP schema for the ltspClientAux objectclass
26117 need to be written. Comments, suggestions, etc?&lt;/p&gt;
26118
26119 &lt;blockquote&gt;&lt;pre&gt;
26120 # Store in /opt/ltsp/$arch/usr/share/ltsp/ltsp_config.d/ldap-config
26121 #
26122 # Fetch LTSP client settings from LDAP based on MAC address
26123 #
26124 # Uses ethernet address as stored in the dhcpHost objectclass using
26125 # the dhcpHWAddress attribute or ethernet address stored in the
26126 # ieee802Device objectclass with the macAddress attribute.
26127 #
26128 # This module is written to be schema agnostic, and only depend on the
26129 # existence of attribute names.
26130 #
26131 # The LTSP configuration variables are saved directly using a
26132 # ltspConfig prefix and uppercasing the rest of the attribute name.
26133 # To set the SERVER variable, set the ltspConfigServer attribute.
26134 #
26135 # Some LDAP schema should be created with all the relevant
26136 # configuration settings. Something like this should work:
26137 #
26138 # objectclass ( 1.1.2.2 NAME &#39;ltspClientAux&#39;
26139 # SUP top
26140 # AUXILIARY
26141 # MAY ( ltspConfigServer $ ltsConfigSound $ ... )
26142
26143 LDAPSERVER=$(debian-edu-ldapserver)
26144 if [ &quot;$LDAPSERVER&quot; ] ; then
26145 LDAPBASE=$(debian-edu-ldapserver -b)
26146 for MAC in $(LANG=C ifconfig |grep -i hwaddr| awk &#39;{print $5}&#39;|sort -u) ; do
26147 filter=&quot;(|(dhcpHWAddress=ethernet $MAC)(macAddress=$MAC))&quot;
26148 ldapsearch -h &quot;$LDAPSERVER&quot; -b &quot;$LDAPBASE&quot; -v -x &quot;$filter&quot; | \
26149 grep &#39;^ltspConfig&#39; | while read attr value ; do
26150 # Remove prefix and convert to upper case
26151 attr=$(echo $attr | sed &#39;s/^ltspConfig//i&#39; | tr a-z A-Z)
26152 # bass value on to clients
26153 eval &quot;$attr=$value; export $attr&quot;
26154 done
26155 done
26156 fi
26157 &lt;/pre&gt;&lt;/blockquote&gt;
26158
26159 &lt;p&gt;I&#39;m not sure this shell construction will work, because I suspect
26160 the while block might end up in a subshell causing the variables set
26161 there to not show up in ltsp-config, but if that is the case I am sure
26162 the code can be restructured to make sure the variables are passed on.
26163 I expect that can be solved with some testing. :)&lt;/p&gt;
26164
26165 &lt;p&gt;If you want to help out with implementing this for Debian Edu,
26166 please contact us on debian-edu@lists.debian.org.&lt;/p&gt;
26167
26168 &lt;p&gt;Update 2010-07-17: I am aware of another effort to store LTSP
26169 configuration in LDAP that was created around year 2000 by
26170 &lt;a href=&quot;http://www.pcxperience.com/thinclient/documentation/ldap.html&quot;&gt;PC
26171 Xperience, Inc., 2000&lt;/a&gt;. I found its
26172 &lt;a href=&quot;http://people.redhat.com/alikins/ltsp/ldap/&quot;&gt;files&lt;/a&gt; on a
26173 personal home page over at redhat.com.&lt;/p&gt;
26174 </description>
26175 </item>
26176
26177 <item>
26178 <title>jXplorer, a very nice LDAP GUI</title>
26179 <link>http://people.skolelinux.org/pere/blog/jXplorer__a_very_nice_LDAP_GUI.html</link>
26180 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/jXplorer__a_very_nice_LDAP_GUI.html</guid>
26181 <pubDate>Fri, 9 Jul 2010 12:55:00 +0200</pubDate>
26182 <description>&lt;p&gt;Since
26183 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/LUMA__a_very_nice_LDAP_GUI.html&quot;&gt;my
26184 last post&lt;/a&gt; about available LDAP tools in Debian, I was told about a
26185 LDAP GUI that is even better than luma. The java application
26186 &lt;a href=&quot;http://jxplorer.org/&quot;&gt;jXplorer&lt;/a&gt; is claimed to be capable of
26187 moving LDAP objects and subtrees using drag-and-drop, and can
26188 authenticate using Kerberos. I have only tested the Kerberos
26189 authentication, but do not have a LDAP setup allowing me to rewrite
26190 LDAP with my test user yet. It is
26191 &lt;a href=&quot;http://packages.qa.debian.org/j/jxplorer.html&quot;&gt;available in
26192 Debian&lt;/a&gt; testing and unstable at the moment. The only problem I
26193 have with it is how it handle errors. If something go wrong, its
26194 non-intuitive behaviour require me to go through some query work list
26195 and remove the failing query. Nothing big, but very annoying.&lt;/p&gt;
26196 </description>
26197 </item>
26198
26199 <item>
26200 <title>Lenny-&gt;Squeeze upgrades, apt vs aptitude with the Gnome desktop</title>
26201 <link>http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades__apt_vs_aptitude_with_the_Gnome_desktop.html</link>
26202 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades__apt_vs_aptitude_with_the_Gnome_desktop.html</guid>
26203 <pubDate>Sat, 3 Jul 2010 23:55:00 +0200</pubDate>
26204 <description>&lt;p&gt;Here is a short update on my &lt;a
26205 href=&quot;http://people.skolelinux.org/~pere/debian-upgrade-testing/&quot;&gt;my
26206 Debian Lenny-&gt;Squeeze upgrade testing&lt;/a&gt;. Here is a summary of the
26207 difference for Gnome when it is upgraded by apt-get and aptitude. I&#39;m
26208 not reporting the status for KDE, because the upgrade crashes when
26209 aptitude try because of missing conflicts
26210 (&lt;a href=&quot;http://bugs.debian.org/584861&quot;&gt;#584861&lt;/a&gt; and
26211 &lt;a href=&quot;http://bugs.debian.org/585716&quot;&gt;#585716&lt;/a&gt;).&lt;/p&gt;
26212
26213 &lt;p&gt;At the end of the upgrade test script, dpkg -l is executed to get a
26214 complete list of the installed packages. Based on this I see these
26215 differences when I did a test run today. As usual, I do not really
26216 know what the correct set of packages would be, but thought it best to
26217 publish the difference.&lt;/p&gt;
26218
26219 &lt;p&gt;Installed using apt-get, missing with aptitude&lt;/p&gt;
26220
26221 &lt;blockquote&gt;&lt;p&gt;
26222 at-spi cpp-4.3 finger gnome-spell gstreamer0.10-gnomevfs
26223 libatspi1.0-0 libcupsys2 libeel2-data libgail-common libgdl-1-common
26224 libgnomeprint2.2-data libgnomeprintui2.2-common libgnomevfs2-bin
26225 libgtksourceview-common libpt-1.10.10-plugins-alsa
26226 libpt-1.10.10-plugins-v4l libservlet2.4-java libxalan2-java
26227 libxerces2-java openoffice.org-writer2latex openssl-blacklist p7zip
26228 python-4suite-xml python-eggtrayicon python-gtkhtml2
26229 python-gtkmozembed svgalibg1 xserver-xephyr zip
26230 &lt;/p&gt;&lt;/blockquote&gt;
26231
26232 &lt;p&gt;Installed using apt-get, removed with aptitude&lt;/p&gt;
26233
26234 &lt;blockquote&gt;&lt;p&gt;
26235 bluez-utils dhcdbd djvulibre-desktop epiphany-gecko
26236 gnome-app-install gnome-mount gnome-vfs-obexftp gnome-volume-manager
26237 libao2 libavahi-compat-libdnssd1 libavahi-core5 libbind9-50
26238 libbluetooth2 libcamel1.2-11 libcdio7 libcucul0 libcurl3
26239 libdirectfb-1.0-0 libdvdread3 libedata-cal1.2-6 libedataserver1.2-9
26240 libeel2-2.20 libepc-1.0-1 libepc-ui-1.0-1 libexchange-storage1.2-3
26241 libfaad0 libgd2-noxpm libgda3-3 libgda3-common libggz2 libggzcore9
26242 libggzmod4 libgksu1.2-0 libgksuui1.0-1 libgmyth0 libgnome-desktop-2
26243 libgnome-pilot2 libgnomecups1.0-1 libgnomeprint2.2-0
26244 libgnomeprintui2.2-0 libgpod3 libgraphviz4 libgtkhtml2-0
26245 libgtksourceview1.0-0 libgucharmap6 libhesiod0 libicu38 libisccc50
26246 libisccfg50 libiw29 libkpathsea4 libltdl3 liblwres50 libmagick++10
26247 libmagick10 libmalaga7 libmtp7 libmysqlclient15off libnautilus-burn4
26248 libneon27 libnm-glib0 libnm-util0 libopal-2.2 libosp5
26249 libparted1.8-10 libpisock9 libpisync1 libpoppler-glib3 libpoppler3
26250 libpt-1.10.10 libraw1394-8 libsensors3 libsmbios2 libsoup2.2-8
26251 libssh2-1 libsuitesparse-3.1.0 libswfdec-0.6-90 libtalloc1
26252 libtotem-plparser10 libtrackerclient0 libvoikko1 libxalan2-java-gcj
26253 libxerces2-java-gcj libxklavier12 libxtrap6 libxxf86misc1 libzephyr3
26254 mysql-common swfdec-gnome totem-gstreamer wodim
26255 &lt;/p&gt;&lt;/blockquote&gt;
26256
26257 &lt;p&gt;Installed using aptitude, missing with apt-get&lt;/p&gt;
26258
26259 &lt;blockquote&gt;&lt;p&gt;
26260 gnome gnome-desktop-environment hamster-applet python-gnomeapplet
26261 python-gnomekeyring python-wnck rhythmbox-plugins xorg
26262 xserver-xorg-input-all xserver-xorg-input-evdev
26263 xserver-xorg-input-kbd xserver-xorg-input-mouse
26264 xserver-xorg-input-synaptics xserver-xorg-video-all
26265 xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati
26266 xserver-xorg-video-chips xserver-xorg-video-cirrus
26267 xserver-xorg-video-dummy xserver-xorg-video-fbdev
26268 xserver-xorg-video-glint xserver-xorg-video-i128
26269 xserver-xorg-video-i740 xserver-xorg-video-mach64
26270 xserver-xorg-video-mga xserver-xorg-video-neomagic
26271 xserver-xorg-video-nouveau xserver-xorg-video-nv
26272 xserver-xorg-video-r128 xserver-xorg-video-radeon
26273 xserver-xorg-video-radeonhd xserver-xorg-video-rendition
26274 xserver-xorg-video-s3 xserver-xorg-video-s3virge
26275 xserver-xorg-video-savage xserver-xorg-video-siliconmotion
26276 xserver-xorg-video-sis xserver-xorg-video-sisusb
26277 xserver-xorg-video-tdfx xserver-xorg-video-tga
26278 xserver-xorg-video-trident xserver-xorg-video-tseng
26279 xserver-xorg-video-vesa xserver-xorg-video-vmware
26280 xserver-xorg-video-voodoo
26281 &lt;/p&gt;&lt;/blockquote&gt;
26282
26283 &lt;p&gt;Installed using aptitude, removed with apt-get&lt;/p&gt;
26284
26285 &lt;blockquote&gt;&lt;p&gt;
26286 deskbar-applet xserver-xorg xserver-xorg-core
26287 xserver-xorg-input-wacom xserver-xorg-video-intel
26288 xserver-xorg-video-openchrome
26289 &lt;/p&gt;&lt;/blockquote&gt;
26290
26291 &lt;p&gt;I was told on IRC that the xorg-xserver package was
26292 &lt;a href=&quot;http://git.debian.org/?p=pkg-xorg/xserver/xorg-server.git;a=commit;h=9c8080d06c457932d3bfec021c69ac000aa60120&quot;&gt;changed
26293 in git&lt;/a&gt; today to try to get apt-get to not remove xorg completely.
26294 No idea when it hits Squeeze, but when it does I hope it will reduce
26295 the difference somewhat.
26296 </description>
26297 </item>
26298
26299 <item>
26300 <title>Caching password, user and group on a roaming Debian laptop</title>
26301 <link>http://people.skolelinux.org/pere/blog/Caching_password__user_and_group_on_a_roaming_Debian_laptop.html</link>
26302 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Caching_password__user_and_group_on_a_roaming_Debian_laptop.html</guid>
26303 <pubDate>Thu, 1 Jul 2010 11:40:00 +0200</pubDate>
26304 <description>&lt;p&gt;For a laptop, centralized user directories and password checking is
26305 a bit troubling. Laptops are typically used also when not connected
26306 to the network, and it is vital for a user to be able to log in or
26307 unlock the screen saver also when a central server is unavailable.
26308 This is possible by caching passwords and directory information (user
26309 and group attributes) locally, and the packages to do so are available
26310 in Debian. Here follow two recipes to set this up in Debian/Squeeze.
26311 It is also possible to set up in Debian/Lenny, but require more manual
26312 setup there because pam-auth-update is missing in Lenny.&lt;/p&gt;
26313
26314 &lt;h2&gt;LDAP/Kerberos + nscd + libpam-ccreds + libpam-mklocaluser/pam_mkhomedir&lt;/h2&gt;
26315
26316 This is the traditional method with a twist. The password caching is
26317 provided by libpam-ccreds (version 10-4 or later is needed on
26318 Squeeze), and the directory caching is done by nscd. The directory
26319 lookup and password checking is done using LDAP. If one want to use
26320 Kerberos for password checking the libpam-ldapd package can be
26321 replaced with libpam-krb5 or libpam-heimdal. If one is happy having a
26322 local home directory with the path listed in LDAP, one can use the
26323 pam_mkhomedir module from pam-modules to make this happen instead of
26324 using libpam-mklocaluser. A setup for pam-auth-update to enable
26325 pam_mkhomedir will have to be written until a fix for
26326 &lt;a href=&quot;http://bugs.debian.org/568577&quot;&gt;bug #568577&lt;/a&gt; is in the
26327 archive. Because I believe it is a bad idea to have local home
26328 directories using misleading paths like /site/server/partition/, I
26329 prefer to create a local user with the home directory in /home/. This
26330 is done using the libpam-mklocaluser package.&lt;/p&gt;
26331
26332 &lt;p&gt;These packages need to be installed and configured&lt;/p&gt;
26333
26334 &lt;blockquote&gt;&lt;pre&gt;
26335 libnss-ldapd libpam-ldapd nscd libpam-ccreds libpam-mklocaluser
26336 &lt;/pre&gt;&lt;/blockquote&gt;
26337
26338 &lt;p&gt;The ldapd packages will ask for LDAP connection information, and
26339 one have to fill in the values that fits ones own site. Make sure the
26340 PAM part uses encrypted connections, to make sure the password is not
26341 sent in clear text to the LDAP server. I&#39;ve been unable to get TLS
26342 certificate checking for a self signed certificate working, which make
26343 LDAP authentication unsafe for Debian Edu (nslcd is not checking if it
26344 is talking to the correct LDAP server), and very much welcome feedback
26345 on how to get this working.&lt;/p&gt;
26346
26347 &lt;p&gt;Because nscd do not have a default configuration fit for offline
26348 caching until &lt;a href=&quot;http://bugs.debian.org/485282&quot;&gt;bug #485282&lt;/a&gt;
26349 is fixed, this configuration should be used instead of the one
26350 currently in /etc/nscd.conf. The changes are in the fields
26351 reload-count and positive-time-to-live, and is based on the
26352 instructions I found in the
26353 &lt;a href=&quot;http://www.flyn.org/laptopldap/&quot;&gt;LDAP for Mobile Laptops&lt;/a&gt;
26354 instructions by Flyn Computing.&lt;/p&gt;
26355
26356 &lt;blockquote&gt;&lt;pre&gt;
26357 debug-level 0
26358 reload-count unlimited
26359 paranoia no
26360
26361 enable-cache passwd yes
26362 positive-time-to-live passwd 2592000
26363 negative-time-to-live passwd 20
26364 suggested-size passwd 211
26365 check-files passwd yes
26366 persistent passwd yes
26367 shared passwd yes
26368 max-db-size passwd 33554432
26369 auto-propagate passwd yes
26370
26371 enable-cache group yes
26372 positive-time-to-live group 2592000
26373 negative-time-to-live group 20
26374 suggested-size group 211
26375 check-files group yes
26376 persistent group yes
26377 shared group yes
26378 max-db-size group 33554432
26379 auto-propagate group yes
26380
26381 enable-cache hosts no
26382 positive-time-to-live hosts 2592000
26383 negative-time-to-live hosts 20
26384 suggested-size hosts 211
26385 check-files hosts yes
26386 persistent hosts yes
26387 shared hosts yes
26388 max-db-size hosts 33554432
26389
26390 enable-cache services yes
26391 positive-time-to-live services 2592000
26392 negative-time-to-live services 20
26393 suggested-size services 211
26394 check-files services yes
26395 persistent services yes
26396 shared services yes
26397 max-db-size services 33554432
26398 &lt;/pre&gt;&lt;/blockquote&gt;
26399
26400 &lt;p&gt;While we wait for a mechanism to update /etc/nsswitch.conf
26401 automatically like the one provided in
26402 &lt;a href=&quot;http://bugs.debian.org/496915&quot;&gt;bug #496915&lt;/a&gt;, the file
26403 content need to be manually replaced to ensure LDAP is used as the
26404 directory service on the machine. /etc/nsswitch.conf should normally
26405 look like this:&lt;/p&gt;
26406
26407 &lt;blockquote&gt;&lt;pre&gt;
26408 passwd: files ldap
26409 group: files ldap
26410 shadow: files ldap
26411 hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
26412 networks: files
26413 protocols: files
26414 services: files
26415 ethers: files
26416 rpc: files
26417 netgroup: files ldap
26418 &lt;/pre&gt;&lt;/blockquote&gt;
26419
26420 &lt;p&gt;The important parts are that ldap is listed last for passwd, group,
26421 shadow and netgroup.&lt;/p&gt;
26422
26423 &lt;p&gt;With these changes in place, any user in LDAP will be able to log
26424 in locally on the machine using for example kdm, get a local home
26425 directory created and have the password as well as user and group
26426 attributes cached.
26427
26428 &lt;h2&gt;LDAP/Kerberos + nss-updatedb + libpam-ccreds +
26429 libpam-mklocaluser/pam_mkhomedir&lt;/h2&gt;
26430
26431 &lt;p&gt;Because nscd have had its share of problems, and seem to have
26432 problems doing proper caching, I&#39;ve seen suggestions and recipes to
26433 use nss-updatedb to copy parts of the LDAP database locally when the
26434 LDAP database is available. I have not tested such setup, because I
26435 discovered sssd.&lt;/p&gt;
26436
26437 &lt;h2&gt;LDAP/Kerberos + sssd + libpam-mklocaluser&lt;/h2&gt;
26438
26439 &lt;p&gt;A more flexible and robust setup than the nscd combination
26440 mentioned earlier that has shown up recently, is the
26441 &lt;a href=&quot;https://fedorahosted.org/sssd/&quot;&gt;sssd&lt;/a&gt; package from Redhat.
26442 It is part of the &lt;a href=&quot;http://www.freeipa.org/&quot;&gt;FreeIPA&lt;/A&gt; project
26443 to provide a Active Directory like directory service for Linux
26444 machines. The sssd system combines the caching of passwords and user
26445 information into one package, and remove the need for nscd and
26446 libpam-ccreds. It support LDAP and Kerberos, but not NIS. Version
26447 1.2 do not support netgroups, but it is said that it will support this
26448 in version 1.5 expected to show up later in 2010. Because the
26449 &lt;a href=&quot;http://packages.qa.debian.org/s/sssd.html&quot;&gt;sssd package&lt;/a&gt;
26450 was missing in Debian, I ended up co-maintaining it with Werner, and
26451 version 1.2 is now in testing.
26452
26453 &lt;p&gt;These packages need to be installed and configured to get the
26454 roaming setup I want&lt;/p&gt;
26455
26456 &lt;blockquote&gt;&lt;pre&gt;
26457 libpam-sss libnss-sss libpam-mklocaluser
26458 &lt;/pre&gt;&lt;/blockquote&gt;
26459
26460 The complete setup of sssd is done by editing/creating
26461 &lt;tt&gt;/etc/sssd/sssd.conf&lt;/tt&gt;.
26462
26463 &lt;blockquote&gt;&lt;pre&gt;
26464 [sssd]
26465 config_file_version = 2
26466 reconnection_retries = 3
26467 sbus_timeout = 30
26468 services = nss, pam
26469 domains = INTERN
26470
26471 [nss]
26472 filter_groups = root
26473 filter_users = root
26474 reconnection_retries = 3
26475
26476 [pam]
26477 reconnection_retries = 3
26478
26479 [domain/INTERN]
26480 enumerate = false
26481 cache_credentials = true
26482
26483 id_provider = ldap
26484 auth_provider = ldap
26485 chpass_provider = ldap
26486
26487 ldap_uri = ldap://ldap
26488 ldap_search_base = dc=skole,dc=skolelinux,dc=no
26489 ldap_tls_reqcert = never
26490 ldap_tls_cacert = /etc/ssl/certs/ca-certificates.crt
26491 &lt;/pre&gt;&lt;/blockquote&gt;
26492
26493 &lt;p&gt;I got the same problem here with certificate checking. Had to set
26494 &quot;ldap_tls_reqcert = never&quot; to get it working.&lt;/p&gt;
26495
26496 &lt;p&gt;With the libnss-sss package in testing at the moment, the
26497 nsswitch.conf file is update automatically, so there is no need to
26498 modify it manually.&lt;/p&gt;
26499
26500 &lt;p&gt;If you want to help out with implementing this for Debian Edu,
26501 please contact us on debian-edu@lists.debian.org.&lt;/p&gt;
26502 </description>
26503 </item>
26504
26505 <item>
26506 <title>LUMA, a very nice LDAP GUI</title>
26507 <link>http://people.skolelinux.org/pere/blog/LUMA__a_very_nice_LDAP_GUI.html</link>
26508 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/LUMA__a_very_nice_LDAP_GUI.html</guid>
26509 <pubDate>Mon, 28 Jun 2010 00:30:00 +0200</pubDate>
26510 <description>&lt;p&gt;The last few days I have been looking into the status of the LDAP
26511 directory in Debian Edu, and in the process I started to miss a GUI
26512 tool to browse the LDAP tree. The only one I was able to find in
26513 Debian/Squeeze and Lenny is
26514 &lt;a href=&quot;http://luma.sourceforge.net/&quot;&gt;LUMA&lt;/a&gt;, which has proved to
26515 be a great tool to get a overview of the current LDAP directory
26516 populated by default in Skolelinux. Thanks to it, I have been able to
26517 find empty and obsolete subtrees, misplaced objects and duplicate
26518 objects. It will be installed by default in Debian/Squeeze. If you
26519 are working with LDAP, give it a go. :)&lt;/p&gt;
26520
26521 &lt;p&gt;I did notice one problem with it I have not had time to report to
26522 the BTS yet. There is no .desktop file in the package, so the tool do
26523 not show up in the Gnome and KDE menus, but only deep down in in the
26524 Debian submenu in KDE. I hope that can be fixed before Squeeze is
26525 released.&lt;/p&gt;
26526
26527 &lt;p&gt;I have not yet been able to get it to modify the tree yet. I would
26528 like to move objects and remove subtrees directly in the GUI, but have
26529 not found a way to do that with LUMA yet. So in the mean time, I use
26530 &lt;a href=&quot;http://www.lichteblau.com/ldapvi/&quot;&gt;ldapvi&lt;/a&gt; for that.&lt;/p&gt;
26531
26532 &lt;p&gt;If you have tips on other GUI tools for LDAP that might be useful
26533 in Debian Edu, please contact us on debian-edu@lists.debian.org.&lt;/p&gt;
26534
26535 &lt;p&gt;Update 2010-06-29: Ross Reedstrom tipped us about the
26536 &lt;a href=&quot;http://packages.qa.debian.org/g/gq.html&quot;&gt;gq&lt;/a&gt; package as a
26537 useful GUI alternative. It seem like a good tool, but is unmaintained
26538 in Debian and got a RC bug keeping it out of Squeeze. Unless that
26539 changes, it will not be an option for Debian Edu based on Squeeze.&lt;/p&gt;
26540 </description>
26541 </item>
26542
26543 <item>
26544 <title>Idea for a change to LDAP schemas allowing DNS and DHCP info to be combined into one object</title>
26545 <link>http://people.skolelinux.org/pere/blog/Idea_for_a_change_to_LDAP_schemas_allowing_DNS_and_DHCP_info_to_be_combined_into_one_object.html</link>
26546 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Idea_for_a_change_to_LDAP_schemas_allowing_DNS_and_DHCP_info_to_be_combined_into_one_object.html</guid>
26547 <pubDate>Thu, 24 Jun 2010 00:35:00 +0200</pubDate>
26548 <description>&lt;p&gt;A while back, I
26549 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Time_for_new__LDAP_schemas_replacing_RFC_2307_.html&quot;&gt;complained
26550 about the fact&lt;/a&gt; that it is not possible with the provided schemas
26551 for storing DNS and DHCP information in LDAP to combine the two sets
26552 of information into one LDAP object representing a computer.&lt;/p&gt;
26553
26554 &lt;p&gt;In the mean time, I discovered that a simple fix would be to make
26555 the dhcpHost object class auxiliary, to allow it to be combined with
26556 the dNSDomain object class, and thus forming one object for one
26557 computer when storing both DHCP and DNS information in LDAP.&lt;/p&gt;
26558
26559 &lt;p&gt;If I understand this correctly, it is not safe to do this change
26560 without also changing the assigned number for the object class, and I
26561 do not know enough about LDAP schema design to do that properly for
26562 Debian Edu.&lt;/p&gt;
26563
26564 &lt;p&gt;Anyway, for future reference, this is how I believe we could change
26565 the
26566 &lt;a href=&quot;http://tools.ietf.org/html/draft-ietf-dhc-ldap-schema-00&quot;&gt;DHCP
26567 schema&lt;/a&gt; to solve at least part of the problem with the LDAP schemas
26568 available today from IETF.&lt;/p&gt;
26569
26570 &lt;pre&gt;
26571 --- dhcp.schema (revision 65192)
26572 +++ dhcp.schema (working copy)
26573 @@ -376,7 +376,7 @@
26574 objectclass ( 2.16.840.1.113719.1.203.6.6
26575 NAME &#39;dhcpHost&#39;
26576 DESC &#39;This represents information about a particular client&#39;
26577 - SUP top
26578 + SUP top AUXILIARY
26579 MUST cn
26580 MAY (dhcpLeaseDN $ dhcpHWAddress $ dhcpOptionsDN $ dhcpStatements $ dhcpComments $ dhcpOption)
26581 X-NDS_CONTAINMENT (&#39;dhcpService&#39; &#39;dhcpSubnet&#39; &#39;dhcpGroup&#39;) )
26582 &lt;/pre&gt;
26583
26584 &lt;p&gt;I very much welcome clues on how to do this properly for Debian
26585 Edu/Squeeze. We provide the DHCP schema in our debian-edu-config
26586 package, and should thus be free to rewrite it as we see fit.&lt;/p&gt;
26587
26588 &lt;p&gt;If you want to help out with implementing this for Debian Edu,
26589 please contact us on debian-edu@lists.debian.org.&lt;/p&gt;
26590 </description>
26591 </item>
26592
26593 <item>
26594 <title>Calling tasksel like the installer, while still getting useful output</title>
26595 <link>http://people.skolelinux.org/pere/blog/Calling_tasksel_like_the_installer__while_still_getting_useful_output.html</link>
26596 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Calling_tasksel_like_the_installer__while_still_getting_useful_output.html</guid>
26597 <pubDate>Wed, 16 Jun 2010 14:55:00 +0200</pubDate>
26598 <description>&lt;p&gt;A few times I have had the need to simulate the way tasksel
26599 installs packages during the normal debian-installer run. Until now,
26600 I have ended up letting tasksel do the work, with the annoying problem
26601 of not getting any feedback at all when something fails (like a
26602 conffile question from dpkg or a download that fails), using code like
26603 this:
26604
26605 &lt;blockquote&gt;&lt;pre&gt;
26606 export DEBIAN_FRONTEND=noninteractive
26607 tasksel --new-install
26608 &lt;/pre&gt;&lt;/blockquote&gt;
26609
26610 This would invoke tasksel, let its automatic task selection pick the
26611 tasks to install, and continue to install the requested tasks without
26612 any output what so ever.
26613
26614 Recently I revisited this problem while working on the automatic
26615 package upgrade testing, because tasksel would some times hang without
26616 any useful feedback, and I want to see what is going on when it
26617 happen. Then it occured to me, I can parse the output from tasksel
26618 when asked to run in test mode, and use that aptitude command line
26619 printed by tasksel then to simulate the tasksel run. I ended up using
26620 code like this:
26621
26622 &lt;blockquote&gt;&lt;pre&gt;
26623 export DEBIAN_FRONTEND=noninteractive
26624 cmd=&quot;$(in_target tasksel -t --new-install | sed &#39;s/debconf-apt-progress -- //&#39;)&quot;
26625 $cmd
26626 &lt;/pre&gt;&lt;/blockquote&gt;
26627
26628 &lt;p&gt;The content of $cmd is typically something like &quot;&lt;tt&gt;aptitude -q
26629 --without-recommends -o APT::Install-Recommends=no -y install
26630 ~t^desktop$ ~t^gnome-desktop$ ~t^laptop$ ~pstandard ~prequired
26631 ~pimportant&lt;/tt&gt;&quot;, which will install the gnome desktop task, the
26632 laptop task and all packages with priority standard , required and
26633 important, just like tasksel would have done it during
26634 installation.&lt;/p&gt;
26635
26636 &lt;p&gt;A better approach is probably to extend tasksel to be able to
26637 install packages without using debconf-apt-progress, for use cases
26638 like this.&lt;/p&gt;
26639 </description>
26640 </item>
26641
26642 <item>
26643 <title>Officeshots taking shape</title>
26644 <link>http://people.skolelinux.org/pere/blog/Officeshots_taking_shape.html</link>
26645 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Officeshots_taking_shape.html</guid>
26646 <pubDate>Sun, 13 Jun 2010 11:40:00 +0200</pubDate>
26647 <description>&lt;p&gt;For those of us caring about document exchange and
26648 interoperability, &lt;a href=&quot;http://www.officeshots.org/&quot;&gt;OfficeShots&lt;/a&gt;
26649 is a great service. It is to ODF documents what
26650 &lt;a href=&quot;http://browsershots.org/&quot;&gt;BrowserShots&lt;/a&gt; is for web
26651 pages.&lt;/p&gt;
26652
26653 &lt;p&gt;A while back, I was contacted by Knut Yrvin at the part of Nokia
26654 that used to be Trolltech, who wanted to help the OfficeShots project
26655 and wondered if the University of Oslo where I work would be
26656 interested in supporting the project. I helped him to navigate his
26657 request to the right people at work, and his request was answered with
26658 a spot in the machine room with power and network connected, and Knut
26659 arranged funding for a machine to fill the spot. The machine is
26660 administrated by the OfficeShots people, so I do not have daily
26661 contact with its progress, and thus from time to time check back to
26662 see how the project is doing.&lt;/p&gt;
26663
26664 &lt;p&gt;Today I had a look, and was happy to see that the Dell box in our
26665 machine room now is the host for several virtual machines running as
26666 OfficeShots factories, and the project is able to render ODF documents
26667 in 17 different document processing implementation on Linux and
26668 Windows. This is great.&lt;/p&gt;
26669 </description>
26670 </item>
26671
26672 <item>
26673 <title>Lenny-&gt;Squeeze upgrades, removals by apt and aptitude</title>
26674 <link>http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades__removals_by_apt_and_aptitude.html</link>
26675 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades__removals_by_apt_and_aptitude.html</guid>
26676 <pubDate>Sun, 13 Jun 2010 09:05:00 +0200</pubDate>
26677 <description>&lt;p&gt;My
26678 &lt;a href=&quot;http://people.skolelinux.org/pere/blog/Automatic_upgrade_testing_from_Lenny_to_Squeeze.html&quot;&gt;testing
26679 of Debian upgrades&lt;/a&gt; from Lenny to Squeeze continues, and I&#39;ve
26680 finally made the upgrade logs available from
26681 &lt;a href=&quot;http://people.skolelinux.org/pere/debian-upgrade-testing/&quot;&gt;http://people.skolelinux.org/pere/debian-upgrade-testing/&lt;/a&gt;.
26682 I am now testing dist-upgrade of Gnome and KDE in a chroot using both
26683 apt and aptitude, and found their differences interesting. This time
26684 I will only focus on their removal plans.&lt;/p&gt;
26685
26686 &lt;p&gt;After installing a Gnome desktop and the laptop task, apt-get wants
26687 to remove 72 packages when dist-upgrading from Lenny to Squeeze. The
26688 surprising part is that it want to remove xorg and all
26689 xserver-xorg-video* drivers. Clearly not a good choice, but I am not
26690 sure why. When asking aptitude to do the same, it want to remove 129
26691 packages, but most of them are library packages I suspect are no
26692 longer needed. Both of them want to remove bluetooth packages, which
26693 I do not know. Perhaps these bluetooth packages are obsolete?&lt;/p&gt;
26694
26695 &lt;p&gt;For KDE, apt-get want to remove 82 packages, among them kdebase
26696 which seem like a bad idea and xorg the same way as with Gnome. Asking
26697 aptitude for the same, it wants to remove 192 packages, none which are
26698 too surprising.&lt;/p&gt;
26699
26700 &lt;p&gt;I guess the removal of xorg during upgrades should be investigated
26701 and avoided, and perhaps others as well. Here are the complete list
26702 of planned removals. The complete logs is available from the URL
26703 above. Note if you want to repeat these tests, that the upgrade test
26704 for kde+apt-get hung in the tasksel setup because of dpkg asking
26705 conffile questions. No idea why. I worked around it by using
26706 &#39;&lt;tt&gt;echo &gt;&gt; /proc/&lt;em&gt;pidofdpkg&lt;/em&gt;/fd/0&lt;/tt&gt;&#39; to tell dpkg to
26707 continue.&lt;/p&gt;
26708
26709 &lt;p&gt;&lt;b&gt;apt-get gnome 72&lt;/b&gt;
26710 &lt;br&gt;bluez-gnome cupsddk-drivers deskbar-applet gnome
26711 gnome-desktop-environment gnome-network-admin gtkhtml3.14
26712 iceweasel-gnome-support libavcodec51 libdatrie0 libgdl-1-0
26713 libgnomekbd2 libgnomekbdui2 libmetacity0 libslab0 libxcb-xlib0
26714 nautilus-cd-burner python-gnome2-desktop python-gnome2-extras
26715 serpentine swfdec-mozilla update-manager xorg xserver-xorg
26716 xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev
26717 xserver-xorg-input-kbd xserver-xorg-input-mouse
26718 xserver-xorg-input-synaptics xserver-xorg-input-wacom
26719 xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark
26720 xserver-xorg-video-ati xserver-xorg-video-chips
26721 xserver-xorg-video-cirrus xserver-xorg-video-cyrix
26722 xserver-xorg-video-dummy xserver-xorg-video-fbdev
26723 xserver-xorg-video-glint xserver-xorg-video-i128
26724 xserver-xorg-video-i740 xserver-xorg-video-imstt
26725 xserver-xorg-video-intel xserver-xorg-video-mach64
26726 xserver-xorg-video-mga xserver-xorg-video-neomagic
26727 xserver-xorg-video-nsc xserver-xorg-video-nv
26728 xserver-xorg-video-openchrome xserver-xorg-video-r128
26729 xserver-xorg-video-radeon xserver-xorg-video-radeonhd
26730 xserver-xorg-video-rendition xserver-xorg-video-s3
26731 xserver-xorg-video-s3virge xserver-xorg-video-savage
26732 xserver-xorg-video-siliconmotion xserver-xorg-video-sis
26733 xserver-xorg-video-sisusb xserver-xorg-video-tdfx
26734 xserver-xorg-video-tga xserver-xorg-video-trident
26735 xserver-xorg-video-tseng xserver-xorg-video-v4l
26736 xserver-xorg-video-vesa xserver-xorg-video-vga
26737 xserver-xorg-video-vmware xserver-xorg-video-voodoo xulrunner-1.9
26738 xulrunner-1.9-gnome-support&lt;/p&gt;
26739
26740 &lt;p&gt;&lt;b&gt;aptitude gnome 129&lt;/b&gt;
26741
26742 &lt;br&gt;bluez-gnome bluez-utils cpp-4.3 cupsddk-drivers dhcdbd
26743 djvulibre-desktop finger gnome-app-install gnome-mount
26744 gnome-network-admin gnome-spell gnome-vfs-obexftp
26745 gnome-volume-manager gstreamer0.10-gnomevfs gtkhtml3.14 libao2
26746 libavahi-compat-libdnssd1 libavahi-core5 libavcodec51 libbluetooth2
26747 libcamel1.2-11 libcdio7 libcucul0 libcupsys2 libcurl3 libdatrie0
26748 libdirectfb-1.0-0 libdvdread3 libedataserver1.2-9 libeel2-2.20
26749 libeel2-data libepc-1.0-1 libepc-ui-1.0-1 libfaad0 libgail-common
26750 libgd2-noxpm libgda3-3 libgda3-common libgdl-1-0 libgdl-1-common
26751 libggz2 libggzcore9 libggzmod4 libgksu1.2-0 libgksuui1.0-1 libgmyth0
26752 libgnomecups1.0-1 libgnomekbd2 libgnomekbdui2 libgnomeprint2.2-0
26753 libgnomeprint2.2-data libgnomeprintui2.2-0 libgnomeprintui2.2-common
26754 libgnomevfs2-bin libgpod3 libgraphviz4 libgtkhtml2-0
26755 libgtksourceview-common libgtksourceview1.0-0 libgucharmap6
26756 libhesiod0 libicu38 libiw29 libkpathsea4 libltdl3 libmagick++10
26757 libmagick10 libmalaga7 libmetacity0 libmtp7 libmysqlclient15off
26758 libnautilus-burn4 libneon27 libnm-glib0 libnm-util0 libopal-2.2
26759 libosp5 libparted1.8-10 libpoppler-glib3 libpoppler3 libpt-1.10.10
26760 libpt-1.10.10-plugins-alsa libpt-1.10.10-plugins-v4l libraw1394-8
26761 libsensors3 libslab0 libsmbios2 libsoup2.2-8 libssh2-1
26762 libsuitesparse-3.1.0 libswfdec-0.6-90 libtalloc1 libtotem-plparser10
26763 libtrackerclient0 libxalan2-java libxalan2-java-gcj libxcb-xlib0
26764 libxerces2-java libxerces2-java-gcj libxklavier12 libxtrap6
26765 libxxf86misc1 libzephyr3 mysql-common nautilus-cd-burner
26766 openoffice.org-writer2latex openssl-blacklist p7zip
26767 python-4suite-xml python-eggtrayicon python-gnome2-desktop
26768 python-gnome2-extras python-gtkhtml2 python-gtkmozembed
26769 python-numeric python-sexy serpentine svgalibg1 swfdec-gnome
26770 swfdec-mozilla totem-gstreamer update-manager wodim
26771 xserver-xorg-video-cyrix xserver-xorg-video-imstt
26772 xserver-xorg-video-nsc xserver-xorg-video-v4l xserver-xorg-video-vga
26773 zip&lt;/p&gt;
26774
26775 &lt;p&gt;&lt;b&gt;apt-get kde 82&lt;/b&gt;
26776
26777 &lt;br&gt;cupsddk-drivers karm kaudiocreator kcoloredit kcontrol kde kde-core
26778 kdeaddons kdeartwork kdebase kdebase-bin kdebase-bin-kde3
26779 kdebase-kio-plugins kdesktop kdeutils khelpcenter kicker
26780 kicker-applets knewsticker kolourpaint konq-plugins konqueror korn
26781 kpersonalizer kscreensaver ksplash libavcodec51 libdatrie0 libkiten1
26782 libxcb-xlib0 quanta superkaramba texlive-base-bin xorg xserver-xorg
26783 xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev
26784 xserver-xorg-input-kbd xserver-xorg-input-mouse
26785 xserver-xorg-input-synaptics xserver-xorg-input-wacom
26786 xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark
26787 xserver-xorg-video-ati xserver-xorg-video-chips
26788 xserver-xorg-video-cirrus xserver-xorg-video-cyrix
26789 xserver-xorg-video-dummy xserver-xorg-video-fbdev
26790 xserver-xorg-video-glint xserver-xorg-video-i128
26791 xserver-xorg-video-i740 xserver-xorg-video-imstt
26792 xserver-xorg-video-intel xserver-xorg-video-mach64
26793 xserver-xorg-video-mga xserver-xorg-video-neomagic
26794 xserver-xorg-video-nsc xserver-xorg-video-nv
26795 xserver-xorg-video-openchrome xserver-xorg-video-r128
26796 xserver-xorg-video-radeon xserver-xorg-video-radeonhd
26797 xserver-xorg-video-rendition xserver-xorg-video-s3
26798 xserver-xorg-video-s3virge xserver-xorg-video-savage
26799 xserver-xorg-video-siliconmotion xserver-xorg-video-sis
26800 xserver-xorg-video-sisusb xserver-xorg-video-tdfx
26801 xserver-xorg-video-tga xserver-xorg-video-trident
26802 xserver-xorg-video-tseng xserver-xorg-video-v4l
26803 xserver-xorg-video-vesa xserver-xorg-video-vga
26804 xserver-xorg-video-vmware xserver-xorg-video-voodoo xulrunner-1.9&lt;/p&gt;
26805
26806 &lt;p&gt;&lt;b&gt;aptitude kde 192&lt;/b&gt;
26807 &lt;br&gt;bluez-utils cpp-4.3 cupsddk-drivers cvs dcoprss dhcdbd
26808 djvulibre-desktop dosfstools eyesapplet fifteenapplet finger gettext
26809 ghostscript-x imlib-base imlib11 indi kandy karm kasteroids
26810 kaudiocreator kbackgammon kbstate kcoloredit kcontrol kcron kdat
26811 kdeadmin-kfile-plugins kdeartwork-misc kdeartwork-theme-window
26812 kdebase-bin-kde3 kdebase-kio-plugins kdeedu-data
26813 kdegraphics-kfile-plugins kdelirc kdemultimedia-kappfinder-data
26814 kdemultimedia-kfile-plugins kdenetwork-kfile-plugins
26815 kdepim-kfile-plugins kdepim-kio-plugins kdeprint kdesktop kdessh
26816 kdict kdnssd kdvi kedit keduca kenolaba kfax kfaxview kfouleggs
26817 kghostview khelpcenter khexedit kiconedit kitchensync klatin
26818 klickety kmailcvt kmenuedit kmid kmilo kmoon kmrml kodo kolourpaint
26819 kooka korn kpager kpdf kpercentage kpf kpilot kpoker kpovmodeler
26820 krec kregexpeditor ksayit ksim ksirc ksirtet ksmiletris ksmserver
26821 ksnake ksokoban ksplash ksvg ksysv ktip ktnef kuickshow kverbos
26822 kview kviewshell kvoctrain kwifimanager kwin kwin4 kworldclock
26823 kxsldbg libakode2 libao2 libarts1-akode libarts1-audiofile
26824 libarts1-mpeglib libarts1-xine libavahi-compat-libdnssd1
26825 libavahi-core5 libavc1394-0 libavcodec51 libbluetooth2
26826 libboost-python1.34.1 libcucul0 libcurl3 libcvsservice0 libdatrie0
26827 libdirectfb-1.0-0 libdjvulibre21 libdvdread3 libfaad0 libfreebob0
26828 libgail-common libgd2-noxpm libgraphviz4 libgsmme1c2a libgtkhtml2-0
26829 libicu38 libiec61883-0 libindex0 libiw29 libk3b3 libkcal2b libkcddb1
26830 libkdeedu3 libkdepim1a libkgantt0 libkiten1 libkleopatra1 libkmime2
26831 libkpathsea4 libkpimexchange1 libkpimidentities1 libkscan1
26832 libksieve0 libktnef1 liblockdev1 libltdl3 libmagick10 libmimelib1c2a
26833 libmozjs1d libmpcdec3 libneon27 libnm-util0 libopensync0 libpisock9
26834 libpoppler-glib3 libpoppler-qt2 libpoppler3 libraw1394-8 libsmbios2
26835 libssh2-1 libsuitesparse-3.1.0 libtalloc1 libtiff-tools
26836 libxalan2-java libxalan2-java-gcj libxcb-xlib0 libxerces2-java
26837 libxerces2-java-gcj libxtrap6 mpeglib networkstatus
26838 openoffice.org-writer2latex pmount poster psutils quanta quanta-data
26839 superkaramba svgalibg1 tex-common texlive-base texlive-base-bin
26840 texlive-common texlive-doc-base texlive-fonts-recommended
26841 xserver-xorg-video-cyrix xserver-xorg-video-imstt
26842 xserver-xorg-video-nsc xserver-xorg-video-v4l xserver-xorg-video-vga
26843 xulrunner-1.9&lt;/p&gt;
26844
26845 </description>
26846 </item>
26847
26848 <item>
26849 <title>Automatic upgrade testing from Lenny to Squeeze</title>
26850 <link>http://people.skolelinux.org/pere/blog/Automatic_upgrade_testing_from_Lenny_to_Squeeze.html</link>
26851 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Automatic_upgrade_testing_from_Lenny_to_Squeeze.html</guid>
26852 <pubDate>Fri, 11 Jun 2010 22:50:00 +0200</pubDate>
26853 <description>&lt;p&gt;The last few days I have done some upgrade testing in Debian, to
26854 see if the upgrade from Lenny to Squeeze will go smoothly. A few bugs
26855 have been discovered and reported in the process
26856 (&lt;a href=&quot;http://bugs.debian.org/585410&quot;&gt;#585410&lt;/a&gt; in nagios3-cgi,
26857 &lt;a href=&quot;http://bugs.debian.org/584879&quot;&gt;#584879&lt;/a&gt; already fixed in
26858 enscript and &lt;a href=&quot;http://bugs.debian.org/584861&quot;&gt;#584861&lt;/a&gt; in
26859 kdebase-workspace-data), and to get a more regular testing going on, I
26860 am working on a script to automate the test.&lt;/p&gt;
26861
26862 &lt;p&gt;The idea is to create a Lenny chroot and use tasksel to install a
26863 Gnome or KDE desktop installation inside the chroot before upgrading
26864 it. To ensure no services are started in the chroot, a policy-rc.d
26865 script is inserted. To make sure tasksel believe it is to install a
26866 desktop on a laptop, the tasksel tests are replaced in the chroot
26867 (only acceptable because this is a throw-away chroot).&lt;/p&gt;
26868
26869 &lt;p&gt;A naive upgrade from Lenny to Squeeze using aptitude dist-upgrade
26870 currently always fail because udev refuses to upgrade with the kernel
26871 in Lenny, so to avoid that problem the file /etc/udev/kernel-upgrade
26872 is created. The bug report
26873 &lt;a href=&quot;http://bugs.debian.org/566000&quot;&gt;#566000&lt;/a&gt; make me suspect
26874 this problem do not trigger in a chroot, but I touch the file anyway
26875 to make sure the upgrade go well. Testing on virtual and real
26876 hardware have failed me because of udev so far, and creating this file
26877 do the trick in such settings anyway. This is a
26878 &lt;a href=&quot;http://www.linuxquestions.org/questions/debian-26/failed-dist-upgrade-due-to-udev-config_sysfs_deprecated-nonsense-804130/&quot;&gt;known
26879 issue&lt;/a&gt; and the current udev behaviour is intended by the udev
26880 maintainer because he lack the resources to rewrite udev to keep
26881 working with old kernels or something like that. I really wish the
26882 udev upstream would keep udev backwards compatible, to avoid such
26883 upgrade problem, but given that they fail to do so, I guess
26884 documenting the way out of this mess is the best option we got for
26885 Debian Squeeze.&lt;/p&gt;
26886
26887 &lt;p&gt;Anyway, back to the task at hand, testing upgrades. This test
26888 script, which I call &lt;tt&gt;upgrade-test&lt;/tt&gt; for now, is doing the
26889 trick:&lt;/p&gt;
26890
26891 &lt;blockquote&gt;&lt;pre&gt;
26892 #!/bin/sh
26893 set -ex
26894
26895 if [ &quot;$1&quot; ] ; then
26896 desktop=$1
26897 else
26898 desktop=gnome
26899 fi
26900
26901 from=lenny
26902 to=squeeze
26903
26904 exec &amp;lt; /dev/null
26905 unset LANG
26906 mirror=http://ftp.skolelinux.org/debian
26907 tmpdir=chroot-$from-upgrade-$to-$desktop
26908 fuser -mv .
26909 debootstrap $from $tmpdir $mirror
26910 chroot $tmpdir aptitude update
26911 cat &gt; $tmpdir/usr/sbin/policy-rc.d &amp;lt;&amp;lt;EOF
26912 #!/bin/sh
26913 exit 101
26914 EOF
26915 chmod a+rx $tmpdir/usr/sbin/policy-rc.d
26916 exit_cleanup() {
26917 umount $tmpdir/proc
26918 }
26919 mount -t proc proc $tmpdir/proc
26920 # Make sure proc is unmounted also on failure
26921 trap exit_cleanup EXIT INT
26922
26923 chroot $tmpdir aptitude -y install debconf-utils
26924
26925 # Make sure tasksel autoselection trigger. It need the test scripts
26926 # to return the correct answers.
26927 echo tasksel tasksel/desktop multiselect $desktop | \
26928 chroot $tmpdir debconf-set-selections
26929
26930 # Include the desktop and laptop task
26931 for test in desktop laptop ; do
26932 echo &gt; $tmpdir/usr/lib/tasksel/tests/$test &amp;lt;&amp;lt;EOF
26933 #!/bin/sh
26934 exit 2
26935 EOF
26936 chmod a+rx $tmpdir/usr/lib/tasksel/tests/$test
26937 done
26938
26939 DEBIAN_FRONTEND=noninteractive
26940 DEBIAN_PRIORITY=critical
26941 export DEBIAN_FRONTEND DEBIAN_PRIORITY
26942 chroot $tmpdir tasksel --new-install
26943
26944 echo deb $mirror $to main &gt; $tmpdir/etc/apt/sources.list
26945 chroot $tmpdir aptitude update
26946 touch $tmpdir/etc/udev/kernel-upgrade
26947 chroot $tmpdir aptitude -y dist-upgrade
26948 fuser -mv
26949 &lt;/pre&gt;&lt;/blockquote&gt;
26950
26951 &lt;p&gt;I suspect it would be useful to test upgrades with both apt-get and
26952 with aptitude, but I have not had time to look at how they behave
26953 differently so far. I hope to get a cron job running to do the test
26954 regularly and post the result on the web. The Gnome upgrade currently
26955 work, while the KDE upgrade fail because of the bug in
26956 kdebase-workspace-data&lt;/p&gt;
26957
26958 &lt;p&gt;I am not quite sure what kind of extract from the huge upgrade logs
26959 (KDE 167 KiB, Gnome 516 KiB) it make sense to include in this blog
26960 post, so I will refrain from trying. I can report that for Gnome,
26961 aptitude report 760 packages upgraded, 448 newly installed, 129 to
26962 remove and 1 not upgraded and 1024MB need to be downloaded while for
26963 KDE the same numbers are 702 packages upgraded, 507 newly installed,
26964 193 to remove and 0 not upgraded and 1117MB need to be downloaded&lt;/p&gt;
26965
26966 &lt;p&gt;I am very happy to notice that the Gnome desktop + laptop upgrade
26967 is able to migrate to dependency based boot sequencing and parallel
26968 booting without a hitch. Was unsure if there were still bugs with
26969 packages failing to clean up their obsolete init.d script during
26970 upgrades, and no such problem seem to affect the Gnome desktop+laptop
26971 packages.&lt;/p&gt;
26972 </description>
26973 </item>
26974
26975 <item>
26976 <title>Upstart or sysvinit - as init.d scripts see it</title>
26977 <link>http://people.skolelinux.org/pere/blog/Upstart_or_sysvinit___as_init_d_scripts_see_it.html</link>
26978 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Upstart_or_sysvinit___as_init_d_scripts_see_it.html</guid>
26979 <pubDate>Sun, 6 Jun 2010 23:55:00 +0200</pubDate>
26980 <description>&lt;p&gt;If Debian is to migrate to upstart on Linux, I expect some init.d
26981 scripts to migrate (some of) their operations to upstart job while
26982 keeping the init.d for hurd and kfreebsd. The packages with such
26983 needs will need a way to get their init.d scripts to behave
26984 differently when used with sysvinit and with upstart. Because of
26985 this, I had a look at the environment variables set when a init.d
26986 script is running under upstart, and when it is not.&lt;/p&gt;
26987
26988 &lt;p&gt;With upstart, I notice these environment variables are set when a
26989 script is started from rcS.d/ (ignoring some irrelevant ones like
26990 COLUMNS):&lt;/p&gt;
26991
26992 &lt;blockquote&gt;&lt;pre&gt;
26993 DEFAULT_RUNLEVEL=2
26994 previous=N
26995 PREVLEVEL=
26996 RUNLEVEL=
26997 runlevel=S
26998 UPSTART_EVENTS=startup
26999 UPSTART_INSTANCE=
27000 UPSTART_JOB=rc-sysinit
27001 &lt;/pre&gt;&lt;/blockquote&gt;
27002
27003 &lt;p&gt;With sysvinit, these environment variables are set for the same
27004 script.&lt;/p&gt;
27005
27006 &lt;blockquote&gt;&lt;pre&gt;
27007 INIT_VERSION=sysvinit-2.88
27008 previous=N
27009 PREVLEVEL=N
27010 RUNLEVEL=S
27011 runlevel=S
27012 &lt;/pre&gt;&lt;/blockquote&gt;
27013
27014 &lt;p&gt;The RUNLEVEL and PREVLEVEL environment variables passed on from
27015 sysvinit are not set by upstart. Not sure if it is intentional or not
27016 to not be compatible with sysvinit in this regard.&lt;/p&gt;
27017
27018 &lt;p&gt;For scripts needing to behave differently when upstart is used,
27019 looking for the UPSTART_JOB environment variable seem to be a good
27020 choice.&lt;/p&gt;
27021 </description>
27022 </item>
27023
27024 <item>
27025 <title>A manual for standards wars...</title>
27026 <link>http://people.skolelinux.org/pere/blog/A_manual_for_standards_wars___.html</link>
27027 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/A_manual_for_standards_wars___.html</guid>
27028 <pubDate>Sun, 6 Jun 2010 14:15:00 +0200</pubDate>
27029 <description>&lt;p&gt;Via the
27030 &lt;a href=&quot;http://feedproxy.google.com/~r/robweir/antic-atom/~3/QzU4RgoAGMg/weekly-links-10.html&quot;&gt;blog
27031 of Rob Weir&lt;/a&gt; I came across the very interesting essay named
27032 &lt;a href=&quot;http://faculty.haas.berkeley.edu/shapiro/wars.pdf&quot;&gt;The Art of
27033 Standards Wars&lt;/a&gt; (PDF 25 pages). I recommend it for everyone
27034 following the standards wars of today.&lt;/p&gt;
27035 </description>
27036 </item>
27037
27038 <item>
27039 <title>Sitesummary tip: Listing computer hardware models used at site</title>
27040 <link>http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_computer_hardware_models_used_at_site.html</link>
27041 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_computer_hardware_models_used_at_site.html</guid>
27042 <pubDate>Thu, 3 Jun 2010 12:05:00 +0200</pubDate>
27043 <description>&lt;p&gt;When using sitesummary at a site to track machines, it is possible
27044 to get a list of the machine types in use thanks to the DMI
27045 information extracted from each machine. The script to do so is
27046 included in the sitesummary package, and here is example output from
27047 the Skolelinux build servers:&lt;/p&gt;
27048
27049 &lt;blockquote&gt;&lt;pre&gt;
27050 maintainer:~# /usr/lib/sitesummary/hardware-model-summary
27051 vendor count
27052 Dell Computer Corporation 1
27053 PowerEdge 1750 1
27054 IBM 1
27055 eserver xSeries 345 -[8670M1X]- 1
27056 Intel 2
27057 [no-dmi-info] 3
27058 maintainer:~#
27059 &lt;/pre&gt;&lt;/blockquote&gt;
27060
27061 &lt;p&gt;The quality of the report depend on the quality of the DMI tables
27062 provided in each machine. Here there are Intel machines without model
27063 information listed with Intel as vendor and no model, and virtual Xen
27064 machines listed as [no-dmi-info]. One can add -l as a command line
27065 option to list the individual machines.&lt;/p&gt;
27066
27067 &lt;p&gt;A larger list is
27068 &lt;a href=&quot;http://narvikskolen.no/sitesummary/&quot;&gt;available from the the
27069 city of Narvik&lt;/a&gt;, which uses Skolelinux on all their shools and also
27070 provide the basic sitesummary report publicly. In their report there
27071 are ~1400 machines. I know they use both Ubuntu and Skolelinux on
27072 their machines, and as sitesummary is available in both distributions,
27073 it is trivial to get all of them to report to the same central
27074 collector.&lt;/p&gt;
27075 </description>
27076 </item>
27077
27078 <item>
27079 <title>KDM fail at boot with NVidia cards - and no one try to fix it?</title>
27080 <link>http://people.skolelinux.org/pere/blog/KDM_fail_at_boot_with_NVidia_cards___and_no_one_try_to_fix_it_.html</link>
27081 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/KDM_fail_at_boot_with_NVidia_cards___and_no_one_try_to_fix_it_.html</guid>
27082 <pubDate>Tue, 1 Jun 2010 17:05:00 +0200</pubDate>
27083 <description>&lt;p&gt;It is strange to watch how a bug in Debian causing KDM to fail to
27084 start at boot when an NVidia video card is used is handled. The
27085 problem seem to be that the nvidia X.org driver uses a long time to
27086 initialize, and this duration is longer than kdm is configured to
27087 wait.&lt;/p&gt;
27088
27089 &lt;p&gt;I came across two bugs related to this issue,
27090 &lt;a href=&quot;http://bugs.debian.org/583312&quot;&gt;#583312&lt;/a&gt; initially filed
27091 against initscripts and passed on to nvidia-glx when it became obvious
27092 that the nvidia drivers were involved, and
27093 &lt;a href=&quot;http://bugs.debian.org/524751&quot;&gt;#524751&lt;/a&gt; initially filed against
27094 kdm and passed on to src:nvidia-graphics-drivers for unknown reasons.&lt;/p&gt;
27095
27096 &lt;p&gt;To me, it seem that no-one is interested in actually solving the
27097 problem nvidia video card owners experience and make sure the Debian
27098 distribution work out of the box for these users. The nvidia driver
27099 maintainers expect kdm to be set up to wait longer, while kdm expect
27100 the nvidia driver maintainers to fix the driver to start faster, and
27101 while they wait for each other I guess the users end up switching to a
27102 distribution that work for them. I have no idea what the solution is,
27103 but I am pretty sure that waiting for each other is not it.&lt;/p&gt;
27104
27105 &lt;p&gt;I wonder why we end up handling bugs this way.&lt;/p&gt;
27106 </description>
27107 </item>
27108
27109 <item>
27110 <title>Parallellized boot seem to hold up well in Debian/testing</title>
27111 <link>http://people.skolelinux.org/pere/blog/Parallellized_boot_seem_to_hold_up_well_in_Debian_testing.html</link>
27112 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Parallellized_boot_seem_to_hold_up_well_in_Debian_testing.html</guid>
27113 <pubDate>Thu, 27 May 2010 23:55:00 +0200</pubDate>
27114 <description>&lt;p&gt;A few days ago, parallel booting was enabled in Debian/testing.
27115 The feature seem to hold up pretty well, but three fairly serious
27116 issues are known and should be solved:
27117
27118 &lt;p&gt;&lt;ul&gt;
27119
27120 &lt;li&gt;The wicd package seen to
27121 &lt;a href=&quot;http://bugs.debian.org/508289&quot;&gt;break NFS mounting&lt;/a&gt; and
27122 &lt;a href=&quot;http://bugs.debian.org/581586&quot;&gt;network setup&lt;/a&gt; when
27123 parallel booting is enabled. No idea why, but the wicd maintainer
27124 seem to be on the case.&lt;/li&gt;
27125
27126 &lt;li&gt;The nvidia X driver seem to
27127 &lt;a href=&quot;http://bugs.debian.org/583312&quot;&gt;have a race condition&lt;/a&gt;
27128 triggered more easily when parallel booting is in effect. The
27129 maintainer is on the case.&lt;/li&gt;
27130
27131 &lt;li&gt;The sysv-rc package fail to properly enable dependency based boot
27132 sequencing (the shutdown is broken) when old file-rc users
27133 &lt;a href=&quot;http://bugs.debian.org/575080&quot;&gt;try to switch back&lt;/a&gt; to
27134 sysv-rc. One way to solve it would be for file-rc to create
27135 /etc/init.d/.legacy-bootordering, and another is to try to make
27136 sysv-rc more robust. Will investigate some more and probably upload a
27137 workaround in sysv-rc to help those trying to move from file-rc to
27138 sysv-rc get a working shutdown.&lt;/li&gt;
27139
27140 &lt;/ul&gt;&lt;/p&gt;
27141
27142 &lt;p&gt;All in all not many surprising issues, and all of them seem
27143 solvable before Squeeze is released. In addition to these there are
27144 some packages with bugs in their dependencies and run level settings,
27145 which I expect will be fixed in a reasonable time span.&lt;/p&gt;
27146
27147 &lt;p&gt;If you report any problems with dependencies in init.d scripts to
27148 the BTS, please usertag the report to get it to show up at
27149 &lt;a href=&quot;http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=initscripts-ng-devel@lists.alioth.debian.org&quot;&gt;the
27150 list of usertagged bugs related to this&lt;/a&gt;.&lt;/p&gt;
27151
27152 &lt;p&gt;Update: Correct bug number to file-rc issue.&lt;/p&gt;
27153 </description>
27154 </item>
27155
27156 <item>
27157 <title>More flexible firmware handling in debian-installer</title>
27158 <link>http://people.skolelinux.org/pere/blog/More_flexible_firmware_handling_in_debian_installer.html</link>
27159 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/More_flexible_firmware_handling_in_debian_installer.html</guid>
27160 <pubDate>Sat, 22 May 2010 21:30:00 +0200</pubDate>
27161 <description>&lt;p&gt;After a long break from debian-installer development, I finally
27162 found time today to return to the project. Having to spend less time
27163 working dependency based boot in debian, as it is almost complete now,
27164 definitely helped freeing some time.&lt;/p&gt;
27165
27166 &lt;p&gt;A while back, I ran into a problem while working on Debian Edu. We
27167 include some firmware packages on the Debian Edu CDs, those needed to
27168 get disk and network controllers working. Without having these
27169 firmware packages available during installation, it is impossible to
27170 install Debian Edu on the given machine, and because our target group
27171 are non-technical people, asking them to provide firmware packages on
27172 an external medium is a support pain. Initially, I expected it to be
27173 enough to include the firmware packages on the CD to get
27174 debian-installer to find and use them. This proved to be wrong.
27175 Next, I hoped it was enough to symlink the relevant firmware packages
27176 to some useful location on the CD (tried /cdrom/ and
27177 /cdrom/firmware/). This also proved to not work, and at this point I
27178 found time to look at the debian-installer code to figure out what was
27179 going to work.&lt;/p&gt;
27180
27181 &lt;p&gt;The firmware loading code is in the hw-detect package, and a closer
27182 look revealed that it would only look for firmware packages outside
27183 the installation media, so the CD was never checked for firmware
27184 packages. It would only check USB sticks, floppies and other
27185 &quot;external&quot; media devices. Today I changed it to also look in the
27186 /cdrom/firmware/ directory on the mounted CD or DVD, which should
27187 solve the problem I ran into with Debian edu. I also changed it to
27188 look in /firmware/, to make sure the installer also find firmware
27189 provided in the initrd when booting the installer via PXE, to allow us
27190 to provide the same feature in the PXE setup included in Debian
27191 Edu.&lt;/p&gt;
27192
27193 &lt;p&gt;To make sure firmware deb packages with a license questions are not
27194 activated without asking if the license is accepted, I extended
27195 hw-detect to look for preinst scripts in the firmware packages, and
27196 run these before activating the firmware during installation. The
27197 license question is asked using debconf in the preinst, so this should
27198 solve the issue for the firmware packages I have looked at so far.&lt;/p&gt;
27199
27200 &lt;p&gt;If you want to discuss the details of these features, please
27201 contact us on debian-boot@lists.debian.org.&lt;/p&gt;
27202 </description>
27203 </item>
27204
27205 <item>
27206 <title>Pieces of the roaming laptop puzzle in Debian</title>
27207 <link>http://people.skolelinux.org/pere/blog/Pieces_of_the_roaming_laptop_puzzle_in_Debian.html</link>
27208 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Pieces_of_the_roaming_laptop_puzzle_in_Debian.html</guid>
27209 <pubDate>Wed, 19 May 2010 19:00:00 +0200</pubDate>
27210 <description>&lt;p&gt;Today, the last piece of the puzzle for roaming laptops in Debian
27211 Edu finally entered the Debian archive. Today, the new
27212 &lt;a href=&quot;http://packages.qa.debian.org/libp/libpam-mklocaluser.html&quot;&gt;libpam-mklocaluser&lt;/a&gt;
27213 package was accepted. Two days ago, two other pieces was accepted
27214 into unstable. The
27215 &lt;a href=&quot;http://packages.qa.debian.org/p/pam-python.html&quot;&gt;pam-python&lt;/a&gt;
27216 package needed by libpam-mklocaluser, and the
27217 &lt;a href=&quot;http://packages.qa.debian.org/s/sssd.html&quot;&gt;sssd&lt;/a&gt; package
27218 passed NEW on Monday. In addition, the
27219 &lt;a href=&quot;http://packages.qa.debian.org/libp/libpam-ccreds.html&quot;&gt;libpam-ccreds&lt;/a&gt;
27220 package we need is in experimental (version 10-4) since Saturday, and
27221 hopefully will be moved to unstable soon.&lt;/p&gt;
27222
27223 &lt;p&gt;This collection of packages allow for two different setups for
27224 roaming laptops. The traditional setup would be using libpam-ccreds,
27225 nscd and libpam-mklocaluser with LDAP or Kerberos authentication,
27226 which should work out of the box if the configuration changes proposed
27227 for nscd in &lt;a href=&quot;http://bugs.debian.org/485282&quot;&gt;BTS report
27228 #485282&lt;/a&gt; is implemented. The alternative setup is to use sssd with
27229 libpam-mklocaluser to connect to LDAP or Kerberos and let sssd take
27230 care of the caching of passwords and group information.&lt;/p&gt;
27231
27232 &lt;p&gt;I have so far been unable to get sssd to work with the LDAP server
27233 at the University, but suspect the issue is some SSL/GnuTLS related
27234 problem with the server certificate. I plan to update the Debian
27235 package to version 1.2, which is scheduled for next week, and hope to
27236 find time to make sure the next release will include both the
27237 Debian/Ubuntu specific patches. Upstream is friendly and responsive,
27238 and I am sure we will find a good solution.&lt;/p&gt;
27239
27240 &lt;p&gt;The idea is to set up the roaming laptops to authenticate using
27241 LDAP or Kerberos and create a local user with home directory in /home/
27242 when a usre in LDAP logs in via KDM or GDM for the first time, and
27243 cache the password for offline checking, as well as caching group
27244 memberhips and other relevant LDAP information. The
27245 libpam-mklocaluser package was created to make sure the local home
27246 directory is in /home/, instead of /site/server/directory/ which would
27247 be the home directory if pam_mkhomedir was used. To avoid confusion
27248 with support requests and configuration, we do not want local laptops
27249 to have users in a path that is used for the same users home directory
27250 on the home directory servers.&lt;/p&gt;
27251
27252 &lt;p&gt;One annoying problem with gdm is that it do not show the PAM
27253 message passed to the user from libpam-mklocaluser when the local user
27254 is created. Instead gdm simply reject the login with some generic
27255 message. The message is shown in kdm, ssh and login, so I guess it is
27256 a bug in gdm. Have not investigated if there is some other message
27257 type that can be used instead to get gdm to also show the message.&lt;/p&gt;
27258
27259 &lt;p&gt;If you want to help out with implementing this for Debian Edu,
27260 please contact us on debian-edu@lists.debian.org.&lt;/p&gt;
27261 </description>
27262 </item>
27263
27264 <item>
27265 <title>Parallellized boot is now the default in Debian/unstable</title>
27266 <link>http://people.skolelinux.org/pere/blog/Parallellized_boot_is_now_the_default_in_Debian_unstable.html</link>
27267 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Parallellized_boot_is_now_the_default_in_Debian_unstable.html</guid>
27268 <pubDate>Fri, 14 May 2010 22:40:00 +0200</pubDate>
27269 <description>&lt;p&gt;Since this evening, parallel booting is the default in
27270 Debian/unstable for machines using dependency based boot sequencing.
27271 Apparently the testing of concurrent booting has been wider than
27272 expected, if I am to believe the
27273 &lt;a href=&quot;http://lists.debian.org/debian-devel/2010/05/msg00122.html&quot;&gt;input
27274 on debian-devel@&lt;/a&gt;, and I concluded a few days ago to move forward
27275 with the feature this weekend, to give us some time to detect any
27276 remaining problems before Squeeze is frozen. If serious problems are
27277 detected, it is simple to change the default back to sequential boot.
27278 The upload of the new sysvinit package also activate a new upstream
27279 version.&lt;/p&gt;
27280
27281 More information about
27282 &lt;a href=&quot;http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot&quot;&gt;dependency
27283 based boot sequencing&lt;/a&gt; is available from the Debian wiki. It is
27284 currently possible to disable parallel booting when one run into
27285 problems caused by it, by adding this line to /etc/default/rcS:&lt;/p&gt;
27286
27287 &lt;blockquote&gt;&lt;pre&gt;
27288 CONCURRENCY=none
27289 &lt;/pre&gt;&lt;/blockquote&gt;
27290
27291 &lt;p&gt;If you report any problems with dependencies in init.d scripts to
27292 the BTS, please usertag the report to get it to show up at
27293 &lt;a href=&quot;http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=initscripts-ng-devel@lists.alioth.debian.org&quot;&gt;the
27294 list of usertagged bugs related to this&lt;/a&gt;.&lt;/p&gt;
27295 </description>
27296 </item>
27297
27298 <item>
27299 <title>Sitesummary tip: Listing MAC address of all clients</title>
27300 <link>http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_MAC_address_of_all_clients.html</link>
27301 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Sitesummary_tip__Listing_MAC_address_of_all_clients.html</guid>
27302 <pubDate>Fri, 14 May 2010 21:10:00 +0200</pubDate>
27303 <description>&lt;p&gt;In the recent Debian Edu versions, the
27304 &lt;a href=&quot;http://wiki.debian.org/DebianEdu/HowTo/SiteSummary&quot;&gt;sitesummary
27305 system&lt;/a&gt; is used to keep track of the machines in the school
27306 network. Each machine will automatically report its status to the
27307 central server after boot and once per night. The network setup is
27308 also reported, and using this information it is possible to get the
27309 MAC address of all network interfaces in the machines. This is useful
27310 to update the DHCP configuration.&lt;/p&gt;
27311
27312 &lt;p&gt;To give some idea how to use sitesummary, here is a one-liner to
27313 ist all MAC addresses of all machines reporting to sitesummary. Run
27314 this on the collector host:&lt;/p&gt;
27315
27316 &lt;blockquote&gt;&lt;pre&gt;
27317 perl -MSiteSummary -e &#39;for_all_hosts(sub { print join(&quot; &quot;, get_macaddresses(shift)), &quot;\n&quot;; });&#39;
27318 &lt;/pre&gt;&lt;/blockquote&gt;
27319
27320 &lt;p&gt;This will list all MAC addresses assosiated with all machine, one
27321 line per machine and with space between the MAC addresses.&lt;/p&gt;
27322
27323 &lt;p&gt;To allow system administrators easier job at adding static DHCP
27324 addresses for hosts, it would be possible to extend this to fetch
27325 machine information from sitesummary and update the DHCP and DNS
27326 tables in LDAP using this information. Such tool is unfortunately not
27327 written yet.&lt;/p&gt;
27328 </description>
27329 </item>
27330
27331 <item>
27332 <title>systemd, an interesting alternative to upstart</title>
27333 <link>http://people.skolelinux.org/pere/blog/systemd__an_interesting_alternative_to_upstart.html</link>
27334 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/systemd__an_interesting_alternative_to_upstart.html</guid>
27335 <pubDate>Thu, 13 May 2010 22:20:00 +0200</pubDate>
27336 <description>&lt;p&gt;The last few days a new boot system called
27337 &lt;a href=&quot;http://www.freedesktop.org/wiki/Software/systemd&quot;&gt;systemd&lt;/a&gt;
27338 has been
27339 &lt;a href=&quot;http://0pointer.de/blog/projects/systemd.html&quot;&gt;introduced&lt;/a&gt;
27340
27341 to the free software world. I have not yet had time to play around
27342 with it, but it seem to be a very interesting alternative to
27343 &lt;a href=&quot;http://upstart.ubuntu.com/&quot;&gt;upstart&lt;/a&gt;, and might prove to be
27344 a good alternative for Debian when we are able to switch to an event
27345 based boot system. Tollef is
27346 &lt;a href=&quot;http://bugs.debian.org/580814&quot;&gt;in the process&lt;/a&gt; of getting
27347 systemd into Debian, and I look forward to seeing how well it work. I
27348 like the fact that systemd handles init.d scripts with dependency
27349 information natively, allowing them to run in parallel where upstart
27350 at the moment do not.&lt;/p&gt;
27351
27352 &lt;p&gt;Unfortunately do systemd have the same problem as upstart regarding
27353 platform support. It only work on recent Linux kernels, and also need
27354 some new kernel features enabled to function properly. This means
27355 kFreeBSD and Hurd ports of Debian will need a port or a different boot
27356 system. Not sure how that will be handled if systemd proves to be the
27357 way forward.&lt;/p&gt;
27358
27359 &lt;p&gt;In the mean time, based on the
27360 &lt;a href=&quot;http://lists.debian.org/debian-devel/2010/05/msg00122.html&quot;&gt;input
27361 on debian-devel@&lt;/a&gt; regarding parallel booting in Debian, I have
27362 decided to enable full parallel booting as the default in Debian as
27363 soon as possible (probably this weekend or early next week), to see if
27364 there are any remaining serious bugs in the init.d dependencies. A
27365 new version of the sysvinit package implementing this change is
27366 already in experimental. If all go well, Squeeze will be released
27367 with parallel booting enabled by default.&lt;/p&gt;
27368 </description>
27369 </item>
27370
27371 <item>
27372 <title>Parallellizing the boot in Debian Squeeze - ready for wider testing</title>
27373 <link>http://people.skolelinux.org/pere/blog/Parallellizing_the_boot_in_Debian_Squeeze___ready_for_wider_testing.html</link>
27374 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Parallellizing_the_boot_in_Debian_Squeeze___ready_for_wider_testing.html</guid>
27375 <pubDate>Thu, 6 May 2010 23:25:00 +0200</pubDate>
27376 <description>&lt;p&gt;These days, the init.d script dependencies in Squeeze are quite
27377 complete, so complete that it is actually possible to run all the
27378 init.d scripts in parallell based on these dependencies. If you want
27379 to test your Squeeze system, make sure
27380 &lt;a href=&quot;http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot&quot;&gt;dependency
27381 based boot sequencing&lt;/a&gt; is enabled, and add this line to
27382 /etc/default/rcS:&lt;/p&gt;
27383
27384 &lt;blockquote&gt;&lt;pre&gt;
27385 CONCURRENCY=makefile
27386 &lt;/pre&gt;&lt;/blockquote&gt;
27387
27388 &lt;p&gt;That is it. It will cause sysv-rc to use the startpar tool to run
27389 scripts in parallel using the dependency information stored in
27390 /etc/init.d/.depend.boot, /etc/init.d/.depend.start and
27391 /etc/init.d/.depend.stop to order the scripts. Startpar is configured
27392 to try to start the kdm and gdm scripts as early as possible, and will
27393 start the facilities required by kdm or gdm as early as possible to
27394 make this happen.&lt;/p&gt;
27395
27396 &lt;p&gt;Give it a try, and see if you like the result. If some services
27397 fail to start properly, it is most likely because they have incomplete
27398 init.d script dependencies in their startup script (or some of their
27399 dependent scripts have incomplete dependencies). Report bugs and get
27400 the package maintainers to fix it. :)&lt;/p&gt;
27401
27402 &lt;p&gt;Running scripts in parallel could be the default in Debian when we
27403 manage to get the init.d script dependencies complete and correct. I
27404 expect we will get there in Squeeze+1, if we get manage to test and
27405 fix the remaining issues.&lt;/p&gt;
27406
27407 &lt;p&gt;If you report any problems with dependencies in init.d scripts to
27408 the BTS, please usertag the report to get it to show up at
27409 &lt;a href=&quot;http://bugs.debian.org/cgi-bin/pkgreport.cgi?users=initscripts-ng-devel@lists.alioth.debian.org&quot;&gt;the
27410 list of usertagged bugs related to this&lt;/a&gt;.&lt;/p&gt;
27411 </description>
27412 </item>
27413
27414 <item>
27415 <title>Forcing new users to change their password on first login</title>
27416 <link>http://people.skolelinux.org/pere/blog/Forcing_new_users_to_change_their_password_on_first_login.html</link>
27417 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Forcing_new_users_to_change_their_password_on_first_login.html</guid>
27418 <pubDate>Sun, 2 May 2010 13:47:00 +0200</pubDate>
27419 <description>&lt;p&gt;One interesting feature in Active Directory, is the ability to
27420 create a new user with an expired password, and thus force the user to
27421 change the password on the first login attempt.&lt;/p&gt;
27422
27423 &lt;p&gt;I&#39;m not quite sure how to do that with the LDAP setup in Debian
27424 Edu, but did some initial testing with a local account. The account
27425 and password aging information is available in /etc/shadow, but
27426 unfortunately, it is not possible to specify an expiration time for
27427 passwords, only a maximum age for passwords.&lt;/p&gt;
27428
27429 &lt;p&gt;A freshly created account (using adduser test) will have these
27430 settings in /etc/shadow:&lt;/p&gt;
27431
27432 &lt;blockquote&gt;&lt;pre&gt;
27433 root@tjener:~# chage -l test
27434 Last password change : May 02, 2010
27435 Password expires : never
27436 Password inactive : never
27437 Account expires : never
27438 Minimum number of days between password change : 0
27439 Maximum number of days between password change : 99999
27440 Number of days of warning before password expires : 7
27441 root@tjener:~#
27442 &lt;/pre&gt;&lt;/blockquote&gt;
27443
27444 &lt;p&gt;The only way I could come up with to create a user with an expired
27445 account, is to change the date of the last password change to the
27446 lowest value possible (January 1th 1970), and the maximum password age
27447 to the difference in days between that date and today. To make it
27448 simple, I went for 30 years (30 * 365 = 10950) and January 2th (to
27449 avoid testing if 0 is a valid value).&lt;/p&gt;
27450
27451 &lt;p&gt;After using these commands to set it up, it seem to work as
27452 intended:&lt;/p&gt;
27453
27454 &lt;blockquote&gt;&lt;pre&gt;
27455 root@tjener:~# chage -d 1 test; chage -M 10950 test
27456 root@tjener:~# chage -l test
27457 Last password change : Jan 02, 1970
27458 Password expires : never
27459 Password inactive : never
27460 Account expires : never
27461 Minimum number of days between password change : 0
27462 Maximum number of days between password change : 10950
27463 Number of days of warning before password expires : 7
27464 root@tjener:~#
27465 &lt;/pre&gt;&lt;/blockquote&gt;
27466
27467 &lt;p&gt;So far I have tested this with ssh and console, and kdm (in
27468 Squeeze) login, and all ask for a new password before login in the
27469 user (with ssh, I was thrown out and had to log in again).&lt;/p&gt;
27470
27471 &lt;p&gt;Perhaps we should set up something similar for Debian Edu, to make
27472 sure only the user itself have the account password?&lt;/p&gt;
27473
27474 &lt;p&gt;If you want to comment on or help out with implementing this for
27475 Debian Edu, please contact us on debian-edu@lists.debian.org.&lt;/p&gt;
27476
27477 &lt;p&gt;Update 2010-05-02 17:20: Paul Tötterman tells me on IRC that the
27478 shadow(8) page in Debian/testing now state that setting the date of
27479 last password change to zero (0) will force the password to be changed
27480 on the first login. This was not mentioned in the manual in Lenny, so
27481 I did not notice this in my initial testing. I have tested it on
27482 Squeeze, and &#39;&lt;tt&gt;chage -d 0 username&lt;/tt&gt;&#39; do work there. I have not
27483 tested it on Lenny yet.&lt;/p&gt;
27484
27485 &lt;p&gt;Update 2010-05-02-19:05: Jim Paris tells me via email that an
27486 equivalent command to expire a password is &#39;&lt;tt&gt;passwd -e
27487 username&lt;/tt&gt;&#39;, which insert zero into the date of the last password
27488 change.&lt;/p&gt;
27489 </description>
27490 </item>
27491
27492 <item>
27493 <title>Thoughts on roaming laptop setup for Debian Edu</title>
27494 <link>http://people.skolelinux.org/pere/blog/Thoughts_on_roaming_laptop_setup_for_Debian_Edu.html</link>
27495 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Thoughts_on_roaming_laptop_setup_for_Debian_Edu.html</guid>
27496 <pubDate>Wed, 28 Apr 2010 20:40:00 +0200</pubDate>
27497 <description>&lt;p&gt;For some years now, I have wondered how we should handle laptops in
27498 Debian Edu. The Debian Edu infrastructure is mostly designed to
27499 handle stationary computers, and less suited for computers that come
27500 and go.&lt;/p&gt;
27501
27502 &lt;p&gt;Now I finally believe I have an sensible idea on how to adjust
27503 Debian Edu for laptops, by introducing a new profile for them, for
27504 example called Roaming Workstations. Here are my thought on this.
27505 The setup would consist of the following:&lt;/p&gt;
27506
27507 &lt;ul&gt;
27508
27509 &lt;li&gt;During installation, the user name of the owner / primary user of
27510 the laptop is requested and a local home directory is set up for
27511 the user, with uid and gid information fetched from the LDAP
27512 server. This allow the user to work also when offline. The
27513 central home directory can be available in a subdirectory on
27514 request, for example mounted via CIFS. It could be mounted
27515 automatically when a user log in while on the Debian Edu network,
27516 and unmounted when the machine is taken away (network down,
27517 hibernate, etc), it can be set up to do automatic mounting on
27518 request (using autofs), or perhaps some GUI button on the desktop
27519 can be used to access it when needed. Perhaps it is enough to use
27520 the fish protocol in KDE?&lt;/li&gt;
27521
27522 &lt;li&gt;Password checking is set up to use LDAP or Kerberos
27523 authentication when the machine is on the Debian Edu network, and
27524 to cache the password for offline checking when the machine unable
27525 to reach the LDAP or Kerberos server. This can be done using
27526 &lt;a href=&quot;http://www.padl.com/OSS/pam_ccreds.html&quot;&gt;libpam-ccreds&lt;/a&gt;
27527 or the Fedora developed
27528 &lt;a href=&quot;https://fedoraproject.org/wiki/Features/SSSD&quot;&gt;System
27529 Security Services Daemon&lt;/a&gt; packages.&lt;/li&gt;
27530
27531 &lt;li&gt;File synchronisation with the central home directory is set up
27532 using a shared directory in both the local and the central home
27533 directory, using unison.&lt;/li&gt;
27534
27535 &lt;li&gt;Printing should be set up to print to all printers broadcasting
27536 their existence on the local network, and should then work out of
27537 the box with CUPS. For sites needing accurate printer quotas, some
27538 system with Kerberos authentication or printing via ssh could be
27539 implemented.&lt;/li&gt;
27540
27541 &lt;li&gt;For users that should have local root access to their laptop,
27542 sudo should be used to allow this to the local user.&lt;/li&gt;
27543
27544 &lt;li&gt;It would be nice if user and group information from LDAP is
27545 cached on the client, but given that there are entries for the
27546 local user and primary group in /etc/, it should not be needed.&lt;/li&gt;
27547
27548 &lt;/ul&gt;
27549
27550 &lt;p&gt;I believe all the pieces to implement this are in Debian/testing at
27551 the moment. If we work quickly, we should be able to get this ready
27552 in time for the Squeeze release to freeze. Some of the pieces need
27553 tweaking, like libpam-ccreds should get support for pam-auth-update
27554 (&lt;a href=&quot;http://bugs.debian.org/566718&quot;&gt;#566718&lt;/a&gt;) and nslcd (or
27555 perhaps debian-edu-config) should get some integration code to stop
27556 its daemon when the LDAP server is unavailable to avoid long timeouts
27557 when disconnected from the net. If we get Kerberos enabled, we need
27558 to make sure we avoid long timeouts there too.&lt;/p&gt;
27559
27560 &lt;p&gt;If you want to help out with implementing this for Debian Edu,
27561 please contact us on debian-edu@lists.debian.org.&lt;/p&gt;
27562 </description>
27563 </item>
27564
27565 <item>
27566 <title>Great book: &quot;Content: Selected Essays on Technology, Creativity, Copyright, and the Future of the Future&quot;</title>
27567 <link>http://people.skolelinux.org/pere/blog/Great_book___Content__Selected_Essays_on_Technology__Creativity__Copyright__and_the_Future_of_the_Future_.html</link>
27568 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Great_book___Content__Selected_Essays_on_Technology__Creativity__Copyright__and_the_Future_of_the_Future_.html</guid>
27569 <pubDate>Mon, 19 Apr 2010 17:10:00 +0200</pubDate>
27570 <description>&lt;p&gt;The last few weeks i have had the pleasure of reading a
27571 thought-provoking collection of essays by Cory Doctorow, on topics
27572 touching copyright, virtual worlds, the future of man when the
27573 conscience mind can be duplicated into a computer and many more. The
27574 book titled &quot;Content: Selected Essays on Technology, Creativity,
27575 Copyright, and the Future of the Future&quot; is available with few
27576 restrictions on the web, for example from
27577 &lt;a href=&quot;http://craphound.com/content/&quot;&gt;his own site&lt;/a&gt;. I read the
27578 epub-version from
27579 &lt;a href=&quot;http://www.feedbooks.com/book/2883&quot;&gt;feedbooks&lt;/a&gt; using
27580 &lt;a href=&quot;http://www.fbreader.org/&quot;&gt;fbreader&lt;/a&gt; and my N810. I
27581 strongly recommend this book.&lt;/p&gt;
27582 </description>
27583 </item>
27584
27585 <item>
27586 <title>Kerberos for Debian Edu/Squeeze?</title>
27587 <link>http://people.skolelinux.org/pere/blog/Kerberos_for_Debian_Edu_Squeeze_.html</link>
27588 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Kerberos_for_Debian_Edu_Squeeze_.html</guid>
27589 <pubDate>Wed, 14 Apr 2010 17:20:00 +0200</pubDate>
27590 <description>&lt;p&gt;&lt;a href=&quot;http://www.nuug.no/aktiviteter/20100413-kerberos/&quot;&gt;Yesterdays
27591 NUUG presentation&lt;/a&gt; about Kerberos was inspiring, and reminded me
27592 about the need to start using Kerberos in Skolelinux. Setting up a
27593 Kerberos server seem to be straight forward, and if we get this in
27594 place a long time before the Squeeze version of Debian freezes, we
27595 have a chance to migrate Skolelinux away from NFSv3 for the home
27596 directories, and over to an architecture where the infrastructure do
27597 not have to trust IP addresses and machines, and instead can trust
27598 users and cryptographic keys instead.&lt;/p&gt;
27599
27600 &lt;p&gt;A challenge will be integration and administration. Is there a
27601 Kerberos implementation for Debian where one can control the
27602 administration access in Kerberos using LDAP groups? With it, the
27603 school administration will have to maintain access control using flat
27604 files on the main server, which give a huge potential for errors.&lt;/p&gt;
27605
27606 &lt;p&gt;A related question I would like to know is how well Kerberos and
27607 pam-ccreds (offline password check) work together. Anyone know?&lt;/p&gt;
27608
27609 &lt;p&gt;Next step will be to use Kerberos for access control in Lwat and
27610 Nagios. I have no idea how much work that will be to implement. We
27611 would also need to document how to integrate with Windows AD, as such
27612 shared network will require two Kerberos realms that need to cooperate
27613 to work properly.&lt;/p&gt;
27614
27615 &lt;p&gt;I believe a good start would be to start using Kerberos on the
27616 skolelinux.no machines, and this way get ourselves experience with
27617 configuration and integration. A natural starting point would be
27618 setting up ldap.skolelinux.no as the Kerberos server, and migrate the
27619 rest of the machines from PAM via LDAP to PAM via Kerberos one at the
27620 time.&lt;/p&gt;
27621
27622 &lt;p&gt;If you would like to contribute to get this working in Skolelinux,
27623 I recommend you to see the video recording from yesterdays NUUG
27624 presentation, and start using Kerberos at home. The video show show
27625 up in a few days.&lt;/p&gt;
27626 </description>
27627 </item>
27628
27629 <item>
27630 <title>After 6 years of waiting, the Xreset.d feature is implemented</title>
27631 <link>http://people.skolelinux.org/pere/blog/After_6_years_of_waiting__the_Xreset_d_feature_is_implemented.html</link>
27632 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/After_6_years_of_waiting__the_Xreset_d_feature_is_implemented.html</guid>
27633 <pubDate>Sat, 6 Mar 2010 18:15:00 +0100</pubDate>
27634 <description>&lt;p&gt;6 years ago, as part of the Debian Edu development I am involved
27635 in, I asked for a hook in the kdm and gdm setup to run scripts as root
27636 when the user log out. A bug was submitted against the xfree86-common
27637 package in 2004 (&lt;a href=&quot;http://bugs.debian.org/230422&quot;&gt;#230422&lt;/a&gt;),
27638 and revisited every time Debian Edu was working on a new release.
27639 Today, this finally paid off.&lt;/p&gt;
27640
27641 &lt;p&gt;The framework for this feature was today commited to the git
27642 repositry for the xorg package, and the git repository for xdm has
27643 been updated to use this framework. Next on my agenda is to make sure
27644 kdm and gdm also add code to use this framework.&lt;/p&gt;
27645
27646 &lt;p&gt;In Debian Edu, we want to ability to run commands as root when the
27647 user log out, to get rid of runaway processes and do general cleanup
27648 after a user. With this framework in place, we finally can do that in
27649 a generic way that work with all display managers using this
27650 framework. My goal is to get all display managers in Debian use it,
27651 similar to how they use the Xsession.d framework today.&lt;p&gt;
27652 </description>
27653 </item>
27654
27655 <item>
27656 <title>Debian Edu / Skolelinux based on Lenny released, work continues</title>
27657 <link>http://people.skolelinux.org/pere/blog/Debian_Edu___Skolelinux_based_on_Lenny_released__work_continues.html</link>
27658 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_Edu___Skolelinux_based_on_Lenny_released__work_continues.html</guid>
27659 <pubDate>Thu, 11 Feb 2010 17:15:00 +0100</pubDate>
27660 <description>&lt;p&gt;On Tuesday, the Debian/Lenny based version of
27661 &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Skolelinux&lt;/a&gt; was finally
27662 shipped. This was a major leap forward for the project, and I am very
27663 pleased that we finally got the release wrapped up. Work on the first
27664 point release starts imediately, as we plan to get that one out a
27665 month after the major release, to include all fixes for bugs we found
27666 and fixed too late in the release process to include last Tuesday.&lt;/p&gt;
27667
27668 &lt;p&gt;Perhaps it even is time for some partying?&lt;/p&gt;
27669
27670 &lt;p&gt;After this first point release, my plan is to focus again on the
27671 next major release, based on Squeeze. We will try to get as many of
27672 the fixes we need into the official Debian packages before the freeze,
27673 and have just a few weeks or months to make it happen.&lt;/p&gt;
27674 </description>
27675 </item>
27676
27677 <item>
27678 <title>Automatic Munin and Nagios configuration</title>
27679 <link>http://people.skolelinux.org/pere/blog/Automatic_Munin_and_Nagios_configuration.html</link>
27680 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Automatic_Munin_and_Nagios_configuration.html</guid>
27681 <pubDate>Wed, 27 Jan 2010 15:15:00 +0100</pubDate>
27682 <description>&lt;p&gt;One of the new features in the next Debian/Lenny based release of
27683 Debian Edu/Skolelinux, which is scheduled for release in the next few
27684 days, is automatic configuration of the service monitoring system
27685 Nagios. The previous release had automatic configuration of trend
27686 analysis using Munin, and this Lenny based release take that a step
27687 further.&lt;/p&gt;
27688
27689 &lt;p&gt;When installing a Debian Edu Main-server, it is automatically
27690 configured as a Munin and Nagios server. In addition, it is
27691 configured to be a server for the
27692 &lt;a href=&quot;http://wiki.debian.org/DebianEdu/HowTo/SiteSummary&quot;&gt;SiteSummary
27693 system&lt;/a&gt; I have written for use in Debian Edu. The SiteSummary
27694 system is inspired by a system used by the University of Oslo where I
27695 work. In short, the system provide a centralised collector of
27696 information about the computers on the network, and a client on each
27697 computer submitting information to this collector. This allow for
27698 automatic information on which packages are installed on each machine,
27699 which kernel the machines are using, what kind of configuration the
27700 packages got etc. This also allow us to automatically generate Munin
27701 and Nagios configuration.&lt;/p&gt;
27702
27703 &lt;p&gt;All computers reporting to the sitesummary collector with the
27704 munin-node package installed is automatically enabled as a Munin
27705 client and graphs from the statistics collected from that machine show
27706 up automatically on http://www/munin/ on the Main-server.&lt;/p&gt;
27707
27708 &lt;p&gt;All non-laptop computers reporting to the sitesummary collector are
27709 automatically monitored for network presence (ping and any network
27710 services detected). In addition, all computers (also laptops) with
27711 the nagios-nrpe-server package installed and configured the way
27712 sitesummary would configure it, are monitored for full disks, software
27713 raid status, swap free and other checks that need to run locally on
27714 the machine.&lt;/p&gt;
27715
27716 &lt;p&gt;The result is that the administrator on a school using Debian Edu
27717 based on Lenny will be able to check the health of his installation
27718 with one look at the Nagios settings, without having to spend any time
27719 keeping the Nagios configuration up-to-date.&lt;/p&gt;
27720
27721 &lt;p&gt;The only configuration one need to do to get Nagios up and running
27722 is to set the password used to get access via HTTP. The system
27723 administrator need to run &quot;&lt;tt&gt;htpasswd /etc/nagios3/htpasswd.users
27724 nagiosadmin&lt;/tt&gt;&quot; to create a nagiosadmin user and set a password for
27725 it to be able to log into the Nagios web pages. After that,
27726 everything is taken care of.&lt;/p&gt;
27727 </description>
27728 </item>
27729
27730 <item>
27731 <title>Relative popularity of document formats (MS Office vs. ODF)</title>
27732 <link>http://people.skolelinux.org/pere/blog/Relative_popularity_of_document_formats__MS_Office_vs__ODF_.html</link>
27733 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Relative_popularity_of_document_formats__MS_Office_vs__ODF_.html</guid>
27734 <pubDate>Wed, 12 Aug 2009 15:50:00 +0200</pubDate>
27735 <description>&lt;p&gt;Just for fun, I did a search right now on Google for a few file ODF
27736 and MS Office based formats (not to be mistaken for ISO or ECMA
27737 OOXML), to get an idea of their relative usage. I searched using
27738 &#39;filetype:odt&#39; and equvalent terms, and got these results:&lt;/P&gt;
27739
27740 &lt;table&gt;
27741 &lt;tr&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;ODF&lt;/th&gt;&lt;th&gt;MS Office&lt;/th&gt;&lt;/tr&gt;
27742 &lt;tr&gt;&lt;td&gt;Tekst&lt;/td&gt; &lt;td&gt;odt:282000&lt;/td&gt; &lt;td&gt;docx:308000&lt;/td&gt;&lt;/tr&gt;
27743 &lt;tr&gt;&lt;td&gt;Presentasjon&lt;/td&gt; &lt;td&gt;odp:75600&lt;/td&gt; &lt;td&gt;pptx:183000&lt;/td&gt;&lt;/tr&gt;
27744 &lt;tr&gt;&lt;td&gt;Regneark&lt;/td&gt; &lt;td&gt;ods:26500 &lt;/td&gt; &lt;td&gt;xlsx:145000&lt;/td&gt;&lt;/tr&gt;
27745 &lt;/table&gt;
27746
27747 &lt;p&gt;Next, I added a &#39;site:no&#39; limit to get the numbers for Norway, and
27748 got these numbers:&lt;/p&gt;
27749
27750 &lt;table&gt;
27751 &lt;tr&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;ODF&lt;/th&gt;&lt;th&gt;MS Office&lt;/th&gt;&lt;/tr&gt;
27752 &lt;tr&gt;&lt;td&gt;Tekst&lt;/td&gt; &lt;td&gt;odt:2480 &lt;/td&gt; &lt;td&gt;docx:4460&lt;/td&gt;&lt;/tr&gt;
27753 &lt;tr&gt;&lt;td&gt;Presentasjon&lt;/td&gt; &lt;td&gt;odp:299 &lt;/td&gt; &lt;td&gt;pptx:741&lt;/td&gt;&lt;/tr&gt;
27754 &lt;tr&gt;&lt;td&gt;Regneark&lt;/td&gt; &lt;td&gt;ods:187 &lt;/td&gt; &lt;td&gt;xlsx:372&lt;/td&gt;&lt;/tr&gt;
27755 &lt;/table&gt;
27756
27757 &lt;p&gt;I wonder how these numbers change over time.&lt;/p&gt;
27758
27759 &lt;p&gt;I am aware of Google returning different results and numbers based
27760 on where the search is done, so I guess these numbers will differ if
27761 they are conduced in another country. Because of this, I did the same
27762 search from a machine in California, USA, a few minutes after the
27763 search done from a machine here in Norway.&lt;/p&gt;
27764
27765
27766 &lt;table&gt;
27767 &lt;tr&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;ODF&lt;/th&gt;&lt;th&gt;MS Office&lt;/th&gt;&lt;/tr&gt;
27768 &lt;tr&gt;&lt;td&gt;Tekst&lt;/td&gt; &lt;td&gt;odt:129000&lt;/td&gt; &lt;td&gt;docx:308000&lt;/td&gt;&lt;/tr&gt;
27769 &lt;tr&gt;&lt;td&gt;Presentasjon&lt;/td&gt; &lt;td&gt;odp:44200&lt;/td&gt; &lt;td&gt;pptx:93900&lt;/td&gt;&lt;/tr&gt;
27770 &lt;tr&gt;&lt;td&gt;Regneark&lt;/td&gt; &lt;td&gt;ods:26500 &lt;/td&gt; &lt;td&gt;xlsx:82400&lt;/td&gt;&lt;/tr&gt;
27771 &lt;/table&gt;
27772
27773 &lt;p&gt;And with &#39;site:no&#39;:
27774
27775 &lt;table&gt;
27776 &lt;tr&gt;&lt;th&gt;Type&lt;/th&gt;&lt;th&gt;ODF&lt;/th&gt;&lt;th&gt;MS Office&lt;/th&gt;&lt;/tr&gt;
27777 &lt;tr&gt;&lt;td&gt;Tekst&lt;/td&gt; &lt;td&gt;odt:2480&lt;/td&gt; &lt;td&gt;docx:3410&lt;/td&gt;&lt;/tr&gt;
27778 &lt;tr&gt;&lt;td&gt;Presentasjon&lt;/td&gt; &lt;td&gt;odp:175&lt;/td&gt; &lt;td&gt;pptx:604&lt;/td&gt;&lt;/tr&gt;
27779 &lt;tr&gt;&lt;td&gt;Regneark&lt;/td&gt; &lt;td&gt;ods:186 &lt;/td&gt; &lt;td&gt;xlsx:296&lt;/td&gt;&lt;/tr&gt;
27780 &lt;/table&gt;
27781
27782 &lt;p&gt;Interesting difference, not sure what to conclude from these
27783 numbers.&lt;/p&gt;
27784 </description>
27785 </item>
27786
27787 <item>
27788 <title>ISO still hope to fix OOXML</title>
27789 <link>http://people.skolelinux.org/pere/blog/ISO_still_hope_to_fix_OOXML.html</link>
27790 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/ISO_still_hope_to_fix_OOXML.html</guid>
27791 <pubDate>Sat, 8 Aug 2009 14:00:00 +0200</pubDate>
27792 <description>&lt;p&gt;According to &lt;a
27793 href=&quot;http://twerner.blogspot.com/2009/08/defects-of-office-open-xml.html&quot;&gt;a
27794 blog post from Torsten Werner&lt;/a&gt;, the current defect report for ISO
27795 29500 (ISO OOXML) is 809 pages. His interesting point is that the
27796 defect report is 71 pages more than the full ODF 1.1 specification.
27797 Personally I find it more interesting that ISO still believe ISO OOXML
27798 can be fixed in ISO. Personally, I believe it is broken beyon repair,
27799 and I completely lack any trust in ISO for being able to get anywhere
27800 close to solving the problems. I was part of the Norwegian committee
27801 involved in the OOXML fast track process, and was not impressed with
27802 Standard Norway and ISO in how they handled it.&lt;/p&gt;
27803
27804 &lt;p&gt;These days I focus on ODF instead, which seem like a specification
27805 with the future ahead of it. We are working in NUUG to organise a ODF
27806 seminar this autumn.&lt;/p&gt;
27807 </description>
27808 </item>
27809
27810 <item>
27811 <title>Debian has switched to dependency based boot sequencing</title>
27812 <link>http://people.skolelinux.org/pere/blog/Debian_has_switched_to_dependency_based_boot_sequencing.html</link>
27813 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_has_switched_to_dependency_based_boot_sequencing.html</guid>
27814 <pubDate>Mon, 27 Jul 2009 23:50:00 +0200</pubDate>
27815 <description>&lt;p&gt;Since this evening, with the upload of sysvinit version 2.87dsf-2,
27816 and the upload of insserv version 1.12.0-10 yesterday, Debian unstable
27817 have been migrated to using dependency based boot sequencing. This
27818 conclude work me and others have been doing for the last three days.
27819 It feels great to see this finally part of the default Debian
27820 installation. Now we just need to weed out the last few problems that
27821 are bound to show up, to get everything ready for Squeeze.&lt;/p&gt;
27822
27823 &lt;p&gt;The next step is migrating /sbin/init from sysvinit to upstart, and
27824 fixing the more fundamental problem of handing the event based
27825 non-predictable kernel in the early boot.&lt;/p&gt;
27826 </description>
27827 </item>
27828
27829 <item>
27830 <title>Taking over sysvinit development</title>
27831 <link>http://people.skolelinux.org/pere/blog/Taking_over_sysvinit_development.html</link>
27832 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Taking_over_sysvinit_development.html</guid>
27833 <pubDate>Wed, 22 Jul 2009 23:00:00 +0200</pubDate>
27834 <description>&lt;p&gt;After several years of frustration with the lack of activity from
27835 the existing sysvinit upstream developer, I decided a few weeks ago to
27836 take over the package and become the new upstream. The number of
27837 patches to track for the Debian package was becoming a burden, and the
27838 lack of synchronization between the distribution made it hard to keep
27839 the package up to date.&lt;/p&gt;
27840
27841 &lt;p&gt;On the new sysvinit team is the SuSe maintainer Dr. Werner Fink,
27842 and my Debian co-maintainer Kel Modderman. About 10 days ago, I made
27843 a new upstream tarball with version number 2.87dsf (for Debian, SuSe
27844 and Fedora), based on the patches currently in use in these
27845 distributions. We Debian maintainers plan to move to this tarball as
27846 the new upstream as soon as we find time to do the merge. Since the
27847 new tarball was created, we agreed with Werner at SuSe to make a new
27848 upstream project at &lt;a href=&quot;http://savannah.nongnu.org/&quot;&gt;Savannah&lt;/a&gt;, and continue
27849 development there. The project is registered and currently waiting
27850 for approval by the Savannah administrators, and as soon as it is
27851 approved, we will import the old versions from svn and continue
27852 working on the future release.&lt;/p&gt;
27853
27854 &lt;p&gt;It is a bit ironic that this is done now, when some of the involved
27855 distributions are moving to upstart as a syvinit replacement.&lt;/p&gt;
27856 </description>
27857 </item>
27858
27859 <item>
27860 <title>Debian boots quicker and quicker</title>
27861 <link>http://people.skolelinux.org/pere/blog/Debian_boots_quicker_and_quicker.html</link>
27862 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Debian_boots_quicker_and_quicker.html</guid>
27863 <pubDate>Wed, 24 Jun 2009 21:40:00 +0200</pubDate>
27864 <description>&lt;p&gt;I spent Monday and tuesday this week in London with a lot of the
27865 people involved in the boot system on Debian and Ubuntu, to see if we
27866 could find more ways to speed up the boot system. This was an Ubuntu
27867 funded
27868 &lt;a href=&quot;https://wiki.ubuntu.com/FoundationsTeam/BootPerformance/DebianUbuntuSprint&quot;&gt;developer
27869 gathering&lt;/a&gt;. It was quite productive. We also discussed the future
27870 of boot systems, and ways to handle the increasing number of boot
27871 issues introduced by the Linux kernel becoming more and more
27872 asynchronous and event base. The Ubuntu approach using udev and
27873 upstart might be a good way forward. Time will show.&lt;/p&gt;
27874
27875 &lt;p&gt;Anyway, there are a few ways at the moment to speed up the boot
27876 process in Debian. All of these should be applied to get a quick
27877 boot:&lt;/p&gt;
27878
27879 &lt;ul&gt;
27880
27881 &lt;li&gt;Use dash as /bin/sh.&lt;/li&gt;
27882
27883 &lt;li&gt;Disable the init.d/hwclock*.sh scripts and make sure the hardware
27884 clock is in UTC.&lt;/li&gt;
27885
27886 &lt;li&gt;Install and activate the insserv package to enable
27887 &lt;a href=&quot;http://wiki.debian.org/LSBInitScripts/DependencyBasedBoot&quot;&gt;dependency
27888 based boot sequencing&lt;/a&gt;, and enable concurrent booting.&lt;/li&gt;
27889
27890 &lt;/ul&gt;
27891
27892 These points are based on the Google summer of code work done by
27893 &lt;a href=&quot;http://initscripts-ng.alioth.debian.org/soc2006-bootsystem/&quot;&gt;Carlos
27894 Villegas&lt;/a&gt;.
27895
27896 &lt;p&gt;Support for makefile-style concurrency during boot was uploaded to
27897 unstable yesterday. When we tested it, we were able to cut 6 seconds
27898 from the boot sequence. It depend on very correct dependency
27899 declaration in all init.d scripts, so I expect us to find edge cases
27900 where the dependences in some scripts are slightly wrong when we start
27901 using this.&lt;/p&gt;
27902
27903 &lt;p&gt;On our IRC channel for this effort, #pkg-sysvinit, a new idea was
27904 introduced by Raphael Geissert today, one that could affect the
27905 startup speed as well. Instead of starting some scripts concurrently
27906 from rcS.d/ and another set of scripts from rc2.d/, it would be
27907 possible to run a of them in the same process. A quick way to test
27908 this would be to enable insserv and run &#39;mv /etc/rc2.d/S* /etc/rcS.d/;
27909 insserv&#39;. Will need to test if that work. :)&lt;/p&gt;
27910 </description>
27911 </item>
27912
27913 <item>
27914 <title>Two projects that have improved the quality of free software a lot</title>
27915 <link>http://people.skolelinux.org/pere/blog/Two_projects_that_have_improved_the_quality_of_free_software_a_lot.html</link>
27916 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Two_projects_that_have_improved_the_quality_of_free_software_a_lot.html</guid>
27917 <pubDate>Sat, 2 May 2009 15:00:00 +0200</pubDate>
27918 <description>&lt;p&gt;There are two software projects that have had huge influence on the
27919 quality of free software, and I wanted to mention both in case someone
27920 do not yet know them.&lt;/p&gt;
27921
27922 &lt;p&gt;The first one is &lt;a href=&quot;http://valgrind.org/&quot;&gt;valgrind&lt;/a&gt;, a
27923 tool to detect and expose errors in the memory handling of programs.
27924 It is easy to use, all one need to do is to run &#39;valgrind program&#39;,
27925 and it will report any problems on stdout. It is even better if the
27926 program include debug information. With debug information, it is able
27927 to report the source file name and line number where the problem
27928 occurs. It can report things like &#39;reading past memory block in file
27929 X line N, the memory block was allocated in file Y, line M&#39;, and
27930 &#39;using uninitialised value in control logic&#39;. This tool has made it
27931 trivial to investigate reproducible crash bugs in programs, and have
27932 reduced the number of this kind of bugs in free software a lot.
27933
27934 &lt;p&gt;The second one is
27935 &lt;a href=&quot;http://en.wikipedia.org/wiki/Coverity&quot;&gt;Coverity&lt;/a&gt; which is
27936 a source code checker. It is able to process the source of a program
27937 and find problems in the logic without running the program. It
27938 started out as the Stanford Checker and became well known when it was
27939 used to find bugs in the Linux kernel. It is now a commercial tool
27940 and the company behind it is running
27941 &lt;a href=&quot;http://www.scan.coverity.com/&quot;&gt;a community service&lt;/a&gt; for the
27942 free software community, where a lot of free software projects get
27943 their source checked for free. Several thousand defects have been
27944 found and fixed so far. It can find errors like &#39;lock L taken in file
27945 X line N is never released if exiting in line M&#39;, or &#39;the code in file
27946 Y lines O to P can never be executed&#39;. The projects included in the
27947 community service project have managed to get rid of a lot of
27948 reliability problems thanks to Coverity.&lt;/p&gt;
27949
27950 &lt;p&gt;I believe tools like this, that are able to automatically find
27951 errors in the source, are vital to improve the quality of software and
27952 make sure we can get rid of the crashing and failing software we are
27953 surrounded by today.&lt;/p&gt;
27954 </description>
27955 </item>
27956
27957 <item>
27958 <title>No patch is not better than a useless patch</title>
27959 <link>http://people.skolelinux.org/pere/blog/No_patch_is_not_better_than_a_useless_patch.html</link>
27960 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/No_patch_is_not_better_than_a_useless_patch.html</guid>
27961 <pubDate>Tue, 28 Apr 2009 09:30:00 +0200</pubDate>
27962 <description>&lt;p&gt;Julien Blache
27963 &lt;a href=&quot;http://blog.technologeek.org/2009/04/12/214&quot;&gt;claim that no
27964 patch is better than a useless patch&lt;/a&gt;. I completely disagree, as a
27965 patch allow one to discuss a concrete and proposed solution, and also
27966 prove that the issue at hand is important enough for someone to spent
27967 time on fixing it. No patch do not provide any of these positive
27968 properties.&lt;/p&gt;
27969 </description>
27970 </item>
27971
27972 <item>
27973 <title>Recording video from cron using VLC</title>
27974 <link>http://people.skolelinux.org/pere/blog/Recording_video_from_cron_using_VLC.html</link>
27975 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Recording_video_from_cron_using_VLC.html</guid>
27976 <pubDate>Sun, 5 Apr 2009 10:00:00 +0200</pubDate>
27977 <description>&lt;p&gt;One think I have wanted to figure out for a along time is how to
27978 run vlc from cron to do recording of video streams on the net. The
27979 task is trivial with mplayer, but I do not really trust the security
27980 of mplayer (it crashes too often on strange input), and thus prefer
27981 vlc. I finally found a way to do it today. I spent an hour or so
27982 searching the web for recipes and reading the documentation. The
27983 hardest part was to get rid of the GUI window, but after finding the
27984 dummy interface, the command line finally presented itself:&lt;/p&gt;
27985
27986 &lt;blockquote&gt;&lt;pre&gt;URL=http://www.ping.uio.no/video/rms-oslo_2009.ogg
27987 SAVEFILE=rms.ogg
27988 DISPLAY= vlc -q $URL \
27989 --sout=&quot;#duplicate{dst=std{access=file,url=&#39;$SAVEFILE&#39;},dst=nodisplay}&quot; \
27990 --intf=dummy&lt;/pre&gt;&lt;/blockquote&gt;
27991
27992 &lt;p&gt;The command stream the URL and store it in the SAVEFILE by
27993 duplicating the output stream to &quot;nodisplay&quot; and the file, using the
27994 dummy interface. The dummy interface and the nodisplay output make
27995 sure no X interface is needed.&lt;/p&gt;
27996
27997 &lt;p&gt;The cron job then need to start this job with the appropriate URL
27998 and file name to save, sleep for the duration wanted, and then kill
27999 the vlc process with SIGTERM. Here is a complete script
28000 &lt;tt&gt;vlc-record&lt;/tt&gt; to use from &lt;tt&gt;at&lt;/tt&gt; or &lt;tt&gt;cron&lt;/tt&gt;:&lt;/p&gt;
28001
28002 &lt;blockquote&gt;&lt;pre&gt;#!/bin/sh
28003 set -e
28004 URL=&quot;$1&quot;
28005 SAVEFILE=&quot;$2&quot;
28006 DURATION=&quot;$3&quot;
28007 DISPLAY= vlc -q &quot;$URL&quot; \
28008 --sout=&quot;#duplicate{dst=std{access=file,url=&#39;$SAVEFILE&#39;},dst=nodisplay}&quot; \
28009 --intf=dummy &lt; /dev/null &gt; /dev/null 2&gt;&amp;1 &amp;
28010 pid=$!
28011 sleep $DURATION
28012 kill $pid
28013 wait $pid&lt;/pre&gt;&lt;/blockquote&gt;
28014 </description>
28015 </item>
28016
28017 <item>
28018 <title>Standardize on protocols and formats, not vendors and applications</title>
28019 <link>http://people.skolelinux.org/pere/blog/Standardize_on_protocols_and_formats__not_vendors_and_applications.html</link>
28020 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Standardize_on_protocols_and_formats__not_vendors_and_applications.html</guid>
28021 <pubDate>Mon, 30 Mar 2009 11:50:00 +0200</pubDate>
28022 <description>&lt;p&gt;Where I work at the University of Oslo, one decision stand out as a
28023 very good one to form a long lived computer infrastructure. It is the
28024 simple one, lost by many in todays computer industry: Standardize on
28025 open network protocols and open exchange/storage formats, not applications.
28026 Applications come and go, while protocols and files tend to stay, and
28027 thus one want to make it easy to change application and vendor, while
28028 avoiding conversion costs and locking users to a specific platform or
28029 application.&lt;/p&gt;
28030
28031 &lt;p&gt;This approach make it possible to replace the client applications
28032 independently of the server applications. One can even allow users to
28033 use several different applications as long as they handle the selected
28034 protocol and format. In the normal case, only one client application
28035 is recommended and users only get help if they choose to use this
28036 application, but those that want to deviate from the easy path are not
28037 blocked from doing so.&lt;/p&gt;
28038
28039 &lt;p&gt;It also allow us to replace the server side without forcing the
28040 users to replace their applications, and thus allow us to select the
28041 best server implementation at any moment, when scale and resouce
28042 requirements change.&lt;/p&gt;
28043
28044 &lt;p&gt;I strongly recommend standardizing - on open network protocols and
28045 open formats, but I would never recommend standardizing on a single
28046 application that do not use open network protocol or open formats.&lt;/p&gt;
28047 </description>
28048 </item>
28049
28050 <item>
28051 <title>Returning from Skolelinux developer gathering</title>
28052 <link>http://people.skolelinux.org/pere/blog/Returning_from_Skolelinux_developer_gathering.html</link>
28053 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Returning_from_Skolelinux_developer_gathering.html</guid>
28054 <pubDate>Sun, 29 Mar 2009 21:00:00 +0200</pubDate>
28055 <description>&lt;p&gt;I&#39;m sitting on the train going home from this weekends Debian
28056 Edu/Skolelinux development gathering. I got a bit done tuning the
28057 desktop, and looked into the dynamic service location protocol
28058 implementation avahi. It look like it could be useful for us. Almost
28059 30 people participated, and I believe it was a great environment to
28060 get to know the Skolelinux system. Walter Bender, involved in the
28061 development of the Sugar educational platform, presented his stuff and
28062 also helped me improve my OLPC installation. He also showed me that
28063 his Turtle Art application can be used in standalone mode, and we
28064 agreed that I would help getting it packaged for Debian. As a
28065 standalone application it would be great for Debian Edu. We also
28066 tried to get the video conferencing working with two OLPCs, but that
28067 proved to be too hard for us. The application seem to need more work
28068 before it is ready for me. I look forward to getting home and relax
28069 now. :)&lt;/p&gt;
28070 </description>
28071 </item>
28072
28073 <item>
28074 <title>Time for new LDAP schemas replacing RFC 2307?</title>
28075 <link>http://people.skolelinux.org/pere/blog/Time_for_new__LDAP_schemas_replacing_RFC_2307_.html</link>
28076 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Time_for_new__LDAP_schemas_replacing_RFC_2307_.html</guid>
28077 <pubDate>Sun, 29 Mar 2009 20:30:00 +0200</pubDate>
28078 <description>&lt;p&gt;The state of standardized LDAP schemas on Linux is far from
28079 optimal. There is RFC 2307 documenting one way to store NIS maps in
28080 LDAP, and a modified version of this normally called RFC 2307bis, with
28081 some modifications to be compatible with Active Directory. The RFC
28082 specification handle the content of a lot of system databases, but do
28083 not handle DNS zones and DHCP configuration.&lt;/p&gt;
28084
28085 &lt;p&gt;In &lt;a href=&quot;http://www.skolelinux.org/&quot;&gt;Debian Edu/Skolelinux&lt;/a&gt;,
28086 we would like to store information about users, SMB clients/hosts,
28087 filegroups, netgroups (users and hosts), DHCP and DNS configuration,
28088 and LTSP configuration in LDAP. These objects have a lot in common,
28089 but with the current LDAP schemas it is not possible to have one
28090 object per entity. For example, one need to have at least three LDAP
28091 objects for a given computer, one with the SMB related stuff, one with
28092 DNS information and another with DHCP information. The schemas
28093 provided for DNS and DHCP are impossible to combine into one LDAP
28094 object. In addition, it is impossible to implement quick queries for
28095 netgroup membership, because of the way NIS triples are implemented.
28096 It just do not scale. I believe it is time for a few RFC
28097 specifications to cleam up this mess.&lt;/p&gt;
28098
28099 &lt;p&gt;I would like to have one LDAP object representing each computer in
28100 the network, and this object can then keep the SMB (ie host key), DHCP
28101 (mac address/name) and DNS (name/IP address) settings in one place.
28102 It need to be efficently stored to make sure it scale well.&lt;/p&gt;
28103
28104 &lt;p&gt;I would also like to have a quick way to map from a user or
28105 computer and to the net group this user or computer is a member.&lt;/p&gt;
28106
28107 &lt;p&gt;Active Directory have done a better job than unix heads like myself
28108 in this regard, and the unix side need to catch up. Time to start a
28109 new IETF work group?&lt;/p&gt;
28110 </description>
28111 </item>
28112
28113 <item>
28114 <title>Checking server hardware support status for Dell, HP and IBM servers</title>
28115 <link>http://people.skolelinux.org/pere/blog/Checking_server_hardware_support_status_for_Dell__HP_and_IBM_servers.html</link>
28116 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Checking_server_hardware_support_status_for_Dell__HP_and_IBM_servers.html</guid>
28117 <pubDate>Sat, 28 Feb 2009 23:50:00 +0100</pubDate>
28118 <description>&lt;p&gt;At work, we have a few hundred Linux servers, and with that amount
28119 of hardware it is important to keep track of when the hardware support
28120 contract expire for each server. We have a machine (and service)
28121 register, which until recently did not contain much useful besides the
28122 machine room location and contact information for the system owner for
28123 each machine. To make it easier for us to track support contract
28124 status, I&#39;ve recently spent time on extending the machine register to
28125 include information about when the support contract expire, and to tag
28126 machines with expired contracts to make it easy to get a list of such
28127 machines. I extended a perl script already being used to import
28128 information about machines into the register, to also do some screen
28129 scraping off the sites of Dell, HP and IBM (our majority of machines
28130 are from these vendors), and automatically check the support status
28131 for the relevant machines. This make the support status information
28132 easily available and I hope it will make it easier for the computer
28133 owner to know when to get new hardware or renew the support contract.
28134 The result of this work documented that 27% of the machines in the
28135 registry is without a support contract, and made it very easy to find
28136 them. 27% might seem like a lot, but I see it more as the case of us
28137 using machines a bit longer than the 3 years a normal support contract
28138 last, to have test machines and a platform for less important
28139 services. After all, the machines without a contract are working fine
28140 at the moment and the lack of contract is only a problem if any of
28141 them break down. When that happen, we can either fix it using spare
28142 parts from other machines or move the service to another old
28143 machine.&lt;/p&gt;
28144
28145 &lt;p&gt;I believe the code for screen scraping the Dell site was originally
28146 written by Trond Hasle Amundsen, and later adjusted by me and Morten
28147 Werner Forsbring. The HP scraping was written by me after reading a
28148 nice article in ;login: about how to use WWW::Mechanize, and the IBM
28149 scraping was written by me based on the Dell code. I know the HTML
28150 parsing could be done using nice libraries, but did not want to
28151 introduce more dependencies. This is the current incarnation:&lt;/p&gt;
28152
28153 &lt;pre&gt;
28154 use LWP::Simple;
28155 use POSIX;
28156 use WWW::Mechanize;
28157 use Date::Parse;
28158 [...]
28159 sub get_support_info {
28160 my ($machine, $model, $serial, $productnumber) = @_;
28161 my $str;
28162
28163 if ( $model =~ m/^Dell / ) {
28164 # fetch website from Dell support
28165 my $url = &quot;http://support.euro.dell.com/support/topics/topic.aspx/emea/shared/support/my_systems_info/no/details?c=no&amp;amp;cs=nodhs1&amp;amp;l=no&amp;amp;s=dhs&amp;amp;ServiceTag=$serial&quot;;
28166 my $webpage = get($url);
28167 return undef unless ($webpage);
28168
28169 my $daysleft = -1;
28170 my @lines = split(/\n/, $webpage);
28171 foreach my $line (@lines) {
28172 next unless ($line =~ m/Beskrivelse/);
28173 $line =~ s/&amp;lt;[^&gt;]+?&gt;/;/gm;
28174 $line =~ s/^.+?;(Beskrivelse;)/$1/;
28175
28176 my @f = split(/\;/, $line);
28177 @f = @f[13 .. $#f];
28178 my $lastend = &quot;&quot;;
28179 while ($f[3] eq &quot;DELL&quot;) {
28180 my ($type, $startstr, $endstr, $days) = @f[0, 5, 7, 10];
28181
28182 my $start = POSIX::strftime(&quot;%Y-%m-%d&quot;,
28183 localtime(str2time($startstr)));
28184 my $end = POSIX::strftime(&quot;%Y-%m-%d&quot;,
28185 localtime(str2time($endstr)));
28186 $str .= &quot;$type $start -&gt; $end &quot;;
28187 @f = @f[14 .. $#f];
28188 $lastend = $end if ($end gt $lastend);
28189 }
28190 my $today = POSIX::strftime(&quot;%Y-%m-%d&quot;, localtime(time));
28191 tag_machine_unsupported($machine)
28192 if ($lastend lt $today);
28193 }
28194 } elsif ( $model =~ m/^HP / ) {
28195 my $mech = WWW::Mechanize-&gt;new();
28196 my $url =
28197 &#39;http://www1.itrc.hp.com/service/ewarranty/warrantyInput.do&#39;;
28198 $mech-&gt;get($url);
28199 my $fields = {
28200 &#39;BODServiceID&#39; =&gt; &#39;NA&#39;,
28201 &#39;RegisteredPurchaseDate&#39; =&gt; &#39;&#39;,
28202 &#39;country&#39; =&gt; &#39;NO&#39;,
28203 &#39;productNumber&#39; =&gt; $productnumber,
28204 &#39;serialNumber1&#39; =&gt; $serial,
28205 };
28206 $mech-&gt;submit_form( form_number =&gt; 2,
28207 fields =&gt; $fields );
28208 # Next step is screen scraping
28209 my $content = $mech-&gt;content();
28210
28211 $content =~ s/&amp;lt;[^&gt;]+?&gt;/;/gm;
28212 $content =~ s/\s+/ /gm;
28213 $content =~ s/;\s*;/;;/gm;
28214 $content =~ s/;[\s;]+/;/gm;
28215
28216 my $today = POSIX::strftime(&quot;%Y-%m-%d&quot;, localtime(time));
28217
28218 while ($content =~ m/;Warranty Type;/) {
28219 my ($type, $status, $startstr, $stopstr) = $content =~
28220 m/;Warranty Type;([^;]+);.+?;Status;(\w+);Start Date;([^;]+);End Date;([^;]+);/;
28221 $content =~ s/^.+?;Warranty Type;//;
28222 my $start = POSIX::strftime(&quot;%Y-%m-%d&quot;,
28223 localtime(str2time($startstr)));
28224 my $end = POSIX::strftime(&quot;%Y-%m-%d&quot;,
28225 localtime(str2time($stopstr)));
28226
28227 $str .= &quot;$type ($status) $start -&gt; $end &quot;;
28228
28229 tag_machine_unsupported($machine)
28230 if ($end lt $today);
28231 }
28232 } elsif ( $model =~ m/^IBM / ) {
28233 # This code ignore extended support contracts.
28234 my ($producttype) = $model =~ m/.*-\[(.{4}).+\]-/;
28235 if ($producttype &amp;amp;&amp;amp; $serial) {
28236 my $content =
28237 get(&quot;http://www-947.ibm.com/systems/support/supportsite.wss/warranty?action=warranty&amp;amp;brandind=5000008&amp;amp;Submit=Submit&amp;amp;type=$producttype&amp;amp;serial=$serial&quot;);
28238 if ($content) {
28239 $content =~ s/&amp;lt;[^&gt;]+?&gt;/;/gm;
28240 $content =~ s/\s+/ /gm;
28241 $content =~ s/;\s*;/;;/gm;
28242 $content =~ s/;[\s;]+/;/gm;
28243
28244 $content =~ s/^.+?;Warranty status;//;
28245 my ($status, $end) = $content =~ m/;Warranty status;([^;]+)\s*;Expiration date;(\S+) ;/;
28246
28247 $str .= &quot;($status) -&gt; $end &quot;;
28248
28249 my $today = POSIX::strftime(&quot;%Y-%m-%d&quot;, localtime(time));
28250 tag_machine_unsupported($machine)
28251 if ($end lt $today);
28252 }
28253 }
28254 }
28255 return $str;
28256 }
28257 &lt;/pre&gt;
28258
28259 &lt;p&gt;Here are some examples on how to use the function, using fake
28260 serial numbers. The information passed in as arguments are fetched
28261 from dmidecode.&lt;/p&gt;
28262
28263 &lt;pre&gt;
28264 print get_support_info(&quot;hp.host&quot;, &quot;HP ProLiant BL460c G1&quot;, &quot;1234567890&quot;
28265 &quot;447707-B21&quot;);
28266 print get_support_info(&quot;dell.host&quot;, &quot;Dell Inc. PowerEdge 2950&quot;, &quot;1234567&quot;);
28267 print get_support_info(&quot;ibm.host&quot;, &quot;IBM eserver xSeries 345 -[867061X]-&quot;,
28268 &quot;1234567&quot;);
28269 &lt;/pre&gt;
28270
28271 &lt;p&gt;I would recommend this approach for tracking support contracts for
28272 everyone with more than a few computers to administer. :)&lt;/p&gt;
28273
28274 &lt;p&gt;Update 2009-03-06: The IBM page do not include extended support
28275 contracts, so it is useless in that case. The original Dell code do
28276 not handle extended support contracts either, but has been updated to
28277 do so.&lt;/p&gt;
28278 </description>
28279 </item>
28280
28281 <item>
28282 <title>Using bar codes at a computing center</title>
28283 <link>http://people.skolelinux.org/pere/blog/Using_bar_codes_at_a_computing_center.html</link>
28284 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Using_bar_codes_at_a_computing_center.html</guid>
28285 <pubDate>Fri, 20 Feb 2009 08:50:00 +0100</pubDate>
28286 <description>&lt;p&gt;At work with the University of Oslo, we have several hundred computers
28287 in our computing center. This give us a challenge in tracking the
28288 location and cabling of the computers, when they are added, moved and
28289 removed. Some times the location register is not updated when a
28290 computer is inserted or moved and we then have to search the room for
28291 the &quot;missing&quot; computer.&lt;/p&gt;
28292
28293 &lt;p&gt;In the last issue of Linux Journal, I came across a project
28294 &lt;a href=&quot;http://www.libdmtx.org/&quot;&gt;libdmtx&lt;/a&gt; to write and read bar
28295 code blocks as defined in the
28296 &lt;a href=&quot;http://en.wikipedia.org/wiki/Data_Matrix&quot;&gt;The Data Matrix
28297 Standard&lt;/a&gt;. This is bar codes that can be read with a normal
28298 digital camera, for example that on a cell phone, and several such bar
28299 codes can be read by libdmtx from one picture. The bar code standard
28300 allow up to 2 KiB to be written in the tag. There is another project
28301 with &lt;a href=&quot;http://www.terryburton.co.uk/barcodewriter/&quot;&gt;a bar code
28302 writer written in postscript&lt;/a&gt; capable of creating such bar codes,
28303 but this was the first time I found a tool to read these bar
28304 codes.&lt;/p&gt;
28305
28306 &lt;p&gt;It occurred to me that this could be used to tag and track the
28307 machines in our computing center. If both racks and computers are
28308 tagged this way, we can use a picture of the rack and all its
28309 computers to detect the rack location of any computer in that rack.
28310 If we do this regularly for the entire room, we will find all
28311 locations, and can detect movements and removals.&lt;/p&gt;
28312
28313 &lt;p&gt;I decided to test if this would work in practice, and picked a
28314 random rack and tagged all the machines with their names. Next, I
28315 took pictures with my digital camera, and gave the dmtxread program
28316 these JPEG pictures to see how many tags it could read. This worked
28317 fairly well. If the pictures was well focused and not taken from the
28318 side, all tags in the image could be read. Because of limited space
28319 between the racks, I was unable to get a good picture of the entire
28320 rack, but could without problem read all tags from a picture covering
28321 about half the rack. I had to limit the search time used by dmtxread
28322 to 60000 ms to make sure it terminated in a reasonable time frame.&lt;/p&gt;
28323
28324 &lt;p&gt;My conclusion is that this could work, and we should probably look
28325 at adjusting our computer tagging procedures to use bar codes for
28326 easier automatic tracking of computers.&lt;/p&gt;
28327 </description>
28328 </item>
28329
28330 <item>
28331 <title>When web browser developers make a video player...</title>
28332 <link>http://people.skolelinux.org/pere/blog/When_web_browser_developers_make_a_video_player___.html</link>
28333 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/When_web_browser_developers_make_a_video_player___.html</guid>
28334 <pubDate>Sat, 17 Jan 2009 18:50:00 +0100</pubDate>
28335 <description>&lt;p&gt;As part of the work we do in &lt;a href=&quot;http://www.nuug.no&quot;&gt;NUUG&lt;/a&gt;
28336 to publish video recordings of our monthly presentations, we provide a
28337 page with embedded video for easy access to the recording. Putting a
28338 good set of HTML tags together to get working embedded video in all
28339 browsers and across all operating systems is not easy. I hope this
28340 will become easier when the &amp;lt;video&amp;gt; tag is implemented in all
28341 browsers, but I am not sure. We provide the recordings in several
28342 formats, MPEG1, Ogg Theora, H.264 and Quicktime, and want the
28343 browser/media plugin to pick one it support and use it to play the
28344 recording, using whatever embed mechanism the browser understand.
28345 There is at least four different tags to use for this, the new HTML5
28346 &amp;lt;video&amp;gt; tag, the &amp;lt;object&amp;gt; tag, the &amp;lt;embed&amp;gt; tag and
28347 the &amp;lt;applet&amp;gt; tag. All of these take a lot of options, and
28348 finding the best options is a major challenge.&lt;/p&gt;
28349
28350 &lt;p&gt;I just tested the experimental Opera browser available from &lt;a
28351 href=&quot;http://labs.opera.com&quot;&gt;labs.opera.com&lt;/a&gt;, to see how it handled
28352 a &amp;lt;video&amp;gt; tag with a few video sources and no extra attributes.
28353 I was not very impressed. The browser start by fetching a picture
28354 from the video stream. Not sure if it is the first frame, but it is
28355 definitely very early in the recording. So far, so good. Next,
28356 instead of streaming the 76 MiB video file, it start to download all
28357 of it, but do not start to play the video. This mean I have to wait
28358 for several minutes for the downloading to finish. When the download
28359 is done, the playing of the video do not start! Waiting for the
28360 download, but I do not get to see the video? Some testing later, I
28361 discover that I have to add the controls=&quot;true&quot; attribute to be able
28362 to get a play button to pres to start the video. Adding
28363 autoplay=&quot;true&quot; did not help. I sure hope this is a misfeature of the
28364 test version of Opera, and that future implementations of the
28365 &amp;lt;video&amp;gt; tag will stream recordings by default, or at least start
28366 playing when the download is done.&lt;/p&gt;
28367
28368 &lt;p&gt;The test page I used (since changed to add more attributes) is
28369 &lt;a href=&quot;http://www.nuug.no/aktiviteter/20090113-foredrag-om-foredrag/&quot;&gt;available
28370 from the nuug site&lt;/a&gt;. Will have to test it with the new Firefox
28371 too.&lt;/p&gt;
28372
28373 &lt;p&gt;In the test process, I discovered a missing feature. I was unable
28374 to find a way to get the URL of the playing video out of Opera, so I
28375 am not quite sure it picked the Ogg Theora version of the video. I
28376 sure hope it was using the announced Ogg Theora support. :)&lt;/p&gt;
28377 </description>
28378 </item>
28379
28380 <item>
28381 <title>Software video mixer on a USB stick</title>
28382 <link>http://people.skolelinux.org/pere/blog/Software_video_mixer_on_a_USB_stick.html</link>
28383 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Software_video_mixer_on_a_USB_stick.html</guid>
28384 <pubDate>Sun, 28 Dec 2008 15:40:00 +0100</pubDate>
28385 <description>&lt;p&gt;The &lt;a href=&quot;http://www.nuug.no/&quot;&gt;Norwegian Unix User Group&lt;/a&gt; is
28386 recording our montly presentation on video, and recently we have
28387 worked on improving the quality of the recordings by mixing the slides
28388 directly with the video stream. For this, we use the
28389 &lt;a href=&quot;http://dvswitch.alioth.debian.org/&quot;&gt;dvswitch&lt;/a&gt; package from
28390 the Debian video team. As this require quite one computer per video
28391 source, and NUUG do not have enough laptops available, we need to
28392 borrow laptops. And to avoid having to install extra software on
28393 these borrwed laptops, I have wrapped up all the programs needed on a
28394 bootable USB stick. The software required is dvswitch with assosiated
28395 source, sink and mixer applications and
28396 &lt;a href=&quot;http://www.kinodv.org/&quot;&gt;dvgrab&lt;/a&gt;. To allow this setup to
28397 work without any configuration, I&#39;ve patched dvswitch to use
28398 &lt;a href=&quot;http://www.avahi.org/&quot;&gt;avahi&lt;/a&gt; to connect the various parts
28399 together. And to allow us to use laptops without firewire plugs, I
28400 upgraded dvgrab to the one from Debian/unstable to get one that work
28401 with USB sources. We have not yet tested this setup in a production
28402 setup, but I hope it will work properly, and allow us to set up a
28403 video mixer in a very short time frame. We will need it for
28404 &lt;a href=&quot;http://www.goopen.no/&quot;&gt;Go Open 2009&lt;/a&gt;.&lt;/p&gt;
28405
28406 &lt;p&gt;&lt;a href=&quot;http://www.nuug.no/pub/video/bin/usbstick-dvswitch.img.gz&quot;&gt;The
28407 USB image&lt;/a&gt; is for a 1 GB memory stick, but can be used on any
28408 larger stick as well.&lt;/p&gt;
28409 </description>
28410 </item>
28411
28412 <item>
28413 <title>Devcamp brought us closer to the Lenny based Debian Edu release</title>
28414 <link>http://people.skolelinux.org/pere/blog/Devcamp_brought_us_closer_to_the_Lenny_based_Debian_Edu_release.html</link>
28415 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/Devcamp_brought_us_closer_to_the_Lenny_based_Debian_Edu_release.html</guid>
28416 <pubDate>Sun, 7 Dec 2008 12:00:00 +0100</pubDate>
28417 <description>&lt;p&gt;This weekend we had a small developer gathering for Debian Edu in
28418 Oslo. Most of Saturday was used for the general assemly for the
28419 member organization, but the rest of the weekend I used to tune the
28420 LTSP installation. LTSP now work out of the box on the 10-network.
28421 Acer Aspire One proved to be a very nice thin client, with both
28422 screen, mouse and keybard in a small box. Was working on getting the
28423 diskless workstation setup configured out of the box, but did not
28424 finish it before the weekend was up.&lt;/p&gt;
28425
28426 &lt;p&gt;Did not find time to look at the 4 VGA cards in one box we got from
28427 the Brazilian group, so that will have to wait for the next
28428 development gathering. Would love to have the Debian Edu installer
28429 automatically detect and configure a multiseat setup when it find one
28430 of these cards.&lt;/p&gt;
28431 </description>
28432 </item>
28433
28434 <item>
28435 <title>The sorry state of multimedia browser plugins in Debian</title>
28436 <link>http://people.skolelinux.org/pere/blog/The_sorry_state_of_multimedia_browser_plugins_in_Debian.html</link>
28437 <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/The_sorry_state_of_multimedia_browser_plugins_in_Debian.html</guid>
28438 <pubDate>Tue, 25 Nov 2008 00:10:00 +0100</pubDate>
28439 <description>&lt;p&gt;Recently I have spent some time evaluating the multimedia browser
28440 plugins available in Debian Lenny, to see which one we should use by
28441 default in Debian Edu. We need an embedded video playing plugin with
28442 control buttons to pause or stop the video, and capable of streaming
28443 all the multimedia content available on the web. The test results and
28444 notes are available on
28445 &lt;a href=&quot;http://wiki.debian.org/DebianEdu/BrowserMultimedia&quot;&gt;the
28446 Debian wiki&lt;/a&gt;. I was surprised how few of the plugins are able to
28447 fill this need. My personal video player favorite, VLC, has a really
28448 bad plugin which fail on a lot of the test pages. A lot of the MIME
28449 types I would expect to work with any free software player (like
28450 video/ogg), just do not work. And simple formats like the
28451 audio/x-mplegurl format (m3u playlists), just isn&#39;t supported by the
28452 totem and vlc plugins. I hope the situation will improve soon. No
28453 wonder sites use the proprietary Adobe flash to play video.&lt;/p&gt;
28454
28455 &lt;p&gt;For Lenny, we seem to end up with the mplayer plugin. It seem to
28456 be the only one fitting our needs. :/&lt;/p&gt;
28457 </description>
28458 </item>
28459
28460 </channel>
28461 </rss>