New in the Squeeze version of -Debian Edu / Skolelinux is the -ability for clients to automatically configure their proxy settings -based on their environment. We want all systems on the client to use -the WPAD based proxy definition fetched from http://wpad/wpad.dat, to -allow sites to control the proxy setting from a central place and make -sure clients do not have hard coded proxy settings. The schools can -change the global proxy setting by editing -tjener:/etc/debian-edu/www/wpad.dat and the change propagate -to all Debian Edu clients in the network.
- -The problem is that some systems do not understand the WPAD system. -In other words, how do one get from a WPAD file like this (this is a -simple one, they can run arbitrary code):
- -- --function FindProxyForURL(url, host) -{ - if (!isResolvable(host) || - isPlainHostName(host) || - dnsDomainIs(host, ".intern")) - return "DIRECT"; - else - return "PROXY webcache:3128; DIRECT"; -} -
to a proxy setting in the process environment looking like this:
- -- --http_proxy=http://webcache:3128/ -ftp_proxy=http://webcache:3128/ -
To do this conversion I developed a perl script that will execute -the javascript fragment in the WPAD file and return the proxy that -would be used for -http://www.debian.org/, -and insert this extracted proxy URL in /etc/environment and -/etc/apt/apt.conf. The perl script wpad-extract work just -fine in Squeeze, but in Wheezy the library it need to run the -javascript code is no longer -able to build because the C library it depended on is now a C++ -library. I hope someone find a solution to that problem before Wheezy -is frozen. An alternative would be for us to rewrite wpad-extract to -use some other javascript library currently working in Wheezy, but no -known alternative is known at the moment.
- -This automatic proxy system allow the roaming workstation (aka -laptop) setup in Debian Edu/Squeeze to use the proxy when the laptop -is connected to the backbone network in a Debian Edu setup, and to -automatically use any proxy present and announced using the WPAD -feature when it is connected to other networks. And if no proxy is -announced, direct connections will be used instead.
- -Silently using a proxy announced on the network might be a privacy -or security problem. But those controlling DHCP and DNS on a network -could just as easily set up a transparent proxy, and force all HTTP -and FTP connections to use a proxy anyway, so I consider that -distinction to be academic. If you are afraid of using the wrong -proxy, you should avoid connecting to the network in question in the -first place. In Debian Edu, the proxy setup is updated using dhcp and -ifupdown hooks, to make sure the configuration is updated every time -the network setup changes.
- -The WPAD system is documented in a -IETF -draft and a -Wikipedia -page for those that want to learn more. + +Aftenposten melder i dag at selgerne av +gatemagasinet =Oslo er +irritert +pÃ¥ at det er kommet en konkurrent pÃ¥ banen fra organisasjonen +Folk er Folk, +som støtter ârumenerneâ, de mest uglesette av tiggerne i Norge. Min +første tanke da jeg leste nyheten er at slik mÃ¥ =Oslo-selgerne tÃ¥le +nÃ¥r de nekter "rumenerne" og andre utenlandske tiggere Ã¥ selge +gatemagasinet sitt. Det ble rapportert for noen Ã¥r siden at +utenlandske +tiggere ikke var velkomne som selgere, og Ã¥ opprette en konkurrent +virker da for meg som et rasjonelt alternativ. Og at "rumerene" +utelukkes gjelder visst ikke bare i Oslo. I Adresseavisen fant jeg en +artikkel om at selgerne av +gateavisen +Sorgenfri i Trondheim ogsÃ¥ +utelukker +utenlandske selgere.
+ +Men situasjonen er visst ikke så rett frem som opprinnelige +artikler kunne tyde på. Mens jeg søkte opp gamle artikler og +referanser om temaet, fant jeg et +leserbrev +fra en av stifterne av =Oslo, som protesterte på +påstander +fra likestillingsombudet om diskriminering og forteller at =Oslo +krever at de som selger magasinet skal kunne kommunisere med kundene +for å kunne representere magasinet utad, og at "rumererne" ikke +ekskluderes for å være utlendinger men pga. at de ikke kan snakke +norsk. Det er jo ikke urimelig å kreve at en selger skal kunne +kommunisere med kundene, men som kjøper har jeg ikke snakket så mye +med =Oslo-selgerne at det ville vært et problem for meg om selgeren +ikke kunne snakke norsk. Jeg er dermed i tvil om hvorvidt +argumentasjonen holder når effekten er at de mest uglesette tiggerne i +Norge ekskluderes.
+ +Uansett tror jeg ikke markedet for gatemagasiner i Oslo er mettet. +Personlig kunne jeg godt tenkte meg å kjøpe flere, men gidder ikke +kjøpe den samme utgaven av =Oslo flere ganger. En konkurrent som Folk +er Folk kan dermed ende opp med å gjøre markedet større i stedet for å +spise av markedsandelene til =Oslo.
I serien med intervjuer av folk i -Skolelinux-miljøet har jeg -fått en av oversetterne som har vært med siden starten i tale.
- -Hvem er du, og hva driver du med til daglig?
- -Jeg heter Axel Bojer og er datalærer, tysklærer, oversetter med -mere.
- -Hvordan kom du i kontakt med Skolelinux-prosjektet?
- -Tror jeg så en annonsering på nettet i slutten av 2001 og ville -være med som oversetter. Jeg kom med på en utviklersamling og -prosjektet var da helt i starten. Det var spennende å være med mens -prosjektet vokste til og utviklet seg.
- -Jeg har «alltid» vært språkinteressert og hadde nettopp startet med -Linux og tror jeg tenkte det passet å bidra. Var også glad for å få -en Debian-distribusjon, og ville gjerne bruke den selv. Til å begynne -med brukte jeg først Mandrake og så Debian. Og siden jeg oppdaget at -det ikke var noen mulighet for å bruke den som enkeltstående i lang -tid, så gikk jeg etterhvert over til Kubuntu
- -Hva er fordelene med Skolelinux slik du ser det?
- -Løsningen er forholdsvis lett å sette opp, gratis, fri programvare -og gjør det mulig å gjenbruke eldre maskiner. Det fine med Debian er -at det er stabilt og har en veldig stor mengde programmer. Jeg liker -også apt. :-) Jeg liker også friheten ved Linux og muligheten til å -delta og forme sin egen datahverdag.
- -Hva er ulempene med Skolelinux slik du ser det?
- -Skolelinux er for lite kjent og for sent ute med å gi ut nye -versjoner.
- -Da jeg selv i hovedsak bruker Kubuntu, så kan jeg egentlig ikke -svare så detaljert rundt ulempene med Skolelinux. Hovedårsaken til at -jeg bruker Kubuntu er nok at da vi begynte med det mener jeg det ikke -var noen annen løsning. «Vandrende arbeidsstasjon» mener jeg ikke -fantes da. Dessuten ville jeg ha siste versjon, da den KDE-versjonen -som var i Skolelinux den gangen var en god del enklere (tror det var -KDE 2) var dårligere i mine øyne enn versjon 3.
- -Hvilken fri programvare bruker du til daglig?
- -Jeg bruker blant annet Kubuntu, LibreOffice, Thunderbird, Firefox, -Kate, Comix og Konsole. Og -en hel haug andre ved behov :-)
- -Har oversatt Comix selv, men det er jo ikke skjedd noe med Comix -siden 2009, så den er det nok bare jeg som har. Om andre vil ha den -gir jeg den gjerne videre. Ser at noen har startet på -MComix siden jeg så på så -på dette sist, så nå er jeg igang med å teste og oversette den -også.
- -Hvilken strategi tror du er den rette å bruke for å få -skoler til å ta i bruk fri programvare?
- -Det viktigste er å forankre beslutningen i kollegiet og med de som -er ansvarlige for å vedlikeholde og bruke datamaskinene. Flest mulig -bør være med på å holde det (sosialt) vedlike, kjenne og støtte -prinsippene. Som enkeltmannsprosjekt blir det lett veldig sårbart, -særlig når (Skole)linux ennå i stor grad er en motkultur og ikke noe -en stor nok andel av beslutningstakere, brukere osv kjenner til og -bruker.
- -Jeg tror det viktigste er å fortsette å holde fri programvare godt, -oppdatert, minimere antall feil, ha en god kontakt med brukerne og -attraktivt og spennende programmer. Beholde alt som er bra og ha det -tilgjengelig samtidig som man tilbyr det nyeste og rareste for de som -vil ha det.
+ +Doffin er det offentlige Norges +portal for annonsering av anbudsutlysninger. Nettstedet er mye brukt, +men rådataene er ikke enkelt tilgjengelig for almenheten. For å bøte +på det har jeg som et NUUG-prosjekt +laget en Scraperwiki-skraper som +lager en +SQL-database +med nøkkelinformasjonen fra Doffin, slik at det er mulig å søke og +analysere Doffin-oppføringene. Det publiseres mellom 900-1500 anbud +hver måned via Doffin. Jeg har ingen konkrete planer for analyse, men +håper enklere tilgjengelighet gjør at flere griper sjansen. På sikt +håper jeg å bruke denne databasen som grunnlag for å lage en database +over anbudsdokumenter, som i dag ikke er tilgjengelig fra doffin, men +må bestilles fra hver enkelt utlyser.
+ +Jeg var litt usikker på om det var rettighetsproblemer knyttet til +skraping av informasjon fra Doffin, men ser i +vilkårene til +Doffin følgende:
+ ++ ++ +Opphavsrett mv
+ +Ved innleggig av kunngjøringer på Doffin aksepterer Oppdragsgiver +at opphavsrett og andre rettigheter til materialet overføres til +Fornyings- og administrasjonsdepartementet, eller den departementet +utnevner. Oppdragsgiver har imidlertid bruksrett til materialet, og +kan benytte det til de formål de måtte ønske.
+ +
Hvis informasjonen er vernet av opphavsrettsloven (hvilket jeg +tviler på, gitt lovens begrensninger om informasjon fra det +offentlige), så er det FAD som har de immaterielle rettighetene. FAD +er en del av staten, som opererer på vegne av folket, og enhver borger +skulle dermed ha rett til å videreformidle informasjonen. Ingen av +offentlighetslovens unntak kommer til anvendelse, i og med at +informasjonen allerede er publisert.
Since the Lenny version of -Debian Edu / Skolelinux, a -feature to save power have been included. It is as simple as it is -practical: Shut down unused clients at night, and turn them on again -in the morning. This is done using the -shutdown-at-night Debian package.
- -To enable this feature on a client, the machine need to be added to -the netgroup shutdown-at-night-hosts. For Debian Edu, this is done in -LDAP, and once this is in place, the machine in question will check -every hour from 16:00 until 06:00 to see if the machine is unused, and -shut it down if it is. If the hardware in question is supported by -the -nvram-wakeup -package, the BIOS is told to turn the machine back on around 07:00 +- -10 minutes. If this isn't working, one can configure wake-on-lan to -try to turn on the client. The wake-on-lan option is only documented -and not enabled by default in Debian Edu.
- -It is important to not turn all machines on at once, as this can -blow a fuse if several computers are connected to the same fuse like -the common setup for a classroom. The nvram-wakeup method only work -for machines with a functioning hardware/BIOS clock. I've seen old -machines where the BIOS battery were dead and the hardware clock were -starting from 0 (or was it 1990?) every boot. If you have one of -those, you have to turn on the computer manually.
- -The shutdown-at-night package is completely self contained, and can -also be used outside the Debian Edu environment. For those without a -central LDAP server with netgroups, one can instead touch the file -/etc/shutdown-at-night/shutdown-at-night to enable it. -Perhaps you too can use it to save some power?
+ +During my work on +Debian Edu +based on Squeeze, I came across some issues that should be +addressed in the Wheezy release. I finally found time to wrap up my +notes and provide quick summary of what I found, with a bit +explanation.
+ +-
+
+
- We need to rewrite our package installation framework, as tasksel +changed from using tasksel tasks to using meta packages (aka packages +with dependencies like our education-* packages), and our installation +system depend on tasksel tasks in +/usr/share/tasksel/debian-edu-tasks.desc for package +installation. + +
- Enable Kerberos login for more services. Now with the Kerberos
+foundation in place, we should use it to get single sign on with more
+services, and avoiding unneeded password / login questions. We should
+at least try to enable it for these services:
+
-
+
+
- CUPS for admins to add/configure printers and users when using + quotas. +
- Nagios for admins checking the system status. +
- GOsa for admins updating LDAP and users changing their passwords. +
- LDAP for admins updating LDAP. +
- Squid for users when exam mode / filtering is active. +
- ssh for admins and users to save a password prompt. + +
+
+ - When we move GOsa to use Kerberos instead of LDAP bind to +authenticate users, we should try to block or at least limit access to +use LDAP bind for authentication, to ensure Kerberos is used when it +is intended, and nothing fall back to using the less safe LDAP bind + +
- Merge debian-edu-config and debian-edu-install. The split made +sense when d-e-install did a lot more, but these days it is just an +inconvenience when we update the debconf preseeding values. + +
- Fix partman-auto to allow us to abort the installation before +touching the disk if the disk is too small. This is +BTS report #653305 and the +d-i developers are fine with the patch and someone just need to apply +it and upload. After this is done we need to adjust +debian-edu-install to use this new hook. + +
- Adjust to new LTSP framework (boot time config instead of install +time config). LTSP changed its design, and our hooks to install +packages and update the configuration is most likely not going to work +in Wheezy. + +
- Consider switching to NBD instead of NFS for LTSP root, to allow +the Kernel to cache files in its normal file cache, possibly speeding +up KDE login on slow networks. + +
- Make it possible to create expired user passwords that need to +change on first login. This is useful when handing out password on +paper, to make sure only the user know the password. This require +fixes to the PAM handling of kdm and gdm. + +
- Make GUI for adding new machines automatically from sitesummary. +The current command line script is not very friendly to people most +familiar with GUIs. This should probably be integrated into GOsa to +have it available where the admin will be looking for it.. + +
- We should find way for Nagios to check that the DHCP service +actually is working (as in handling out IP addresses). None of the +Nagios checks I have found so far have been working for me. + +
- We should switch from libpam-nss-ldapd to sssd for all profiles +using LDAP, and not only on for roaming workstations, to have less +packages to configure and consistent setup across all profiles. + +
- We should configure Kerberos to update LDAP and Samba password +when changing password using the Kerberos protocol. The hook was +requested in BTS report +#588968 and is now available in Wheezy. We might need to write a +MIT Kerberos plugin in C to get this. + +
- We should clean up the set of applications installed by default.
+
-
+
+
- reduce the number of chemistry visualisers +
- consider dropping xpaint +
- and probably more? +
+
+ - Some hardware need external firmware to work properly. This is +mostly the case for WiFi network cards, but there are some other +examples too. For popular laptops to work out of the box, such +firmware need to be installed from non-free, and we should provide +some GUI to do this. Ubuntu already have this implemented, and we +could consider using their packages. At the moment we have some +command line script to do this (one for the running system, another +for the LTSP chroot). + + +
- In Squeeze, we provide KDE, Gnome and LXDE as desktop options. We +should extend the list to Xfce and Sugar, and preferably find a way to +install several and allow the admin or the user to select which one to +use. + +
- The golearn tool from the goplay package make it easy to check out +interesting educational packages. We should work on the package +tagging in Debian to ensure it represent all the useful educational +packages, and extend the tool to allow it to use packagekit to install +new applications with a simple mouse click. + +
- The Squeeze version got half a exam solution already in place, +with the introduction of iptable based network blocking, but for it to +be a complete exam solution the Squid proxy need to enable +filtering/blocking as well when the exam mode is enabled. We should +implement a way to easily enable this for the schools that want it, +instead of the "it is documented" method of today. + +
- A feature used in several schools is the ability for a teacher to +"take over" the desktop of individual or all computers in the room. +There are at least three implementations, +italc, +controlaula og +epoptes and we should pick one of +them and make it trivial to set it up in a school. The challenges is +how to distribute crypto keys and how to group computers in one room +and how to set up which machine/user can control the machines in a +given room. + +
- Tablets and surf boards are getting more and more popular, and we +should look into providing a good solution for integrating these into +the Debian Edu network. Not quite sure how. Perhaps we should +provide a installation profile with better touch screen support for +them, or add some sync services to allow them to exchange +configuration and data with the central server. This should be +investigated. + +
I guess we will discover more as we continue to work on the Wheezy +version.