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">
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" />
14 <a href=
"http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen
</a>
23 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Automatic_proxy_configuration_with_Debian_Edu___Skolelinux.html">Automatic proxy configuration with Debian Edu / Skolelinux
</a></div>
24 <div class=
"date">13th February
2012</div>
25 <div class=
"body"><p>New in the Squeeze version of
26 <a href=
"http://www.skolelinux.org/">Debian Edu / Skolelinux
</a> is the
27 ability for clients to automatically configure their proxy settings
28 based on their environment. We want all systems on the client to use
29 the WPAD based proxy definition fetched from
<tt>http://wpad/wpad.dat
</tt>, to
30 allow sites to control the proxy setting from a central place and make
31 sure clients do not have hard coded proxy settings. The schools can
32 change the global proxy setting by editing
33 <tt>tjener:/etc/debian-edu/www/wpad.dat
</tt> and the change propagate
34 to all Debian Edu clients in the network.
</p>
36 <p>The problem is that some systems do not understand the WPAD system.
37 In other words, how do one get from a WPAD file like this (this is a
38 simple one, they can run arbitrary code):
</p>
41 function FindProxyForURL(url, host)
43 if (!isResolvable(host) ||
44 isPlainHostName(host) ||
45 dnsDomainIs(host, ".intern"))
48 return "PROXY webcache:
3128; DIRECT";
52 <p>to a proxy setting in the process environment looking like this:
</p>
55 http_proxy=http://webcache:
3128/
56 ftp_proxy=http://webcache:
3128/
59 <p>To do this conversion I developed a perl script that will execute
60 the javascript fragment in the WPAD file and return the proxy that
62 <tt><a href=
"http://www.debian.org/">http://www.debian.org/
</a></tt>,
63 and insert this extracted proxy URL in
<tt>/etc/environment
</tt> and
64 <tt>/etc/apt/apt.conf
</tt>. The perl script wpad-extract work just
65 fine in Squeeze, but in Wheezy the library it need to run the
66 javascript code is
<a href=
"http://bugs.debian.org/631045">no longer
67 able to build
</a> because the C library it depended on is now a C++
68 library. I hope someone find a solution to that problem before Wheezy
69 is frozen. An alternative would be for us to rewrite wpad-extract to
70 use some other javascript library currently working in Wheezy, but no
71 known alternative is known at the moment.
</p>
73 <p>This automatic proxy system allow the roaming workstation (aka
74 laptop) setup in Debian Edu/Squeeze to use the proxy when the laptop
75 is connected to the backbone network in a Debian Edu setup, and to
76 automatically use any proxy present and announced using the WPAD
77 feature when it is connected to other networks. And if no proxy is
78 announced, direct connections will be used instead.
</p>
80 <p>Silently using a proxy announced on the network might be a privacy
81 or security problem. But those controlling DHCP and DNS on a network
82 could just as easily set up a transparent proxy, and force all HTTP
83 and FTP connections to use a proxy anyway, so I consider that
84 distinction to be academic. If you are afraid of using the wrong
85 proxy, you should avoid connecting to the network in question in the
86 first place. In Debian Edu, the proxy setup is updated using dhcp and
87 ifupdown hooks, to make sure the configuration is updated every time
88 the network setup changes.
</p>
90 The WPAD system is documented in a
91 <a href=
"http://tools.ietf.org/html/draft-ietf-wrec-wpad-01">IETF
93 <a href=
"http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol">Wikipedia
94 page
</a> for those that want to learn more.
99 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>.
104 <div class=
"padding"></div>
107 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Skolelinux_intervju__Axel_Bojer.html">Skolelinux-intervju: Axel Bojer
</a></div>
108 <div class=
"date"> 7th February
2012</div>
109 <div class=
"body"><p>I serien med intervjuer av folk i
110 <a href=
"http://www.skolelinux.org/">Skolelinux
</a>-miljøet har jeg
111 fått en av oversetterne som har vært med siden starten i tale.
</p>
113 <p><strong>Hvem er du, og hva driver du med til daglig?
</strong></p>
115 <p>Jeg heter Axel Bojer og er datalærer, tysklærer, oversetter med
118 <p><strong>Hvordan kom du i kontakt med Skolelinux-prosjektet?
</strong></p>
120 <p>Tror jeg så en annonsering på nettet i slutten av
2001 og ville
121 være med som oversetter. Jeg kom med på en utviklersamling og
122 prosjektet var da helt i starten. Det var spennende å være med mens
123 prosjektet vokste til og utviklet seg.
</p>
125 <p>Jeg har «alltid» vært språkinteressert og hadde nettopp startet med
126 Linux og tror jeg tenkte det passet å bidra. Var også glad for å få
127 en Debian-distribusjon, og ville gjerne bruke den selv. Til å begynne
128 med brukte jeg først Mandrake og så Debian. Og siden jeg oppdaget at
129 det ikke var noen mulighet for å bruke den som enkeltstående i lang
130 tid, så gikk jeg etterhvert over til Kubuntu
</p>
132 <p><strong>Hva er fordelene med Skolelinux slik du ser det?
</strong></p>
134 <p>Løsningen er forholdsvis lett å sette opp, gratis, fri programvare
135 og gjør det mulig å gjenbruke eldre maskiner. Det fine med Debian er
136 at det er stabilt og har en veldig stor mengde programmer. Jeg liker
137 også apt. :-) Jeg liker også friheten ved Linux og muligheten til å
138 delta og forme sin egen datahverdag.
</p>
140 <p><strong>Hva er ulempene med Skolelinux slik du ser det?
</strong></p>
142 <p>Skolelinux er for lite kjent og for sent ute med å gi ut nye
145 <p>Da jeg selv i hovedsak bruker Kubuntu, så kan jeg egentlig ikke
146 svare så detaljert rundt ulempene med Skolelinux. Hovedårsaken til at
147 jeg bruker Kubuntu er nok at da vi begynte med det mener jeg det ikke
148 var noen annen løsning. «Vandrende arbeidsstasjon» mener jeg ikke
149 fantes da. Dessuten ville jeg ha siste versjon, da den KDE-versjonen
150 som var i Skolelinux den gangen var en god del enklere (tror det var
151 KDE
2) var dårligere i mine øyne enn versjon
3.
</p>
153 <p><strong>Hvilken fri programvare bruker du til daglig?
</strong></p>
155 <p>Jeg bruker blant annet Kubuntu, LibreOffice, Thunderbird, Firefox,
156 Kate,
<a href=
"http://comix.sourceforge.net/">Comix
</a> og Konsole. Og
157 en hel haug andre ved behov :-)
</p>
159 <p>Har oversatt Comix selv, men det er jo ikke skjedd noe med Comix
160 siden
2009, så den er det nok bare jeg som har. Om andre vil ha den
161 gir jeg den gjerne videre. Ser at noen har startet på
162 <a href=
"http://mcomix.sourceforge.net/">MComix
</a> siden jeg så på så
163 på dette sist, så nå er jeg igang med å teste og oversette den
166 <p><strong>Hvilken strategi tror du er den rette å bruke for å få
167 skoler til å ta i bruk fri programvare?
</strong></p>
169 <p>Det viktigste er å forankre beslutningen i kollegiet og med de som
170 er ansvarlige for å vedlikeholde og bruke datamaskinene. Flest mulig
171 bør være med på å holde det (sosialt) vedlike, kjenne og støtte
172 prinsippene. Som enkeltmannsprosjekt blir det lett veldig sårbart,
173 særlig når (Skole)linux ennå i stor grad er en motkultur og ikke noe
174 en stor nok andel av beslutningstakere, brukere osv kjenner til og
177 <p>Jeg tror det viktigste er å fortsette å holde fri programvare godt,
178 oppdatert, minimere antall feil, ha en god kontakt med brukerne og
179 attraktivt og spennende programmer. Beholde alt som er bra og ha det
180 tilgjengelig samtidig som man tilbyr det nyeste og rareste for de som
186 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/intervju">intervju
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk
</a>.
191 <div class=
"padding"></div>
194 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Saving_power_with_Debian_Edu___Skolelinux_using_shutdown_at_night.html">Saving power with Debian Edu / Skolelinux using shutdown-at-night
</a></div>
195 <div class=
"date"> 5th February
2012</div>
196 <div class=
"body"><p>Since the Lenny version of
197 <a href=
"http://www.skolelinux.org/">Debian Edu / Skolelinux
</a>, a
198 feature to save power have been included. It is as simple as it is
199 practical: Shut down unused clients at night, and turn them on again
200 in the morning. This is done using the
201 <a href=
"http://packages.qa.debian.org/s/shutdown-at-night.html">shutdown-at-night
</a> Debian package.
</p>
203 <p>To enable this feature on a client, the machine need to be added to
204 the netgroup shutdown-at-night-hosts. For Debian Edu, this is done in
205 LDAP, and once this is in place, the machine in question will check
206 every hour from
16:
00 until
06:
00 to see if the machine is unused, and
207 shut it down if it is. If the hardware in question is supported by
209 <a href=
"http://packages.qa.debian.org/n/nvram-wakeup.html">nvram-wakeup
</a>
210 package, the BIOS is told to turn the machine back on around
07:
00 +-
211 10 minutes. If this isn't working, one can configure wake-on-lan to
212 try to turn on the client. The wake-on-lan option is only documented
213 and not enabled by default in Debian Edu.
</p>
215 <p>It is important to not turn all machines on at once, as this can
216 blow a fuse if several computers are connected to the same fuse like
217 the common setup for a classroom. The nvram-wakeup method only work
218 for machines with a functioning hardware/BIOS clock. I've seen old
219 machines where the BIOS battery were dead and the hardware clock were
220 starting from
0 (or was it
1990?) every boot. If you have one of
221 those, you have to turn on the computer manually.
</p>
223 <p>The shutdown-at-night package is completely self contained, and can
224 also be used outside the Debian Edu environment. For those without a
225 central LDAP server with netgroups, one can instead touch the file
226 <tt>/etc/shutdown-at-night/shutdown-at-night
</tt> to enable it.
227 Perhaps you too can use it to save some power?
</p>
232 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>.
237 <div class=
"padding"></div>
240 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Third_beta_version_of_Debian_Edu___Skolelinux_based_on_Squeeze.html">Third beta version of Debian Edu / Skolelinux based on Squeeze
</a></div>
241 <div class=
"date"> 4th February
2012</div>
242 <div class=
"body"><p>I am happy to announce that finally we managed today to wrap up and
243 publish the third beta version of
244 <a href=
"http://www.skolelinux.org/">Debian Edu / Skolelinux
</a> based
245 on Squeeze. If you want to test a LDAP backed Kerberos server with
246 out of the box PXE configuration for running diskless machines and
247 installing new machines, check it out. If you need a software
248 solution for your school, check it out too. The full announcement is
249 <a href=
"http://lists.debian.org/debian-edu-announce/2012/02/msg00000.html">available
</a>
250 on the project announcement list.
</p>
252 <p>I am very happy to report these changes and improvements since
253 beta2 (there are more, see announcement for full list):
</p>
257 <li>It is now possible to change the pre-configured IP subnet from
258 10.0.0.0/
8 to something else by using the subnet-change tool after
259 the installation.
</li>
261 <li>Too full partitions are now automatically extended on the Main
262 Server, based on the rules specified in /etc/fsautoresizetab.
</li>
264 <li>The CUPS queues are now automatically flushed every night, and all
265 disabled queues are restarted every hour. This should cut down on
266 the amount of manual administration needed for printers.
</li>
268 <li>The set of initial users have been changed. Now a personal user
269 for the local system administrator is created during installation
270 instead of the previously created localadmin and super-admin users,
271 and this user is granted administrative privileges using group
272 membership. This reduces the number of passwords one need to keep
273 up to date on the system.
</li>
277 <p>The new main server seem to work so well that I am testing it as my
278 private DNS/LDAP/Kerberos/PXE/LTSP server at home. I will use it look
279 for issues we could fix to polish Debian Edu even further before the
280 final Squeeze release is published.
</p>
282 <p>Next weekend the project organise a
283 <a href=
"http://lists.debian.org/debian-edu-announce/2012/01/msg00001.html">developer
284 gathering
</a> in Oslo. We will continue the work on the Squeeze
285 version, and start initial planning for the Wheezy version. Perhaps I
286 will see you there?
</p>
291 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>.
296 <div class=
"padding"></div>
299 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Handling_non_free_firmware_in_Debian_Edu_Squeeze.html">Handling non-free firmware in Debian Edu/Squeeze
</a></div>
300 <div class=
"date">27th January
2012</div>
301 <div class=
"body"><p>With some computer hardware, one need non-free firmware blobs.
302 This is the sad fact of todays computers. In the next version of
303 <a href=
"http://www.skolelinux.org/">Debian Edu / Skolelinux
</a> based
304 on Squeeze, we provide several scripts and modifications to make
305 firmware blobs easier to handle. The common use case I run into is a
306 laptop with a wireless network card requiring non-free firmware to
307 work, but there are other use cases as well.
</p>
309 <p>First and foremost, Debian Edu provide ISO images for DVD and CD
310 with all firmware packages in the Debian sections main and non-free
311 included, to ensure debian-installer find and can install all of them
312 during installation. This take care firmware for network devices used
313 by the installer when installing from from local media. But for
314 example multimedia devices are not activated in the installer and are
315 not taken care of by this.
</p>
317 <p>For non-network devices, we provide the script
318 <tt>/usr/share/debian-edu-config/tools/auto-addfirmware
</tt> which
319 search through the
<tt>dmesg
</tt> output for drivers requesting extra
320 firmware. The firmware file name is looked up in the Contents-ARCH.gz
321 file available in the package repository, and the packages providing
322 the requested firmware file(s) is installed. I have proposed to do
323 something similar in debian-installer (BTS report
324 <a href=
"http://bugs.debian.org/655507">#
655507</a>), to allow PXE
325 installs of Debian to handle firmware installation better. Run the
326 script as root from the command line to fetch and install the needed
327 firmware packages.
</p>
329 <p>Debian Edu provide PXE installation of Debian out of the box, and
330 because some machines need firmware to get their network cards
331 working, the installation initrd some times need extra firmware
332 included to be able to install at all. To fill the PXE installation
333 initrd with extra firmware, the
334 <tt>/usr/share/debian-edu-config/tools/pxe-addfirmware
</tt> script is
335 provided. Again, just run it as root on the command line to fill the
336 PXE initrd with firmware packages.
</p>
338 <p>Last, some LTSP clients might also need firmware to get their
339 network cards working. For this,
340 <tt>/usr/share/debian-edu-config/tools/ltsp-addfirmware
</tt> is
341 provided to update the LTSP initrd with firmware blobs. It is used
342 the same way as the other firmware related tools.
</p>
344 <p>At the moment, we do not run any of these during installation. We
345 do not know if this is acceptable for the local administrator to use
346 non-free software, and it is their choice.
</p>
348 <p>We plan to release beta3 this weekend. You might want to give it a
354 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>.
359 <div class=
"padding"></div>
362 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Skjermbilder_fra_nordsamisk_installasjon_av_Skolelinux_Squeeze.html">Skjermbilder fra nordsamisk installasjon av Skolelinux/Squeeze
</a></div>
363 <div class=
"date">26th January
2012</div>
364 <div class=
"body"><p>For morro skyld har jeg gjennomført en nordsamisk installasjon for
365 neste utgave av
<a href=
"http://www.skolelinux.org/">Skolelinux
</a>
366 (Squeeze) og knipset skjermbilder av resultatet.
</p>
368 <p>Som en kan se der er det noen oversettelser som mangler. Det hadde
369 vært hyggelig hvis alle tekstene som vises i Skolelinux-installasjonen
370 ble oversatt til nordsamisk, men for å få det til må noen som forstår
371 språket melde seg til dyst. Det er mangel på nordsamiske oversettere
372 av fri programvare. Hvis noen starter raskt, så bør en rekke å
373 fullføre Wheezy-utgaven før den gis ut. :)
</p>
375 <p>Se
<a href=
"http://d-i.debian.org/l10n-stats/">oversetterstatistikk for
376 debian installer
</a> for detaljert status. Jeg har tipset
377 <a href=
"https://lister.ping.uio.no/mailman/listinfo/i18n-sme">epostlisten for samiskoversettelser
</a>,
378 men det har vært veldig liten aktivitet der de siste årene.
</p>
380 <p><a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/01-isomenu.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/01-isomenu.png" width=
"40%"></a>
381 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/02-sme-lang.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/02-sme-lang.png" width=
"40%"></a>
382 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/03-sme-place.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/03-sme-place.png" width=
"40%"></a>
383 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/04-sme-keymap.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/04-sme-keymap.png" width=
"40%"></a>
384 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/05-sme-profile.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/05-sme-profile.png" width=
"40%"></a>
385 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/06-sme-autopart.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/06-sme-autopart.png" width=
"40%"></a>
386 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/07-sme-popcon.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/07-sme-popcon.png" width=
"40%"></a>
387 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/08-sme-rootpw1.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/08-sme-rootpw1.png" width=
"40%"></a>
388 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/09-sme-rootpw2.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/09-sme-rootpw2.png" width=
"40%"></a>
389 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/10-sme-firstuser.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/10-sme-firstuser.png" width=
"40%"></a>
390 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/11-sme-firstusername.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/11-sme-firstusername.png" width=
"40%"></a>
391 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/12-sme-firstuserpw1.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/12-sme-firstuserpw1.png" width=
"40%"></a>
392 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/13-sme-firstuserpw2.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/13-sme-firstuserpw2.png" width=
"40%"></a>
393 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/14-sme-part.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/14-sme-part.png" width=
"40%"></a>
394 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/15-sme-debootstrap.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/15-sme-debootstrap.png" width=
"40%"></a>
395 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/16-sme-tasksel.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/16-sme-tasksel.png" width=
"40%"></a>
396 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/17-sme-wordlist.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/17-sme-wordlist.png" width=
"40%"></a>
397 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/18-sme-tasksel.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/18-sme-tasksel.png" width=
"40%"></a>
398 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/19-sme-ltsp.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/19-sme-ltsp.png" width=
"40%"></a>
399 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/20-sme-grub.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/20-sme-grub.png" width=
"40%"></a>
400 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/21-sme-finish-install.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/21-sme-finish-install.png" width=
"40%"></a>
401 <a href=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/22-sme-finish-message.png"><img src=
"http://people.skolelinux.org/pere/blog/images/2012-01-26-skolelinux-sme/22-sme-finish-message.png" width=
"40%"></a></p>
406 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk
</a>.
411 <div class=
"padding"></div>
414 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Setting_up_a_new_school_with_Debian_Edu_Squeeze.html">Setting up a new school with Debian Edu/Squeeze
</a></div>
415 <div class=
"date">25th January
2012</div>
416 <div class=
"body"><p>The next version of
<a href=
"http://www.skolelinux.org/">Debian Edu
417 / Skolelinux
</a> will include a new tool
418 <tt>sitesummary2ldapdhcp
</tt>, which can be used to quickly set up all
419 the computers in a school without much manual labour. Here is a short
420 summary on how to use it to set up a new school.
</p>
422 <p>First, install a combined Main Server and Thin Client Server as the
423 central server in the network. Next, PXE boot all the client machines
424 as thin clients and wait
5 minutes after the last client booted to
425 allow the clients to report their existence to the central server. When
426 this is done, log on to the central server and run
427 <tt>sitesummary2ldapdhcp -a
</tt> in the
<tt>konsole
</tt> to use the
428 collected information to generate system objects in LDAP. The output
429 will look similar to this:
</p>
432 % sitesummary2ldapdhcp -a
433 info: Updating machine tjener.intern [
10.0.2.2] id ether-
00:
01:
02:
03:
04:
05.
434 info: Create GOsa machine for auto-mac-
00-
01-
02-
03-
04-
06 [
10.0.16.20] id ether-
00:
01:
02:
03:
04:
06.
436 Enter password if you want to activate these changes, and ^c to abort.
438 Connecting to LDAP as cn=admin,ou=ldap-access,dc=skole,dc=skolelinux,dc=no
439 enter password: *******
441 </pre></blockquote></p>
443 <p>After providing the LDAP administrative password (the same as the
444 root password set during installation), the LDAP database will be
445 populated with system objects for each PXE booted machine with
446 automatically generated names. The final step to set up the school is
447 then to log into
<a href=
"https://oss.gonicus.de/labs/gosa/">GOsa
</a>,
448 the web based user, group and system administration system to change
449 system names, add systems to the correct host groups and finally
450 enable DHCP and DNS for the systems. All clients that should be used
451 as diskless workstations should be added to the workstation-hosts
452 group. After this is done, all computers can be booted again via PXE
453 and get their assigned names and group based configuration
456 <p>We plan to release beta3 with the updated version of this feature
457 enabled this weekend. You might want to give it a try.
</p>
459 <p>Update
2012-
01-
28: When calling sitesummary2ldapdhcp to add new
460 hosts, one need to add the option -a. I forgot to mention this in my
461 original text, and have added it to the text now.
</p>
466 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary
</a>.
471 <div class=
"padding"></div>
474 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Skolelinux_intervju__Paul_Reidar_L_snesl_kken.html">Skolelinux-intervju: Paul Reidar Løsnesløkken
</a></div>
475 <div class=
"date">18th January
2012</div>
476 <div class=
"body"><p>I serien med intervjuer av folk i
477 <a href=
"http://www.skolelinux.org/">Skolelinux
</a>-miljøet, har jeg nå
478 lyktes med å få tak i en skolemann som ikke er aktiv med utviklingen,
479 men likevel har vært med nesten siden starten av prosjektet. Jeg
480 ønsker derfor velkommen til Paul Reidar Løsnesløkken, en mann med
481 mange års erfaring i bruk av Skolelinux.
</p>
483 <p><strong>Hvem er du, og hva driver du med til daglig?
</strong></p>
485 <p>Jeg driftet tidligere IKT løsningen for skolene i
486 <a href=
"http://www.nord-odal.kommune.no/">Nord-Odal
</a>. I dag er jeg
487 IKT-konsulent for hele kommunen og samarbeider med
488 <a href=
"http://www.hedmarken-ikt.no/">Hedmark-IKT
</a> for best mulig
489 tjenester til kommunen. Jeg har bakgrunn som elektronikkreparatør og
490 grunnskolelærer og har tatt en del fag innen IKT, i hovedsak
491 driftsfag. IKT i Nord-Odal kommune blir i dag driftet av Hedmark IKT
492 som er et samarbeid mellom Løten, Stange, Grue, Hamar, Kongsvinger og
493 Nord-Odal. Jeg er fortsatt "IKT-personen" på skolene i kommunen og
494 følger opp og gjør enkelte mindre endringer der.
</p>
496 <p><strong>Hvordan kom du i kontakt med Skolelinux-prosjektet?
</strong></p>
498 <p>Kommunen satset på Skolelinux i
2004. Jeg var ikke med i
499 beslutningsprosessen den gang, men ble likevel med fra starten når
500 dette ble levert.
</p>
502 <p><strong>Hva er fordelene med Skolelinux slik du ser det?
</strong></p>
504 <p>Fordelene med Skolelinux er rask oppstart, sentral drift av
505 klientene, klienter som jobber raskt og effektivt, bedre
506 funksjonalitet på eldre utstyr og en ganske god programpakke med fri
507 programvare som følger med. Løsningen med halvtykke klienter gjør at
508 prosessering skjer lokalt med alltid ferske maskiner.
</p>
510 <p>Skolelinux kan fungere godt på gammelt utstyr, men det er klart at
511 utstyr også blir for gammelt selv for Skolelinux. I forbindelese med
512 at vi nylig fikk nye servere og ny installasjon kastet jeg ut ca
60
513 klienter som fortsatt var i drift etter at de var kjøpt godt brukt i
514 2004. Noe var rundt
15 år gammelt, men var fortsatt i bruk. Noen
515 klaget på at det nå gikk veldig tregt på en del pedagogiske nettsider
516 med flash o.l. Det er fullt forståelig.
</p>
518 <p>Jeg fikk nylig et spørsmål fra ungdomsskolens rektor om jeg kunne
519 legge inn
<a href=
"http://freemind.sourceforge.net/">FreeMind
</a>, et
520 tankekartprogram , på skolens elev-Windowsmaskiner. Lærerne hadde
521 vært på kurs og ville ta dette i bruk. Skolen har ca halvparten av
522 elevmaskinene på bærbare Windowsmaskiner. Da kunne jeg fortelle at
523 dette programmet allerede lå inne på den nye Skolelinuxløsningen
524 som nettopp var satt i drift, klart til bruk.
</p>
526 <p>Vi har de bærbare maskinene på ungdomsskolen i domene med
527 Skolelinux. Dette fungerer også meget bra nå. Elevene får opp en
528 midlertidig windowsprofil når de logger på. Denne profilen slettes
529 etter at de logger av, noe som medfører rene profiler hver gang de
530 starter opp en maskin. De må lagre i sin Skolelinprofil, noe som
531 medfører at de får tak i sine filer uavhengig av om de starter en
532 Windowsmaskin eller en Skolelinuxklient. Det er mye mindre trafikk i
533 det trådløse nettet etter at ikke hele profiler blir lastet opp til de
534 enkelte Windowsmaskinene og tilbake når man avslutter. Jeg vet ikke om
535 dette er standardoppsett i Skolelinux, men slik er vårt oppsett
538 <p>Vi har i flere år satt opp vår løsning slik at skriverkøer slettes
539 og skrivere startes hver natt. Hyggelig å høre at dette nå skal bli
540 en standard i Skolelinuxløsningen. Dette har vært en god hjelp for
543 <p>Elevene er lite opptatt av om de jobber på en Skolelinux eller en
544 Windowsmaskin bare de har de programmene de trenger og at det virker
545 når det skal brukes. Vi kjører mest mulig de samme programmene på
546 Windows som i Skolelinux, som f.eks Audacity og LibreOffice.
</p>
548 <p><strong>Hva er ulempene med Skolelinux slik du ser det?
</strong></p>
550 <p>Lærere bruker hos oss Windows. Dette fordi de da selv har mer
551 kontroll over sin maskin, kan bruke den overalt, og kan legge inn
552 programmer selv når de trenger noe i forhold til kurs o.l de er
553 på. Jeg tror lærernes selvstendighet her gjør dem tryggere på IKT-bruk
554 generelt. Det at de av og til får opp advarsler og lignende gjør også
555 at de må tenke igjennom og spørre om ting rundt datasikkerhet.
</p>
557 <p>Det er en del programmer vi bruker som ikke finnes for Linux. Mest
558 brukt er nok Photostory3 som brukes i mange sammenhenger, særlig på
559 ungdomsskolen, bl.a. til å lage herbarier (plantesamling) . Dette
560 finnes gratis for Windows, men er ikke fri programvare. Vi er opptatt
561 av at programmer elevene bruker på skolen også kan brukes gratis
562 hjemme. Det er også en del programmer som brukes til spesielle elever
563 som bare går i Windows. Det er viktig med fokus på funksjoner og ikke
564 på hvilket OS man bruker.
</p>
566 <p>For oss er det kombinasjonen mellom Skolelinux og Windows som gir
567 oss en god og hel løsning. Skolelinux er best der de er gode.
</p>
569 <p><strong>Hvilken fri programvare bruker du til daglig?
</strong></p>
571 <p>Selv er det LibreOffice jeg bruker til daglig. Jeg bruker selv en
572 Windowsmaskin. Jeg har benyttet en del fri programvare i forbindelse
573 med sjekking av trafikk i nettverk, slik som Wireshark, men dette er
574 jo ikke aktuelt for skolene. Jeg er generelt glad i programmer som
575 fungerer på både Linux og Windows og gjerne MAC.
</p>
577 <p><strong>Hvilken strategi tror du er den rette å bruke for å få
578 skoler til å ta i bruk fri programvare?
</strong></p>
580 <p>Det er viktig at det benyttes programmer som elevene også kan ta i
581 bruk hjemme. Det skal da være enkelt, lovlig og gratis for
582 elevene. Da er jeg ikke lenger veldig opptatt av om det kalles "fri
583 programvare". For skolene tror jeg "gratis" og "funksjonelt" er bedre
584 begreper enn "fri" i forhold til programmer. De fleste skiller nok
585 ikke mellom "fri" og "gratis". Det er nå svært mange elever som
586 benytter OpenOffice eller LibreOffice som sin primære kontorpakke
592 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/intervju">intervju
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk
</a>.
597 <div class=
"padding"></div>
600 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Changing_the_default_Iceweasel_start_page_in_Debian_Edu_Squeeze.html">Changing the default Iceweasel start page in Debian Edu/Squeeze
</a></div>
601 <div class=
"date">10th January
2012</div>
602 <div class=
"body"><p>In the Squeeze version of
603 <a href=
"http://www.skolelinux.org/">Debian Edu / Skolelinux
</a> soon
604 to be released, users of the system will get their default browser
605 start page set from LDAP, allowing the system administrator to point
606 all users to the school web page by updating one setting in LDAP. In
607 addition to setting the default start page when a machine boots, users
608 are shown the same page as a welcome page when they log in for the
611 <p>The LDAP object dc=skole,dc=skolelinux,dc=no have an attribute
612 labeledURI with "http://www/ LDAP for Debian Edu/Skolelinux" as the
613 default content. By changing this value to another URL, all users get
614 to see the page behind this new URL.
</p>
616 <p>An easy way to update it is by using the ldapvi tool. It can be
617 called as "
<tt>ldapvi -ZD '(cn=admin)'
</tt>' to update LDAP with the
620 <p>We have written the code to adjust the default start page and show
621 the welcome page, and I wonder if there is an easier way to do this
622 from within Iceweasel instead.
</p>
627 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/web">web
</a>.
632 <div class=
"padding"></div>
635 <div class=
"title"><a href=
"http://people.skolelinux.org/pere/blog/Second_beta_version_of_Debian_Edu___Skolelinux_based_on_Squeeze.html">Second beta version of Debian Edu / Skolelinux based on Squeeze
</a></div>
636 <div class=
"date"> 7th January
2012</div>
637 <div class=
"body"><p>I am happy to announce that today we managed to wrap up and publish
638 the second beta version of
639 <a href=
"http://www.skolelinux.org/">Debian Edu / Skolelinux
</a>. If
640 you want to test a LDAP backed Kerberos server with out of the box PXE
641 configuration for running diskless machines and installing new
642 machines, check it out. If you need a software solution for your
643 school, check it out too. The full announcement is
644 <a href=
"http://lists.debian.org/debian-edu-announce/2012/01/msg00000.html">available
</a>
645 on the project announcement list.
</p>
650 Tags:
<a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu
</a>,
<a href=
"http://people.skolelinux.org/pere/blog/tags/english">english
</a>.
655 <div class=
"padding"></div>
657 <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>
668 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/01/">January (
7)
</a></li>
670 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2012/02/">February (
4)
</a></li>
677 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/01/">January (
16)
</a></li>
679 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/02/">February (
6)
</a></li>
681 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/03/">March (
6)
</a></li>
683 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/04/">April (
7)
</a></li>
685 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/05/">May (
3)
</a></li>
687 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/06/">June (
2)
</a></li>
689 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/07/">July (
7)
</a></li>
691 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/08/">August (
6)
</a></li>
693 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/09/">September (
4)
</a></li>
695 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/10/">October (
2)
</a></li>
697 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/11/">November (
3)
</a></li>
699 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2011/12/">December (
1)
</a></li>
706 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/01/">January (
2)
</a></li>
708 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/02/">February (
1)
</a></li>
710 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/03/">March (
3)
</a></li>
712 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/04/">April (
3)
</a></li>
714 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/05/">May (
9)
</a></li>
716 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/06/">June (
14)
</a></li>
718 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/07/">July (
12)
</a></li>
720 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/08/">August (
13)
</a></li>
722 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/09/">September (
7)
</a></li>
724 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/10/">October (
9)
</a></li>
726 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/11/">November (
13)
</a></li>
728 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2010/12/">December (
12)
</a></li>
735 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/01/">January (
8)
</a></li>
737 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/02/">February (
8)
</a></li>
739 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/03/">March (
12)
</a></li>
741 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/04/">April (
10)
</a></li>
743 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/05/">May (
9)
</a></li>
745 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/06/">June (
3)
</a></li>
747 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/07/">July (
4)
</a></li>
749 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/08/">August (
3)
</a></li>
751 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/09/">September (
1)
</a></li>
753 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/10/">October (
2)
</a></li>
755 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/11/">November (
3)
</a></li>
757 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2009/12/">December (
3)
</a></li>
764 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/11/">November (
5)
</a></li>
766 <li><a href=
"http://people.skolelinux.org/pere/blog/archive/2008/12/">December (
7)
</a></li>
777 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (
13)
</a></li>
779 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/amiga">amiga (
1)
</a></li>
781 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/aros">aros (
1)
</a></li>
783 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (
2)
</a></li>
785 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (
12)
</a></li>
787 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/bsa">bsa (
2)
</a></li>
789 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian">debian (
54)
</a></li>
791 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (
75)
</a></li>
793 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/digistan">digistan (
7)
</a></li>
795 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/english">english (
106)
</a></li>
797 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (
13)
</a></li>
799 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (
12)
</a></li>
801 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/intervju">intervju (
13)
</a></li>
803 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/kart">kart (
15)
</a></li>
805 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ldap">ldap (
8)
</a></li>
807 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/lenker">lenker (
4)
</a></li>
809 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (
1)
</a></li>
811 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (
14)
</a></li>
813 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/norsk">norsk (
144)
</a></li>
815 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/nuug">nuug (
119)
</a></li>
817 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/open311">open311 (
2)
</a></li>
819 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (
24)
</a></li>
821 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/personvern">personvern (
46)
</a></li>
823 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/reprap">reprap (
11)
</a></li>
825 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rfid">rfid (
2)
</a></li>
827 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/robot">robot (
4)
</a></li>
829 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/rss">rss (
1)
</a></li>
831 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (
23)
</a></li>
833 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (
4)
</a></li>
835 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/standard">standard (
24)
</a></li>
837 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (
1)
</a></li>
839 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (
3)
</a></li>
841 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (
9)
</a></li>
843 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/valg">valg (
6)
</a></li>
845 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/video">video (
22)
</a></li>
847 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (
1)
</a></li>
849 <li><a href=
"http://people.skolelinux.org/pere/blog/tags/web">web (
18)
</a></li>
855 <p style=
"text-align: right">
856 Created by
<a href=
"http://steve.org.uk/Software/chronicle">Chronicle v4.4
</a>