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>Dugnadsnett for alle stiller på Oslo Maker Faire i januar
2014</title>
11 <link>http://people.skolelinux.org/pere/blog/Dugnadsnett_for_alle_stiller_p__Oslo_Maker_Faire_i_januar_2014.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Dugnadsnett_for_alle_stiller_p__Oslo_Maker_Faire_i_januar_2014.html
</guid>
13 <pubDate>Tue,
10 Dec
2013 19:
20:
00 +
0100</pubDate>
14 <description><p
>Helga
18. og
19. januar
2014 arrangeres
15 <a href=
"http://makerfaireoslo.no/no/program/dugnadsnett
">Oslo Maker
16 Faire
</a
>, og
<a href=
"http://www.dugnadsnett.no/
">Dugnadsnett for
17 alle
</a
> har fått plass! Planen er å ha et bord med en plakat der vi
18 forteller om hva Dugnadsnett for alle er for noe, og et lite verksted
19 der vi hjelper folk som er interessert i å få opp sin egen mesh-node.
20 Jeg gleder meg til å se hvordan prosjektet blir mottatt der.
</p
>
22 <p
>Målet med dugnadsnett for alle i Oslo er å få på plass et datanett
23 for kommunikasjon ved hjelp av radio-repeaterstasjoner (kalt
24 mesh-noder) som gjør at en kan direkte kommunisere med slekt, venner
25 og bekjente i Oslo via andre som deltar i dugnadsnettet, samt gjøre
26 det mulig komme ut på internett via dugnadsnettet. Første delmål er å
27 kunne sende SMS-meldinger vha. IP-telefoni løsningen
28 <a href=
"http://www.servalproject.org/
">Serval project
</a
> mellom
29 deltagerne i Dugnadsnett for alle i Oslo. Formålet er å ta tilbake
30 kontrollen over egen nett-infrastruktur og gjøre det dyrere å bedrive
31 massiv innsamling av informasjon om borgernes bruk av datanett.
</p
>
33 <p
>Høres dette interessant ut? Bli med på prosjektet, fortell oss
34 hvor du kunne tenke deg å sette opp en radio-repeater (slik at folk i
35 nærheten kan finne hverandre ved hjelp av
36 <a href=
"http://flynor.net/mesh/mesh.php
">kartet over planlagte og
37 eksisterende radio-repeatere
</A
>), bli med på epostlisten
38 <a href=
"http://lists.nuug.no/mailman/listinfo/dugnadsnett
">dugnadsnett
39 (at) nuug.no
</a
> og stikk innom
40 <a href=
"irc://irc.freenode.net/#dugnadsnett.no
">IRC-kanalen
41 #dugnadsnett.no
</a
>. Så langt er det planlagt over
40
42 radio-repeatere, med VPN-forbindelser via Internet for å la de delene
43 av nettet som ikke når hverandre via radio kunne snakke med hverandre
49 <title>Debian Edu interview: Klaus Knopper
</title>
50 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Klaus_Knopper.html
</link>
51 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Debian_Edu_interview__Klaus_Knopper.html
</guid>
52 <pubDate>Fri,
6 Dec
2013 09:
50:
00 +
0100</pubDate>
53 <description><p
>It has been a while since I managed to publish the last interview,
54 but the
<a href=
"http://www.skolelinux.org/
">Debian Edu /
55 Skolelinux
</a
> community is still going strong, and yesterday we even
56 had a new school administrator show up on
57 <a href=
"irc://irc.debian.org/#debian-edu
">#debian-edu
</a
> to share
58 his success story with installing Debian Edu at their school. This
59 time I have been able to get some helpful comments from the creator of
60 Knoppix, Klaus Knopper, who was involved in a Skolelinux project in
61 Germany a few years ago.
</p
>
63 <p
><strong
>Who are you, and how do you spend your days?
</strong
></p
>
65 <p
>I am Klaus Knopper. I have a master degree in electrical
66 engineering, and is currently professor in information management at
67 the university of applied sciences Kaiserslautern / Germany and
68 freelance Open Source software developer and consultant.
</p
>
70 <p
>All of this is pretty much of the work I spend my days with. Apart
71 from teaching, I
'm also conducting some more or less experimental
72 projects like the
<a href=
"http://www.knoppix.org
">Knoppix GNU/Linux live
73 system
</a
> (Debian-based like Skolelinux),
74 <a href=
"http://www.knopper.net/knoppix-adriane/index-en.html
">ADRIANE
</a
>
75 (a blind-friendly talking desktop system) and
76 <a href=
"http://www.knopper.net/linbo/index-en.html
">LINBO
</a
>
77 (Linux-based network boot console, a fast remote install and repair
78 system supporting various operating systems).
</p
>
80 <p
><strong
>How did you get in contact with the Skolelinux / Debian Edu
81 project?
</strong
></p
>
83 <p
>The credit for this have to go to Kurt Gramlich, who is the German
84 coordinator for Skolelinux. We were looking for an all-in-one open
85 source community-supported distribution for schools, and Kurt
86 introduced us to Skolelinux for this purpose.
</p
>
88 <p
><strong
>What do you see as the advantages of Skolelinux / Debian
89 Edu?
</strong
></p
>
92 <li
>Quick installation,
</li
>
93 <li
>works (almost) out of the box,
</li
>
94 <li
>contains many useful software packages for teaching and learning,
</li
>
95 <li
>is a purely community-based distro and not controlled by a
96 single company,
</li
>
97 <li
>has a large number of supporters and teachers who share their
98 experience and problem solutions.
</li
>
101 <p
><strong
>What do you see as the disadvantages of Skolelinux / Debian
102 Edu?
</strong
></p
>
105 <li
>Skolelinux is - as we had to learn - not easily upgradable to
106 the next version. Opposed to its genuine Debian base, upgrading to
107 a new version means a full new installation from scratch to get it
108 working again reliably.
110 <li
>Skolelinux is based on Debian/stable, and therefore always a
111 little outdated in terms of program versions compared to Edubuntu or
112 similar educational Linux distros, which rather use Debian/testing
115 <li
>Skolelinux has some very self-opinionated and stubborn default
116 configuration which in my opinion adds unnecessary complexity and is
117 not always suitable for a schools needs, the preset network
118 configuration is actually a core definition feature of Skolelinux
119 and not easy to change, so schools sometimes have to change their
120 network configuration to make it
"Skolelinux-compatible
".
122 <li
>Some proposed extensions, which were made available as
123 contribution, like secure examination mode and lecture material
124 distribution and collection, were not accepted into the mainline
125 Skolelinux development and are now not easy to maintain in the
126 future because of Skolelinux somewhat undeterministic update
129 <li
>Skolelinux has only a very tiny number of base developers
130 compared to Debian.
</li
>
134 <p
>For these reasons and experience from our project, I would now
135 rather consider using plain Debian for schools next time, until
136 Skolelinux is more closely integrated into Debian and becomes
137 upgradeable without reinstallation.
</p
>
139 <p
><strong
>Which free software do you use daily?
</strong
></p
>
141 <p
>GNU/Linux with LXDE desktop, bash for interactive dialog and
142 programming, texlive for documentation and correspondence,
143 occasionally LibreOffice for document format conversion. Various
144 programming languages for teaching.
</p
>
146 <p
><strong
>Which strategy do you believe is the right one to use to
147 get schools to use free software?
</strong
></p
>
149 <p
>Strong arguments are
</p
>
153 <li
>Knowledge is free, and so should be methods and tools for
154 teaching and learning.
</li
>
156 <li
>Students can learn with and use the same software at school, at
157 home, and at their working place without running into license or
158 conversion problems.
</li
>
160 <li
>Closed source or proprietary software hides knowledge rather
161 than exposing it, and proprietary software vendors try to bind
162 customers to certain products. But teachers need to teach
163 science, not products.
</li
>
165 <li
>If you have everything you for daily work as open source, what
166 would you need proprietary software for?
</li
>
173 <title>Dugnadsnett for alle, a wireless community network in Oslo, take shape
</title>
174 <link>http://people.skolelinux.org/pere/blog/Dugnadsnett_for_alle__a_wireless_community_network_in_Oslo__take_shape.html
</link>
175 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Dugnadsnett_for_alle__a_wireless_community_network_in_Oslo__take_shape.html
</guid>
176 <pubDate>Sat,
30 Nov
2013 10:
10:
00 +
0100</pubDate>
177 <description><p
>If you want the ability to electronically communicate directly with
178 your neighbors and friends using a network controlled by your peers in
179 stead of centrally controlled by a few corporations, or would like to
180 experiment with interesting network technology, the
181 <a href=
"http://www.dugnadsnett.no/
">Dugnasnett for alle i Oslo
</a
>
182 might be project for you.
39 mesh nodes are currently being planned,
183 in the freshly started initiative from NUUG and Hackeriet to create a
184 wireless community network. The work is inspired by
185 <a href=
"http://freifunk.net/
">Freifunk
</a
>,
186 <a href=
"http://www.awmn.net/
">Athens Wireless Metropolitan
187 Network
</a
>,
<a href=
"http://en.wikipedia.org/wiki/Roofnet
">Roofnet
</a
>
188 and other successful mesh networks around the globe. Two days ago we
189 held a workshop to try to get people started on setting up their own
190 mesh node, and there we decided to create a new mailing list
191 <a href=
"http://lists.nuug.no/mailman/listinfo/dugnadsnett
">dugnadsnett
192 (at) nuug.no
</a
> and IRC channel
193 <a href=
"irc://irc.freenode.net/#dugnadsnett.no
">#dugnadsnett.no
</a
> to
194 coordinate the work. See also the NUUG blog post
195 <a href=
"http://www.nuug.no/news/E_postliste_og_IRC_kanal_for_Dugnadsnett_for_alle_i_Oslo.shtml
">announcing
196 the mailing list and IRC channel
</a
>.
</p
>
201 <title>Hvor godt fungerer Linux-klienter mot MS Exchange?
</title>
202 <link>http://people.skolelinux.org/pere/blog/Hvor_godt_fungerer_Linux_klienter_mot_MS_Exchange_.html
</link>
203 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Hvor_godt_fungerer_Linux_klienter_mot_MS_Exchange_.html
</guid>
204 <pubDate>Tue,
26 Nov
2013 18:
50:
00 +
0100</pubDate>
205 <description><p
>Jeg
206 <a href=
"http://people.skolelinux.org/pere/blog/_pent_m_te_p__onsdag_om_bruken_av_Microsoft_Exchange_ved_Universitetet_i_Oslo.html
">skrev
207 i juni om protestene
</a
> på planene til min arbeidsplass,
208 <a href=
"http://www.uio.no/
">Universitetet i Oslo
</a
>, om å gå bort fra
209 fri programvare- og åpne standardløsninger for å håndtere epost,
210 vekk fra IETF-standarden SIEVE for filtrering av epost og over til
211 godseide spesifikasjoner og epostsystemet Microsoft Exchange.
212 Protestene har fått litt ny omtale i media de siste dagene, i tillegg
213 til de oppslagene som kom i mai.
</p
>
217 <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
>
220 <a href=
"http://www.idg.no/computerworld/article279407.ece
">Microsoft-protest
221 på Universitetet
</a
> - Computerworld
</li
>
224 <a href=
"http://www.uniforum.uio.no/nyheter/
2013/
11/uio-bor-bruke-apen-programvare.html
">Kjemper
225 mot innføring av Microsoft Exchange på UiO
</a
> - Uniforum
</li
>
228 <a href=
"http://www.uniforum.uio.no/nyheter/
2013/
11/uio-utsetter-innforing-av-nytt-e-postsystem.html
">Utsetter
229 innføring av nytt e-postsystem
</a
> - Uniforum
</li
>
232 <a href=
"http://universitas.no/nyhet/
58462/forsvarer-nytt-it-system
">Forsvarer
233 nytt IT-system
</a
> - Universitas
</li
>
236 <a href=
"http://www.uniforum.uio.no/nyheter/
2013/
05/uio-innforer-nytt-epost-og-kalendersystem.html
">UiO
237 innfører nytt epost- og kalenderverktøy
</a
> - Uniforum
</li
>
240 <a href=
"http://universitas.no/nyhet/
58424/protestgruppe-vil-stanse-it-system
">Protestgruppe
241 vil stanse IT-system
</a
> - Universitas
</li
>
244 <a href=
"http://www.uniforum.uio.no/leserbrev/
2013/uio-ma-ha-kontroll-over-sitt-eget-epostsystem.html
">UiO
245 må ha kontroll over sitt eget epostsystem
</a
> - Uniforum
</li
>
249 <p
>Prosjektledelsen har fortalt at dette skal fungere like godt for
250 Linux-brukere som for brukere av Microsoft Windows og Apple MacOSX,
251 men jeg lurer på hva slags erfaringer Linux-brukere i eksisterende
252 miljøer som bruker MS Exchange har gjort. Hvis du har slik erfaring
253 hadet det vært veldig fint om du kan send et leserbrev til
254 <a href=
"http://www.uniforum.uio.no/
">Uniforum
</a
> og fortelle om hvor
255 greit det er å bruke Exchange i kryss-platform-miljøer? De jeg har
256 snakket med sier en greit får lest e-posten sin hvis Exchange har
257 slått på IMAP-funksjonalitet, men at kalender og møtebooking ikke
258 fungerer godt for Linux-klienter. Jeg har ingen personlig erfaring å
259 komme med, så jeg er nysgjerrig på hva andre kan dele av erfaringer
260 med universitetet.
</p
>
262 <p
>Mitt ankerpunkt mot å bytte ut fri programvare som fungerer godt
263 med godseid programvare er at en mister kontroll over egen
264 infrastruktur, låser seg inn i en løsning det vil bli dyrt å komme ut
265 av, uten at en får funksjonalitet en ikke kunne skaffet seg med fri
266 programvare, eventuelt videreutviklet med de pengene som brukes på
267 overgangen til MS Exchange. Personlig planlegger jeg å fortsette å
268 laste ned all eposten min til lokal maskin for indeksering og lesing
269 med
<a href==
"http://notmuchmail.org
">notmuch
</a
>, så jeg håper jeg
270 ikke blir veldig skadelidende av overgangen.
</p
>
272 <p
><a href=
"http://dinis.linguateca.pt/Diana/ImotMSUiO.html
">Underskriftslista
273 for oss som er mot endringen
</a
>, som omtales i artiklene, er fortsatt
274 åpen for de som vil signere på oppropet. Akkurat nå er det
298
275 personer som har signert.
</p
>
280 <title>New chrpath release
0.15</title>
281 <link>http://people.skolelinux.org/pere/blog/New_chrpath_release_0_15.html
</link>
282 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/New_chrpath_release_0_15.html
</guid>
283 <pubDate>Sun,
24 Nov
2013 09:
30:
00 +
0100</pubDate>
284 <description><p
>After many years break from the package and a vain hope that
285 development would be continued by someone else, I finally pulled my
286 acts together this morning and wrapped up a new release of chrpath,
287 the command line tool to modify the rpath and runpath of already
288 compiled ELF programs. The update was triggered by the persistence of
289 Isha Vishnoi at IBM, which needed a new config.guess file to get
290 support for the ppc64le architecture (powerpc
64-bit Little Endian) he
291 is working on. I checked the
292 <a href=
"http://packages.qa.debian.org/chrpath
">Debian
</a
>,
293 <a href=
"https://launchpad.net/ubuntu/+source/chrpath
">Ubuntu
</a
> and
294 <a href=
"https://admin.fedoraproject.org/pkgdb/acls/name/chrpath
">Fedora
</a
>
295 packages for interesting patches (failed to find the source from
296 OpenSUSE and Mandriva packages), and found quite a few nice fixes.
297 These are the release notes:
</p
>
299 <p
>New in
0.15 released
2013-
11-
24:
</p
>
303 <li
>Updated config.sub and config.guess from the GNU project to work
304 with newer architectures. Thanks to isha vishnoi for the heads
307 <li
>Updated README with current URLs.
</li
>
309 <li
>Added byteswap fix found in Ubuntu, credited Jeremy Kerr and
310 Matthias Klose.
</li
>
312 <li
>Added missing help for -k|--keepgoing option, using patch by
313 Petr Machata found in Fedora.
</li
>
315 <li
>Rewrite removal of RPATH/RUNPATH to make sure the entry in
316 .dynamic is a NULL terminated string. Based on patch found in
317 Fedora credited Axel Thimm and Christian Krause.
</li
>
322 <a href=
"https://alioth.debian.org/frs/?group_id=
31052">download the
323 new version
0.15 from alioth
</a
>. Please let us know via the Alioth
324 project if something is wrong with the new release. The test suite
325 did not discover any old errors, so if you find a new one, please also
326 include a testsuite check.
</p
>
331 <title>RSS-kilde for fritekstsøk i offentlige anbud hos Doffin
</title>
332 <link>http://people.skolelinux.org/pere/blog/RSS_kilde_for_friteksts_k_i_offentlige_anbud_hos_Doffin.html
</link>
333 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/RSS_kilde_for_friteksts_k_i_offentlige_anbud_hos_Doffin.html
</guid>
334 <pubDate>Fri,
22 Nov
2013 13:
40:
00 +
0100</pubDate>
335 <description><p
>I fjor sommer lagde jeg en
336 <a href=
"http://people.skolelinux.org/pere/blog/SQL_database_med_anbud_publisert_p__Doffin.html
">offentlig
337 tilgjengelig SQL-database over offentlig anbud
</a
> basert på skraping
338 av HTML-data fra Doffin. Den har stått og gått siden da, og har nå
339 ca.
28000 oppføringer. Jeg oppdaget da jeg tittet innom at noen
340 oppføringer var ikke blitt med, antagelig på grunn av at de fikk
341 tildelt sekvensnummer i Doffin en godt stund før de ble publisert,
342 slik at min nettsideskraper som fortsatte skrapingen der den slapp
343 sist ikke fikk dem med seg. Jeg har fikset litt slik at skraperen nå
344 ser litt tilbake i tid for å se om den har gått glipp av noen
345 oppføringer, og har skrapet på nytt fra midten av september
2013 og
346 fremover. Det bør dermed bli en mer komplett database for kommende
347 måneder. Hvis jeg får tid skal jeg forsøke å skrape
"glemte
" data fra
348 før midten av september
2013, men tør ikke garantere at det blir
349 prioritert med det første.
</p
>
351 <p
>Men målet med denne bloggposten er å vise hvordan denne
352 Doffin-databasen kan brukes og integreres med en RSS-leser, slik at en
353 kan la datamaskinen holde et øye med Doffin-annonseringer etter
354 nøkkelord. En kan lage sitt eget søk ved å besøke
355 <ahref=
"https://classic.scraperwiki.com/docs/api?name=norwegian-doffin#sqlite
">API-et
356 hos Scraperwiki
</a
>, velge format rss2 og så legge inn noe ala dette i
357 "query in SQL
":
</p
>
360 select title, scrapedurl as link, abstract as description,
361 publishdate as pubDate from
'swdata
'
362 where abstract like
'%linux%
' or title like
'%linux%
'
363 order by seq desc limit
20
364 </pre
></p
>
366 <p
>Dette vil søke opp alle anbud med ordet linux i oppsummering eller
367 tittel. En kan lage mer avanserte søk hvis en ønsker det. URL-en som
368 dukker opp nederst på siden kan en så gi til sin RSS-leser (jeg bruker
369 akregator selv), og så automatisk få beskjed hvis det dukker opp anbud
370 med det aktuelle nøkkelordet i teksten. Merk at kapasiteten og
371 ytelsen hos Scraperwiki er begrenset, så ikke be RSS-leseren hente ned
372 oftere enn en gang hver dag.
</p
>
374 <p
>Du lurer kanskje på hva slags informasjon en kan få ut fra denne
375 databasen. Her er to RSS-kilder, med søkeordet
376 "<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
>",
378 "<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
379 programvare
</a
>"
381 "<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
>".
382 Det er bare å søke på det en er interessert i. Kopier gjerne
383 datasettet og sett opp din egen tjeneste hvis du vil gjøre mer
384 avanserte søk. SQLite-filen med Doffin-oppføringer kan lastes med fra
385 Scraperwiki for de som vil grave dypere.
</p
>
390 <title>All drones should be radio marked with what they do and who they belong to
</title>
391 <link>http://people.skolelinux.org/pere/blog/All_drones_should_be_radio_marked_with_what_they_do_and_who_they_belong_to.html
</link>
392 <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>
393 <pubDate>Thu,
21 Nov
2013 15:
40:
00 +
0100</pubDate>
394 <description><p
>Drones, flying robots, are getting more and more popular. The most
395 know ones are the killer drones used by some government to murder
396 people they do not like without giving them the chance of a fair
397 trial, but the technology have many good uses too, from mapping and
398 forest maintenance to photography and search and rescue. I am sure it
399 is just a question of time before
"bad drones
" are in the hands of
400 private enterprises and not only state criminals but petty criminals
401 too. The drone technology is very useful and very dangerous. To have
402 some control over the use of drones, I agree with Daniel Suarez in his
404 "<a href=
"https://archive.org/details/DanielSuarez_2013G
">The kill
405 decision shouldn
't belong to a robot
</a
>", where he suggested this
406 little gem to keep the good while limiting the bad use of drones:
</p
>
410 <p
>Each robot and drone should have a cryptographically signed
411 I.D. burned in at the factory that can be used to track its movement
412 through public spaces. We have license plates on cars, tail numbers on
413 aircraft. This is no different. And every citizen should be able to
414 download an app that shows the population of drones and autonomous
415 vehicles moving through public spaces around them, both right now and
416 historically. And civic leaders should deploy sensors and civic drones
417 to detect rogue drones, and instead of sending killer drones of their
418 own up to shoot them down, they should notify humans to their
419 presence. And in certain very high-security areas, perhaps civic
420 drones would snare them and drag them off to a bomb disposal facility.
</p
>
422 <p
>But notice, this is more an immune system than a weapons system. It
423 would allow us to avail ourselves of the use of autonomous vehicles
424 and drones while still preserving our open, civil society.
</p
>
428 <p
>The key is that
<em
>every citizen
</em
> should be able to read the
429 radio beacons sent from the drones in the area, to be able to check
430 both the government and others use of drones. For such control to be
431 effective, everyone must be able to do it. What should such beacon
432 contain? At least formal owner, purpose, contact information and GPS
433 location. Probably also the origin and target position of the current
434 flight. And perhaps some registration number to be able to look up
435 the drone in a central database tracking their movement. Robots
436 should not have privacy. It is people who need privacy.
</p
>
441 <title>Lets make a wireless community network in Oslo!
</title>
442 <link>http://people.skolelinux.org/pere/blog/Lets_make_a_wireless_community_network_in_Oslo_.html
</link>
443 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Lets_make_a_wireless_community_network_in_Oslo_.html
</guid>
444 <pubDate>Wed,
13 Nov
2013 21:
00:
00 +
0100</pubDate>
445 <description><p
>Today NUUG and Hackeriet announced
446 <a href=
"http://www.nuug.no/news/Bli_med___bygge_dugnadsnett_for_alle_i_Oslo.shtml
">our
447 plans to join forces and create a wireless community network in
448 Oslo
</a
>. The workshop to help people get started will take place
449 Thursday
2013-
11-
28, but we already are collecting the geolocation of
450 people joining forces to make this happen. We have
451 <a href=
"https://github.com/petterreinholdtsen/meshfx-node/blob/master/oslo-nodes.geojson
">9
452 locations plotted on the map
</a
>, but we will need more before we have
453 a connected mesh spread across Oslo. If this sound interesting to
454 you, please join us at the workshop. If you are too impatient to wait
455 15 days, please join us on the IRC channel
456 <a href=
"irc://irc.freenode.net/%
23nuug
">#nuug on irc.freenode.net
</a
>
457 right away. :)
</p
>
462 <title>Running TP-Link MR3040 as a batman-adv mesh node using openwrt
</title>
463 <link>http://people.skolelinux.org/pere/blog/Running_TP_Link_MR3040_as_a_batman_adv_mesh_node_using_openwrt.html
</link>
464 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Running_TP_Link_MR3040_as_a_batman_adv_mesh_node_using_openwrt.html
</guid>
465 <pubDate>Sun,
10 Nov
2013 23:
00:
00 +
0100</pubDate>
466 <description><p
>Continuing my research into mesh networking, I was recommended to
467 use TP-Link
3040 and
3600 access points as mesh nodes, and the pair I
468 bought arrived on Friday. Here are my notes on how to set up the
469 MR3040 as a mesh node using
470 <a href=
"http://www.openwrt.org/
">OpenWrt
</a
>.
</p
>
472 <p
>I started by following the instructions on the OpenWRT wiki for
473 <a href=
"http://wiki.openwrt.org/toh/tp-link/tl-mr3040
">TL-MR3040
</a
>,
475 <a href=
"http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-mr3040-v2-squashfs-factory.bin
">the
476 recommended firmware image
</a
>
477 (openwrt-ar71xx-generic-tl-mr3040-v2-squashfs-factory.bin) and
478 uploaded it into the original web interface. The flashing went fine,
479 and the machine was available via telnet on the ethernet port. After
480 logging in and setting the root password, ssh was available and I
481 could start to set it up as a batman-adv mesh node.
</p
>
483 <p
>I started off by reading the instructions from
484 <a href=
"http://wirelessafrica.meraka.org.za/wiki/index.php?title=Antoine
's_Research
">Wireless
485 Africa
</a
>, which had quite a lot of useful information, but
486 eventually I followed the recipe from the Open Mesh wiki for
487 <a href=
"http://www.open-mesh.org/projects/batman-adv/wiki/Batman-adv-openwrt-config
">using
488 batman-adv on OpenWrt
</a
>. A small snag was the fact that the
489 <tt
>opkg install kmod-batman-adv
</tt
> command did not work as it
490 should. The batman-adv kernel module would fail to load because its
491 dependency crc16 was not already loaded. I
492 <a href=
"https://dev.openwrt.org/ticket/
14452">reported the bug
</a
> to
493 the openwrt project and hope it will be fixed soon. But the problem
494 only seem to affect initial testing of batman-adv, as configuration
495 seem to work when booting from scratch.
</p
>
497 <p
>The setup is done using files in /etc/config/. I did not bridge
498 the Ethernet and mesh interfaces this time, to be able to hook up the
499 box on my local network and log into it for configuration updates.
500 The following files were changed and look like this after modifying
503 <p
><tt
>/etc/config/network
</tt
></p
>
507 config interface
'loopback
'
508 option ifname
'lo
'
509 option proto
'static
'
510 option ipaddr
'127.0.0.1'
511 option netmask
'255.0.0.0'
513 config globals
'globals
'
514 option ula_prefix
'fdbf:
4c12:
3fed::/
48'
516 config interface
'lan
'
517 option ifname
'eth0
'
518 option type
'bridge
'
519 option proto
'dhcp
'
520 option ipaddr
'192.168.1.1'
521 option netmask
'255.255.255.0'
522 option hostname
'tl-mr3040
'
523 option ip6assign
'60'
525 config interface
'mesh
'
526 option ifname
'adhoc0
'
527 option mtu
'1528'
528 option proto
'batadv
'
529 option mesh
'bat0
'
532 <p
><tt
>/etc/config/wireless
</tt
></p
>
535 config wifi-device
'radio0
'
536 option type
'mac80211
'
537 option channel
'11'
538 option hwmode
'11ng
'
539 option path
'platform/ar933x_wmac
'
540 option htmode
'HT20
'
541 list ht_capab
'SHORT-GI-
20'
542 list ht_capab
'SHORT-GI-
40'
543 list ht_capab
'RX-STBC1
'
544 list ht_capab
'DSSS_CCK-
40'
545 option disabled
'0'
547 config wifi-iface
'wmesh
'
548 option device
'radio0
'
549 option ifname
'adhoc0
'
550 option network
'mesh
'
551 option encryption
'none
'
552 option mode
'adhoc
'
553 option bssid
'02:BA:
00:
00:
00:
01'
554 option ssid
'meshfx@hackeriet
'
556 <p
><tt
>/etc/config/batman-adv
</tt
></p
>
559 config
'mesh
' 'bat0
'
560 option interfaces
'adhoc0
'
561 option
'aggregated_ogms
'
562 option
'ap_isolation
'
563 option
'bonding
'
564 option
'fragmentation
'
565 option
'gw_bandwidth
'
566 option
'gw_mode
'
567 option
'gw_sel_class
'
568 option
'log_level
'
569 option
'orig_interval
'
570 option
'vis_mode
'
571 option
'bridge_loop_avoidance
'
572 option
'distributed_arp_table
'
573 option
'network_coding
'
574 option
'hop_penalty
'
576 # yet another batX instance
577 # config
'mesh
' 'bat5
'
578 # option
'interfaces
' 'second_mesh
'
581 <p
>The mesh node is now operational. I have yet to test its range,
582 but I hope it is good. I have not yet tested the TP-Link
3600 box
583 still wrapped up in plastic.
</p
>
588 <title>Debian init.d boot script example for rsyslog
</title>
589 <link>http://people.skolelinux.org/pere/blog/Debian_init_d_boot_script_example_for_rsyslog.html
</link>
590 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Debian_init_d_boot_script_example_for_rsyslog.html
</guid>
591 <pubDate>Sat,
2 Nov
2013 22:
40:
00 +
0100</pubDate>
592 <description><p
>If one of the points of switching to a new init system in Debian is
593 <a href=
"http://thomas.goirand.fr/blog/?p=
147">to get rid of huge
594 init.d scripts
</a
>, I doubt we need to switch away from sysvinit and
595 init.d scripts at all. Here is an example init.d script, ie a rewrite
596 of /etc/init.d/rsyslog:
</p
>
599 #!/lib/init/init-d-script
602 # Required-Start: $remote_fs $time
603 # Required-Stop: umountnfs $time
604 # X-Stop-After: sendsigs
605 # Default-Start:
2 3 4 5
606 # Default-Stop:
0 1 6
607 # Short-Description: enhanced syslogd
608 # Description: Rsyslog is an enhanced multi-threaded syslogd.
609 # It is quite compatible to stock sysklogd and can be
610 # used as a drop-in replacement.
612 DESC=
"enhanced syslogd
"
613 DAEMON=/usr/sbin/rsyslogd
614 </pre
></p
>
616 <p
>Pretty minimalistic to me... For the record, the original sysv-rc
617 script was
137 lines, and the above is just
15 lines, most of it meta
618 info/comments.
</p
>
620 <p
>How to do this, you ask? Well, one create a new script
621 /lib/init/init-d-script looking something like this:
626 # Define LSB log_* functions.
627 # Depend on lsb-base (
>=
3.2-
14) to ensure that this file is present
628 # and status_of_proc is working.
629 . /lib/lsb/init-functions
632 # Function that starts the daemon/service
638 #
0 if daemon has been started
639 #
1 if daemon was already running
640 #
2 if daemon could not be started
641 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test
> /dev/null \
643 start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
646 # Add code here, if necessary, that waits for the process to be ready
647 # to handle requests from services started subsequently which depend
648 # on this one. As a last resort, sleep for some time.
652 # Function that stops the daemon/service
657 #
0 if daemon has been stopped
658 #
1 if daemon was already stopped
659 #
2 if daemon could not be stopped
660 # other if a failure occurred
661 start-stop-daemon --stop --quiet --retry=TERM/
30/KILL/
5 --pidfile $PIDFILE --name $NAME
662 RETVAL=
"$?
"
663 [
"$RETVAL
" =
2 ]
&& return
2
664 # Wait for children to finish too if this is a daemon that forks
665 # and if the daemon is only ever run from this initscript.
666 # If the above conditions are not satisfied then add some other code
667 # that waits for the process to drop all resources that could be
668 # needed by services started subsequently. A last resort is to
669 # sleep for some time.
670 start-stop-daemon --stop --quiet --oknodo --retry=
0/
30/KILL/
5 --exec $DAEMON
671 [
"$?
" =
2 ]
&& return
2
672 # Many daemons don
't delete their pidfiles when they exit.
674 return
"$RETVAL
"
678 # Function that sends a SIGHUP to the daemon/service
682 # If the daemon can reload its configuration without
683 # restarting (for example, when it is sent a SIGHUP),
684 # then implement that here.
686 start-stop-daemon --stop --signal
1 --quiet --pidfile $PIDFILE --name $NAME
691 scriptbasename=
"$(basename $
1)
"
692 echo
"SN: $scriptbasename
"
693 if [
"$scriptbasename
" !=
"init-d-library
" ] ; then
694 script=
"$
1"
701 NAME=$(basename $DAEMON)
702 PIDFILE=/var/run/$NAME.pid
704 # Exit if the package is not installed
705 #[ -x
"$DAEMON
" ] || exit
0
707 # Read configuration variable file if it is present
708 [ -r /etc/default/$NAME ]
&& . /etc/default/$NAME
710 # Load the VERBOSE setting and other rcS variables
713 case
"$
1" in
715 [
"$VERBOSE
" != no ]
&& log_daemon_msg
"Starting $DESC
" "$NAME
"
717 case
"$?
" in
718 0|
1) [
"$VERBOSE
" != no ]
&& log_end_msg
0 ;;
719 2) [
"$VERBOSE
" != no ]
&& log_end_msg
1 ;;
723 [
"$VERBOSE
" != no ]
&& log_daemon_msg
"Stopping $DESC
" "$NAME
"
725 case
"$?
" in
726 0|
1) [
"$VERBOSE
" != no ]
&& log_end_msg
0 ;;
727 2) [
"$VERBOSE
" != no ]
&& log_end_msg
1 ;;
731 status_of_proc
"$DAEMON
" "$NAME
" && exit
0 || exit $?
733 #reload|force-reload)
735 # If do_reload() is not implemented then leave this commented out
736 # and leave
'force-reload
' as an alias for
'restart
'.
738 #log_daemon_msg
"Reloading $DESC
" "$NAME
"
742 restart|force-reload)
744 # If the
"reload
" option is implemented then remove the
745 #
'force-reload
' alias
747 log_daemon_msg
"Restarting $DESC
" "$NAME
"
749 case
"$?
" in
752 case
"$?
" in
754 1) log_end_msg
1 ;; # Old process is still running
755 *) log_end_msg
1 ;; # Failed to start
765 echo
"Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}
" >&2
771 </pre
></p
>
773 <p
>It is based on /etc/init.d/skeleton, and could be improved quite a
774 lot. I did not really polish the approach, so it might not always
775 work out of the box, but you get the idea. I did not try very hard to
776 optimize it nor make it more robust either.
</p
>
778 <p
>A better argument for switching init system in Debian than reducing
779 the size of init scripts (which is a good thing to do anyway), is to
780 get boot system that is able to handle the kernel events sensibly and
781 robustly, and do not depend on the boot to run sequentially. The boot
782 and the kernel have not behaved sequentially in years.
</p
>