1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/' xmlns:
atom=
"http://www.w3.org/2005/Atom">
4 <title>Petter Reinholdtsen
</title>
5 <description></description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
7 <atom:link href=
"http://people.skolelinux.org/pere/blog/index.rss" rel=
"self" type=
"application/rss+xml" />
10 <title>How to figure out which RAID disk to replace when it fail
</title>
11 <link>http://people.skolelinux.org/pere/blog/How_to_figure_out_which_RAID_disk_to_replace_when_it_fail.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/How_to_figure_out_which_RAID_disk_to_replace_when_it_fail.html
</guid>
13 <pubDate>Tue,
14 Feb
2012 21:
25:
00 +
0100</pubDate>
14 <description><p
>Once in a while my home server have disk problems. Thanks to Linux
15 Software RAID, I have not lost data yet (but
16 <a href=
"http://comments.gmane.org/gmane.linux.raid/
34532">I was
17 close
</a
> this summer :). But once a disk is starting to behave
18 funny, a practical problem present itself. How to get from the Linux
19 device name (like /dev/sdd) to something that can be used to identify
20 the disk when the computer is turned off? In my case I have SATA
21 disks with a unique ID printed on the label. All I need is a way to
22 figure out how to query the disk to get the ID out.
</p
>
24 <p
>After fumbling a bit, I
25 <a href=
"http://www.cyberciti.biz/faq/linux-getting-scsi-ide-harddisk-information/
">found
26 that hdparm -I
</a
> will report the disk serial number, which is
27 printed on the disk label. The following (almost) one-liner can be
28 used to look up the ID of all the failed disks:
</p
>
30 <blockquote
><pre
>
31 for d in $(cat /proc/mdstat |grep
'(F)
'|tr
' ' "\n
"|grep
'(F)
'|cut -d\[ -f1|sort -u);
33 printf
"Failed disk $d:
"
34 hdparm -I /dev/$d |grep
'Serial Num
'
36 </blockquote
></pre
>
38 <p
>Putting it here to make sure I do not have to search for it the
39 next time, and in case other find it useful.
</p
>
41 <p
>At the moment I have two failing disk. :(
</p
>
43 <blockquote
><pre
>
44 Failed disk sdd1: Serial Number: WD-WCASJ1860823
45 Failed disk sdd2: Serial Number: WD-WCASJ1860823
46 Failed disk sde2: Serial Number: WD-WCASJ1840589
47 </blockquote
></pre
>
49 <p
>The last time I had failing disks, I added the serial number on
50 labels I printed and stuck on the short sides of each disk, to be able
51 to figure out which disk to take out of the box without having to
52 remove each disk to look at the physical vendor label. The vendor
53 label is at the top of the disk, which is hidden when the disks are
54 mounted inside my box.
</p
>
56 <p
>I really wish the check_linux_raid Nagios plugin for checking Linux
58 <a href=
"http://packages.qa.debian.org/n/nagios-plugins.html
">nagios-plugins-standard
</a
>
59 debian package would look up this value automatically, as it would
60 make the plugin a lot more useful when my disks fail. At the moment
61 it only report a failure when there are no more spares left (it really
62 should warn as soon as a disk is failing), and it do not tell me which
63 disk(s) is failing when the RAID is running short on disks.
</p
>
68 <title>Automatic proxy configuration with Debian Edu / Skolelinux
</title>
69 <link>http://people.skolelinux.org/pere/blog/Automatic_proxy_configuration_with_Debian_Edu___Skolelinux.html
</link>
70 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Automatic_proxy_configuration_with_Debian_Edu___Skolelinux.html
</guid>
71 <pubDate>Mon,
13 Feb
2012 23:
40:
00 +
0100</pubDate>
72 <description><p
>New in the Squeeze version of
73 <a href=
"http://www.skolelinux.org/
">Debian Edu / Skolelinux
</a
> is the
74 ability for clients to automatically configure their proxy settings
75 based on their environment. We want all systems on the client to use
76 the WPAD based proxy definition fetched from
<tt
>http://wpad/wpad.dat
</tt
>, to
77 allow sites to control the proxy setting from a central place and make
78 sure clients do not have hard coded proxy settings. The schools can
79 change the global proxy setting by editing
80 <tt
>tjener:/etc/debian-edu/www/wpad.dat
</tt
> and the change propagate
81 to all Debian Edu clients in the network.
</p
>
83 <p
>The problem is that some systems do not understand the WPAD system.
84 In other words, how do one get from a WPAD file like this (this is a
85 simple one, they can run arbitrary code):
</p
>
87 <blockquote
><pre
>
88 function FindProxyForURL(url, host)
90 if (!isResolvable(host) ||
91 isPlainHostName(host) ||
92 dnsDomainIs(host,
".intern
"))
93 return
"DIRECT
";
95 return
"PROXY webcache:
3128; DIRECT
";
97 </pre
></blockquote
>
99 <p
>to a proxy setting in the process environment looking like this:
</p
>
101 <blockquote
><pre
>
102 http_proxy=http://webcache:
3128/
103 ftp_proxy=http://webcache:
3128/
104 </pre
></blockquote
>
106 <p
>To do this conversion I developed a perl script that will execute
107 the javascript fragment in the WPAD file and return the proxy that
109 <tt
><a href=
"http://www.debian.org/
">http://www.debian.org/
</a
></tt
>,
110 and insert this extracted proxy URL in
<tt
>/etc/environment
</tt
> and
111 <tt
>/etc/apt/apt.conf
</tt
>. The perl script wpad-extract work just
112 fine in Squeeze, but in Wheezy the library it need to run the
113 javascript code is
<a href=
"http://bugs.debian.org/
631045">no longer
114 able to build
</a
> because the C library it depended on is now a C++
115 library. I hope someone find a solution to that problem before Wheezy
116 is frozen. An alternative would be for us to rewrite wpad-extract to
117 use some other javascript library currently working in Wheezy, but no
118 known alternative is known at the moment.
</p
>
120 <p
>This automatic proxy system allow the roaming workstation (aka
121 laptop) setup in Debian Edu/Squeeze to use the proxy when the laptop
122 is connected to the backbone network in a Debian Edu setup, and to
123 automatically use any proxy present and announced using the WPAD
124 feature when it is connected to other networks. And if no proxy is
125 announced, direct connections will be used instead.
</p
>
127 <p
>Silently using a proxy announced on the network might be a privacy
128 or security problem. But those controlling DHCP and DNS on a network
129 could just as easily set up a transparent proxy, and force all HTTP
130 and FTP connections to use a proxy anyway, so I consider that
131 distinction to be academic. If you are afraid of using the wrong
132 proxy, you should avoid connecting to the network in question in the
133 first place. In Debian Edu, the proxy setup is updated using dhcp and
134 ifupdown hooks, to make sure the configuration is updated every time
135 the network setup changes.
</p
>
137 <p
>The WPAD system is documented in a
138 <a href=
"http://tools.ietf.org/html/draft-ietf-wrec-wpad-
01">IETF
139 draft
</a
> and a
140 <a href=
"http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol
">Wikipedia
141 page
</a
> for those that want to learn more.
</p
>
146 <title>Skolelinux-intervju: Axel Bojer
</title>
147 <link>http://people.skolelinux.org/pere/blog/Skolelinux_intervju__Axel_Bojer.html
</link>
148 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Skolelinux_intervju__Axel_Bojer.html
</guid>
149 <pubDate>Tue,
7 Feb
2012 14:
50:
00 +
0100</pubDate>
150 <description><p
>I serien med intervjuer av folk i
151 <a href=
"http://www.skolelinux.org/
">Skolelinux
</a
>-miljøet har jeg
152 fått en av oversetterne som har vært med siden starten i tale.
</p
>
154 <p
><strong
>Hvem er du, og hva driver du med til daglig?
</strong
></p
>
156 <p
>Jeg heter Axel Bojer og er datalærer, tysklærer, oversetter med
159 <p
><strong
>Hvordan kom du i kontakt med Skolelinux-prosjektet?
</strong
></p
>
161 <p
>Tror jeg så en annonsering på nettet i slutten av
2001 og ville
162 være med som oversetter. Jeg kom med på en utviklersamling og
163 prosjektet var da helt i starten. Det var spennende å være med mens
164 prosjektet vokste til og utviklet seg.
</p
>
166 <p
>Jeg har «alltid» vært språkinteressert og hadde nettopp startet med
167 Linux og tror jeg tenkte det passet å bidra. Var også glad for å få
168 en Debian-distribusjon, og ville gjerne bruke den selv. Til å begynne
169 med brukte jeg først Mandrake og så Debian. Og siden jeg oppdaget at
170 det ikke var noen mulighet for å bruke den som enkeltstående i lang
171 tid, så gikk jeg etterhvert over til Kubuntu
</p
>
173 <p
><strong
>Hva er fordelene med Skolelinux slik du ser det?
</strong
></p
>
175 <p
>Løsningen er forholdsvis lett å sette opp, gratis, fri programvare
176 og gjør det mulig å gjenbruke eldre maskiner. Det fine med Debian er
177 at det er stabilt og har en veldig stor mengde programmer. Jeg liker
178 også apt. :-) Jeg liker også friheten ved Linux og muligheten til å
179 delta og forme sin egen datahverdag.
</p
>
181 <p
><strong
>Hva er ulempene med Skolelinux slik du ser det?
</strong
></p
>
183 <p
>Skolelinux er for lite kjent og for sent ute med å gi ut nye
186 <p
>Da jeg selv i hovedsak bruker Kubuntu, så kan jeg egentlig ikke
187 svare så detaljert rundt ulempene med Skolelinux. Hovedårsaken til at
188 jeg bruker Kubuntu er nok at da vi begynte med det mener jeg det ikke
189 var noen annen løsning. «Vandrende arbeidsstasjon» mener jeg ikke
190 fantes da. Dessuten ville jeg ha siste versjon, da den KDE-versjonen
191 som var i Skolelinux den gangen var en god del enklere (tror det var
192 KDE
2) var dårligere i mine øyne enn versjon
3.
</p
>
194 <p
><strong
>Hvilken fri programvare bruker du til daglig?
</strong
></p
>
196 <p
>Jeg bruker blant annet Kubuntu, LibreOffice, Thunderbird, Firefox,
197 Kate,
<a href=
"http://comix.sourceforge.net/
">Comix
</a
> og Konsole. Og
198 en hel haug andre ved behov :-)
</p
>
200 <p
>Har oversatt Comix selv, men det er jo ikke skjedd noe med Comix
201 siden
2009, så den er det nok bare jeg som har. Om andre vil ha den
202 gir jeg den gjerne videre. Ser at noen har startet på
203 <a href=
"http://mcomix.sourceforge.net/
">MComix
</a
> siden jeg så på så
204 på dette sist, så nå er jeg igang med å teste og oversette den
207 <p
><strong
>Hvilken strategi tror du er den rette å bruke for å få
208 skoler til å ta i bruk fri programvare?
</strong
></p
>
210 <p
>Det viktigste er å forankre beslutningen i kollegiet og med de som
211 er ansvarlige for å vedlikeholde og bruke datamaskinene. Flest mulig
212 bør være med på å holde det (sosialt) vedlike, kjenne og støtte
213 prinsippene. Som enkeltmannsprosjekt blir det lett veldig sårbart,
214 særlig når (Skole)linux ennå i stor grad er en motkultur og ikke noe
215 en stor nok andel av beslutningstakere, brukere osv kjenner til og
218 <p
>Jeg tror det viktigste er å fortsette å holde fri programvare godt,
219 oppdatert, minimere antall feil, ha en god kontakt med brukerne og
220 attraktivt og spennende programmer. Beholde alt som er bra og ha det
221 tilgjengelig samtidig som man tilbyr det nyeste og rareste for de som
222 vil ha det.
</p
>
227 <title>Saving power with Debian Edu / Skolelinux using shutdown-at-night
</title>
228 <link>http://people.skolelinux.org/pere/blog/Saving_power_with_Debian_Edu___Skolelinux_using_shutdown_at_night.html
</link>
229 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Saving_power_with_Debian_Edu___Skolelinux_using_shutdown_at_night.html
</guid>
230 <pubDate>Sun,
5 Feb
2012 09:
45:
00 +
0100</pubDate>
231 <description><p
>Since the Lenny version of
232 <a href=
"http://www.skolelinux.org/
">Debian Edu / Skolelinux
</a
>, a
233 feature to save power have been included. It is as simple as it is
234 practical: Shut down unused clients at night, and turn them on again
235 in the morning. This is done using the
236 <a href=
"http://packages.qa.debian.org/s/shutdown-at-night.html
">shutdown-at-night
</a
> Debian package.
</p
>
238 <p
>To enable this feature on a client, the machine need to be added to
239 the netgroup shutdown-at-night-hosts. For Debian Edu, this is done in
240 LDAP, and once this is in place, the machine in question will check
241 every hour from
16:
00 until
06:
00 to see if the machine is unused, and
242 shut it down if it is. If the hardware in question is supported by
244 <a href=
"http://packages.qa.debian.org/n/nvram-wakeup.html
">nvram-wakeup
</a
>
245 package, the BIOS is told to turn the machine back on around
07:
00 +-
246 10 minutes. If this isn
't working, one can configure wake-on-lan to
247 try to turn on the client. The wake-on-lan option is only documented
248 and not enabled by default in Debian Edu.
</p
>
250 <p
>It is important to not turn all machines on at once, as this can
251 blow a fuse if several computers are connected to the same fuse like
252 the common setup for a classroom. The nvram-wakeup method only work
253 for machines with a functioning hardware/BIOS clock. I
've seen old
254 machines where the BIOS battery were dead and the hardware clock were
255 starting from
0 (or was it
1990?) every boot. If you have one of
256 those, you have to turn on the computer manually.
</p
>
258 <p
>The shutdown-at-night package is completely self contained, and can
259 also be used outside the Debian Edu environment. For those without a
260 central LDAP server with netgroups, one can instead touch the file
261 <tt
>/etc/shutdown-at-night/shutdown-at-night
</tt
> to enable it.
262 Perhaps you too can use it to save some power?
</p
>
267 <title>Third beta version of Debian Edu / Skolelinux based on Squeeze
</title>
268 <link>http://people.skolelinux.org/pere/blog/Third_beta_version_of_Debian_Edu___Skolelinux_based_on_Squeeze.html
</link>
269 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Third_beta_version_of_Debian_Edu___Skolelinux_based_on_Squeeze.html
</guid>
270 <pubDate>Sat,
4 Feb
2012 13:
25:
00 +
0100</pubDate>
271 <description><p
>I am happy to announce that finally we managed today to wrap up and
272 publish the third beta version of
273 <a href=
"http://www.skolelinux.org/
">Debian Edu / Skolelinux
</a
> based
274 on Squeeze. If you want to test a LDAP backed Kerberos server with
275 out of the box PXE configuration for running diskless machines and
276 installing new machines, check it out. If you need a software
277 solution for your school, check it out too. The full announcement is
278 <a href=
"http://lists.debian.org/debian-edu-announce/
2012/
02/msg00000.html
">available
</a
>
279 on the project announcement list.
</p
>
281 <p
>I am very happy to report these changes and improvements since
282 beta2 (there are more, see announcement for full list):
</p
>
286 <li
>It is now possible to change the pre-configured IP subnet from
287 10.0.0.0/
8 to something else by using the subnet-change tool after
288 the installation.
</li
>
290 <li
>Too full partitions are now automatically extended on the Main
291 Server, based on the rules specified in /etc/fsautoresizetab.
</li
>
293 <li
>The CUPS queues are now automatically flushed every night, and all
294 disabled queues are restarted every hour. This should cut down on
295 the amount of manual administration needed for printers.
</li
>
297 <li
>The set of initial users have been changed. Now a personal user
298 for the local system administrator is created during installation
299 instead of the previously created localadmin and super-admin users,
300 and this user is granted administrative privileges using group
301 membership. This reduces the number of passwords one need to keep
302 up to date on the system.
</li
>
306 <p
>The new main server seem to work so well that I am testing it as my
307 private DNS/LDAP/Kerberos/PXE/LTSP server at home. I will use it look
308 for issues we could fix to polish Debian Edu even further before the
309 final Squeeze release is published.
</p
>
311 <p
>Next weekend the project organise a
312 <a href=
"http://lists.debian.org/debian-edu-announce/
2012/
01/msg00001.html
">developer
313 gathering
</a
> in Oslo. We will continue the work on the Squeeze
314 version, and start initial planning for the Wheezy version. Perhaps I
315 will see you there?
</p
>
320 <title>Handling non-free firmware in Debian Edu/Squeeze
</title>
321 <link>http://people.skolelinux.org/pere/blog/Handling_non_free_firmware_in_Debian_Edu_Squeeze.html
</link>
322 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Handling_non_free_firmware_in_Debian_Edu_Squeeze.html
</guid>
323 <pubDate>Fri,
27 Jan
2012 23:
30:
00 +
0100</pubDate>
324 <description><p
>With some computer hardware, one need non-free firmware blobs.
325 This is the sad fact of todays computers. In the next version of
326 <a href=
"http://www.skolelinux.org/
">Debian Edu / Skolelinux
</a
> based
327 on Squeeze, we provide several scripts and modifications to make
328 firmware blobs easier to handle. The common use case I run into is a
329 laptop with a wireless network card requiring non-free firmware to
330 work, but there are other use cases as well.
</p
>
332 <p
>First and foremost, Debian Edu provide ISO images for DVD and CD
333 with all firmware packages in the Debian sections main and non-free
334 included, to ensure debian-installer find and can install all of them
335 during installation. This take care firmware for network devices used
336 by the installer when installing from from local media. But for
337 example multimedia devices are not activated in the installer and are
338 not taken care of by this.
</p
>
340 <p
>For non-network devices, we provide the script
341 <tt
>/usr/share/debian-edu-config/tools/auto-addfirmware
</tt
> which
342 search through the
<tt
>dmesg
</tt
> output for drivers requesting extra
343 firmware. The firmware file name is looked up in the Contents-ARCH.gz
344 file available in the package repository, and the packages providing
345 the requested firmware file(s) is installed. I have proposed to do
346 something similar in debian-installer (BTS report
347 <a href=
"http://bugs.debian.org/
655507">#
655507</a
>), to allow PXE
348 installs of Debian to handle firmware installation better. Run the
349 script as root from the command line to fetch and install the needed
350 firmware packages.
</p
>
352 <p
>Debian Edu provide PXE installation of Debian out of the box, and
353 because some machines need firmware to get their network cards
354 working, the installation initrd some times need extra firmware
355 included to be able to install at all. To fill the PXE installation
356 initrd with extra firmware, the
357 <tt
>/usr/share/debian-edu-config/tools/pxe-addfirmware
</tt
> script is
358 provided. Again, just run it as root on the command line to fill the
359 PXE initrd with firmware packages.
</p
>
361 <p
>Last, some LTSP clients might also need firmware to get their
362 network cards working. For this,
363 <tt
>/usr/share/debian-edu-config/tools/ltsp-addfirmware
</tt
> is
364 provided to update the LTSP initrd with firmware blobs. It is used
365 the same way as the other firmware related tools.
</p
>
367 <p
>At the moment, we do not run any of these during installation. We
368 do not know if this is acceptable for the local administrator to use
369 non-free software, and it is their choice.
</p
>
371 <p
>We plan to release beta3 this weekend. You might want to give it a
377 <title>Skjermbilder fra nordsamisk installasjon av Skolelinux/Squeeze
</title>
378 <link>http://people.skolelinux.org/pere/blog/Skjermbilder_fra_nordsamisk_installasjon_av_Skolelinux_Squeeze.html
</link>
379 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Skjermbilder_fra_nordsamisk_installasjon_av_Skolelinux_Squeeze.html
</guid>
380 <pubDate>Thu,
26 Jan
2012 20:
00:
00 +
0100</pubDate>
381 <description><p
>For morro skyld har jeg gjennomført en nordsamisk installasjon for
382 neste utgave av
<a href=
"http://www.skolelinux.org/
">Skolelinux
</a
>
383 (Squeeze) og knipset skjermbilder av resultatet.
</p
>
385 <p
>Som en kan se der er det noen oversettelser som mangler. Det hadde
386 vært hyggelig hvis alle tekstene som vises i Skolelinux-installasjonen
387 ble oversatt til nordsamisk, men for å få det til må noen som forstår
388 språket melde seg til dyst. Det er mangel på nordsamiske oversettere
389 av fri programvare. Hvis noen starter raskt, så bør en rekke å
390 fullføre Wheezy-utgaven før den gis ut. :)
</p
>
392 <p
>Se
<a href=
"http://d-i.debian.org/l10n-stats/
">oversetterstatistikk for
393 debian installer
</a
> for detaljert status. Jeg har tipset
394 <a href=
"https://lister.ping.uio.no/mailman/listinfo/i18n-sme
">epostlisten for samiskoversettelser
</a
>,
395 men det har vært veldig liten aktivitet der de siste årene.
</p
>
397 <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
>
398 <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
>
399 <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
>
400 <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
>
401 <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
>
402 <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
>
403 <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
>
404 <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
>
405 <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
>
406 <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
>
407 <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
>
408 <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
>
409 <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
>
410 <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
>
411 <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
>
412 <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
>
413 <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
>
414 <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
>
415 <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
>
416 <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
>
417 <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
>
418 <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
>
423 <title>Setting up a new school with Debian Edu/Squeeze
</title>
424 <link>http://people.skolelinux.org/pere/blog/Setting_up_a_new_school_with_Debian_Edu_Squeeze.html
</link>
425 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Setting_up_a_new_school_with_Debian_Edu_Squeeze.html
</guid>
426 <pubDate>Wed,
25 Jan
2012 21:
00:
00 +
0100</pubDate>
427 <description><p
>The next version of
<a href=
"http://www.skolelinux.org/
">Debian Edu
428 / Skolelinux
</a
> will include a new tool
429 <tt
>sitesummary2ldapdhcp
</tt
>, which can be used to quickly set up all
430 the computers in a school without much manual labour. Here is a short
431 summary on how to use it to set up a new school.
</p
>
433 <p
>First, install a combined Main Server and Thin Client Server as the
434 central server in the network. Next, PXE boot all the client machines
435 as thin clients and wait
5 minutes after the last client booted to
436 allow the clients to report their existence to the central server. When
437 this is done, log on to the central server and run
438 <tt
>sitesummary2ldapdhcp -a
</tt
> in the
<tt
>konsole
</tt
> to use the
439 collected information to generate system objects in LDAP. The output
440 will look similar to this:
</p
>
442 <p
><blockquote
><pre
>
443 % sitesummary2ldapdhcp -a
444 info: Updating machine tjener.intern [
10.0.2.2] id ether-
00:
01:
02:
03:
04:
05.
445 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.
447 Enter password if you want to activate these changes, and ^c to abort.
449 Connecting to LDAP as cn=admin,ou=ldap-access,dc=skole,dc=skolelinux,dc=no
450 enter password: *******
452 </pre
></blockquote
></p
>
454 <p
>After providing the LDAP administrative password (the same as the
455 root password set during installation), the LDAP database will be
456 populated with system objects for each PXE booted machine with
457 automatically generated names. The final step to set up the school is
458 then to log into
<a href=
"https://oss.gonicus.de/labs/gosa/
">GOsa
</a
>,
459 the web based user, group and system administration system to change
460 system names, add systems to the correct host groups and finally
461 enable DHCP and DNS for the systems. All clients that should be used
462 as diskless workstations should be added to the workstation-hosts
463 group. After this is done, all computers can be booted again via PXE
464 and get their assigned names and group based configuration
465 automatically.
</p
>
467 <p
>We plan to release beta3 with the updated version of this feature
468 enabled this weekend. You might want to give it a try.
</p
>
470 <p
>Update
2012-
01-
28: When calling sitesummary2ldapdhcp to add new
471 hosts, one need to add the option -a. I forgot to mention this in my
472 original text, and have added it to the text now.
</p
>
477 <title>Skolelinux-intervju: Paul Reidar Løsnesløkken
</title>
478 <link>http://people.skolelinux.org/pere/blog/Skolelinux_intervju__Paul_Reidar_L_snesl_kken.html
</link>
479 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Skolelinux_intervju__Paul_Reidar_L_snesl_kken.html
</guid>
480 <pubDate>Wed,
18 Jan
2012 14:
30:
00 +
0100</pubDate>
481 <description><p
>I serien med intervjuer av folk i
482 <a href=
"http://www.skolelinux.org/
">Skolelinux
</a
>-miljøet, har jeg nå
483 lyktes med å få tak i en skolemann som ikke er aktiv med utviklingen,
484 men likevel har vært med nesten siden starten av prosjektet. Jeg
485 ønsker derfor velkommen til Paul Reidar Løsnesløkken, en mann med
486 mange års erfaring i bruk av Skolelinux.
</p
>
488 <p
><strong
>Hvem er du, og hva driver du med til daglig?
</strong
></p
>
490 <p
>Jeg driftet tidligere IKT løsningen for skolene i
491 <a href=
"http://www.nord-odal.kommune.no/
">Nord-Odal
</a
>. I dag er jeg
492 IKT-konsulent for hele kommunen og samarbeider med
493 <a href=
"http://www.hedmarken-ikt.no/
">Hedmark-IKT
</a
> for best mulig
494 tjenester til kommunen. Jeg har bakgrunn som elektronikkreparatør og
495 grunnskolelærer og har tatt en del fag innen IKT, i hovedsak
496 driftsfag. IKT i Nord-Odal kommune blir i dag driftet av Hedmark IKT
497 som er et samarbeid mellom Løten, Stange, Grue, Hamar, Kongsvinger og
498 Nord-Odal. Jeg er fortsatt
"IKT-personen
" på skolene i kommunen og
499 følger opp og gjør enkelte mindre endringer der.
</p
>
501 <p
><strong
>Hvordan kom du i kontakt med Skolelinux-prosjektet?
</strong
></p
>
503 <p
>Kommunen satset på Skolelinux i
2004. Jeg var ikke med i
504 beslutningsprosessen den gang, men ble likevel med fra starten når
505 dette ble levert.
</p
>
507 <p
><strong
>Hva er fordelene med Skolelinux slik du ser det?
</strong
></p
>
509 <p
>Fordelene med Skolelinux er rask oppstart, sentral drift av
510 klientene, klienter som jobber raskt og effektivt, bedre
511 funksjonalitet på eldre utstyr og en ganske god programpakke med fri
512 programvare som følger med. Løsningen med halvtykke klienter gjør at
513 prosessering skjer lokalt med alltid ferske maskiner.
</p
>
515 <p
>Skolelinux kan fungere godt på gammelt utstyr, men det er klart at
516 utstyr også blir for gammelt selv for Skolelinux. I forbindelese med
517 at vi nylig fikk nye servere og ny installasjon kastet jeg ut ca
60
518 klienter som fortsatt var i drift etter at de var kjøpt godt brukt i
519 2004. Noe var rundt
15 år gammelt, men var fortsatt i bruk. Noen
520 klaget på at det nå gikk veldig tregt på en del pedagogiske nettsider
521 med flash o.l. Det er fullt forståelig.
</p
>
523 <p
>Jeg fikk nylig et spørsmål fra ungdomsskolens rektor om jeg kunne
524 legge inn
<a href=
"http://freemind.sourceforge.net/
">FreeMind
</a
>, et
525 tankekartprogram , på skolens elev-Windowsmaskiner. Lærerne hadde
526 vært på kurs og ville ta dette i bruk. Skolen har ca halvparten av
527 elevmaskinene på bærbare Windowsmaskiner. Da kunne jeg fortelle at
528 dette programmet allerede lå inne på den nye Skolelinuxløsningen
529 som nettopp var satt i drift, klart til bruk.
</p
>
531 <p
>Vi har de bærbare maskinene på ungdomsskolen i domene med
532 Skolelinux. Dette fungerer også meget bra nå. Elevene får opp en
533 midlertidig windowsprofil når de logger på. Denne profilen slettes
534 etter at de logger av, noe som medfører rene profiler hver gang de
535 starter opp en maskin. De må lagre i sin Skolelinprofil, noe som
536 medfører at de får tak i sine filer uavhengig av om de starter en
537 Windowsmaskin eller en Skolelinuxklient. Det er mye mindre trafikk i
538 det trådløse nettet etter at ikke hele profiler blir lastet opp til de
539 enkelte Windowsmaskinene og tilbake når man avslutter. Jeg vet ikke om
540 dette er standardoppsett i Skolelinux, men slik er vårt oppsett
543 <p
>Vi har i flere år satt opp vår løsning slik at skriverkøer slettes
544 og skrivere startes hver natt. Hyggelig å høre at dette nå skal bli
545 en standard i Skolelinuxløsningen. Dette har vært en god hjelp for
548 <p
>Elevene er lite opptatt av om de jobber på en Skolelinux eller en
549 Windowsmaskin bare de har de programmene de trenger og at det virker
550 når det skal brukes. Vi kjører mest mulig de samme programmene på
551 Windows som i Skolelinux, som f.eks Audacity og LibreOffice.
</p
>
553 <p
><strong
>Hva er ulempene med Skolelinux slik du ser det?
</strong
></p
>
555 <p
>Lærere bruker hos oss Windows. Dette fordi de da selv har mer
556 kontroll over sin maskin, kan bruke den overalt, og kan legge inn
557 programmer selv når de trenger noe i forhold til kurs o.l de er
558 på. Jeg tror lærernes selvstendighet her gjør dem tryggere på IKT-bruk
559 generelt. Det at de av og til får opp advarsler og lignende gjør også
560 at de må tenke igjennom og spørre om ting rundt datasikkerhet.
</p
>
562 <p
>Det er en del programmer vi bruker som ikke finnes for Linux. Mest
563 brukt er nok Photostory3 som brukes i mange sammenhenger, særlig på
564 ungdomsskolen, bl.a. til å lage herbarier (plantesamling) . Dette
565 finnes gratis for Windows, men er ikke fri programvare. Vi er opptatt
566 av at programmer elevene bruker på skolen også kan brukes gratis
567 hjemme. Det er også en del programmer som brukes til spesielle elever
568 som bare går i Windows. Det er viktig med fokus på funksjoner og ikke
569 på hvilket OS man bruker.
</p
>
571 <p
>For oss er det kombinasjonen mellom Skolelinux og Windows som gir
572 oss en god og hel løsning. Skolelinux er best der de er gode.
</p
>
574 <p
><strong
>Hvilken fri programvare bruker du til daglig?
</strong
></p
>
576 <p
>Selv er det LibreOffice jeg bruker til daglig. Jeg bruker selv en
577 Windowsmaskin. Jeg har benyttet en del fri programvare i forbindelse
578 med sjekking av trafikk i nettverk, slik som Wireshark, men dette er
579 jo ikke aktuelt for skolene. Jeg er generelt glad i programmer som
580 fungerer på både Linux og Windows og gjerne MAC.
</p
>
582 <p
><strong
>Hvilken strategi tror du er den rette å bruke for å få
583 skoler til å ta i bruk fri programvare?
</strong
></p
>
585 <p
>Det er viktig at det benyttes programmer som elevene også kan ta i
586 bruk hjemme. Det skal da være enkelt, lovlig og gratis for
587 elevene. Da er jeg ikke lenger veldig opptatt av om det kalles
"fri
588 programvare
". For skolene tror jeg
"gratis
" og
"funksjonelt
" er bedre
589 begreper enn
"fri
" i forhold til programmer. De fleste skiller nok
590 ikke mellom
"fri
" og
"gratis
". Det er nå svært mange elever som
591 benytter OpenOffice eller LibreOffice som sin primære kontorpakke
597 <title>Changing the default Iceweasel start page in Debian Edu/Squeeze
</title>
598 <link>http://people.skolelinux.org/pere/blog/Changing_the_default_Iceweasel_start_page_in_Debian_Edu_Squeeze.html
</link>
599 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Changing_the_default_Iceweasel_start_page_in_Debian_Edu_Squeeze.html
</guid>
600 <pubDate>Tue,
10 Jan
2012 15:
30:
00 +
0100</pubDate>
601 <description><p
>In the Squeeze version of
602 <a href=
"http://www.skolelinux.org/
">Debian Edu / Skolelinux
</a
> soon
603 to be released, users of the system will get their default browser
604 start page set from LDAP, allowing the system administrator to point
605 all users to the school web page by updating one setting in LDAP. In
606 addition to setting the default start page when a machine boots, users
607 are shown the same page as a welcome page when they log in for the
608 first time.
</p
>
610 <p
>The LDAP object dc=skole,dc=skolelinux,dc=no have an attribute
611 labeledURI with
"http://www/ LDAP for Debian Edu/Skolelinux
" as the
612 default content. By changing this value to another URL, all users get
613 to see the page behind this new URL.
</p
>
615 <p
>An easy way to update it is by using the ldapvi tool. It can be
616 called as
"<tt
>ldapvi -ZD
'(cn=admin)
'</tt
>' to update LDAP with the
617 new setting.
</p
>
619 <p
>We have written the code to adjust the default start page and show
620 the welcome page, and I wonder if there is an easier way to do this
621 from within Iceweasel instead.
</p
>