]> pere.pagekite.me Git - homepage.git/blob - blog/index.html
Generated.
[homepage.git] / blog / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
6 <title>Petter Reinholdtsen</title>
7 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/style.css" />
8 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/vim.css" />
9 <link rel="alternate" title="RSS Feed" href="http://people.skolelinux.org/pere/blog/index.rss" type="application/rss+xml" />
10 </head>
11 <body>
12 <div class="title">
13 <h1>
14 <a href="http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen</a>
15
16 </h1>
17
18 </div>
19
20
21
22 <div class="entry">
23 <div class="title"><a href="http://people.skolelinux.org/pere/blog/NRKs_kildevern_n_r_NRK_epost_deles_med_utenlands_etterretning_.html">NRKs kildevern når NRK-epost deles med utenlands etterretning?</a></div>
24 <div class="date"> 8th October 2016</div>
25 <div class="body"><p>NRK
26 <a href="https://nrkbeta.no/2016/09/02/securing-whistleblowers/">lanserte
27 for noen uker siden</a> en ny
28 <a href="https://www.nrk.no/varsle/">varslerportal som bruker
29 SecureDrop til å ta imot tips</a> der det er vesentlig at ingen
30 utenforstående får vite at NRK er tipset. Det er et langt steg
31 fremover for NRK, og når en leser bloggposten om hva de har tenkt på
32 og hvordan lysningen er satt opp virker det som om de har gjort en
33 grundig jobb der. Men det er ganske mye ekstra jobb å motta tips via
34 SecureDrop, så varslersiden skriver "Nyhetstips som ikke krever denne
35 typen ekstra vern vil vi gjerne ha på nrk.no/03030", og 03030-siden
36 foreslår i tillegg til et webskjema å bruke epost, SMS, telefon,
37 personlig oppmøte og brevpost. Denne artikkelen handler disse andre
38 metodene.</p>
39
40 <p>Når en sender epost til en @nrk.no-adresse så vil eposten sendes ut
41 av landet til datamaskiner kontrollert av Microsoft. En kan sjekke
42 dette selv ved å slå opp epostleveringsadresse (MX) i DNS. For NRK er
43 dette i dag "nrk-no.mail.protection.outlook.com". NRK har som en ser
44 valgt å sette bort epostmottaket sitt til de som står bak outlook.com,
45 dvs. Microsoft. En kan sjekke hvor nettverkstrafikken tar veien
46 gjennom Internett til epostmottaket vha. programmet
47 <tt>traceroute</tt>, og finne ut hvem som eier en Internett-adresse
48 vha. whois-systemet. Når en gjør dette for epost-trafikk til @nrk.no
49 ser en at trafikken fra Norge mot nrk-no.mail.protection.outlook.com
50 går via Sverige mot enten Irland eller Tyskland (det varierer fra gang
51 til gang og kan endre seg over tid).</p>
52
53 <p>Vi vet fra
54 <a href="https://no.wikipedia.org/wiki/FRA-loven">introduksjonen av
55 FRA-loven</a> at IP-trafikk som passerer grensen til Sverige avlyttes
56 av Försvarets radioanstalt (FRA). Vi vet videre takket være
57 Snowden-bekreftelsene at trafikk som passerer grensen til
58 Storbritannia avlyttes av Government Communications Headquarters
59 (GCHQ). I tillegg er er det nettopp lansert et forslag i Norge om at
60 forsvarets E-tjeneste skal få avlytte trafikk som krysser grensen til
61 Norge. Jeg er ikke kjent med dokumentasjon på at Irland og Tyskland
62 gjør det samme. Poenget er uansett at utenlandsk etterretning har
63 mulighet til å snappe opp trafikken når en sender epost til @nrk.no.
64 I tillegg er det selvsagt tilgjengelig for Microsoft som er underlagt USAs
65 jurisdiksjon og
66 <a href="https://www.theguardian.com/world/2013/jul/11/microsoft-nsa-collaboration-user-data">samarbeider
67 med USAs etterretning på flere områder</a>. De som tipser NRK om
68 nyheter via epost kan dermed gå ut fra at det blir kjent for mange
69 andre enn NRK at det er gjort.</p>
70
71 <p>Bruk av SMS og telefon registreres av blant annet telefonselskapene
72 og er tilgjengelig i følge lov og forskrift for blant annet Politi,
73 NAV og Finanstilsynet, i tillegg til IT-folkene hos telefonselskapene
74 og deres overordnede. Hvis innringer eller mottaker bruker
75 smarttelefon vil slik kontakt også gjøres tilgjengelig for ulike
76 app-leverandører og de som lytter på trafikken mellom telefon og
77 app-leverandør, alt etter hva som er installert på telefonene som
78 brukes.</p>
79
80 <p>Brevpost kan virke trygt, og jeg vet ikke hvor mye som registreres
81 og lagres av postens datastyrte postsorteringssentraler. Det vil ikke
82 overraske meg om det lagres hvor i landet hver konvolutt kommer fra og
83 hvor den er adressert, i hvert fall for en kortere periode. Jeg vet
84 heller ikke hvem slik informasjon gjøres tilgjengelig for. Det kan
85 være nok til å ringe inn potensielle kilder når det krysses med hvem
86 som kjente til aktuell informasjon og hvor de befant seg (tilgjengelig
87 f.eks. hvis de bærer mobiltelefon eller bor i nærheten).</p>
88
89 <p>Personlig oppmøte hos en NRK-journalist er antagelig det tryggeste,
90 men en bør passe seg for å bruke NRK-kantina. Der bryter de nemlig
91 <a href="http://www.lovdata.no/all/hl-19850524-028.html#14">Sentralbanklovens
92 paragraf 14</a> og nekter folk å betale med kontanter. I stedet
93 krever de at en varsle sin bankkortutsteder om hvor en befinner seg
94 ved å bruke bankkort. Banktransaksjoner er tilgjengelig for
95 bankkortutsteder (det være seg VISA, Mastercard, Nets og/eller en
96 bank) i tillegg til politiet og i hvert fall tidligere med Se & Hør
97 (via utro tjenere, slik det ble avslørt etter utgivelsen av boken
98 «Livet, det forbannede» av Ken B. Rasmussen). Men hvor mange kjenner
99 en NRK-journalist personlig? Besøk på NRK på Marienlyst krever at en
100 registrerer sin ankost elektronisk i besøkssystemet. Jeg vet ikke hva
101 som skjer med det datasettet, men har grunn til å tro at det sendes ut
102 SMS til den en skal besøke med navnet som er oppgitt. Kanskje greit å
103 oppgi falskt navn.</p>
104
105 <p>Når så tipset er kommet frem til NRK skal det behandles
106 redaksjonelt i NRK. Der vet jeg via personlige bekjentskaper at de
107 fleste journalistene bruker lokalt installert programvare, men noen
108 bruker Google Docs og andre skytjenester i strid med interne
109 retningslinjer når de skriver. Hvordan vet en hvem det gjelder? Ikke
110 vet jeg, men det kan være greit å spørre for å sjekke at journalisten
111 har tenkt på problemstillingen, før en gir et tips. Og hvis tipset
112 omtales internt på epost, er det jo grunn til å tro at også intern
113 eposten vil deles med Microsoft og utenlands etterretning, slik
114 tidligere nevnt, men det kan hende at det holdes internt i NRKs
115 interne MS Exchange-løsning. Men Microsoft ønsker å få alle
116 Exchange-kunder over "i skyen" (eller andre folks datamaskiner, som
117 det jo innebærer), så jeg vet ikke hvor lenge det i så fall vil
118 vare.</p>
119
120 <p>I tillegg vet en jo at
121 <a href="https://www.nrk.no/ytring/elektronisk-kildevern-i-nrk-1.11941196">NRK
122 har valgt å gi nasjonal sikkerhetsmyndighet (NSM) tilgang til å se på
123 intern og ekstern Internett-trafikk</a> hos NRK ved oppsett av såkalte
124 VDI-noder, på tross av
125 <a href="https://www.nrk.no/ytring/bekymring-for-nrks-kildevern-1.11941584">protester
126 fra NRKs journalistlag</a>. Jeg vet ikke om den vil kunne snappe opp
127 dokumenter som lagres på interne filtjenere eller dokumenter som lages
128 i de interne webbaserte publiseringssystemene, men vet at hva noden
129 ser etter på nettet kontrolleres av NSM og oppdateres automatisk, slik
130 at det ikke gir så mye mening å sjekke hva noden ser etter i dag når
131 det kan endres automatisk i morgen.</p>
132
133 <p>Personlig vet jeg ikke om jeg hadde turt tipse NRK hvis jeg satt på
134 noe som kunne være en trussel mot den bestående makten i Norge eller
135 verden. Til det virker det å være for mange åpninger for
136 utenforstående med andre prioriteter enn NRKs journalistiske fokus.
137 Og den største truslen for en varsler er jo om metainformasjon kommer
138 på avveie, dvs. informasjon om at en har vært i kontakt med en
139 journalist. Det kan være nok til at en kommer i myndighetenes
140 søkelys, og de færreste har nok operasjonell sikkerhet til at vil tåle
141 slik flombelysning på sitt privatliv.</p>
142 </div>
143 <div class="tags">
144
145
146 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/dld">dld</a>, <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>, <a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance</a>.
147
148
149 </div>
150 </div>
151 <div class="padding"></div>
152
153 <div class="entry">
154 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Isenkram__Appstream_and_udev_make_life_as_a_LEGO_builder_easier.html">Isenkram, Appstream and udev make life as a LEGO builder easier</a></div>
155 <div class="date"> 7th October 2016</div>
156 <div class="body"><p><a href="http://packages.qa.debian.org/isenkram">The Isenkram
157 system</a> provide a practical and easy way to figure out which
158 packages support the hardware in a given machine. The command line
159 tool <tt>isenkram-lookup</tt> and the tasksel options provide a
160 convenient way to list and install packages relevant for the current
161 hardware during system installation, both user space packages and
162 firmware packages. The GUI background daemon on the other hand provide
163 a pop-up proposing to install packages when a new dongle is inserted
164 while using the computer. For example, if you plug in a smart card
165 reader, the system will ask if you want to install <tt>pcscd</tt> if
166 that package isn't already installed, and if you plug in a USB video
167 camera the system will ask if you want to install <tt>cheese</tt> if
168 cheese is currently missing. This already work just fine.</p>
169
170 <p>But Isenkram depend on a database mapping from hardware IDs to
171 package names. When I started no such database existed in Debian, so
172 I made my own data set and included it with the isenkram package and
173 made isenkram fetch the latest version of this database from git using
174 http. This way the isenkram users would get updated package proposals
175 as soon as I learned more about hardware related packages.</p>
176
177 <p>The hardware is identified using modalias strings. The modalias
178 design is from the Linux kernel where most hardware descriptors are
179 made available as a strings that can be matched using filename style
180 globbing. It handle USB, PCI, DMI and a lot of other hardware related
181 identifiers.</p>
182
183 <p>The downside to the Isenkram specific database is that there is no
184 information about relevant distribution / Debian version, making
185 isenkram propose obsolete packages too. But along came AppStream, a
186 cross distribution mechanism to store and collect metadata about
187 software packages. When I heard about the proposal, I contacted the
188 people involved and suggested to add a hardware matching rule using
189 modalias strings in the specification, to be able to use AppStream for
190 mapping hardware to packages. This idea was accepted and AppStream is
191 now a great way for a package to announce the hardware it support in a
192 distribution neutral way. I wrote
193 <a href="http://people.skolelinux.org/pere/blog/Using_appstream_with_isenkram_to_install_hardware_related_packages_in_Debian.html">a
194 recipe on how to add such meta-information</a> in a blog post last
195 December. If you have a hardware related package in Debian, please
196 announce the relevant hardware IDs using AppStream.</p>
197
198 <p>In Debian, almost all packages that can talk to a LEGO Mindestorms
199 RCX or NXT unit, announce this support using AppStream. The effect is
200 that when you insert such LEGO robot controller into your Debian
201 machine, Isenkram will propose to install the packages needed to get
202 it working. The intention is that this should allow the local user to
203 start programming his robot controller right away without having to
204 guess what packages to use or which permissions to fix.</p>
205
206 <p>But when I sat down with my son the other day to program our NXT
207 unit using his Debian Stretch computer, I discovered something
208 annoying. The local console user (ie my son) did not get access to
209 the USB device for programming the unit. This used to work, but no
210 longer in Jessie and Stretch. After some investigation and asking
211 around on #debian-devel, I discovered that this was because udev had
212 changed the mechanism used to grant access to local devices. The
213 ConsoleKit mechanism from <tt>/lib/udev/rules.d/70-udev-acl.rules</tt>
214 no longer applied, because LDAP users no longer was added to the
215 plugdev group during login. Michael Biebl told me that this method
216 was obsolete and the new method used ACLs instead. This was good
217 news, as the plugdev mechanism is a mess when using a remote user
218 directory like LDAP. Using ACLs would make sure a user lost device
219 access when she logged out, even if the user left behind a background
220 process which would retain the plugdev membership with the ConsoleKit
221 setup. Armed with this knowledge I moved on to fix the access problem
222 for the LEGO Mindstorms related packages.</p>
223
224 <p>The new system uses a udev tag, 'uaccess'. It can either be
225 applied directly for a device, or is applied in
226 /lib/udev/rules.d/70-uaccess.rules for classes of devices. As the
227 LEGO Mindstorms udev rules did not have a class, I decided to add the
228 tag directly in the udev rules files included in the packages. Here
229 is one example. For the nqc C compiler for the RCX, the
230 <tt>/lib/udev/rules.d/60-nqc.rules</tt> file now look like this:
231
232 <p><pre>
233 SUBSYSTEM=="usb", ACTION=="add", ATTR{idVendor}=="0694", ATTR{idProduct}=="0001", \
234 SYMLINK+="rcx-%k", TAG+="uaccess"
235 </pre></p>
236
237 <p>The key part is the 'TAG+="uaccess"' at the end. I suspect all
238 packages using plugdev in their /lib/udev/rules.d/ files should be
239 changed to use this tag (either directly or indirectly via
240 <tt>70-uaccess.rules</tt>). Perhaps a lintian check should be created
241 to detect this?</p>
242
243 <p>I've been unable to find good documentation on the uaccess feature.
244 It is unclear to me if the uaccess tag is an internal implementation
245 detail like the udev-acl tag used by
246 <tt>/lib/udev/rules.d/70-udev-acl.rules</tt>. If it is, I guess the
247 indirect method is the preferred way. Michael
248 <a href="https://github.com/systemd/systemd/issues/4288">asked for more
249 documentation from the systemd project</a> and I hope it will make
250 this clearer. For now I use the generic classes when they exist and
251 is already handled by <tt>70-uaccess.rules</tt>, and add the tag
252 directly if no such class exist.</p>
253
254 <p>To learn more about the isenkram system, please check out
255 <a href="http://people.skolelinux.org/pere/blog/tags/isenkram/">my
256 blog posts tagged isenkram</a>.</p>
257
258 <p>To help out making life for LEGO constructors in Debian easier,
259 please join us on our IRC channel
260 <a href="irc://irc.debian.org/%23debian-lego">#debian-lego</a> and join
261 the <a href="https://alioth.debian.org/projects/debian-lego/">Debian
262 LEGO team</a> in the Alioth project we created yesterday. A mailing
263 list is not yet created, but we are working on it. :)</p>
264
265 <p>As usual, if you use Bitcoin and want to show your support of my
266 activities, please send Bitcoin donations to my address
267 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b&label=PetterReinholdtsenBlog">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
268 </div>
269 <div class="tags">
270
271
272 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram</a>.
273
274
275 </div>
276 </div>
277 <div class="padding"></div>
278
279 <div class="entry">
280 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Aftenposten_redakt_ren_med_lua_i_h_nda.html">Aftenposten-redaktøren med lua i hånda</a></div>
281 <div class="date"> 9th September 2016</div>
282 <div class="body"><p>En av dagens nyheter er at Aftenpostens redaktør Espen Egil Hansen
283 bruker
284 <a href="https://www.nrk.no/kultur/aftenposten-brukar-heile-forsida-pa-facebook-kritikk-1.13126918">forsiden
285 av papiravisen på et åpent brev til Facebooks sjef Mark Zuckerberg om
286 Facebooks fjerning av bilder, tekster og sider de ikke liker</a>. Det
287 må være uvant for redaktøren i avisen Aftenposten å stå med lua i
288 handa og håpe på å bli hørt. Spesielt siden Aftenposten har vært med
289 på å gi Facebook makten de nå demonstrerer at de har. Ved å melde seg
290 inn i Facebook-samfunnet har de sagt ja til bruksvilkårene og inngått
291 en antagelig bindende avtale. Kanskje de skulle lest og vurdert
292 vilkårene litt nærmere før de sa ja, i stedet for å klage over at
293 reglende de har valgt å akseptere blir fulgt? Personlig synes jeg
294 vilkårene er uakseptable og det ville ikke falle meg inn å gå inn på
295 en avtale med slike vilkår. I tillegg til uakseptable vilkår er det
296 mange andre grunner til å unngå Facebook. Du kan finne en solid
297 gjennomgang av flere slike argumenter hos
298 <a href="https://stallman.org/facebook.html">Richard Stallmans side om
299 Facebook</a>.
300
301 <p>Jeg håper flere norske redaktører på samme vis må stå med lua i
302 hånden inntil de forstår at de selv er med på å føre samfunnet på
303 ville veier ved å omfavne Facebook slik de gjør når de omtaler og
304 løfter frem saker fra Facebook, og tar i bruk Facebook som
305 distribusjonskanal for sine nyheter. De bidrar til
306 overvåkningssamfunnet og raderer ut lesernes privatsfære når de lenker
307 til Facebook på sine sider, og låser seg selv inne i en omgivelse der
308 det er Facebook, og ikke redaktøren, som sitter med makta.</p>
309
310 <p>Men det vil nok ta tid, i et Norge der de fleste nettredaktører
311 <a href="http://people.skolelinux.org/pere/blog/Snurpenot_overv_kning_av_sensitiv_personinformasjon.html">deler
312 sine leseres personopplysinger med utenlands etterretning</a>.</p>
313
314 <p>For øvrig burde varsleren Edward Snowden få politisk asyl i
315 Norge.</p>
316 </div>
317 <div class="tags">
318
319
320 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance</a>.
321
322
323 </div>
324 </div>
325 <div class="padding"></div>
326
327 <div class="entry">
328 <div class="title"><a href="http://people.skolelinux.org/pere/blog/E_tjenesten_ber_om_innsyn_i_eposten_til_partiene_p__Stortinget.html">E-tjenesten ber om innsyn i eposten til partiene på Stortinget</a></div>
329 <div class="date"> 6th September 2016</div>
330 <div class="body"><p>I helga kom det et hårreisende forslag fra Lysne II-utvalget satt
331 ned av Forsvarsdepartementet. Lysne II-utvalget var bedt om å vurdere
332 ønskelista til Forsvarets etterretningstjeneste (e-tjenesten), og har
333 kommet med
334 <a href="http://www.aftenposten.no/norge/Utvalg-sier-ja-til-at-E-tjenesten-far-overvake-innholdet-i-all-internett--og-telefontrafikk-som-krysser-riksgrensen-603232b.html">forslag
335 om at e-tjenesten skal få lov til a avlytte all Internett-trafikk</a>
336 som passerer Norges grenser. Få er klar over at dette innebærer at
337 e-tjenesten får tilgang til epost sendt til de fleste politiske
338 partiene på Stortinget. Regjeringspartiet Høyre (@hoyre.no),
339 støttepartiene Venstre (@venstre.no) og Kristelig Folkeparti (@krf.no)
340 samt Sosialistisk Ventreparti (@sv.no) og Miljøpartiet de grønne
341 (@mdg.no) har nemlig alle valgt å ta imot eposten sin via utenlandske
342 tjenester. Det betyr at hvis noen sender epost til noen med en slik
343 adresse vil innholdet i eposten, om dette forslaget blir vedtatt, gjøres
344 tilgjengelig for e-tjenesten. Venstre, Sosialistisk Ventreparti og
345 Miljøpartiet De Grønne har valgt å motta sin epost hos Google,
346 Kristelig Folkeparti har valgt å motta sin epost hos Microsoft, og
347 Høyre har valgt å motta sin epost hos Comendo med mottak i Danmark og
348 Irland. Kun Arbeiderpartiet og Fremskrittspartiet har valgt å motta
349 eposten sin i Norge, hos henholdsvis Intility AS og Telecomputing
350 AS.</p>
351
352 <p>Konsekvensen er at epost inn og ut av de politiske organisasjonene,
353 til og fra partimedlemmer og partiets tillitsvalgte vil gjøres
354 tilgjengelig for e-tjenesten for analyse og sortering. Jeg mistenker
355 at kunnskapen som slik blir tilgjengelig vil være nyttig hvis en
356 ønsker å vite hvilke argumenter som treffer publikum når en ønsker å
357 påvirke Stortingets representanter.</p
358
359 <p>Ved hjelp av MX-oppslag i DNS for epost-domene, tilhørende
360 whois-oppslag av IP-adressene og traceroute for å se hvorvidt
361 trafikken går via utlandet kan enhver få bekreftet at epost sendt til
362 de omtalte partiene vil gjøres tilgjengelig for forsvarets
363 etterretningstjeneste hvis forslaget blir vedtatt. En kan også bruke
364 den kjekke nett-tjenesten <a href="http://ipinfo.io/">ipinfo.io</a>
365 for å få en ide om hvor i verden en IP-adresse hører til.</p>
366
367 <p>På den positive siden vil forslaget gjøre at enda flere blir
368 motivert til å ta grep for å bruke
369 <a href="https://www.torproject.org/">Tor</a> og krypterte
370 kommunikasjonsløsninger for å kommunisere med sine kjære, for å sikre
371 at privatsfæren vernes. Selv bruker jeg blant annet
372 <a href="https://www.freedomboxfoundation.org/">FreedomBox</a> og
373 <a href="https://whispersystems.org/">Signal</a> til slikt. Ingen av
374 dem er optimale, men de fungerer ganske bra allerede og øker kostnaden
375 for dem som ønsker å invadere mitt privatliv.</p>
376
377 <p>For øvrig burde varsleren Edward Snowden få politisk asyl i
378 Norge.</p>
379
380 <!--
381
382 venstre.no
383 venstre.no mail is handled by 10 aspmx.l.google.com.
384 venstre.no mail is handled by 20 alt1.aspmx.l.google.com.
385 venstre.no mail is handled by 20 alt2.aspmx.l.google.com.
386 venstre.no mail is handled by 30 aspmx2.googlemail.com.
387 venstre.no mail is handled by 30 aspmx3.googlemail.com.
388
389 traceroute to aspmx.l.google.com (173.194.222.27), 30 hops max, 60 byte packets
390 1 uio-gw10.uio.no (129.240.6.1) 0.411 ms 0.438 ms 0.536 ms
391 2 uio-gw8.uio.no (129.240.24.229) 0.375 ms 0.452 ms 0.548 ms
392 3 oslo-gw1.uninett.no (128.39.65.17) 1.940 ms 1.950 ms 1.942 ms
393 4 se-tug.nordu.net (109.105.102.108) 6.910 ms 6.949 ms 7.283 ms
394 5 google-gw.nordu.net (109.105.98.6) 6.975 ms 6.967 ms 6.958 ms
395 6 209.85.250.192 (209.85.250.192) 7.337 ms 7.286 ms 10.890 ms
396 7 209.85.254.13 (209.85.254.13) 7.394 ms 209.85.254.31 (209.85.254.31) 7.586 ms 209.85.254.33 (209.85.254.33) 7.570 ms
397 8 209.85.251.255 (209.85.251.255) 15.686 ms 209.85.249.229 (209.85.249.229) 16.118 ms 209.85.251.255 (209.85.251.255) 16.073 ms
398 9 74.125.37.255 (74.125.37.255) 16.794 ms 216.239.40.248 (216.239.40.248) 16.113 ms 74.125.37.44 (74.125.37.44) 16.764 ms
399 10 * * *
400
401 mdg.no
402 mdg.no mail is handled by 1 aspmx.l.google.com.
403 mdg.no mail is handled by 5 alt2.aspmx.l.google.com.
404 mdg.no mail is handled by 5 alt1.aspmx.l.google.com.
405 mdg.no mail is handled by 10 aspmx2.googlemail.com.
406 mdg.no mail is handled by 10 aspmx3.googlemail.com.
407 sv.no
408 sv.no mail is handled by 1 aspmx.l.google.com.
409 sv.no mail is handled by 5 alt1.aspmx.l.google.com.
410 sv.no mail is handled by 5 alt2.aspmx.l.google.com.
411 sv.no mail is handled by 10 aspmx3.googlemail.com.
412 sv.no mail is handled by 10 aspmx2.googlemail.com.
413 hoyre.no
414 hoyre.no mail is handled by 10 hoyre-no.mx1.comendosystems.com.
415 hoyre.no mail is handled by 20 hoyre-no.mx2.comendosystems.net.
416
417 traceroute to hoyre-no.mx1.comendosystems.com (89.104.206.4), 30 hops max, 60 byte packets
418 1 uio-gw10.uio.no (129.240.6.1) 0.450 ms 0.510 ms 0.591 ms
419 2 uio-gw8.uio.no (129.240.24.229) 0.383 ms 0.508 ms 0.596 ms
420 3 oslo-gw1.uninett.no (128.39.65.17) 0.311 ms 0.315 ms 0.300 ms
421 4 se-tug.nordu.net (109.105.102.108) 6.837 ms 6.842 ms 6.834 ms
422 5 dk-uni.nordu.net (109.105.97.10) 26.073 ms 26.085 ms 26.076 ms
423 6 dix.1000m.soeborg.ip.comendo.dk (192.38.7.22) 15.372 ms 15.046 ms 15.123 ms
424 7 89.104.192.65 (89.104.192.65) 15.875 ms 15.990 ms 16.239 ms
425 8 89.104.192.179 (89.104.192.179) 15.676 ms 15.674 ms 15.664 ms
426 9 03dm-com.mx1.staysecuregroup.com (89.104.206.4) 15.637 ms * *
427
428 krf.no
429 krf.no mail is handled by 10 krf-no.mail.protection.outlook.com.
430
431 traceroute to krf-no.mail.protection.outlook.com (213.199.154.42), 30 hops max, 60 byte packets
432 1 uio-gw10.uio.no (129.240.6.1) 0.401 ms 0.438 ms 0.536 ms
433 2 uio-gw8.uio.no (129.240.24.229) 11.076 ms 11.120 ms 11.204 ms
434 3 oslo-gw1.uninett.no (128.39.65.17) 0.232 ms 0.234 ms 0.271 ms
435 4 se-tug.nordu.net (109.105.102.108) 6.811 ms 6.820 ms 6.815 ms
436 5 netnod-ix-ge-a-sth-4470.microsoft.com (195.245.240.181) 7.074 ms 7.013 ms 7.061 ms
437 6 ae1-0.sto-96cbe-1b.ntwk.msn.net (104.44.225.161) 7.227 ms 7.362 ms 7.293 ms
438 7 be-8-0.ibr01.ams.ntwk.msn.net (104.44.5.7) 41.993 ms 43.334 ms 41.939 ms
439 8 be-1-0.ibr02.ams.ntwk.msn.net (104.44.4.214) 43.153 ms 43.507 ms 43.404 ms
440 9 ae3-0.fra-96cbe-1b.ntwk.msn.net (104.44.5.17) 29.897 ms 29.831 ms 29.794 ms
441 10 ae10-0.vie-96cbe-1a.ntwk.msn.net (198.206.164.1) 42.309 ms 42.130 ms 41.808 ms
442 11 * ae8-0.vie-96cbe-1b.ntwk.msn.net (104.44.227.29) 41.425 ms *
443 12 * * *
444
445 arbeiderpartiet.no
446 arbeiderpartiet.no mail is handled by 10 mail.intility.com.
447 arbeiderpartiet.no mail is handled by 20 mail2.intility.com.
448
449 traceroute to mail.intility.com (188.95.245.87), 30 hops max, 60 byte packets
450 1 uio-gw10.uio.no (129.240.6.1) 0.486 ms 0.508 ms 0.649 ms
451 2 uio-gw8.uio.no (129.240.24.229) 0.416 ms 0.508 ms 0.620 ms
452 3 oslo-gw1.uninett.no (128.39.65.17) 0.276 ms 0.278 ms 0.275 ms
453 4 te3-1-2.br1.fn3.as2116.net (193.156.90.3) 0.374 ms 0.371 ms 0.416 ms
454 5 he16-1-1.cr1.san110.as2116.net (195.0.244.234) 3.132 ms he16-1-1.cr2.oslosda310.as2116.net (195.0.244.48) 10.079 ms he16-1-1.cr1.san110.as2116.net (195.0.244.234) 3.353 ms
455 6 te1-2-0.ar2.ulv89.as2116.net (195.0.243.194) 0.569 ms te5-0-0.ar2.ulv89.as2116.net (195.0.243.192) 0.661 ms 0.653 ms
456 7 cD2EC45C1.static.as2116.net (193.69.236.210) 0.654 ms 0.615 ms 0.590 ms
457 8 185.7.132.38 (185.7.132.38) 1.661 ms 1.808 ms 1.695 ms
458 9 185.7.132.100 (185.7.132.100) 1.793 ms 1.943 ms 1.546 ms
459 10 * * *
460
461 frp.no
462 frp.no mail is handled by 10 mx03.telecomputing.no.
463 frp.no mail is handled by 20 mx01.telecomputing.no.
464
465 traceroute to mx03.telecomputing.no (95.128.105.102), 30 hops max, 60 byte packets
466 1 uio-gw10.uio.no (129.240.6.1) 0.378 ms 0.402 ms 0.479 ms
467 2 uio-gw8.uio.no (129.240.24.229) 0.361 ms 0.458 ms 0.548 ms
468 3 oslo-gw1.uninett.no (128.39.65.17) 0.361 ms 0.352 ms 0.336 ms
469 4 xe-2-2-0-0.san-peer2.osl.no.ip.tdc.net (193.156.90.16) 0.375 ms 0.366 ms 0.346 ms
470 5 xe-2-0-2-0.ost-pe1.osl.no.ip.tdc.net (85.19.121.97) 0.780 ms xe-2-0-0-0.ost-pe1.osl.no.ip.tdc.net (85.19.121.101) 0.713 ms xe-2-0-2-0.ost-pe1.osl.no.ip.tdc.net (85.19.121.97) 0.759 ms
471 6 cpe.xe-0-2-0-100.ost-pe1.osl.no.customer.tdc.net (85.19.26.46) 0.837 ms 0.755 ms 0.759 ms
472 7 95.128.105.3 (95.128.105.3) 1.050 ms 1.288 ms 1.182 ms
473 8 mx03.telecomputing.no (95.128.105.102) 0.717 ms 0.703 ms 0.692 ms
474
475 -->
476 </div>
477 <div class="tags">
478
479
480 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance</a>.
481
482
483 </div>
484 </div>
485 <div class="padding"></div>
486
487 <div class="entry">
488 <div class="title"><a href="http://people.skolelinux.org/pere/blog/First_draft_Norwegian_Bokm_l_edition_of_The_Debian_Administrator_s_Handbook_now_public.html">First draft Norwegian Bokmål edition of The Debian Administrator's Handbook now public</a></div>
489 <div class="date">30th August 2016</div>
490 <div class="body"><p>In April we
491 <a href="http://people.skolelinux.org/pere/blog/Lets_make_a_Norwegian_Bokm_l_edition_of_The_Debian_Administrator_s_Handbook.html">started
492 to work</a> on a Norwegian Bokmål edition of the "open access" book on
493 how to set up and administrate a Debian system. Today I am happy to
494 report that the first draft is now publicly available. You can find
495 it on <a href="https://debian-handbook.info/get/">get the Debian
496 Administrator's Handbook page</a> (under Other languages). The first
497 eight chapters have a first draft translation, and we are working on
498 proofreading the content. If you want to help out, please start
499 contributing using
500 <a href="https://hosted.weblate.org/projects/debian-handbook/">the
501 hosted weblate project page</a>, and get in touch using
502 <a href="http://lists.alioth.debian.org/mailman/listinfo/debian-handbook-translators">the
503 translators mailing list</a>. Please also check out
504 <a href="https://debian-handbook.info/contribute/">the instructions for
505 contributors</a>. A good way to contribute is to proofread the text
506 and update weblate if you find errors.</p>
507
508 <p>Our goal is still to make the Norwegian book available on paper as well as
509 electronic form.</p>
510 </div>
511 <div class="tags">
512
513
514 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
515
516
517 </div>
518 </div>
519 <div class="padding"></div>
520
521 <div class="entry">
522 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Coz_can_help_you_find_bottlenecks_in_multi_threaded_software___nice_free_software.html">Coz can help you find bottlenecks in multi-threaded software - nice free software</a></div>
523 <div class="date">11th August 2016</div>
524 <div class="body"><p>This summer, I read a great article
525 "<a href="https://www.usenix.org/publications/login/summer2016/curtsinger">coz:
526 This Is the Profiler You're Looking For</a>" in USENIX ;login: about
527 how to profile multi-threaded programs. It presented a system for
528 profiling software by running experiences in the running program,
529 testing how run time performance is affected by "speeding up" parts of
530 the code to various degrees compared to a normal run. It does this by
531 slowing down parallel threads while the "faster up" code is running
532 and measure how this affect processing time. The processing time is
533 measured using probes inserted into the code, either using progress
534 counters (COZ_PROGRESS) or as latency meters (COZ_BEGIN/COZ_END). It
535 can also measure unmodified code by measuring complete the program
536 runtime and running the program several times instead.</p>
537
538 <p>The project and presentation was so inspiring that I would like to
539 get the system into Debian. I
540 <a href="https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830708">created
541 a WNPP request for it</a> and contacted upstream to try to make the
542 system ready for Debian by sending patches. The build process need to
543 be changed a bit to avoid running 'git clone' to get dependencies, and
544 to include the JavaScript web page used to visualize the collected
545 profiling information included in the source package.
546 But I expect that should work out fairly soon.</p>
547
548 <p>The way the system work is fairly simple. To run an coz experiment
549 on a binary with debug symbols available, start the program like this:
550
551 <p><blockquote><pre>
552 coz run --- program-to-run
553 </pre></blockquote></p>
554
555 <p>This will create a text file profile.coz with the instrumentation
556 information. To show what part of the code affect the performance
557 most, use a web browser and either point it to
558 <a href="http://plasma-umass.github.io/coz/">http://plasma-umass.github.io/coz/</a>
559 or use the copy from git (in the gh-pages branch). Check out this web
560 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
561 profiling more useful you include &lt;coz.h&gt; and insert the
562 COZ_PROGRESS or COZ_BEGIN and COZ_END at appropriate places in the
563 code, rebuild and run the profiler. This allow coz to do more
564 targeted experiments.</p>
565
566 <p>A video published by ACM
567 <a href="https://www.youtube.com/watch?v=jE0V-p1odPg">presenting the
568 Coz profiler</a> is available from Youtube. There is also a paper
569 from the 25th Symposium on Operating Systems Principles available
570 titled
571 <a href="https://www.usenix.org/conference/atc16/technical-sessions/presentation/curtsinger">Coz:
572 finding code that counts with causal profiling</a>.</p>
573
574 <p><a href="https://github.com/plasma-umass/coz">The source code</a>
575 for Coz is available from github. It will only build with clang
576 because it uses a
577 <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55606">C++
578 feature missing in GCC</a>, but I've submitted
579 <a href="https://github.com/plasma-umass/coz/pull/67">a patch to solve
580 it</a> and hope it will be included in the upstream source soon.</p>
581
582 <p>Please get in touch if you, like me, would like to see this piece
583 of software in Debian. I would very much like some help with the
584 packaging effort, as I lack the in depth knowledge on how to package
585 C++ libraries.</p>
586 </div>
587 <div class="tags">
588
589
590 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nice free software">nice free software</a>.
591
592
593 </div>
594 </div>
595 <div class="padding"></div>
596
597 <div class="entry">
598 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Sales_number_for_the_Free_Culture_translation__first_half_of_2016.html">Sales number for the Free Culture translation, first half of 2016</a></div>
599 <div class="date"> 5th August 2016</div>
600 <div class="body"><p>As my regular readers probably remember, the last year I published
601 a French and Norwegian translation of the classic
602 <a href="http://www.free-culture.cc/">Free Culture book</a> by the
603 founder of the Creative Commons movement, Lawrence Lessig. A bit less
604 known is the fact that due to the way I created the translations,
605 using docbook and po4a, I also recreated the English original. And
606 because I already had created a new the PDF edition, I published it
607 too. The revenue from the books are sent to the Creative Commons
608 Corporation. In other words, I do not earn any money from this
609 project, I just earn the warm fuzzy feeling that the text is available
610 for a wider audience and more people can learn why the Creative
611 Commons is needed.</p>
612
613 <p>Today, just for fun, I had a look at the sales number over at
614 Lulu.com, which take care of payment, printing and shipping. Much to
615 my surprise, the English edition is selling better than both the
616 French and Norwegian edition, despite the fact that it has been
617 available in English since it was first published. In total, 24 paper
618 books was sold for USD $19.99 between 2016-01-01 and 2016-07-31:</p>
619
620 <table border="0">
621 <tr><th>Title / language</th><th>Quantity</th></tr>
622 <tr><td><a href="http://www.lulu.com/shop/lawrence-lessig/culture-libre/paperback/product-22645082.html">Culture Libre / French</a></td><td align="right">3</td></tr>
623 <tr><td><a href="http://www.lulu.com/shop/lawrence-lessig/fri-kultur/paperback/product-22441576.html">Fri kultur / Norwegian</a></td><td align="right">7</td></tr>
624 <tr><td><a href="http://www.lulu.com/shop/lawrence-lessig/free-culture/paperback/product-22440520.html">Free Culture / English</a></td><td align="right">14</td></tr>
625 </table>
626
627 <p>The books are available both from Lulu.com and from large book
628 stores like Amazon and Barnes&Noble. Most revenue, around $10 per
629 book, is sent to the Creative Commons project when the book is sold
630 directly by Lulu.com. The other channels give less revenue. The
631 summary from Lulu tell me 10 books was sold via the Amazon channel, 10
632 via Ingram (what is this?) and 4 directly by Lulu. And Lulu.com tells
633 me that the revenue sent so far this year is USD $101.42. No idea
634 what kind of sales numbers to expect, so I do not know if that is a
635 good amount of sales for a 10 year old book or not. But it make me
636 happy that the buyers find the book, and I hope they enjoy reading it
637 as much as I did.</p>
638
639 <p>The ebook edition is available for free from
640 <a href="https://github.com/petterreinholdtsen/free-culture-lessig">Github</a>.</p>
641
642 <p>If you would like to translate and publish the book in your native
643 language, I would be happy to help make it happen. Please get in
644 touch.</p>
645 </div>
646 <div class="tags">
647
648
649 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/docbook">docbook</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/freeculture">freeculture</a>.
650
651
652 </div>
653 </div>
654 <div class="padding"></div>
655
656 <div class="entry">
657 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Vitenskapen_tar_som_vanlig_feil_igjen___relativt_feil.html">Vitenskapen tar som vanlig feil igjen - relativt feil</a></div>
658 <div class="date"> 1st August 2016</div>
659 <div class="body"><p>For mange år siden leste jeg en klassisk tekst som gjorde såpass
660 inntrykk på meg at jeg husker den fortsatt, flere år senere, og bruker
661 argumentene fra den stadig vekk. Teksten var «The Relativity of
662 Wrong» som Isaac Asimov publiserte i Skeptical Inquirer i 1989. Den
663 gir litt perspektiv rundt formidlingen av vitenskapelige resultater.
664 Jeg har hatt lyst til å kunne dele den også med folk som ikke
665 behersker engelsk så godt, som barn og noen av mine eldre slektninger,
666 og har savnet å ha den tilgjengelig på norsk. For to uker siden tok
667 jeg meg sammen og kontaktet Asbjørn Dyrendal i foreningen Skepsis om
668 de var interessert i å publisere en norsk utgave på bloggen sin, og da
669 han var positiv tok jeg kontakt med Skeptical Inquirer og spurte om
670 det var greit for dem. I løpet av noen dager fikk vi tilbakemelding
671 fra Barry Karr hos The Skeptical Inquirer som hadde sjekket og fått OK
672 fra Robyn Asimov som representerte arvingene i Asmiov-familien og gikk
673 igang med oversettingen.</p>
674
675 <p>Resultatet, <a href="http://www.skepsis.no/?p=1617">«Relativt
676 feil»</a>, ble publisert på skepsis-bloggen for noen minutter siden.
677 Jeg anbefaler deg på det varmeste å lese denne teksten og dele den med
678 dine venner.</p>
679
680 <p>For å håndtere oversettelsen og sikre at original og oversettelse
681 var i sync brukte vi git, po4a, GNU make og Transifex. Det hele
682 fungerte utmerket og gjorde det enkelt å dele tekstene og jobbe sammen
683 om finpuss på formuleringene. Hadde hosted.weblate.org latt meg
684 opprette nye prosjekter selv i stedet for å måtte kontakte
685 administratoren der, så hadde jeg brukt weblate i stedet.</p>
686 </div>
687 <div class="tags">
688
689
690 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk</a>, <a href="http://people.skolelinux.org/pere/blog/tags/skepsis">skepsis</a>.
691
692
693 </div>
694 </div>
695 <div class="padding"></div>
696
697 <div class="entry">
698 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Techno_TV_broadcasting_live_across_Norway_and_the_Internet___debconf16___nuug__on__frikanalen.html">Techno TV broadcasting live across Norway and the Internet (#debconf16, #nuug) on @frikanalen</a></div>
699 <div class="date"> 1st August 2016</div>
700 <div class="body"><p>Did you know there is a TV channel broadcasting talks from DebConf
701 16 across an entire country? Or that there is a TV channel
702 broadcasting talks by or about
703 <a href="http://beta.frikanalen.no/video/625529/">Linus Torvalds</a>,
704 <a href="http://beta.frikanalen.no/video/625599/">Tor</a>,
705 <a href="http://beta.frikanalen.no/video/624019/">OpenID</A>,
706 <a href="http://beta.frikanalen.no/video/625624/">Common Lisp</a>,
707 <a href="http://beta.frikanalen.no/video/625446/">Civic Tech</a>,
708 <a href="http://beta.frikanalen.no/video/625090/">EFF founder John Barlow</a>,
709 <a href="http://beta.frikanalen.no/video/625432/">how to make 3D
710 printer electronics</a> and many more fascinating topics? It works
711 using only free software (all of it
712 <a href="http://github.com/Frikanalen">available from Github</a>), and
713 is administrated using a web browser and a web API.</p>
714
715 <p>The TV channel is the Norwegian open channel
716 <a href="http://www.frikanalen.no/">Frikanalen</a>, and I am involved
717 via <a href="https://www.nuug.no/">the NUUG member association</a> in
718 running and developing the software for the channel. The channel is
719 organised as a member organisation where its members can upload and
720 broadcast what they want (think of it as Youtube for national
721 broadcasting television). Individuals can broadcast too. The time
722 slots are handled on a first come, first serve basis. Because the
723 channel have almost no viewers and very few active members, we can
724 experiment with TV technology without too much flack when we make
725 mistakes. And thanks to the few active members, most of the slots on
726 the schedule are free. I see this as an opportunity to spread
727 knowledge about technology and free software, and have a script I run
728 regularly to fill up all the open slots the next few days with
729 technology related video. The end result is a channel I like to
730 describe as Techno TV - filled with interesting talks and
731 presentations.</p>
732
733 <p>It is available on channel 50 on the Norwegian national digital TV
734 network (RiksTV). It is also available as a multicast stream on
735 Uninett. And finally, it is available as
736 <a href="http://beta.frikanalen.no/">a WebM unicast stream</a> from
737 Frikanalen and NUUG. Check it out. :)</p>
738 </div>
739 <div class="tags">
740
741
742 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/frikanalen">frikanalen</a>, <a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video">video</a>.
743
744
745 </div>
746 </div>
747 <div class="padding"></div>
748
749 <div class="entry">
750 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Unlocking_HTC_Desire_HD_on_Linux_using_unruu_and_fastboot.html">Unlocking HTC Desire HD on Linux using unruu and fastboot</a></div>
751 <div class="date"> 7th July 2016</div>
752 <div class="body"><p>Yesterday, I tried to unlock a HTC Desire HD phone, and it proved
753 to be a slight challenge. Here is the recipe if I ever need to do it
754 again. It all started by me wanting to try the recipe to set up
755 <a href="https://blog.torproject.org/blog/mission-impossible-hardening-android-security-and-privacy">an
756 hardened Android installation</a> from the Tor project blog on a
757 device I had access to. It is a old mobile phone with a broken
758 microphone The initial idea had been to just
759 <a href="http://wiki.cyanogenmod.org/w/Install_CM_for_ace">install
760 CyanogenMod on it</a>, but did not quite find time to start on it
761 until a few days ago.</p>
762
763 <p>The unlock process is supposed to be simple: (1) Boot into the boot
764 loader (press volume down and power at the same time), (2) select
765 'fastboot' before (3) connecting the device via USB to a Linux
766 machine, (4) request the device identifier token by running 'fastboot
767 oem get_identifier_token', (5) request the device unlocking key using
768 the <a href="http://www.htcdev.com/bootloader/">HTC developer web
769 site</a> and unlock the phone using the key file emailed to you.</p>
770
771 <p>Unfortunately, this only work fi you have hboot version 2.00.0029
772 or newer, and the device I was working on had 2.00.0027. This
773 apparently can be easily fixed by downloading a Windows program and
774 running it on your Windows machine, if you accept the terms Microsoft
775 require you to accept to use Windows - which I do not. So I had to
776 come up with a different approach. I got a lot of help from AndyCap
777 on #nuug, and would not have been able to get this working without
778 him.</p>
779
780 <p>First I needed to extract the hboot firmware from
781 <a href="http://www.htcdev.com/ruu/PD9810000_Ace_Sense30_S_hboot_2.00.0029.exe">the
782 windows binary for HTC Desire HD</a> downloaded as 'the RUU' from HTC.
783 For this there is is <a href="https://github.com/kmdm/unruu/">a github
784 project named unruu</a> using libunshield. The unshield tool did not
785 recognise the file format, but unruu worked and extracted rom.zip,
786 containing the new hboot firmware and a text file describing which
787 devices it would work for.</p>
788
789 <p>Next, I needed to get the new firmware into the device. For this I
790 followed some instructions
791 <a href="http://www.htc1guru.com/2013/09/new-ruu-zips-posted/">available
792 from HTC1Guru.com</a>, and ran these commands as root on a Linux
793 machine with Debian testing:</p>
794
795 <p><pre>
796 adb reboot-bootloader
797 fastboot oem rebootRUU
798 fastboot flash zip rom.zip
799 fastboot flash zip rom.zip
800 fastboot reboot
801 </pre></p>
802
803 <p>The flash command apparently need to be done twice to take effect,
804 as the first is just preparations and the second one do the flashing.
805 The adb command is just to get to the boot loader menu, so turning the
806 device on while holding volume down and the power button should work
807 too.</p>
808
809 <p>With the new hboot version in place I could start following the
810 instructions on the HTC developer web site. I got the device token
811 like this:</p>
812
813 <p><pre>
814 fastboot oem get_identifier_token 2>&1 | sed 's/(bootloader) //'
815 </pre>
816
817 <p>And once I got the unlock code via email, I could use it like
818 this:</p>
819
820 <p><pre>
821 fastboot flash unlocktoken Unlock_code.bin
822 </pre></p>
823
824 <p>And with that final step in place, the phone was unlocked and I
825 could start stuffing the software of my own choosing into the device.
826 So far I only inserted a replacement recovery image to wipe the phone
827 before I start. We will see what happen next. Perhaps I should
828 install <a href="https://www.debian.org/">Debian</a> on it. :)</p>
829 </div>
830 <div class="tags">
831
832
833 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem</a>, <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>.
834
835
836 </div>
837 </div>
838 <div class="padding"></div>
839
840 <p style="text-align: right;"><a href="index.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS feed" width="36" height="14" /></a></p>
841 <div id="sidebar">
842
843
844
845 <h2>Archive</h2>
846 <ul>
847
848 <li>2016
849 <ul>
850
851 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/01/">January (3)</a></li>
852
853 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/02/">February (2)</a></li>
854
855 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/03/">March (3)</a></li>
856
857 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/04/">April (8)</a></li>
858
859 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/05/">May (8)</a></li>
860
861 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/06/">June (2)</a></li>
862
863 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/07/">July (2)</a></li>
864
865 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/08/">August (5)</a></li>
866
867 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/09/">September (2)</a></li>
868
869 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/10/">October (2)</a></li>
870
871 </ul></li>
872
873 <li>2015
874 <ul>
875
876 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/01/">January (7)</a></li>
877
878 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/02/">February (6)</a></li>
879
880 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/03/">March (1)</a></li>
881
882 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/04/">April (4)</a></li>
883
884 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/05/">May (3)</a></li>
885
886 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/06/">June (4)</a></li>
887
888 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/07/">July (6)</a></li>
889
890 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/08/">August (2)</a></li>
891
892 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/09/">September (2)</a></li>
893
894 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/10/">October (9)</a></li>
895
896 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/11/">November (6)</a></li>
897
898 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/12/">December (3)</a></li>
899
900 </ul></li>
901
902 <li>2014
903 <ul>
904
905 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/01/">January (2)</a></li>
906
907 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/02/">February (3)</a></li>
908
909 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/03/">March (8)</a></li>
910
911 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/04/">April (7)</a></li>
912
913 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/05/">May (1)</a></li>
914
915 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/06/">June (2)</a></li>
916
917 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/07/">July (2)</a></li>
918
919 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/08/">August (2)</a></li>
920
921 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/09/">September (5)</a></li>
922
923 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/10/">October (6)</a></li>
924
925 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/11/">November (3)</a></li>
926
927 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/12/">December (5)</a></li>
928
929 </ul></li>
930
931 <li>2013
932 <ul>
933
934 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/01/">January (11)</a></li>
935
936 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/02/">February (9)</a></li>
937
938 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/03/">March (9)</a></li>
939
940 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/04/">April (6)</a></li>
941
942 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/05/">May (9)</a></li>
943
944 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/06/">June (10)</a></li>
945
946 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/07/">July (7)</a></li>
947
948 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/08/">August (3)</a></li>
949
950 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/09/">September (5)</a></li>
951
952 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/10/">October (7)</a></li>
953
954 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/11/">November (9)</a></li>
955
956 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/12/">December (3)</a></li>
957
958 </ul></li>
959
960 <li>2012
961 <ul>
962
963 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/01/">January (7)</a></li>
964
965 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/02/">February (10)</a></li>
966
967 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/03/">March (17)</a></li>
968
969 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/04/">April (12)</a></li>
970
971 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/05/">May (12)</a></li>
972
973 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/06/">June (20)</a></li>
974
975 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/07/">July (17)</a></li>
976
977 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/08/">August (6)</a></li>
978
979 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/09/">September (9)</a></li>
980
981 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/10/">October (17)</a></li>
982
983 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/11/">November (10)</a></li>
984
985 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/12/">December (7)</a></li>
986
987 </ul></li>
988
989 <li>2011
990 <ul>
991
992 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/01/">January (16)</a></li>
993
994 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/02/">February (6)</a></li>
995
996 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/03/">March (6)</a></li>
997
998 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/04/">April (7)</a></li>
999
1000 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/05/">May (3)</a></li>
1001
1002 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/06/">June (2)</a></li>
1003
1004 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/07/">July (7)</a></li>
1005
1006 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/08/">August (6)</a></li>
1007
1008 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/09/">September (4)</a></li>
1009
1010 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/10/">October (2)</a></li>
1011
1012 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/11/">November (3)</a></li>
1013
1014 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/12/">December (1)</a></li>
1015
1016 </ul></li>
1017
1018 <li>2010
1019 <ul>
1020
1021 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/01/">January (2)</a></li>
1022
1023 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/02/">February (1)</a></li>
1024
1025 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/03/">March (3)</a></li>
1026
1027 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/04/">April (3)</a></li>
1028
1029 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/05/">May (9)</a></li>
1030
1031 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/06/">June (14)</a></li>
1032
1033 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/07/">July (12)</a></li>
1034
1035 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/08/">August (13)</a></li>
1036
1037 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/09/">September (7)</a></li>
1038
1039 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/10/">October (9)</a></li>
1040
1041 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/11/">November (13)</a></li>
1042
1043 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/12/">December (12)</a></li>
1044
1045 </ul></li>
1046
1047 <li>2009
1048 <ul>
1049
1050 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/01/">January (8)</a></li>
1051
1052 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/02/">February (8)</a></li>
1053
1054 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/03/">March (12)</a></li>
1055
1056 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/04/">April (10)</a></li>
1057
1058 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/05/">May (9)</a></li>
1059
1060 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/06/">June (3)</a></li>
1061
1062 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/07/">July (4)</a></li>
1063
1064 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/08/">August (3)</a></li>
1065
1066 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/09/">September (1)</a></li>
1067
1068 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/10/">October (2)</a></li>
1069
1070 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/11/">November (3)</a></li>
1071
1072 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/12/">December (3)</a></li>
1073
1074 </ul></li>
1075
1076 <li>2008
1077 <ul>
1078
1079 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/11/">November (5)</a></li>
1080
1081 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/12/">December (7)</a></li>
1082
1083 </ul></li>
1084
1085 </ul>
1086
1087
1088
1089 <h2>Tags</h2>
1090 <ul>
1091
1092 <li><a href="http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (13)</a></li>
1093
1094 <li><a href="http://people.skolelinux.org/pere/blog/tags/amiga">amiga (1)</a></li>
1095
1096 <li><a href="http://people.skolelinux.org/pere/blog/tags/aros">aros (1)</a></li>
1097
1098 <li><a href="http://people.skolelinux.org/pere/blog/tags/bankid">bankid (4)</a></li>
1099
1100 <li><a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (9)</a></li>
1101
1102 <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (16)</a></li>
1103
1104 <li><a href="http://people.skolelinux.org/pere/blog/tags/bsa">bsa (2)</a></li>
1105
1106 <li><a href="http://people.skolelinux.org/pere/blog/tags/chrpath">chrpath (2)</a></li>
1107
1108 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (136)</a></li>
1109
1110 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (157)</a></li>
1111
1112 <li><a href="http://people.skolelinux.org/pere/blog/tags/digistan">digistan (10)</a></li>
1113
1114 <li><a href="http://people.skolelinux.org/pere/blog/tags/dld">dld (16)</a></li>
1115
1116 <li><a href="http://people.skolelinux.org/pere/blog/tags/docbook">docbook (23)</a></li>
1117
1118 <li><a href="http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (4)</a></li>
1119
1120 <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (328)</a></li>
1121
1122 <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (23)</a></li>
1123
1124 <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (12)</a></li>
1125
1126 <li><a href="http://people.skolelinux.org/pere/blog/tags/freeculture">freeculture (28)</a></li>
1127
1128 <li><a href="http://people.skolelinux.org/pere/blog/tags/freedombox">freedombox (9)</a></li>
1129
1130 <li><a href="http://people.skolelinux.org/pere/blog/tags/frikanalen">frikanalen (18)</a></li>
1131
1132 <li><a href="http://people.skolelinux.org/pere/blog/tags/h264">h264 (20)</a></li>
1133
1134 <li><a href="http://people.skolelinux.org/pere/blog/tags/intervju">intervju (42)</a></li>
1135
1136 <li><a href="http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram (13)</a></li>
1137
1138 <li><a href="http://people.skolelinux.org/pere/blog/tags/kart">kart (19)</a></li>
1139
1140 <li><a href="http://people.skolelinux.org/pere/blog/tags/ldap">ldap (9)</a></li>
1141
1142 <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker">lenker (8)</a></li>
1143
1144 <li><a href="http://people.skolelinux.org/pere/blog/tags/lsdvd">lsdvd (2)</a></li>
1145
1146 <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (1)</a></li>
1147
1148 <li><a href="http://people.skolelinux.org/pere/blog/tags/mesh network">mesh network (8)</a></li>
1149
1150 <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (39)</a></li>
1151
1152 <li><a href="http://people.skolelinux.org/pere/blog/tags/nice free software">nice free software (8)</a></li>
1153
1154 <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (279)</a></li>
1155
1156 <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (182)</a></li>
1157
1158 <li><a href="http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn (26)</a></li>
1159
1160 <li><a href="http://people.skolelinux.org/pere/blog/tags/open311">open311 (2)</a></li>
1161
1162 <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (61)</a></li>
1163
1164 <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (93)</a></li>
1165
1166 <li><a href="http://people.skolelinux.org/pere/blog/tags/raid">raid (1)</a></li>
1167
1168 <li><a href="http://people.skolelinux.org/pere/blog/tags/reactos">reactos (1)</a></li>
1169
1170 <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap (11)</a></li>
1171
1172 <li><a href="http://people.skolelinux.org/pere/blog/tags/rfid">rfid (3)</a></li>
1173
1174 <li><a href="http://people.skolelinux.org/pere/blog/tags/robot">robot (9)</a></li>
1175
1176 <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>
1177
1178 <li><a href="http://people.skolelinux.org/pere/blog/tags/ruter">ruter (4)</a></li>
1179
1180 <li><a href="http://people.skolelinux.org/pere/blog/tags/scraperwiki">scraperwiki (2)</a></li>
1181
1182 <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (49)</a></li>
1183
1184 <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (4)</a></li>
1185
1186 <li><a href="http://people.skolelinux.org/pere/blog/tags/skepsis">skepsis (5)</a></li>
1187
1188 <li><a href="http://people.skolelinux.org/pere/blog/tags/standard">standard (49)</a></li>
1189
1190 <li><a href="http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (4)</a></li>
1191
1192 <li><a href="http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (10)</a></li>
1193
1194 <li><a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (40)</a></li>
1195
1196 <li><a href="http://people.skolelinux.org/pere/blog/tags/sysadmin">sysadmin (2)</a></li>
1197
1198 <li><a href="http://people.skolelinux.org/pere/blog/tags/usenix">usenix (2)</a></li>
1199
1200 <li><a href="http://people.skolelinux.org/pere/blog/tags/valg">valg (8)</a></li>
1201
1202 <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (59)</a></li>
1203
1204 <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (4)</a></li>
1205
1206 <li><a href="http://people.skolelinux.org/pere/blog/tags/web">web (38)</a></li>
1207
1208 </ul>
1209
1210
1211 </div>
1212 <p style="text-align: right">
1213 Created by <a href="http://steve.org.uk/Software/chronicle">Chronicle v4.6</a>
1214 </p>
1215
1216 </body>
1217 </html>