1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/' xmlns:
atom=
"http://www.w3.org/2005/Atom">
4 <title>Petter Reinholdtsen
</title>
5 <description></description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
7 <atom:link href=
"http://people.skolelinux.org/pere/blog/index.rss" rel=
"self" type=
"application/rss+xml" />
10 <title>Debian Edu interview: Klaus Knopper
</title>
11 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Klaus_Knopper.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Klaus_Knopper.html
</guid>
13 <pubDate>Fri,
6 Dec
2013 09:
50:
00 +
0100</pubDate>
14 <description><p
>It has been a while since I managed to publish the last interview,
15 but the
<a href=
"http://www.skolelinux.org/
">Debian Edu /
16 Skolelinux
</a
> community is still going strong, and yesterday we even
17 had a new school administrator show up on
18 <a href=
"irc://irc.debian.org/#debian-edu
">#debian-edu
</a
> to share
19 his success story with installing Debian Edu at their school. This
20 time I have been able to get some helpful comments from the creator of
21 Knoppix, Klaus Knopper, who was involved in a Skolelinux project in
22 Germany a few years ago.
</p
>
24 <p
><strong
>Who are you, and how do you spend your days?
</strong
></p
>
26 <p
>I am Klaus Knopper. I have a master degree in electrical
27 engineering, and is currently professor in information management at
28 the university of applied sciences Kaiserslautern / Germany and
29 freelance Open Source software developer and consultant.
</p
>
31 <p
>All of this is pretty much of the work I spend my days with. Apart
32 from teaching, I
'm also conducting some more or less experimental
33 projects like the
<a href=
"http://www.knoppix.org
">Knoppix GNU/Linux live
34 system
</a
> (Debian-based like Skolelinux),
35 <a href=
"http://www.knopper.net/knoppix-adriane/index-en.html
">ADRIANE
</a
>
36 (a blind-friendly talking desktop system) and
37 <a href=
"http://www.knopper.net/linbo/index-en.html
">LINBO
</a
>
38 (Linux-based network boot console, a fast remote install and repair
39 system supporting various operating systems).
</p
>
41 <p
><strong
>How did you get in contact with the Skolelinux / Debian Edu
42 project?
</strong
></p
>
44 <p
>The credit for this have to go to Kurt Gramlich, who is the German
45 coordinator for Skolelinux. We were looking for an all-in-one open
46 source community-supported distribution for schools, and Kurt
47 introduced us to Skolelinux for this purpose.
</p
>
49 <p
><strong
>What do you see as the advantages of Skolelinux / Debian
50 Edu?
</strong
></p
>
53 <li
>Quick installation,
</li
>
54 <li
>works (almost) out of the box,
</li
>
55 <li
>contains many useful software packages for teaching and learning,
</li
>
56 <li
>is a purely community-based distro and not controlled by a
57 single company,
</li
>
58 <li
>has a large number of supporters and teachers who share their
59 experience and problem solutions.
</li
>
62 <p
><strong
>What do you see as the disadvantages of Skolelinux / Debian
63 Edu?
</strong
></p
>
66 <li
>Skolelinux is - as we had to learn - not easily upgradable to
67 the next version. Opposed to its genuine Debian base, upgrading to
68 a new version means a full new installation from scratch to get it
69 working again reliably.
71 <li
>Skolelinux is based on Debian/stable, and therefore always a
72 little outdated in terms of program versions compared to Edubuntu or
73 similar educational Linux distros, which rather use Debian/testing
76 <li
>Skolelinux has some very self-opinionated and stubborn default
77 configuration which in my opinion adds unnecessary complexity and is
78 not always suitable for a schools needs, the preset network
79 configuration is actually a core definition feature of Skolelinux
80 and not easy to change, so schools sometimes have to change their
81 network configuration to make it
"Skolelinux-compatible
".
83 <li
>Some proposed extensions, which were made available as
84 contribution, like secure examination mode and lecture material
85 distribution and collection, were not accepted into the mainline
86 Skolelinux development and are now not easy to maintain in the
87 future because of Skolelinux somewhat undeterministic update
90 <li
>Skolelinux has only a very tiny number of base developers
91 compared to Debian.
</li
>
95 <p
>For these reasons and experience from our project, I would now
96 rather consider using plain Debian for schools next time, until
97 Skolelinux is more closely integrated into Debian and becomes
98 upgradeable without reinstallation.
</p
>
100 <p
><strong
>Which free software do you use daily?
</strong
></p
>
102 <p
>GNU/Linux with LXDE desktop, bash for interactive dialog and
103 programming, texlive for documentation and correspondence,
104 occasionally LibreOffice for document format conversion. Various
105 programming languages for teaching.
</p
>
107 <p
><strong
>Which strategy do you believe is the right one to use to
108 get schools to use free software?
</strong
></p
>
110 <p
>Strong arguments are
114 <li
>Knowledge is free, and so should be methods and tools for
115 teaching and learning.
</li
>
117 <li
>Students can learn with and use the same software at school, at
118 home, and at their working place without running into license or
119 conversion problems.
</li
>
121 <li
>Closed source or proprietary software hides knowledge rather
122 than exposing it, and proprietary software vendors try to bind
123 customers to certain products. But teachers need to teach
124 science, not products.
</li
>
126 <li
>If you have everything you for daily work as open source, what
127 would you need proprietary software for?
</li
>
134 <title>Dugnadsnett for alle, a wireless community network in Oslo, take shape
</title>
135 <link>http://people.skolelinux.org/pere/blog/Dugnadsnett_for_alle__a_wireless_community_network_in_Oslo__take_shape.html
</link>
136 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Dugnadsnett_for_alle__a_wireless_community_network_in_Oslo__take_shape.html
</guid>
137 <pubDate>Sat,
30 Nov
2013 10:
10:
00 +
0100</pubDate>
138 <description><p
>If you want the ability to electronically communicate directly with
139 your neighbors and friends using a network controlled by your peers in
140 stead of centrally controlled by a few corporations, or would like to
141 experiment with interesting network technology, the
142 <a href=
"http://www.dugnadsnett.no/
">Dugnasnett for alle i Oslo
</a
>
143 might be project for you.
39 mesh nodes are currently being planned,
144 in the freshly started initiative from NUUG and Hackeriet to create a
145 wireless community network. The work is inspired by
146 <a href=
"http://freifunk.net/
">Freifunk
</a
>,
147 <a href=
"http://www.awmn.net/
">Athens Wireless Metropolitan
148 Network
</a
>,
<a href=
"http://en.wikipedia.org/wiki/Roofnet
">Roofnet
</a
>
149 and other successful mesh networks around the globe. Two days ago we
150 held a workshop to try to get people started on setting up their own
151 mesh node, and there we decided to create a new mailing list
152 <a href=
"http://lists.nuug.no/mailman/listinfo/dugnadsnett
">dugnadsnett
153 (at) nuug.no
</a
> and IRC channel
154 <a href=
"irc://irc.freenode.net/#dugnadsnett.no
">#dugnadsnett.no
</a
> to
155 coordinate the work. See also the NUUG blog post
156 <a href=
"http://www.nuug.no/news/E_postliste_og_IRC_kanal_for_Dugnadsnett_for_alle_i_Oslo.shtml
">announcing
157 the mailing list and IRC channel
</a
>.
</p
>
162 <title>Hvor godt fungerer Linux-klienter mot MS Exchange?
</title>
163 <link>http://people.skolelinux.org/pere/blog/Hvor_godt_fungerer_Linux_klienter_mot_MS_Exchange_.html
</link>
164 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Hvor_godt_fungerer_Linux_klienter_mot_MS_Exchange_.html
</guid>
165 <pubDate>Tue,
26 Nov
2013 18:
50:
00 +
0100</pubDate>
166 <description><p
>Jeg
167 <a href=
"http://people.skolelinux.org/pere/blog/_pent_m_te_p__onsdag_om_bruken_av_Microsoft_Exchange_ved_Universitetet_i_Oslo.html
">skrev
168 i juni om protestene
</a
> på planene til min arbeidsplass,
169 <a href=
"http://www.uio.no/
">Universitetet i Oslo
</a
>, om å gå bort fra
170 fri programvare- og åpne standardløsninger for å håndtere epost,
171 vekk fra IETF-standarden SIEVE for filtrering av epost og over til
172 godseide spesifikasjoner og epostsystemet Microsoft Exchange.
173 Protestene har fått litt ny omtale i media de siste dagene, i tillegg
174 til de oppslagene som kom i mai.
</p
>
178 <li
>2013-
11-
26 <a href=
"http://www.version2.dk/artikel/gigantisk-outlook-konvertering-moeder-protester-paa-universitet-
55147">Gigantisk Outlook-konvertering møder protester på universitet
</a
> - versjon2.dk
</li
>
181 <a href=
"http://www.idg.no/computerworld/article279407.ece
">Microsoft-protest
182 på Universitetet
</a
> - Computerworld
</li
>
185 <a href=
"http://www.uniforum.uio.no/nyheter/
2013/
11/uio-bor-bruke-apen-programvare.html
">Kjemper
186 mot innføring av Microsoft Exchange på UiO
</a
> - Uniforum
</li
>
189 <a href=
"http://www.uniforum.uio.no/nyheter/
2013/
11/uio-utsetter-innforing-av-nytt-e-postsystem.html
">Utsetter
190 innføring av nytt e-postsystem
</a
> - Uniforum
</li
>
193 <a href=
"http://universitas.no/nyhet/
58462/forsvarer-nytt-it-system
">Forsvarer
194 nytt IT-system
</a
> - Universitas
</li
>
197 <a href=
"http://www.uniforum.uio.no/nyheter/
2013/
05/uio-innforer-nytt-epost-og-kalendersystem.html
">UiO
198 innfører nytt epost- og kalenderverktøy
</a
> - Uniforum
</li
>
201 <a href=
"http://universitas.no/nyhet/
58424/protestgruppe-vil-stanse-it-system
">Protestgruppe
202 vil stanse IT-system
</a
> - Universitas
</li
>
205 <a href=
"http://www.uniforum.uio.no/leserbrev/
2013/uio-ma-ha-kontroll-over-sitt-eget-epostsystem.html
">UiO
206 må ha kontroll over sitt eget epostsystem
</a
> - Uniforum
</li
>
210 <p
>Prosjektledelsen har fortalt at dette skal fungere like godt for
211 Linux-brukere som for brukere av Microsoft Windows og Apple MacOSX,
212 men jeg lurer på hva slags erfaringer Linux-brukere i eksisterende
213 miljøer som bruker MS Exchange har gjort. Hvis du har slik erfaring
214 hadet det vært veldig fint om du kan send et leserbrev til
215 <a href=
"http://www.uniforum.uio.no/
">Uniforum
</a
> og fortelle om hvor
216 greit det er å bruke Exchange i kryss-platform-miljøer? De jeg har
217 snakket med sier en greit får lest e-posten sin hvis Exchange har
218 slått på IMAP-funksjonalitet, men at kalender og møtebooking ikke
219 fungerer godt for Linux-klienter. Jeg har ingen personlig erfaring å
220 komme med, så jeg er nysgjerrig på hva andre kan dele av erfaringer
221 med universitetet.
</p
>
223 <p
>Mitt ankerpunkt mot å bytte ut fri programvare som fungerer godt
224 med godseid programvare er at en mister kontroll over egen
225 infrastruktur, låser seg inn i en løsning det vil bli dyrt å komme ut
226 av, uten at en får funksjonalitet en ikke kunne skaffet seg med fri
227 programvare, eventuelt videreutviklet med de pengene som brukes på
228 overgangen til MS Exchange. Personlig planlegger jeg å fortsette å
229 laste ned all eposten min til lokal maskin for indeksering og lesing
230 med
<a href==
"http://notmuchmail.org
">notmuch
</a
>, så jeg håper jeg
231 ikke blir veldig skadelidende av overgangen.
</p
>
233 <p
><a href=
"http://dinis.linguateca.pt/Diana/ImotMSUiO.html
">Underskriftslista
234 for oss som er mot endringen
</a
>, som omtales i artiklene, er fortsatt
235 åpen for de som vil signere på oppropet. Akkurat nå er det
298
236 personer som har signert.
</p
>
241 <title>New chrpath release
0.15</title>
242 <link>http://people.skolelinux.org/pere/blog/New_chrpath_release_0_15.html
</link>
243 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/New_chrpath_release_0_15.html
</guid>
244 <pubDate>Sun,
24 Nov
2013 09:
30:
00 +
0100</pubDate>
245 <description><p
>After many years break from the package and a vain hope that
246 development would be continued by someone else, I finally pulled my
247 acts together this morning and wrapped up a new release of chrpath,
248 the command line tool to modify the rpath and runpath of already
249 compiled ELF programs. The update was triggered by the persistence of
250 Isha Vishnoi at IBM, which needed a new config.guess file to get
251 support for the ppc64le architecture (powerpc
64-bit Little Endian) he
252 is working on. I checked the
253 <a href=
"http://packages.qa.debian.org/chrpath
">Debian
</a
>,
254 <a href=
"https://launchpad.net/ubuntu/+source/chrpath
">Ubuntu
</a
> and
255 <a href=
"https://admin.fedoraproject.org/pkgdb/acls/name/chrpath
">Fedora
</a
>
256 packages for interesting patches (failed to find the source from
257 OpenSUSE and Mandriva packages), and found quite a few nice fixes.
258 These are the release notes:
</p
>
260 <p
>New in
0.15 released
2013-
11-
24:
</p
>
264 <li
>Updated config.sub and config.guess from the GNU project to work
265 with newer architectures. Thanks to isha vishnoi for the heads
268 <li
>Updated README with current URLs.
</li
>
270 <li
>Added byteswap fix found in Ubuntu, credited Jeremy Kerr and
271 Matthias Klose.
</li
>
273 <li
>Added missing help for -k|--keepgoing option, using patch by
274 Petr Machata found in Fedora.
</li
>
276 <li
>Rewrite removal of RPATH/RUNPATH to make sure the entry in
277 .dynamic is a NULL terminated string. Based on patch found in
278 Fedora credited Axel Thimm and Christian Krause.
</li
>
283 <a href=
"https://alioth.debian.org/frs/?group_id=
31052">download the
284 new version
0.15 from alioth
</a
>. Please let us know via the Alioth
285 project if something is wrong with the new release. The test suite
286 did not discover any old errors, so if you find a new one, please also
287 include a testsuite check.
</p
>
292 <title>RSS-kilde for fritekstsøk i offentlige anbud hos Doffin
</title>
293 <link>http://people.skolelinux.org/pere/blog/RSS_kilde_for_friteksts_k_i_offentlige_anbud_hos_Doffin.html
</link>
294 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/RSS_kilde_for_friteksts_k_i_offentlige_anbud_hos_Doffin.html
</guid>
295 <pubDate>Fri,
22 Nov
2013 13:
40:
00 +
0100</pubDate>
296 <description><p
>I fjor sommer lagde jeg en
297 <a href=
"http://people.skolelinux.org/pere/blog/SQL_database_med_anbud_publisert_p__Doffin.html
">offentlig
298 tilgjengelig SQL-database over offentlig anbud
</a
> basert på skraping
299 av HTML-data fra Doffin. Den har stått og gått siden da, og har nå
300 ca.
28000 oppføringer. Jeg oppdaget da jeg tittet innom at noen
301 oppføringer var ikke blitt med, antagelig på grunn av at de fikk
302 tildelt sekvensnummer i Doffin en godt stund før de ble publisert,
303 slik at min nettsideskraper som fortsatte skrapingen der den slapp
304 sist ikke fikk dem med seg. Jeg har fikset litt slik at skraperen nå
305 ser litt tilbake i tid for å se om den har gått glipp av noen
306 oppføringer, og har skrapet på nytt fra midten av september
2013 og
307 fremover. Det bør dermed bli en mer komplett database for kommende
308 måneder. Hvis jeg får tid skal jeg forsøke å skrape
"glemte
" data fra
309 før midten av september
2013, men tør ikke garantere at det blir
310 prioritert med det første.
</p
>
312 <p
>Men målet med denne bloggposten er å vise hvordan denne
313 Doffin-databasen kan brukes og integreres med en RSS-leser, slik at en
314 kan la datamaskinen holde et øye med Doffin-annonseringer etter
315 nøkkelord. En kan lage sitt eget søk ved å besøke
316 <ahref=
"https://classic.scraperwiki.com/docs/api?name=norwegian-doffin#sqlite
">API-et
317 hos Scraperwiki
</a
>, velge format rss2 og så legge inn noe ala dette i
318 "query in SQL
":
</p
>
321 select title, scrapedurl as link, abstract as description,
322 publishdate as pubDate from
'swdata
'
323 where abstract like
'%linux%
' or title like
'%linux%
'
324 order by seq desc limit
20
325 </pre
></p
>
327 <p
>Dette vil søke opp alle anbud med ordet linux i oppsummering eller
328 tittel. En kan lage mer avanserte søk hvis en ønsker det. URL-en som
329 dukker opp nederst på siden kan en så gi til sin RSS-leser (jeg bruker
330 akregator selv), og så automatisk få beskjed hvis det dukker opp anbud
331 med det aktuelle nøkkelordet i teksten. Merk at kapasiteten og
332 ytelsen hos Scraperwiki er begrenset, så ikke be RSS-leseren hente ned
333 oftere enn en gang hver dag.
</p
>
335 <p
>Du lurer kanskje på hva slags informasjon en kan få ut fra denne
336 databasen. Her er to RSS-kilder, med søkeordet
337 "<a href=
"https://api.scraperwiki.com/api/
1.0/datastore/sqlite?format=rss2
&name=norwegian-doffin
&query=select%
20title%
2C%
20scrapedurl%
20as%
20link%
2C%
20abstract%
20as%
20description%
2C%
0A%
20%
20%
20%
20%
20%
20%
20publishdate%
20as%
20pubDate%
20from%
20'swdata
'%
0A%
20%
20%
20where%
20abstract%
20like%
20'%
25linux%
25'%
20or%
20title%
20like%
20'%
25linux%
25'%
0A%
20%
20%
20order%
20by%
20seq%
20desc%
20limit%
2020">linux
</a
>",
339 "<a href=
"https://api.scraperwiki.com/api/
1.0/datastore/sqlite?format=rss2
&name=norwegian-doffin
&query=select%
20title%
2C%
20scrapedurl%
20as%
20link%
2C%
20abstract%
20as%
20description%
2C%
0A%
20%
20%
20%
20%
20%
20%
20publishdate%
20as%
20pubDate%
20from%
20'swdata
'%
0A%
20%
20%
20where%
20abstract%
20like%
20'%
25fri%
20programvare%
25'%
20or%
20title%
20like%
20'%
25fri%
20programvare%
25'%
0A%
20%
20%
20order%
20by%
20seq%
20desc%
20limit%
2020">fri
340 programvare
</a
>"
342 "<a href=
"https://api.scraperwiki.com/api/
1.0/datastore/sqlite?format=rss2
&name=norwegian-doffin
&query=select%
20title%
2C%
20scrapedurl%
20as%
20link%
2C%
20abstract%
20as%
20description%
2C%
0A%
20%
20%
20%
20%
20%
20%
20publishdate%
20as%
20pubDate%
20from%
20'swdata
'%
0A%
20%
20%
20where%
20abstract%
20like%
20'%
25odf%
25'%
20or%
20title%
20like%
20'%
25odf%
25'%
0A%
20%
20%
20order%
20by%
20seq%
20desc%
20limit%
2020">odf
</a
>".
343 Det er bare å søke på det en er interessert i. Kopier gjerne
344 datasettet og sett opp din egen tjeneste hvis du vil gjøre mer
345 avanserte søk. SQLite-filen med Doffin-oppføringer kan lastes med fra
346 Scraperwiki for de som vil grave dypere.
</p
>
351 <title>All drones should be radio marked with what they do and who they belong to
</title>
352 <link>http://people.skolelinux.org/pere/blog/All_drones_should_be_radio_marked_with_what_they_do_and_who_they_belong_to.html
</link>
353 <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>
354 <pubDate>Thu,
21 Nov
2013 15:
40:
00 +
0100</pubDate>
355 <description><p
>Drones, flying robots, are getting more and more popular. The most
356 know ones are the killer drones used by some government to murder
357 people they do not like without giving them the chance of a fair
358 trial, but the technology have many good uses too, from mapping and
359 forest maintenance to photography and search and rescue. I am sure it
360 is just a question of time before
"bad drones
" are in the hands of
361 private enterprises and not only state criminals but petty criminals
362 too. The drone technology is very useful and very dangerous. To have
363 some control over the use of drones, I agree with Daniel Suarez in his
365 "<a href=
"https://archive.org/details/DanielSuarez_2013G
">The kill
366 decision shouldn
't belong to a robot
</a
>", where he suggested this
367 little gem to keep the good while limiting the bad use of drones:
</p
>
371 <p
>Each robot and drone should have a cryptographically signed
372 I.D. burned in at the factory that can be used to track its movement
373 through public spaces. We have license plates on cars, tail numbers on
374 aircraft. This is no different. And every citizen should be able to
375 download an app that shows the population of drones and autonomous
376 vehicles moving through public spaces around them, both right now and
377 historically. And civic leaders should deploy sensors and civic drones
378 to detect rogue drones, and instead of sending killer drones of their
379 own up to shoot them down, they should notify humans to their
380 presence. And in certain very high-security areas, perhaps civic
381 drones would snare them and drag them off to a bomb disposal facility.
</p
>
383 <p
>But notice, this is more an immune system than a weapons system. It
384 would allow us to avail ourselves of the use of autonomous vehicles
385 and drones while still preserving our open, civil society.
</p
>
389 <p
>The key is that
<em
>every citizen
</em
> should be able to read the
390 radio beacons sent from the drones in the area, to be able to check
391 both the government and others use of drones. For such control to be
392 effective, everyone must be able to do it. What should such beacon
393 contain? At least formal owner, purpose, contact information and GPS
394 location. Probably also the origin and target position of the current
395 flight. And perhaps some registration number to be able to look up
396 the drone in a central database tracking their movement. Robots
397 should not have privacy. It is people who need privacy.
</p
>
402 <title>Lets make a wireless community network in Oslo!
</title>
403 <link>http://people.skolelinux.org/pere/blog/Lets_make_a_wireless_community_network_in_Oslo_.html
</link>
404 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Lets_make_a_wireless_community_network_in_Oslo_.html
</guid>
405 <pubDate>Wed,
13 Nov
2013 21:
00:
00 +
0100</pubDate>
406 <description><p
>Today NUUG and Hackeriet announced
407 <a href=
"http://www.nuug.no/news/Bli_med___bygge_dugnadsnett_for_alle_i_Oslo.shtml
">our
408 plans to join forces and create a wireless community network in
409 Oslo
</a
>. The workshop to help people get started will take place
410 Thursday
2013-
11-
28, but we already are collecting the geolocation of
411 people joining forces to make this happen. We have
412 <a href=
"https://github.com/petterreinholdtsen/meshfx-node/blob/master/oslo-nodes.geojson
">9
413 locations plotted on the map
</a
>, but we will need more before we have
414 a connected mesh spread across Oslo. If this sound interesting to
415 you, please join us at the workshop. If you are too impatient to wait
416 15 days, please join us on the IRC channel
417 <a href=
"irc://irc.freenode.net/%
23nuug
">#nuug on irc.freenode.net
</a
>
418 right away. :)
</p
>
423 <title>Running TP-Link MR3040 as a batman-adv mesh node using openwrt
</title>
424 <link>http://people.skolelinux.org/pere/blog/Running_TP_Link_MR3040_as_a_batman_adv_mesh_node_using_openwrt.html
</link>
425 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Running_TP_Link_MR3040_as_a_batman_adv_mesh_node_using_openwrt.html
</guid>
426 <pubDate>Sun,
10 Nov
2013 23:
00:
00 +
0100</pubDate>
427 <description><p
>Continuing my research into mesh networking, I was recommended to
428 use TP-Link
3040 and
3600 access points as mesh nodes, and the pair I
429 bought arrived on Friday. Here are my notes on how to set up the
430 MR3040 as a mesh node using
431 <a href=
"http://www.openwrt.org/
">OpenWrt
</a
>.
</p
>
433 <p
>I started by following the instructions on the OpenWRT wiki for
434 <a href=
"http://wiki.openwrt.org/toh/tp-link/tl-mr3040
">TL-MR3040
</a
>,
436 <a href=
"http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-mr3040-v2-squashfs-factory.bin
">the
437 recommended firmware image
</a
>
438 (openwrt-ar71xx-generic-tl-mr3040-v2-squashfs-factory.bin) and
439 uploaded it into the original web interface. The flashing went fine,
440 and the machine was available via telnet on the ethernet port. After
441 logging in and setting the root password, ssh was available and I
442 could start to set it up as a batman-adv mesh node.
</p
>
444 <p
>I started off by reading the instructions from
445 <a href=
"http://wirelessafrica.meraka.org.za/wiki/index.php?title=Antoine
's_Research
">Wireless
446 Africa
</a
>, which had quite a lot of useful information, but
447 eventually I followed the recipe from the Open Mesh wiki for
448 <a href=
"http://www.open-mesh.org/projects/batman-adv/wiki/Batman-adv-openwrt-config
">using
449 batman-adv on OpenWrt
</a
>. A small snag was the fact that the
450 <tt
>opkg install kmod-batman-adv
</tt
> command did not work as it
451 should. The batman-adv kernel module would fail to load because its
452 dependency crc16 was not already loaded. I
453 <a href=
"https://dev.openwrt.org/ticket/
14452">reported the bug
</a
> to
454 the openwrt project and hope it will be fixed soon. But the problem
455 only seem to affect initial testing of batman-adv, as configuration
456 seem to work when booting from scratch.
</p
>
458 <p
>The setup is done using files in /etc/config/. I did not bridge
459 the Ethernet and mesh interfaces this time, to be able to hook up the
460 box on my local network and log into it for configuration updates.
461 The following files were changed and look like this after modifying
464 <p
><tt
>/etc/config/network
</tt
></p
>
468 config interface
'loopback
'
469 option ifname
'lo
'
470 option proto
'static
'
471 option ipaddr
'127.0.0.1'
472 option netmask
'255.0.0.0'
474 config globals
'globals
'
475 option ula_prefix
'fdbf:
4c12:
3fed::/
48'
477 config interface
'lan
'
478 option ifname
'eth0
'
479 option type
'bridge
'
480 option proto
'dhcp
'
481 option ipaddr
'192.168.1.1'
482 option netmask
'255.255.255.0'
483 option hostname
'tl-mr3040
'
484 option ip6assign
'60'
486 config interface
'mesh
'
487 option ifname
'adhoc0
'
488 option mtu
'1528'
489 option proto
'batadv
'
490 option mesh
'bat0
'
493 <p
><tt
>/etc/config/wireless
</tt
></p
>
496 config wifi-device
'radio0
'
497 option type
'mac80211
'
498 option channel
'11'
499 option hwmode
'11ng
'
500 option path
'platform/ar933x_wmac
'
501 option htmode
'HT20
'
502 list ht_capab
'SHORT-GI-
20'
503 list ht_capab
'SHORT-GI-
40'
504 list ht_capab
'RX-STBC1
'
505 list ht_capab
'DSSS_CCK-
40'
506 option disabled
'0'
508 config wifi-iface
'wmesh
'
509 option device
'radio0
'
510 option ifname
'adhoc0
'
511 option network
'mesh
'
512 option encryption
'none
'
513 option mode
'adhoc
'
514 option bssid
'02:BA:
00:
00:
00:
01'
515 option ssid
'meshfx@hackeriet
'
517 <p
><tt
>/etc/config/batman-adv
</tt
></p
>
520 config
'mesh
' 'bat0
'
521 option interfaces
'adhoc0
'
522 option
'aggregated_ogms
'
523 option
'ap_isolation
'
524 option
'bonding
'
525 option
'fragmentation
'
526 option
'gw_bandwidth
'
527 option
'gw_mode
'
528 option
'gw_sel_class
'
529 option
'log_level
'
530 option
'orig_interval
'
531 option
'vis_mode
'
532 option
'bridge_loop_avoidance
'
533 option
'distributed_arp_table
'
534 option
'network_coding
'
535 option
'hop_penalty
'
537 # yet another batX instance
538 # config
'mesh
' 'bat5
'
539 # option
'interfaces
' 'second_mesh
'
542 <p
>The mesh node is now operational. I have yet to test its range,
543 but I hope it is good. I have not yet tested the TP-Link
3600 box
544 still wrapped up in plastic.
</p
>
549 <title>Debian init.d boot script example for rsyslog
</title>
550 <link>http://people.skolelinux.org/pere/blog/Debian_init_d_boot_script_example_for_rsyslog.html
</link>
551 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Debian_init_d_boot_script_example_for_rsyslog.html
</guid>
552 <pubDate>Sat,
2 Nov
2013 22:
40:
00 +
0100</pubDate>
553 <description><p
>If one of the points of switching to a new init system in Debian is
554 <a href=
"http://thomas.goirand.fr/blog/?p=
147">to get rid of huge
555 init.d scripts
</a
>, I doubt we need to switch away from sysvinit and
556 init.d scripts at all. Here is an example init.d script, ie a rewrite
557 of /etc/init.d/rsyslog:
</p
>
560 #!/lib/init/init-d-script
563 # Required-Start: $remote_fs $time
564 # Required-Stop: umountnfs $time
565 # X-Stop-After: sendsigs
566 # Default-Start:
2 3 4 5
567 # Default-Stop:
0 1 6
568 # Short-Description: enhanced syslogd
569 # Description: Rsyslog is an enhanced multi-threaded syslogd.
570 # It is quite compatible to stock sysklogd and can be
571 # used as a drop-in replacement.
573 DESC=
"enhanced syslogd
"
574 DAEMON=/usr/sbin/rsyslogd
575 </pre
></p
>
577 <p
>Pretty minimalistic to me... For the record, the original sysv-rc
578 script was
137 lines, and the above is just
15 lines, most of it meta
579 info/comments.
</p
>
581 <p
>How to do this, you ask? Well, one create a new script
582 /lib/init/init-d-script looking something like this:
587 # Define LSB log_* functions.
588 # Depend on lsb-base (
>=
3.2-
14) to ensure that this file is present
589 # and status_of_proc is working.
590 . /lib/lsb/init-functions
593 # Function that starts the daemon/service
599 #
0 if daemon has been started
600 #
1 if daemon was already running
601 #
2 if daemon could not be started
602 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test
> /dev/null \
604 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
607 # Add code here, if necessary, that waits for the process to be ready
608 # to handle requests from services started subsequently which depend
609 # on this one. As a last resort, sleep for some time.
613 # Function that stops the daemon/service
618 #
0 if daemon has been stopped
619 #
1 if daemon was already stopped
620 #
2 if daemon could not be stopped
621 # other if a failure occurred
622 start-stop-daemon --stop --quiet --retry=TERM/
30/KILL/
5 --pidfile $PIDFILE --name $NAME
623 RETVAL=
"$?
"
624 [
"$RETVAL
" =
2 ]
&& return
2
625 # Wait for children to finish too if this is a daemon that forks
626 # and if the daemon is only ever run from this initscript.
627 # If the above conditions are not satisfied then add some other code
628 # that waits for the process to drop all resources that could be
629 # needed by services started subsequently. A last resort is to
630 # sleep for some time.
631 start-stop-daemon --stop --quiet --oknodo --retry=
0/
30/KILL/
5 --exec $DAEMON
632 [
"$?
" =
2 ]
&& return
2
633 # Many daemons don
't delete their pidfiles when they exit.
635 return
"$RETVAL
"
639 # Function that sends a SIGHUP to the daemon/service
643 # If the daemon can reload its configuration without
644 # restarting (for example, when it is sent a SIGHUP),
645 # then implement that here.
647 start-stop-daemon --stop --signal
1 --quiet --pidfile $PIDFILE --name $NAME
652 scriptbasename=
"$(basename $
1)
"
653 echo
"SN: $scriptbasename
"
654 if [
"$scriptbasename
" !=
"init-d-library
" ] ; then
655 script=
"$
1"
662 NAME=$(basename $DAEMON)
663 PIDFILE=/var/run/$NAME.pid
665 # Exit if the package is not installed
666 #[ -x
"$DAEMON
" ] || exit
0
668 # Read configuration variable file if it is present
669 [ -r /etc/default/$NAME ]
&& . /etc/default/$NAME
671 # Load the VERBOSE setting and other rcS variables
674 case
"$
1" in
676 [
"$VERBOSE
" != no ]
&& log_daemon_msg
"Starting $DESC
" "$NAME
"
678 case
"$?
" in
679 0|
1) [
"$VERBOSE
" != no ]
&& log_end_msg
0 ;;
680 2) [
"$VERBOSE
" != no ]
&& log_end_msg
1 ;;
684 [
"$VERBOSE
" != no ]
&& log_daemon_msg
"Stopping $DESC
" "$NAME
"
686 case
"$?
" in
687 0|
1) [
"$VERBOSE
" != no ]
&& log_end_msg
0 ;;
688 2) [
"$VERBOSE
" != no ]
&& log_end_msg
1 ;;
692 status_of_proc
"$DAEMON
" "$NAME
" && exit
0 || exit $?
694 #reload|force-reload)
696 # If do_reload() is not implemented then leave this commented out
697 # and leave
'force-reload
' as an alias for
'restart
'.
699 #log_daemon_msg
"Reloading $DESC
" "$NAME
"
703 restart|force-reload)
705 # If the
"reload
" option is implemented then remove the
706 #
'force-reload
' alias
708 log_daemon_msg
"Restarting $DESC
" "$NAME
"
710 case
"$?
" in
713 case
"$?
" in
715 1) log_end_msg
1 ;; # Old process is still running
716 *) log_end_msg
1 ;; # Failed to start
726 echo
"Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}
" >&2
732 </pre
></p
>
734 <p
>It is based on /etc/init.d/skeleton, and could be improved quite a
735 lot. I did not really polish the approach, so it might not always
736 work out of the box, but you get the idea. I did not try very hard to
737 optimize it nor make it more robust either.
</p
>
739 <p
>A better argument for switching init system in Debian than reducing
740 the size of init scripts (which is a good thing to do anyway), is to
741 get boot system that is able to handle the kernel events sensibly and
742 robustly, and do not depend on the boot to run sequentially. The boot
743 and the kernel have not behaved sequentially in years.
</p
>
748 <title>Browser plugin for SPICE (spice-xpi) uploaded to Debian
</title>
749 <link>http://people.skolelinux.org/pere/blog/Browser_plugin_for_SPICE__spice_xpi__uploaded_to_Debian.html
</link>
750 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Browser_plugin_for_SPICE__spice_xpi__uploaded_to_Debian.html
</guid>
751 <pubDate>Fri,
1 Nov
2013 11:
00:
00 +
0100</pubDate>
752 <description><p
><a href=
"http://www.spice-space.org/
">The SPICE protocol
</a
> for
753 remote display access is the preferred solution with oVirt and RedHat
754 Enterprise Virtualization, and I was sad to discover the other day
755 that the browser plugin needed to use these systems seamlessly was
756 missing in Debian. The
<a href=
"http://bugs.debian.org/
668284">request
757 for a package
</a
> was from
2012-
04-
10 with no progress since
758 2013-
04-
01, so I decided to wrap up a package based on the great work
759 from Cajus Pollmeier and put it in a collab-maint maintained git
760 repository to get a package I could use. I would very much like
761 others to help me maintain the package (or just take over, I do not
762 mind), but as no-one had volunteered so far, I just uploaded it to
763 NEW. I hope it will be available in Debian in a few days.
</p
>
765 <p
>The source is now available from
766 <a href=
"http://anonscm.debian.org/gitweb/?p=collab-maint/spice-xpi.git;a=summary
">http://anonscm.debian.org/gitweb/?p=collab-maint/spice-xpi.git;a=summary
</a
>.
</p
>