X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/89d80f8cd9bb1d6f9ec4b2923e4fe25948ce3d9f..853507b8979033f7bf771bb1bd78f6eeb61b3fc8:/blog/index.rss diff --git a/blog/index.rss b/blog/index.rss index c917b0e617..bbe31adcd2 100644 --- a/blog/index.rss +++ b/blog/index.rss @@ -7,668 +7,1075 @@ - Teaching vmdebootstrap to create Raspberry Pi SD card images - http://people.skolelinux.org/pere/blog/Teaching_vmdebootstrap_to_create_Raspberry_Pi_SD_card_images.html - http://people.skolelinux.org/pere/blog/Teaching_vmdebootstrap_to_create_Raspberry_Pi_SD_card_images.html - Sun, 27 Oct 2013 17:00:00 +0100 - <p>The -<a href="http://packages.qa.debian.org/v/vmdebootstrap.html">vmdebootstrap</a> -program is a a very nice system to create virtual machine images. It -create a image file, add a partition table, mount it and run -debootstrap in the mounted directory to create a Debian system on a -stick. Yesterday, I decided to try to teach it how to make images for -<a href="https://wiki.debian.org/RaspberryPi">Raspberry Pi</a>, as part -of a plan to simplify the build system for -<a href="https://wiki.debian.org/FreedomBox">the FreedomBox -project</a>. The FreedomBox project already uses vmdebootstrap for -the virtualbox images, but its current build system made multistrap -based system for Dreamplug images, and it is lacking support for -Raspberry Pi.</p> - -<p>Armed with the knowledge on how to build "foreign" (aka non-native -architecture) chroots for Raspberry Pi, I dived into the vmdebootstrap -code and adjusted it to be able to build armel images on my amd64 -Debian laptop. I ended up giving vmdebootstrap five new options, -allowing me to replicate the image creation process I use to make -<a href=http://people.skolelinux.org/pere/blog/A_Raspberry_Pi_based_batman_adv_Mesh_network_node.html"">Debian -Jessie based mesh node images for the Raspberry Pi</a>. First, the -<tt>--foreign /path/to/binfm_handler</tt> option tell vmdebootstrap to -call debootstrap with --foreign and to copy the handler into the -generated chroot before running the second stage. This allow -vmdebootstrap to create armel images on an amd64 host. Next I added -two new options <tt>--bootsize size</tt> and <tt>--boottype -fstype</tt> to teach it to create a separate /boot/ partition with the -given file system type, allowing me to create an image with a vfat -partition for the /boot/ stuff. I also added a <tt>--variant -variant</tt> option to allow me to create smaller images without the -Debian base system packages installed. Finally, I added an option -<tt>--no-extlinux</tt> to tell vmdebootstrap to not install extlinux -as a boot loader. It is not needed on the Raspberry Pi and probably -most other non-x86 architectures. The changes were accepted by the -upstream author of vmdebootstrap yesterday and today, and is now -available from -<a href="http://git.liw.fi/cgi-bin/cgit/cgit.cgi/vmdebootstrap/">the -upstream project page</a>.</p> - -<p>To use it to build a Raspberry Pi image using Debian Jessie, first -create a small script (the customize script) to add the non-free -binary blob needed to boot the Raspberry Pi and the APT source -list:</p> - -<p><pre> + Debian Jessie, PXE and automatic firmware installation + http://people.skolelinux.org/pere/blog/Debian_Jessie__PXE_and_automatic_firmware_installation.html + http://people.skolelinux.org/pere/blog/Debian_Jessie__PXE_and_automatic_firmware_installation.html + Fri, 17 Oct 2014 14:10:00 +0200 + <p>When PXE installing laptops with Debian, I often run into the +problem that the WiFi card require some firmware to work properly. +And it has been a pain to fix this using preseeding in Debian. +Normally something more is needed. But thanks to +<a href="https://packages.qa.debian.org/i/isenkram.html">my isenkram +package</a> and its recent tasksel extension, it has now become easy +to do this using simple preseeding.</p> + +<p>The isenkram-cli package provide tasksel tasks which will install +firmware for the hardware found in the machine (actually, requested by +the kernel modules for the hardware). (It can also install user space +programs supporting the hardware detected, but that is not the focus +of this story.)</p> + +<p>To get this working in the default installation, two preeseding +values are needed. First, the isenkram-cli package must be installed +into the target chroot (aka the hard drive) before tasksel is executed +in the pkgsel step of the debian-installer system. This is done by +preseeding the base-installer/includes debconf value to include the +isenkram-cli package. The package name is next passed to debootstrap +for installation. With the isenkram-cli package in place, tasksel +will automatically use the isenkram tasks to detect hardware specific +packages for the machine being installed and install them, because +isenkram-cli contain tasksel tasks.</p> + +<p>Second, one need to enable the non-free APT repository, because +most firmware unfortunately is non-free. This is done by preseeding +the apt-mirror-setup step. This is unfortunate, but for a lot of +hardware it is the only option in Debian.</p> + +<p>The end result is two lines needed in your preseeding file to get +firmware installed automatically by the installer:</p> + +<p><blockquote><pre> +base-installer base-installer/includes string isenkram-cli +apt-mirror-setup apt-setup/non-free boolean true +</pre></blockquote></p> + +<p>The current version of isenkram-cli in testing/jessie will install +both firmware and user space packages when using this method. It also +do not work well, so use version 0.15 or later. Installing both +firmware and user space packages might give you a bit more than you +want, so I decided to split the tasksel task in two, one for firmware +and one for user space programs. The firmware task is enabled by +default, while the one for user space programs is not. This split is +implemented in the package currently in unstable.</p> + +<p>If you decide to give this a go, please let me know (via email) how +this recipe work for you if you decide to give it a go. :)</p> + +<p>So, I bet you are wondering, how can this work. First and +foremost, it work because tasksel is modular, and driven by whatever +files it find in /usr/lib/tasksel/ and /usr/share/tasksel/. So the +isenkram-cli package place two files for tasksel to find. First there +is the task description file (/usr/share/tasksel/descs/isenkram.desc):</p> + +<p><blockquote><pre> +Task: isenkram-packages +Section: hardware +Description: Hardware specific packages (autodetected by isenkram) + Based on the detected hardware various hardware specific packages are + proposed. +Test-new-install: show show +Relevance: 8 +Packages: for-current-hardware + +Task: isenkram-firmware +Section: hardware +Description: Hardware specific firmware packages (autodetected by isenkram) + Based on the detected hardware various hardware specific firmware + packages are proposed. +Test-new-install: mark show +Relevance: 8 +Packages: for-current-hardware-firmware +</pre></blockquote></p> + +<p>The key parts are Test-new-install which indicate how the task +should be handled and the Packages line referencing to a script in +/usr/lib/tasksel/packages/. The scripts use other scripts to get a +list of packages to install. The for-current-hardware-firmware script +look like this to list relevant firmware for the machine: + +<p><blockquote><pre> #!/bin/sh -set -e # Exit on first error -rootdir="$1" -cd "$rootdir" -cat &lt;&lt;EOF > etc/apt/sources.list -deb http://http.debian.net/debian/ jessie main contrib non-free -EOF -# Install non-free binary blob needed to boot Raspberry Pi. This -# install a kernel somewhere too. -wget https://raw.github.com/Hexxeh/rpi-update/master/rpi-update \ - -O $rootdir/usr/bin/rpi-update -chmod a+x $rootdir/usr/bin/rpi-update -mkdir -p $rootdir/lib/modules -touch $rootdir/boot/start.elf -chroot $rootdir rpi-update -</pre></p> - -<p>Next, fetch the latest vmdebootstrap script and call it like this -to build the image:</p> - -<pre> -sudo ./vmdebootstrap \ - --variant minbase \ - --arch armel \ - --distribution jessie \ - --mirror http://http.debian.net/debian \ - --image test.img \ - --size 600M \ - --bootsize 64M \ - --boottype vfat \ - --log-level debug \ - --verbose \ - --no-kernel \ - --no-extlinux \ - --root-password raspberry \ - --hostname raspberrypi \ - --foreign /usr/bin/qemu-arm-static \ - --customize `pwd`/customize \ - --package netbase \ - --package git-core \ - --package binutils \ - --package ca-certificates \ - --package wget \ - --package kmod -</pre></p> - -<p>The list of packages being installed are the ones needed by -rpi-update to make the image bootable on the Raspberry Pi, with the -exception of netbase, which is needed by debootstrap to find -/etc/hosts with the minbase variant. I really wish there was a way to -set up an Raspberry Pi using only packages in the Debian archive, but -that is not possible as far as I know, because it boots from the GPU -using a non-free binary blob.</p> - -<p>The build host need debootstrap, kpartx and qemu-user-static and -probably a few others installed. I have not checked the complete -build dependency list.</p> - -<p>The resulting image will not use the hardware floating point unit -on the Raspberry PI, because the armel architecture in Debian is not -optimized for that use. So the images created will be a bit slower -than <a href="http://www.raspbian.org/">Raspbian</a> based images.</p> +# +PATH=/usr/sbin:$PATH +export PATH +isenkram-autoinstall-firmware -l +</pre></blockquote></p> + +<p>With those two pieces in place, the firmware is installed by +tasksel during the normal d-i run. :)</p> + +<p>If you want to test what tasksel will install when isenkram-cli is +installed, run <tt>DEBIAN_PRIORITY=critical tasksel --test +--new-install</tt> to get the list of packages that tasksel would +install.</p> + +<p><a href="https://wiki.debian.org/DebianEdu/">Debian Edu</a> will be +pilots in testing this feature, as isenkram is used to install +firmware now.</p> - Det er jo makta som er mest sårbar ved massiv overvåkning av Internett - http://people.skolelinux.org/pere/blog/Det_er_jo_makta_som_er_mest_s_rbar_ved_massiv_overv_kning_av_Internett.html - http://people.skolelinux.org/pere/blog/Det_er_jo_makta_som_er_mest_s_rbar_ved_massiv_overv_kning_av_Internett.html - Sat, 26 Oct 2013 20:30:00 +0200 - <p>De siste måneders eksponering av -<a href="http://www.aftenposten.no/nyheter/uriks/Her-er-Edvard-Snowdens-mest-omtalte-avsloringer-7351734.html">den -totale overvåkningen som foregår i den vestlige verden dokumenterer -hvor sårbare vi er</a>. Men det slår meg at de som er mest sårbare -for dette, myndighetspersoner på alle nivåer, neppe har innsett at de -selv er de mest interessante personene å lage profiler på, for å kunne -påvirke dem.</p> - -<p>For å ta et lite eksempel: Stortingets nettsted, -<a href="http://www.stortinget.no/">www.stortinget.no</a> (og -forsåvidt også -<a href="http://data.stortinget.no/">data.stortinget.no</a>), -inneholder informasjon om det som foregår på Stortinget, og jeg antar -de største brukerne av informasjonen der er representanter og -rådgivere på Stortinget. Intet overraskende med det. Det som derimot -er mer skjult er at Stortingets nettsted bruker -<a href="http://en.wikipedia.org/wiki/Google_Analytics">Google -Analytics</a>, hvilket gjør at enhver som besøker nettsidene der også -rapporterer om besøket via Internett-linjer som passerer Sverige, -England og videre til USA. Det betyr at informasjon om ethvert besøk -på stortingets nettsider kan snappes opp av svensk, britisk og USAs -etterretningsvesen. De kan dermed holde et øye med hvilke -Stortingssaker stortingsrepresentantene synes er interessante å sjekke -ut, og hvilke sider rådgivere og andre på stortinget synes er -interessant å besøke, når de gjør det og hvilke andre representanter -som sjekker de samme sidene omtrent samtidig. Stortingets bruk av -Google Analytics gjør det dermed enkelt for utenlands etteretning å -spore representantenes aktivitet og interesse. Hvis noen av -representantene bruker Google Mail eller noen andre tjenestene som -krever innlogging, så vil det være enda enklere å finne ut nøyaktig -hvilke personer som bruker hvilke nettlesere og dermed knytte -informasjonen opp til enkeltpersoner på Stortinget.</p> - -<p>Og jo flere nettsteder som bruker Google Analytics, jo bedre -oversikt over stortingsrepresentantenes lesevaner og interesse blir -tilgjengelig for svensk, britisk og USAs etterretning. Hva de kan -bruke den informasjonen til overlater jeg til leseren å undres -over.</p> + Ubuntu used to show the bread prizes at ICA Storo + http://people.skolelinux.org/pere/blog/Ubuntu_used_to_show_the_bread_prizes_at_ICA_Storo.html + http://people.skolelinux.org/pere/blog/Ubuntu_used_to_show_the_bread_prizes_at_ICA_Storo.html + Sat, 4 Oct 2014 15:20:00 +0200 + <p>Today I came across an unexpected Ubuntu boot screen. Above the +bread shelf on the ICA shop at Storo in Oslo, the grub menu of Ubuntu +with Linux kernel 3.2.0-23 (ie probably version 12.04 LTS) was stuck +on a screen normally showing the bread types and prizes:</p> + +<p align="center"><img width="70%" src="http://people.skolelinux.org/pere/blog/images/2014-10-04-ubuntu-ica-storo-crop.jpeg"></p> + +<p>If it had booted as it was supposed to, I would never had known +about this hidden Linux installation. It is interesting what +<a href="http://revealingerrors.com/">errors can reveal</a>.</p> - A Raspberry Pi based batman-adv Mesh network node - http://people.skolelinux.org/pere/blog/A_Raspberry_Pi_based_batman_adv_Mesh_network_node.html - http://people.skolelinux.org/pere/blog/A_Raspberry_Pi_based_batman_adv_Mesh_network_node.html - Mon, 21 Oct 2013 11:40:00 +0200 - <p>The last few days I have been experimenting with -<a href="http://www.open-mesh.org/projects/batman-adv/wiki">the -batman-adv mesh technology</a>. I want to gain some experience to see -if it will fit <a href="https://wiki.debian.org/FreedomBox">the -Freedombox project</a>, and together with my neighbors try to build a -mesh network around the park where I live. Batman-adv is a layer 2 -mesh system ("ethernet" in other words), where the mesh network appear -as if all the mesh clients are connected to the same switch.</p> - -<p>My hardware of choice was the Linksys WRT54GL routers I had lying -around, but I've been unable to get them working with batman-adv. So -instead, I started playing with a -<a href="http://www.raspberrypi.org/">Raspberry Pi</a>, and tried to -get it working as a mesh node. My idea is to use it to create a mesh -node which function as a switch port, where everything connected to -the Raspberry Pi ethernet plug is connected (bridged) to the mesh -network. This allow me to hook a wifi base station like the Linksys -WRT54GL to the mesh by plugging it into a Raspberry Pi, and allow -non-mesh clients to hook up to the mesh. This in turn is useful for -Android phones using <a href="http://servalproject.org/">the Serval -Project</a> voip client, allowing every one around the playground to -phone and message each other for free. The reason is that Android -phones do not see ad-hoc wifi networks (they are filtered away from -the GUI view), and can not join the mesh without being rooted. But if -they are connected using a normal wifi base station, they can talk to -every client on the local network.</p> - -<p>To get this working, I've created a debian package -<a href="https://github.com/petterreinholdtsen/meshfx-node">meshfx-node</a> -and a script -<a href="https://github.com/petterreinholdtsen/meshfx-node/blob/master/build-rpi-mesh-node">build-rpi-mesh-node</a> -to create the Raspberry Pi boot image. I'm using Debian Jessie (and -not Raspbian), to get more control over the packages available. -Unfortunately a huge binary blob need to be inserted into the boot -image to get it booting, but I'll ignore that for now. Also, as -Debian lack support for the CPU features available in the Raspberry -Pi, the system do not use the hardware floating point unit. I hope -the routing performance isn't affected by the lack of hardware FPU -support.</p> - -<p>To create an image, run the following with a sudo enabled user -after inserting the target SD card into the build machine:</p> - -<p><pre> -% wget -O build-rpi-mesh-node \ - https://raw.github.com/petterreinholdtsen/meshfx-node/master/build-rpi-mesh-node -% sudo bash -x ./build-rpi-mesh-node > build.log 2>&1 -% dd if=/root/rpi/rpi_basic_jessie_$(date +%Y%m%d).img of=/dev/mmcblk0 bs=1M -% -</pre></p> - -<p>Booting with the resulting SD card on a Raspberry PI with a USB -wifi card inserted should give you a mesh node. At least it does for -me with a the wifi card I am using. The default mesh settings are the -ones used by the Oslo mesh project at Hackeriet, as I mentioned in -<a href="http://people.skolelinux.org/pere/blog/Oslo_community_mesh_network___with_NUUG_and_Hackeriet_at_Hausmania.html">an -earlier blog post about this mesh testing</a>.</p> - -<p>The mesh node was not horribly expensive either. I bought -everything over the counter in shops nearby. If I had ordered online -from the lowest bidder, the price should be significantly lower:</p> + New lsdvd release version 0.17 is ready + http://people.skolelinux.org/pere/blog/New_lsdvd_release_version_0_17_is_ready.html + http://people.skolelinux.org/pere/blog/New_lsdvd_release_version_0_17_is_ready.html + Sat, 4 Oct 2014 08:40:00 +0200 + <p>The <a href="https://sourceforge.net/p/lsdvd/">lsdvd project</a> +got a new set of developers a few weeks ago, after the original +developer decided to step down and pass the project to fresh blood. +This project is now maintained by Petter Reinholdtsen and Steve +Dibb.</p> + +<p>I just wrapped up +<a href="https://sourceforge.net/p/lsdvd/mailman/message/32896061/">a +new lsdvd release</a>, available in git or from +<a href="https://sourceforge.net/projects/lsdvd/files/lsdvd/">the +download page</a>. This is the changelog dated 2014-10-03 for version +0.17.</p> -<p><table> +<ul> -<tr><th>Supplier</th><th>Model</th><th>NOK</th></tr> -<tr><td>Teknikkmagasinet</td><td>Raspberry Pi model B</td><td>349.90</td></tr> -<tr><td>Teknikkmagasinet</td><td>Raspberry Pi type B case</td><td>99.90</td></tr> -<tr><td>Lefdal</td><td>Jensen Air:Link 25150</td><td>295.-</td></tr> -<tr><td>Clas Ohlson</td><td>Kingston 16 GB SD card</td><td>199.-</td></tr> -<tr><td>Total cost</td><td></td><td>943.80</td></tr> + <li>Ignore 'phantom' audio, subtitle tracks</li> + <li>Check for garbage in the program chains, which indicate that a track is + non-existant, to work around additional copy protection</li> + <li>Fix displaying content type for audio tracks, subtitles</li> + <li>Fix pallete display of first entry</li> + <li>Fix include orders</li> + <li>Ignore read errors in titles that would not be displayed anyway</li> + <li>Fix the chapter count</li> + <li>Make sure the array size and the array limit used when initialising + the palette size is the same.</li> + <li>Fix array printing.</li> + <li>Correct subsecond calculations.</li> + <li>Add sector information to the output format.</li> + <li>Clean up code to be closer to ANSI C and compile without warnings + with more GCC compiler warnings.</li> -</table></p> +</ul> -<p>Now my mesh network at home consist of one laptop in the basement -connected to my production network, one Raspberry Pi node on the 1th -floor that can be seen by my neighbor across the park, and one -play-node I use to develop the image building script. And some times -I hook up my work horse laptop to the mesh to test it. I look forward -to figuring out what kind of latency the batman-adv setup will give, -and how much packet loss we will experience around the park. :)</p> +<p>This change bring together patches for lsdvd in use in various +Linux and Unix distributions, as well as patches submitted to the +project the last nine years. Please check it out. :)</p> - Perl library to control the Spykee robot moved to github - http://people.skolelinux.org/pere/blog/Perl_library_to_control_the_Spykee_robot_moved_to_github.html - http://people.skolelinux.org/pere/blog/Perl_library_to_control_the_Spykee_robot_moved_to_github.html - Sat, 19 Oct 2013 10:20:00 +0200 - <p>Back in 2010, I created a Perl library to talk to -<a href="http://en.wikipedia.org/wiki/Spykee">the Spykee robot</a> -(with two belts, wifi, USB and Linux) and made it available from my -web page. Today I concluded that it should move to a site that is -easier to use to cooperate with others, and moved it to github. If -you got a Spykee robot, you might want to check out -<a href="https://github.com/petterreinholdtsen/libspykee-perl">the -libspykee-perl github repository</a>.</p> + How to test Debian Edu Jessie despite some fatal problems with the installer + http://people.skolelinux.org/pere/blog/How_to_test_Debian_Edu_Jessie_despite_some_fatal_problems_with_the_installer.html + http://people.skolelinux.org/pere/blog/How_to_test_Debian_Edu_Jessie_despite_some_fatal_problems_with_the_installer.html + Fri, 26 Sep 2014 12:20:00 +0200 + <p>The <a href="http://www.skolelinux.org/">Debian Edu / Skolelinux +project</a> provide a Linux solution for schools, including a +powerful desktop with education software, a central server providing +web pages, user database, user home directories, central login and PXE +boot of both clients without disk and the installation to install Debian +Edu on machines with disk (and a few other services perhaps to small +to mention here). We in the Debian Edu team are currently working on +the Jessie based version, trying to get everything in shape before the +freeze, to avoid having to maintain our own package repository in the +future. The +<a href="https://wiki.debian.org/DebianEdu/Status/Jessie">current +status</a> can be seen on the Debian wiki, and there is still heaps of +work left. Some fatal problems block testing, breaking the installer, +but it is possible to work around these to get anyway. Here is a +recipe on how to get the installation limping along.</p> + +<p>First, download the test ISO via +<a href="ftp://ftp.skolelinux.no/cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso">ftp</a>, +<a href="http://ftp.skolelinux.no/cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso">http</a> +or rsync (use +ftp.skolelinux.org::cd-edu-testing-nolocal-netinst/debian-edu-amd64-i386-NETINST-1.iso). +The ISO build was broken on Tuesday, so we do not get a new ISO every +12 hours or so, but thankfully the ISO we already got we are able to +install with some tweaking.</p> + +<p>When you get to the Debian Edu profile question, go to tty2 +(use Alt-Ctrl-F2), run</p> + +<p><blockquote><pre> +nano /usr/bin/edu-eatmydata-install +</pre></blockquote></p> + +<p>and add 'exit 0' as the second line, disabling the eatmydata +optimization. Return to the installation, select the profile you want +and continue. Without this change, exim4-config will fail to install +due to a known bug in eatmydata.</p> + +<p>When you get the grub question at the end, answer /dev/sda (or if +this do not work, figure out what your correct value would be. All my +test machines need /dev/sda, so I have no advice if it do not fit +your need.</p> + +<p>If you installed a profile including a graphical desktop, log in as +root after the initial boot from hard drive, and install the +education-desktop-XXX metapackage. XXX can be kde, gnome, lxde, xfce +or mate. If you want several desktop options, install more than one +metapackage. Once this is done, reboot and you should have a working +graphical login screen. This workaround should no longer be needed +once the education-tasks package version 1.801 enter testing in two +days.</p> + +<p>I believe the ISO build will start working on two days when the new +tasksel package enter testing and Steve McIntyre get a chance to +update the debian-cd git repository. The eatmydata, grub and desktop +issues are already fixed in unstable and testing, and should show up +on the ISO as soon as the ISO build start working again. Well the +eatmydata optimization is really just disabled. The proper fix +require an upload by the eatmydata maintainer applying the patch +provided in bug <a href="https://bugs.debian.org/702711">#702711</a>. +The rest have proper fixes in unstable.</p> + +<p>I hope this get you going with the installation testing, as we are +quickly running out of time trying to get our Jessie based +installation ready before the distribution freeze in a month.</p> - Good causes: Debian Outreach Program for Women, EFF documenting the spying and Open access in Norway - http://people.skolelinux.org/pere/blog/Good_causes__Debian_Outreach_Program_for_Women__EFF_documenting_the_spying_and_Open_access_in_Norway.html - http://people.skolelinux.org/pere/blog/Good_causes__Debian_Outreach_Program_for_Women__EFF_documenting_the_spying_and_Open_access_in_Norway.html - Tue, 15 Oct 2013 21:30:00 +0200 - <p>The last few days I came across a few good causes that should get -wider attention. I recommend signing and donating to each one of -these. :)</p> - -<p>Via <a href="http://www.debian.org/News/weekly/2013/18/">Debian -Project News for 2013-10-14</a> I came across the Outreach Program for -Women program which is a Google Summer of Code like initiative to get -more women involved in free software. One debian sponsor has offered -to match <a href="http://debian.ch/opw2013">any donation done to Debian -earmarked</a> for this initiative. I donated a few minutes ago, and -hope you will to. :)</p> - -<p>And the Electronic Frontier Foundation just announced plans to -create <a href="https://supporters.eff.org/donate/nsa-videos">video -documentaries about the excessive spying</a> on every Internet user that -take place these days, and their need to fund the work. I've already -donated. Are you next?</p> - -<p>For my Norwegian audience, the organisation Studentenes og -Akademikernes Internasjonale Hjelpefond is collecting signatures for a -statement under the heading -<a href="http://saih.no/Bloggers_United/">Bloggers United for Open -Access</a> for those of us asking for more focus on open access in the -Norwegian government. So far 499 signatures. I hope you will sign it -too.</p> + Suddenly I am the new upstream of the lsdvd command line tool + http://people.skolelinux.org/pere/blog/Suddenly_I_am_the_new_upstream_of_the_lsdvd_command_line_tool.html + http://people.skolelinux.org/pere/blog/Suddenly_I_am_the_new_upstream_of_the_lsdvd_command_line_tool.html + Thu, 25 Sep 2014 11:20:00 +0200 + <p>I use the <a href="https://sourceforge.net/p/lsdvd/">lsdvd tool</a> +to handle my fairly large DVD collection. It is a nice command line +tool to get details about a DVD, like title, tracks, track length, +etc, in XML, Perl or human readable format. But lsdvd have not seen +any new development since 2006 and had a few irritating bugs affecting +its use with some DVDs. Upstream seemed to be dead, and in January I +sent a small probe asking for a version control repository for the +project, without any reply. But I use it regularly and would like to +get <a href="https://packages.qa.debian.org/lsdvd">an updated version +into Debian</a>. So two weeks ago I tried harder to get in touch with +the project admin, and after getting a reply from him explaining that +he was no longer interested in the project, I asked if I could take +over. And yesterday, I became project admin.</p> + +<p>I've been in touch with a Gentoo developer and the Debian +maintainer interested in joining forces to maintain the upstream +project, and I hope we can get a new release out fairly quickly, +collecting the patches spread around on the internet into on place. +I've added the relevant Debian patches to the freshly created git +repository, and expect the Gentoo patches to make it too. If you got +a DVD collection and care about command line tools, check out +<a href="https://sourceforge.net/p/lsdvd/git/ci/master/tree/">the git source</a> and join +<a href="https://sourceforge.net/p/lsdvd/mailman/">the project mailing +list</a>. :)</p> - Oslo community mesh network - with NUUG and Hackeriet at Hausmania - http://people.skolelinux.org/pere/blog/Oslo_community_mesh_network___with_NUUG_and_Hackeriet_at_Hausmania.html - http://people.skolelinux.org/pere/blog/Oslo_community_mesh_network___with_NUUG_and_Hackeriet_at_Hausmania.html - Fri, 11 Oct 2013 14:10:00 +0200 - <p>Wireless mesh networks are self organising and self healing -networks that can be used to connect computers across small and large -areas, depending on the radio technology used. Normal wifi equipment -can be used to create home made radio networks, and there are several -successful examples like -<a href="http://www.freifunk.net/">Freifunk</a> and -<a href="http://www.awmn.net/">Athens Wireless Metropolitan Network</a> -(see -<a href="http://en.wikipedia.org/wiki/List_of_wireless_community_networks_by_region#Greece">wikipedia -for a large list</a>) around the globe. To give you an idea how it -work, check out the nice overview of the Kiel Freifunk community which -can be seen from their -<a href="http://freifunk.in-kiel.de/ffmap/nodes.html">dynamically -updated node graph and map</a>, where one can see how the mesh nodes -automatically handle routing and recover from nodes disappearing. -There is also a small community mesh network group in Oslo, Norway, -and that is the main topic of this blog post.</p> - -<p>I've wanted to check out mesh networks for a while now, and hoped -to do it as part of my involvement with the <a -href="http://www.nuug.no/">NUUG member organisation</a> community, and -my recent involvement in -<a href="https://wiki.debian.org/FreedomBox">the Freedombox project</a> -finally lead me to give mesh networks some priority, as I suspect a -Freedombox should use mesh networks to connect neighbours and family -when possible, given that most communication between people are -between those nearby (as shown for example by research on Facebook -communication patterns). It also allow people to communicate without -any central hub to tap into for those that want to listen in on the -private communication of citizens, which have become more and more -important over the years.</p> - -<p>So far I have only been able to find one group of people in Oslo -working on community mesh networks, over at the hack space -<a href="http://hackeriet.no/">Hackeriet</a> at Husmania. They seem to -have started with some Freifunk based effort using OLSR, called -<a href="http://oslo.freifunk.net/index.php?title=Main_Page">the Oslo -Freifunk project</a>, but that effort is now dead and the people -behind it have moved on to a batman-adv based system called -<a href="http://meshfx.org/trac">meshfx</a>. Unfortunately the wiki -site for the Oslo Freifunk project is no longer possible to update to -reflect this fact, so the old project page can't be updated to point to -the new project. A while back, the people at Hackeriet invited people -from the Freifunk community to Oslo to talk about mesh networks. I -came across this video where Hans Jørgen Lysglimt interview the -speakers about this talk (from -<a href="https://www.youtube.com/watch?v=N2Kd7CLkhSY">youtube</a>):</p> - -<p><iframe width="420" height="315" src="https://www.youtube.com/embed/N2Kd7CLkhSY" frameborder="0" allowfullscreen></iframe></p> - -<p>I mentioned OLSR and batman-adv, which are mesh routing protocols. -There are heaps of different protocols, and I am still struggling to -figure out which one would be "best" for some definitions of best, but -given that the community mesh group in Oslo is so small, I believe it -is best to hook up with the existing one instead of trying to create a -completely different setup, and thus I have decided to focus on -batman-adv for now. It sure help me to know that the very cool -<a href="http://www.servalproject.org/">Serval project in Australia</a> -is using batman-adv as their meshing technology when it create a self -organizing and self healing telephony system for disaster areas and -less industrialized communities. Check out this cool video presenting -that project (from -<a href="https://www.youtube.com/watch?v=30qNfzJCQOA">youtube</a>):</p> - -<p><iframe width="560" height="315" src="https://www.youtube.com/embed/30qNfzJCQOA" frameborder="0" allowfullscreen></iframe></p> - -<p>According to the wikipedia page on -<a href="http://en.wikipedia.org/wiki/Wireless_mesh_network">Wireless -mesh network</a> there are around 70 competing schemes for routing -packets across mesh networks, and OLSR, B.A.T.M.A.N. and -B.A.T.M.A.N. advanced are protocols used by several free software -based community mesh networks.</p> - -<p>The batman-adv protocol is a bit special, as it provide layer 2 -(as in ethernet ) routing, allowing ipv4 and ipv6 to work on the same -network. One way to think about it is that it provide a mesh based -vlan you can bridge to or handle like any other vlan connected to your -computer. The required drivers are already in the Linux kernel at -least since Debian Wheezy, and it is fairly easy to set up. A -<a href="http://www.open-mesh.org/projects/batman-adv/wiki/Quick-start-guide">good -introduction</a> is available from the Open Mesh project. These are -the key settings needed to join the Oslo meshfx network:</p> - -<p><table> -<tr><th>Setting</th><th>Value</th></tr> -<tr><td>Protocol / kernel module</td><td>batman-adv</td></tr> -<tr><td>ESSID</td><td>meshfx@hackeriet</td></tr> -<td>Channel / Frequency</td><td>11 / 2462</td></tr> -<td>Cell ID</td><td>02:BA:00:00:00:01</td> -</table></p> - -<p>The reason for setting ad-hoc wifi Cell ID is to work around bugs -in firmware used in wifi card and wifi drivers. (See a nice post from -VillageTelco about -"<a href="http://tiebing.blogspot.no/2009/12/ad-hoc-cell-splitting-re-post-original.html">Information -about cell-id splitting, stuck beacons, and failed IBSS merges!</a> -for details.) When these settings are activated and you have some -other mesh node nearby, your computer will be connected to the mesh -network and can communicate with any mesh node that is connected to -any of the nodes in your network of nodes. :)</p> - -<p>My initial plan was to reuse my old Linksys WRT54GL as a mesh node, -but that seem to be very hard, as I have not been able to locate a -firmware supporting batman-adv. If anyone know how to use that old -wifi access point with batman-adv these days, please let me know.</p> - -<p>If you find this project interesting and want to join, please join -us on IRC, either channel -<a href="irc://irc.freenode.net/#oslohackerspace">#oslohackerspace</a> -or <a href="irc://irc.freenode.net/#nuug">#nuug</a> on -irc.freenode.net.</p> - -<p>While investigating mesh networks in Oslo, I came across an old -research paper from the university of Stavanger and Telenor Research -and Innovation called -<a href="http://folk.uio.no/paalee/publications/netrel-egeland-iswcs-2008.pdf">The -reliability of wireless backhaul mesh networks</a> and elsewhere -learned that Telenor have been experimenting with mesh networks at -Grünerløkka in Oslo. So mesh networks are also interesting for -commercial companies, even though Telenor discovered that it was hard -to figure out a good business plan for mesh networking and as far as I -know have closed down the experiment. Perhaps Telenor or others would -be interested in a cooperation?</p> - -<p><strong>Update 2013-10-12</strong>: I was just -<a href="http://lists.alioth.debian.org/pipermail/freedombox-discuss/2013-October/005900.html">told -by the Serval project developers</a> that they no longer use -batman-adv (but are compatible with it), but their own crypto based -mesh system.</p> + Hva henger under skibrua over E16 på Sollihøgda? + http://people.skolelinux.org/pere/blog/Hva_henger_under_skibrua_over_E16_p__Sollih_gda_.html + http://people.skolelinux.org/pere/blog/Hva_henger_under_skibrua_over_E16_p__Sollih_gda_.html + Sun, 21 Sep 2014 09:50:00 +0200 + <p>Rundt omkring i Oslo og Østlandsområdet henger det bokser over +veiene som jeg har lurt på hva gjør. De har ut fra plassering og +vinkling sett ut som bokser som sniffer ut et eller annet fra +forbipasserende trafikk, men det har vært uklart for meg hva det er de +leser av. Her om dagen tok jeg bilde av en slik boks som henger under +<a href="http://www.openstreetmap.no/?zoom=19&mlat=59.96396&mlon=10.34443&layers=B00000">ei +skibru på Sollihøgda</a>:</p> + +<p align="center"><img width="60%" src="http://people.skolelinux.org/pere/blog/images/2014-09-13-kapsch-sollihogda-crop.jpeg"></p> + +<p>Boksen er tydelig merket «Kapsch >>>», logoen til +<a href="http://www.kapsch.net/">det sveitsiske selskapet Kapsch</a> som +blant annet lager sensorsystemer for veitrafikk. Men de lager mye +forskjellig, og jeg kjente ikke igjen boksen på utseendet etter en +kjapp titt på produktlista til selskapet.</p> + +<p>I og med at boksen henger over veien E16, en riksvei vedlikeholdt +av Statens Vegvesen, så antok jeg at det burde være mulig å bruke +REST-API-et som gir tilgang til vegvesenets database over veier, +skilter og annet veirelatert til å finne ut hva i alle dager dette +kunne være. De har både +<a href="https://www.vegvesen.no/nvdb/api/dokumentasjon/datakatalog">en +datakatalog</a> og +<a href="https://www.vegvesen.no/nvdb/api/dokumentasjon/sok">et +søk</a>, der en kan søke etter ulike typer oppføringer innen for et +gitt geografisk område. Jeg laget et enkelt shell-script for å hente +ut antall av en gitt type innenfor området skibrua dekker, og listet +opp navnet på typene som ble funnet. Orket ikke slå opp hvordan +URL-koding av aktuelle strenger kunne gjøres mer generisk, og brukte +en stygg sed-linje i stedet.</p> + +<blockquote><pre> +#!/bin/sh +urlmap() { + sed \ + -e 's/ / /g' -e 's/{/%7B/g' \ + -e 's/}/%7D/g' -e 's/\[/%5B/g' \ + -e 's/\]/%5D/g' -e 's/ /%20/g' \ + -e 's/,/%2C/g' -e 's/\"/%22/g' \ + -e 's/:/%3A/g' +} + +lookup() { + url="$1" + curl -s -H 'Accept: application/vnd.vegvesen.nvdb-v1+xml' \ + "https://www.vegvesen.no/nvdb/api$url" | xmllint --format - +} + +for id in $(seq 1 874) ; do + search="{ + lokasjon: { + bbox: \"10.34425,59.96386,10.34458,59.96409\", + srid: \"WGS84\" + }, + objektTyper: [{ + id: $id, antall: 10 + }] +}" + + query=/sok?kriterie=$(echo $search | urlmap) + if lookup "$query" | + grep -q '&lt;totaltAntallReturnert>0&lt;' + then + : + else + echo $id + lookup "/datakatalog/objekttyper/$id" |grep '^ &lt;navn>' + fi +done + +exit 0 +</pre></blockquote> + +Aktuelt ID-område 1-874 var riktig i datakatalogen da jeg laget +scriptet. Det vil endre seg over tid. Skriptet listet så opp +aktuelle typer i og rundt skibrua: + +<blockquote><pre> +5 + &lt;navn>Rekkverk&lt;/navn> +14 + &lt;navn>Rekkverksende&lt;/navn> +47 + &lt;navn>Trafikklomme&lt;/navn> +49 + &lt;navn>Trafikkøy&lt;/navn> +60 + &lt;navn>Bru&lt;/navn> +79 + &lt;navn>Stikkrenne/Kulvert&lt;/navn> +80 + &lt;navn>Grøft, åpen&lt;/navn> +86 + &lt;navn>Belysningsstrekning&lt;/navn> +95 + &lt;navn>Skiltpunkt&lt;/navn> +96 + &lt;navn>Skiltplate&lt;/navn> +98 + &lt;navn>Referansestolpe&lt;/navn> +99 + &lt;navn>Vegoppmerking, langsgående&lt;/navn> +105 + &lt;navn>Fartsgrense&lt;/navn> +106 + &lt;navn>Vinterdriftsstrategi&lt;/navn> +172 + &lt;navn>Trafikkdeler&lt;/navn> +241 + &lt;navn>Vegdekke&lt;/navn> +293 + &lt;navn>Breddemåling&lt;/navn> +301 + &lt;navn>Kantklippareal&lt;/navn> +318 + &lt;navn>Snø-/isrydding&lt;/navn> +445 + &lt;navn>Skred&lt;/navn> +446 + &lt;navn>Dokumentasjon&lt;/navn> +452 + &lt;navn>Undergang&lt;/navn> +528 + &lt;navn>Tverrprofil&lt;/navn> +532 + &lt;navn>Vegreferanse&lt;/navn> +534 + &lt;navn>Region&lt;/navn> +535 + &lt;navn>Fylke&lt;/navn> +536 + &lt;navn>Kommune&lt;/navn> +538 + &lt;navn>Gate&lt;/navn> +539 + &lt;navn>Transportlenke&lt;/navn> +540 + &lt;navn>Trafikkmengde&lt;/navn> +570 + &lt;navn>Trafikkulykke&lt;/navn> +571 + &lt;navn>Ulykkesinvolvert enhet&lt;/navn> +572 + &lt;navn>Ulykkesinvolvert person&lt;/navn> +579 + &lt;navn>Politidistrikt&lt;/navn> +583 + &lt;navn>Vegbredde&lt;/navn> +591 + &lt;navn>Høydebegrensning&lt;/navn> +592 + &lt;navn>Nedbøyningsmåling&lt;/navn> +597 + &lt;navn>Støy-luft, Strekningsdata&lt;/navn> +601 + &lt;navn>Oppgravingsdata&lt;/navn> +602 + &lt;navn>Oppgravingslag&lt;/navn> +603 + &lt;navn>PMS-parsell&lt;/navn> +604 + &lt;navn>Vegnormalstrekning&lt;/navn> +605 + &lt;navn>Værrelatert strekning&lt;/navn> +616 + &lt;navn>Feltstrekning&lt;/navn> +617 + &lt;navn>Adressepunkt&lt;/navn> +626 + &lt;navn>Friksjonsmåleserie&lt;/navn> +629 + &lt;navn>Vegdekke, flatelapping&lt;/navn> +639 + &lt;navn>Kurvatur, horisontalelement&lt;/navn> +640 + &lt;navn>Kurvatur, vertikalelement&lt;/navn> +642 + &lt;navn>Kurvatur, vertikalpunkt&lt;/navn> +643 + &lt;navn>Statistikk, trafikkmengde&lt;/navn> +647 + &lt;navn>Statistikk, vegbredde&lt;/navn> +774 + &lt;navn>Nedbøyningsmåleserie&lt;/navn> +775 + &lt;navn>ATK, influensstrekning&lt;/navn> +794 + &lt;navn>Systemobjekt&lt;/navn> +810 + &lt;navn>Vinterdriftsklasse&lt;/navn> +821 + &lt;navn>Funksjonell vegklasse&lt;/navn> +825 + &lt;navn>Kurvatur, stigning&lt;/navn> +838 + &lt;navn>Vegbredde, beregnet&lt;/navn> +862 + &lt;navn>Reisetidsregistreringspunkt&lt;/navn> +871 + &lt;navn>Bruksklasse&lt;/navn> +</pre></blockquote> + +<p>Av disse ser ID 775 og 862 mest relevant ut. ID 775 antar jeg +refererer til fotoboksen som står like ved brua, mens +«Reisetidsregistreringspunkt» kanskje kan være boksen som henger der. +Hvordan finner jeg så ut hva dette kan være for noe. En titt på +<a href="http://labs.vegdata.no/nvdb-datakatalog/862-Reisetidsregistreringspunkt/">datakatalogsiden +for ID 862/Reisetidsregistreringspunkt</a> viser at det er finnes 53 +slike målere i Norge, og hvor de er plassert, men gir ellers få +detaljer. Det er plassert 40 på østlandet og 13 i Trondheimsregionen. +Men siden nevner «AutoPASS», og hvis en slår opp oppføringen på +Sollihøgda nevner den «Ciber AS» som ID for eksternt system. (Kan det +være snakk om +<a href="http://www.proff.no/selskap/ciber-norge-as/oslo/internettdesign-og-programmering/Z0I3KMF4/">Ciber +Norge AS</a>, et selskap eid av Ciber Europe Bv?) Et nettsøk på + «Ciber AS autopass» fører meg til en artikkel fra NRK Trøndelag i + 2013 med tittel +«<a href="http://www.nrk.no/trondelag/sjekk-dette-hvis-du-vil-unnga-ko-1.11327947">Sjekk +dette hvis du vil unngå kø</a>». Artikkelen henviser til vegvesenets +nettside +<a href="http://www.reisetider.no/reisetid/forside.html">reisetider.no</a> +som har en +<a href="http://www.reisetider.no/reisetid/omrade.html?omrade=5">kartside +for Østlandet</a> som viser at det måles mellom Sandvika og Sollihøgda. +Det kan dermed se ut til at jeg har funnet ut hva boksene gjør.</p> + +<p>Hvis det stemmer, så er dette bokser som leser av AutoPASS-ID-en +til alle passerende biler med AutoPASS-brikke, og dermed gjør det mulig +for de som kontrollerer boksene å holde rede på hvor en gitt bil er +når den passerte et slikt målepunkt. NRK-artikkelen forteller at +denne informasjonen i dag kun brukes til å koble to +AutoPASS-brikkepasseringer passeringer sammen for å beregne +reisetiden, og at bruken er godkjent av Datatilsynet. Det er desverre +ikke mulig for en sjåfør som passerer under en slik boks å kontrollere +at AutoPASS-ID-en kun brukes til dette i dag og i fremtiden.</p> + +<p>I tillegg til denne type AutoPASS-sniffere vet jeg at det også +finnes mange automatiske stasjoner som tar betalt pr. passering (aka +bomstasjoner), og der lagres informasjon om tid, sted og bilnummer i +10 år. Finnes det andre slike sniffere plassert ut på veiene?</p> + +<p>Personlig har jeg valgt å ikke bruke AutoPASS-brikke, for å gjøre +det vanskeligere og mer kostbart for de som vil invadere privatsfæren +og holde rede på hvor bilen min beveger seg til enhver tid. Jeg håper +flere vil gjøre det samme, selv om det gir litt høyere private +utgifter (dyrere bompassering). Vern om privatsfæren koster i disse +dager.</p> + +<p>Takk til Jan Kristian Jensen i Statens Vegvesen for tips om +dokumentasjon på vegvesenets REST-API.</p> - Skolelinux / Debian Edu 7.1 install and overview video from Marcelo Salvador - http://people.skolelinux.org/pere/blog/Skolelinux___Debian_Edu_7_1_install_and_overview_video_from_Marcelo_Salvador.html - http://people.skolelinux.org/pere/blog/Skolelinux___Debian_Edu_7_1_install_and_overview_video_from_Marcelo_Salvador.html - Tue, 8 Oct 2013 17:10:00 +0200 - <p>The other day I was pleased and surprised to discover that Marcelo -Salvador had published a -<a href="https://www.youtube.com/watch?v=w-GgpdqgLFc">video on -Youtube</a> showing how to install the standalone Debian Edu / -Skolelinux profile. This is the profile intended for use at home or -on laptops that should not be integrated into the provided network -services (no central home directory, no Kerberos / LDAP directory etc, -in other word a single user machine). The result is 11 minutes long, -and show some user applications (seem to be rather randomly picked). -Missed a few of my favorites like celestia, planets and chromium -showing the <a href="http://www.zygotebody.com/">Zygote Body 3D model -of the human body</a>, but I guess he did not know about those or find -other programs more interesting. :) And the video do not show the -advantages I believe is one of the most valuable featuers in Debian -Edu, its central school server making it possible to run hundreds of -computers without hard drives by installing one central -<a href="http://www.ltsp.org/">LTSP server</a>.</p> - -<p>Anyway, check out the video, embedded below and linked to above:</p> - -<iframe width="420" height="315" src="http://www.youtube.com/embed/w-GgpdqgLFc" frameborder="0" allowfullscreen></iframe> - -<p>Are there other nice videos demonstrating Skolelinux? Please let -me know. :)</p> + Speeding up the Debian installer using eatmydata and dpkg-divert + http://people.skolelinux.org/pere/blog/Speeding_up_the_Debian_installer_using_eatmydata_and_dpkg_divert.html + http://people.skolelinux.org/pere/blog/Speeding_up_the_Debian_installer_using_eatmydata_and_dpkg_divert.html + Tue, 16 Sep 2014 14:00:00 +0200 + <p>The <a href="https://www.debian.org/">Debian</a> installer could be +a lot quicker. When we install more than 2000 packages in +<a href="http://www.skolelinux.org/">Skolelinux / Debian Edu</a> using +tasksel in the installer, unpacking the binary packages take forever. +A part of the slow I/O issue was discussed in +<a href="https://bugs.debian.org/613428">bug #613428</a> about too +much file system sync-ing done by dpkg, which is the package +responsible for unpacking the binary packages. Other parts (like code +executed by postinst scripts) might also sync to disk during +installation. All this sync-ing to disk do not really make sense to +me. If the machine crash half-way through, I start over, I do not try +to salvage the half installed system. So the failure sync-ing is +supposed to protect against, hardware or system crash, is not really +relevant while the installer is running.</p> + +<p>A few days ago, I thought of a way to get rid of all the file +system sync()-ing in a fairly non-intrusive way, without the need to +change the code in several packages. The idea is not new, but I have +not heard anyone propose the approach using dpkg-divert before. It +depend on the small and clever package +<a href="https://packages.qa.debian.org/eatmydata">eatmydata</a>, which +uses LD_PRELOAD to replace the system functions for syncing data to +disk with functions doing nothing, thus allowing programs to live +dangerous while speeding up disk I/O significantly. Instead of +modifying the implementation of dpkg, apt and tasksel (which are the +packages responsible for selecting, fetching and installing packages), +it occurred to me that we could just divert the programs away, replace +them with a simple shell wrapper calling +"eatmydata&nbsp;$program&nbsp;$@", to get the same effect. +Two days ago I decided to test the idea, and wrapped up a simple +implementation for the Debian Edu udeb.</p> + +<p>The effect was stunning. In my first test it reduced the running +time of the pkgsel step (installing tasks) from 64 to less than 44 +minutes (20 minutes shaved off the installation) on an old Dell +Latitude D505 machine. I am not quite sure what the optimised time +would have been, as I messed up the testing a bit, causing the debconf +priority to get low enough for two questions to pop up during +installation. As soon as I saw the questions I moved the installation +along, but do not know how long the question were holding up the +installation. I did some more measurements using Debian Edu Jessie, +and got these results. The time measured is the time stamp in +/var/log/syslog between the "pkgsel: starting tasksel" and the +"pkgsel: finishing up" lines, if you want to do the same measurement +yourself. In Debian Edu, the tasksel dialog do not show up, and the +timing thus do not depend on how quickly the user handle the tasksel +dialog.</p> + +<p><table> + +<tr> +<th>Machine/setup</th> +<th>Original tasksel</th> +<th>Optimised tasksel</th> +<th>Reduction</th> +</tr> + +<tr> +<td>Latitude D505 Main+LTSP LXDE</td> +<td>64 min (07:46-08:50)</td> +<td><44 min (11:27-12:11)</td> +<td>>20 min 18%</td> +</tr> + +<tr> +<td>Latitude D505 Roaming LXDE</td> +<td>57 min (08:48-09:45)</td> +<td>34 min (07:43-08:17)</td> +<td>23 min 40%</td> +</tr> + +<tr> +<td>Latitude D505 Minimal</td> +<td>22 min (10:37-10:59)</td> +<td>11 min (11:16-11:27)</td> +<td>11 min 50%</td> +</tr> + +<tr> +<td>Thinkpad X200 Minimal</td> +<td>6 min (08:19-08:25)</td> +<td>4 min (08:04-08:08)</td> +<td>2 min 33%</td> +</tr> + +<tr> +<td>Thinkpad X200 Roaming KDE</td> +<td>19 min (09:21-09:40)</td> +<td>15 min (10:25-10:40)</td> +<td>4 min 21%</td> +</tr> + +</table></p> + +<p>The test is done using a netinst ISO on a USB stick, so some of the +time is spent downloading packages. The connection to the Internet +was 100Mbit/s during testing, so downloading should not be a +significant factor in the measurement. Download typically took a few +seconds to a few minutes, depending on the amount of packages being +installed.</p> + +<p>The speedup is implemented by using two hooks in +<a href="https://www.debian.org/devel/debian-installer/">Debian +Installer</a>, the pre-pkgsel.d hook to set up the diverts, and the +finish-install.d hook to remove the divert at the end of the +installation. I picked the pre-pkgsel.d hook instead of the +post-base-installer.d hook because I test using an ISO without the +eatmydata package included, and the post-base-installer.d hook in +Debian Edu can only operate on packages included in the ISO. The +negative effect of this is that I am unable to activate this +optimization for the kernel installation step in d-i. If the code is +moved to the post-base-installer.d hook, the speedup would be larger +for the entire installation.</p> + +<p>I've implemented this in the +<a href="https://packages.qa.debian.org/debian-edu-install">debian-edu-install</a> +git repository, and plan to provide the optimization as part of the +Debian Edu installation. If you want to test this yourself, you can +create two files in the installer (or in an udeb). One shell script +need do go into /usr/lib/pre-pkgsel.d/, with content like this:</p> + +<p><blockquote><pre> +#!/bin/sh +set -e +. /usr/share/debconf/confmodule +info() { + logger -t my-pkgsel "info: $*" +} +error() { + logger -t my-pkgsel "error: $*" +} +override_install() { + apt-install eatmydata || true + if [ -x /target/usr/bin/eatmydata ] ; then + for bin in dpkg apt-get aptitude tasksel ; do + file=/usr/bin/$bin + # Test that the file exist and have not been diverted already. + if [ -f /target$file ] ; then + info "diverting $file using eatmydata" + printf "#!/bin/sh\neatmydata $bin.distrib \"\$@\"\n" \ + > /target$file.edu + chmod 755 /target$file.edu + in-target dpkg-divert --package debian-edu-config \ + --rename --quiet --add $file + ln -sf ./$bin.edu /target$file + else + error "unable to divert $file, as it is missing." + fi + done + else + error "unable to find /usr/bin/eatmydata after installing the eatmydata pacage" + fi +} + +override_install +</pre></blockquote></p> + +<p>To clean up, another shell script should go into +/usr/lib/finish-install.d/ with code like this: + +<p><blockquote><pre> +#! /bin/sh -e +. /usr/share/debconf/confmodule +error() { + logger -t my-finish-install "error: $@" +} +remove_install_override() { + for bin in dpkg apt-get aptitude tasksel ; do + file=/usr/bin/$bin + if [ -x /target$file.edu ] ; then + rm /target$file + in-target dpkg-divert --package debian-edu-config \ + --rename --quiet --remove $file + rm /target$file.edu + else + error "Missing divert for $file." + fi + done + sync # Flush file buffers before continuing +} + +remove_install_override +</pre></blockquote></p> + +<p>In Debian Edu, I placed both code fragments in a separate script +edu-eatmydata-install and call it from the pre-pkgsel.d and +finish-install.d scripts.</p> + +<p>By now you might ask if this change should get into the normal +Debian installer too? I suspect it should, but am not sure the +current debian-installer coordinators find it useful enough. It also +depend on the side effects of the change. I'm not aware of any, but I +guess we will see if the change is safe after some more testing. +Perhaps there is some package in Debian depending on sync() and +fsync() having effect? Perhaps it should go into its own udeb, to +allow those of us wanting to enable it to do so without affecting +everyone.</p> + +<p>Update 2014-09-24: Since a few days ago, enabling this optimization +will break installation of all programs using gnutls because of +<a href="https://bugs.debian.org/702711">bug #702711. An updated +eatmydata package in Debian will solve it.</p> - Finally, Debian Edu Wheezy is released today! - http://people.skolelinux.org/pere/blog/Finally__Debian_Edu_Wheezy_is_released_today_.html - http://people.skolelinux.org/pere/blog/Finally__Debian_Edu_Wheezy_is_released_today_.html - Sun, 29 Sep 2013 10:20:00 +0200 - <p>A few hours ago, the announcement for the first stable release of -Debian Edu Wheezy went out from the Debian publicity team. The -complete announcement text can be found at -<a href="http://www.debian.org/News/2013/20130928">the Debian News -section</a>, translated to several languages. Please check it out.</p> - -<p>There is one minor known problem that we will fix very soon. One -can not install a amd64 Thin Client Server using PXE, as the /var/ -partition is too small. A workaround is to extend the partition (use -lvresize + resize2fs in tty 2 while installing).</p> + Good bye subkeys.pgp.net, welcome pool.sks-keyservers.net + http://people.skolelinux.org/pere/blog/Good_bye_subkeys_pgp_net__welcome_pool_sks_keyservers_net.html + http://people.skolelinux.org/pere/blog/Good_bye_subkeys_pgp_net__welcome_pool_sks_keyservers_net.html + Wed, 10 Sep 2014 13:10:00 +0200 + <p>Yesterday, I had the pleasure of attending a talk with the +<a href="http://www.nuug.no/">Norwegian Unix User Group</a> about +<a href="http://www.nuug.no/aktiviteter/20140909-sks-keyservers/">the +OpenPGP keyserver pool sks-keyservers.net</a>, and was very happy to +learn that there is a large set of publicly available key servers to +use when looking for peoples public key. So far I have used +subkeys.pgp.net, and some times wwwkeys.nl.pgp.net when the former +were misbehaving, but those days are ended. The servers I have used +up until yesterday have been slow and some times unavailable. I hope +those problems are gone now.</p> + +<p>Behind the round robin DNS entry of the +<a href="https://sks-keyservers.net/">sks-keyservers.net</a> service +there is a pool of more than 100 keyservers which are checked every +day to ensure they are well connected and up to date. It must be +better than what I have used so far. :)</p> + +<p>Yesterdays speaker told me that the service is the default +keyserver provided by the default configuration in GnuPG, but this do +not seem to be used in Debian. Perhaps it should?</p> + +<p>Anyway, I've updated my ~/.gnupg/options file to now include this +line:</p> + +<p><blockquote><pre> +keyserver pool.sks-keyservers.net +</pre></blockquote></p> + +<p>With GnuPG version 2 one can also locate the keyserver using SRV +entries in DNS. Just for fun, I did just that at work, so now every +user of GnuPG at the University of Oslo should find a OpenGPG +keyserver automatically should their need it:</p> + +<p><blockquote><pre> +% host -t srv _pgpkey-http._tcp.uio.no +_pgpkey-http._tcp.uio.no has SRV record 0 100 11371 pool.sks-keyservers.net. +% +</pre></blockquote></p> + +<p>Now if only +<a href="http://ietfreport.isoc.org/idref/draft-shaw-openpgp-hkp/">the +HKP lookup protocol</a> supported finding signature paths, I would be +very happy. It can look up a given key or search for a user ID, but I +normally do not want that, but to find a trust path from my key to +another key. Given a user ID or key ID, I would like to find (and +download) the keys representing a signature path from my key to the +key in question, to be able to get a trust path between the two keys. +This is as far as I can tell not possible today. Perhaps something +for a future version of the protocol?</p> - Videos about the Freedombox project - for inspiration and learning - http://people.skolelinux.org/pere/blog/Videos_about_the_Freedombox_project___for_inspiration_and_learning.html - http://people.skolelinux.org/pere/blog/Videos_about_the_Freedombox_project___for_inspiration_and_learning.html - Fri, 27 Sep 2013 14:10:00 +0200 - <p>The <a href="http://www.freedomboxfoundation.org/">Freedombox -project</a> have been going on for a while, and have presented the -vision, ideas and solution several places. Here is a little -collection of videos of talks and presentation of the project.</p> - -<ul> - -<li><a href="http://www.youtube.com/watch?v=ukvUz5taxvA">FreedomBox - -2,5 minute marketing film</a> (Youtube)</li> - -<li><a href="http://www.youtube.com/watch?v=SzW25QTVWsE">Eben Moglen -discusses the Freedombox on CBS news 2011</a> (Youtube)</li> - -<li><a href="http://www.youtube.com/watch?v=Ae8SZbxfE0g">Eben Moglen - -Freedom in the Cloud - Software Freedom, Privacy and and Security for -Web 2.0 and Cloud computing at ISOC-NY Public Meeting 2010</a> -(Youtube)</li> - -<li><a href="http://www.youtube.com/watch?v=vNaIji_3xBE">Fosdem 2011 -Keynote by Eben Moglen presenting the Freedombox</a> (Youtube)</li> - -<li><a href="http://www.youtube.com/watch?v=9bDDUyJSQ9s">Presentation of -the Freedombox by James Vasile at Elevate in Gratz 2011</a> (Youtube)</li> - -<li><a href="http://www.youtube.com/watch?v=zQTmnk27g9s"> Freedombox - -Discovery, Identity, and Trust by Nick Daly at Freedombox Hackfest New -York City in 2012</a> (Youtube)</li> - -<li><a href="http://www.youtube.com/watch?v=tkbSB4Ba7Ck">Introduction -to the Freedombox at Freedombox Hackfest New York City in 2012</a> -(Youtube)</li> - -<li><a href="http://www.youtube.com/watch?v=z-P2Jaeg0aQ">Freedom, Out -of the Box! by Bdale Garbee at linux.conf.au Ballarat, 2012</a> (Youtube) </li> - -<li><a href="https://archive.fosdem.org/2013/schedule/event/freedombox/">Freedombox -1.0 by Eben Moglen and Bdale Garbee at Fosdem 2013</a> (FOSDEM) </li> - -<li><a href="http://www.youtube.com/watch?v=e1LpYX2zVYg">What is the -FreedomBox today by Bdale Garbee at Debconf13 in Vaumarcus -2013</a> (Youtube)</li> - -</ul> - -<p>A larger list is available from -<a href="https://wiki.debian.org/FreedomBox/TalksAndPresentations">the -Freedombox Wiki</a>.</p> - -<p>On other news, I am happy to report that Freedombox based on Debian -Jessie is coming along quite well, and soon both Owncloud and using -Tor should be available for testers of the Freedombox solution. :) In -a few weeks I hope everything needed to test it is included in Debian. -The withsqlite package is already in Debian, and the plinth package is -pending in NEW. The third and vital part of that puzzle is the -metapackage/setup framework, which is still pending an upload. Join -us on <a href="irc://irc.debian.org:6667/%23freedombox">IRC -(#freedombox on irc.debian.org)</a> and -<a href="http://lists.alioth.debian.org/mailman/listinfo/freedombox-discuss">the -mailing list</a> if you want to help make this vision come true.</p> + Do you need an agreement with MPEG-LA to publish and broadcast H.264 video in Norway? + http://people.skolelinux.org/pere/blog/Do_you_need_an_agreement_with_MPEG_LA_to_publish_and_broadcast_H_264_video_in_Norway_.html + http://people.skolelinux.org/pere/blog/Do_you_need_an_agreement_with_MPEG_LA_to_publish_and_broadcast_H_264_video_in_Norway_.html + Mon, 25 Aug 2014 22:10:00 +0200 + <p>Two years later, I am still not sure if it is legal here in Norway +to use or publish a video in H.264 or MPEG4 format edited by the +commercially licensed video editors, without limiting the use to +create "personal" or "non-commercial" videos or get a license +agreement with <a href="http://www.mpegla.com">MPEG LA</a>. If one +want to publish and broadcast video in a non-personal or commercial +setting, it might be that those tools can not be used, or that video +format can not be used, without breaking their copyright license. I +am not sure. +<a href="http://people.skolelinux.org/pere/blog/Trenger_en_avtale_med_MPEG_LA_for___publisere_og_kringkaste_H_264_video_.html">Back +then</a>, I found that the copyright license terms for Adobe Premiere +and Apple Final Cut Pro both specified that one could not use the +program to produce anything else without a patent license from MPEG +LA. The issue is not limited to those two products, though. Other +much used products like those from Avid and Sorenson Media have terms +of use are similar to those from Adobe and Apple. The complicating +factor making me unsure if those terms have effect in Norway or not is +that the patents in question are not valid in Norway, but copyright +licenses are.</p> + +<p>These are the terms for Avid Artist Suite, according to their +<a href="http://www.avid.com/US/about-avid/legal-notices/legal-enduserlicense2">published +end user</a> +<a href="http://www.avid.com/static/resources/common/documents/corporate/LICENSE.pdf">license +text</a> (converted to lower case text for easier reading):</p> + +<p><blockquote> +<p>18.2. MPEG-4. MPEG-4 technology may be included with the +software. MPEG LA, L.L.C. requires this notice: </p> + +<p>This product is licensed under the MPEG-4 visual patent portfolio +license for the personal and non-commercial use of a consumer for (i) +encoding video in compliance with the MPEG-4 visual standard (“MPEG-4 +video”) and/or (ii) decoding MPEG-4 video that was encoded by a +consumer engaged in a personal and non-commercial activity and/or was +obtained from a video provider licensed by MPEG LA to provide MPEG-4 +video. No license is granted or shall be implied for any other +use. Additional information including that relating to promotional, +internal and commercial uses and licensing may be obtained from MPEG +LA, LLC. See http://www.mpegla.com. This product is licensed under +the MPEG-4 systems patent portfolio license for encoding in compliance +with the MPEG-4 systems standard, except that an additional license +and payment of royalties are necessary for encoding in connection with +(i) data stored or replicated in physical media which is paid for on a +title by title basis and/or (ii) data which is paid for on a title by +title basis and is transmitted to an end user for permanent storage +and/or use, such additional license may be obtained from MPEG LA, +LLC. See http://www.mpegla.com for additional details.</p> + +<p>18.3. H.264/AVC. H.264/AVC technology may be included with the +software. MPEG LA, L.L.C. requires this notice:</p> + +<p>This product is licensed under the AVC patent portfolio license for +the personal use of a consumer or other uses in which it does not +receive remuneration to (i) encode video in compliance with the AVC +standard (“AVC video”) and/or (ii) decode AVC video that was encoded +by a consumer engaged in a personal activity and/or was obtained from +a video provider licensed to provide AVC video. No license is granted +or shall be implied for any other use. Additional information may be +obtained from MPEG LA, L.L.C. See http://www.mpegla.com.</p> +</blockquote></p> + +<p>Note the requirement that the videos created can only be used for +personal or non-commercial purposes.</p> + +<p>The Sorenson Media software have +<a href="http://www.sorensonmedia.com/terms/">similar terms</a>:</p> + +<p><blockquote> + +<p>With respect to a license from Sorenson pertaining to MPEG-4 Video +Decoders and/or Encoders: Any such product is licensed under the +MPEG-4 visual patent portfolio license for the personal and +non-commercial use of a consumer for (i) encoding video in compliance +with the MPEG-4 visual standard (“MPEG-4 video”) and/or (ii) decoding +MPEG-4 video that was encoded by a consumer engaged in a personal and +non-commercial activity and/or was obtained from a video provider +licensed by MPEG LA to provide MPEG-4 video. No license is granted or +shall be implied for any other use. Additional information including +that relating to promotional, internal and commercial uses and +licensing may be obtained from MPEG LA, LLC. See +http://www.mpegla.com.</p> + +<p>With respect to a license from Sorenson pertaining to MPEG-4 +Consumer Recorded Data Encoder, MPEG-4 Systems Internet Data Encoder, +MPEG-4 Mobile Data Encoder, and/or MPEG-4 Unique Use Encoder: Any such +product is licensed under the MPEG-4 systems patent portfolio license +for encoding in compliance with the MPEG-4 systems standard, except +that an additional license and payment of royalties are necessary for +encoding in connection with (i) data stored or replicated in physical +media which is paid for on a title by title basis and/or (ii) data +which is paid for on a title by title basis and is transmitted to an +end user for permanent storage and/or use. Such additional license may +be obtained from MPEG LA, LLC. See http://www.mpegla.com for +additional details.</p> + +</blockquote></p> + +<p>Some free software like +<a href="https://handbrake.fr/">Handbrake</A> and +<a href="http://ffmpeg.org/">FFMPEG</a> uses GPL/LGPL licenses and do +not have any such terms included, so for those, there is no +requirement to limit the use to personal and non-commercial.</p> - Third and probably last beta release of Debian Edu Wheezy - http://people.skolelinux.org/pere/blog/Third_and_probably_last_beta_release_of_Debian_Edu_Wheezy.html - http://people.skolelinux.org/pere/blog/Third_and_probably_last_beta_release_of_Debian_Edu_Wheezy.html - Mon, 16 Sep 2013 21:30:00 +0200 - <p>The third wheezy based beta release of Debian Edu was wrapped up -today. This is the release announcement from Holger Levsen:</p> - -<blockquote> -<p>Hi,</p> - -<p>it is my pleasure to announce the third beta release (beta 2 for -short) of <a href="http://www.skolelinux.org/">Debian Edu / -Skolelinux</a> based on Debian Wheezy!</p> - -<p>Please test these images extensivly, if no new problems are found -we plan to do this final Debian Edu Wheezy release this coming -weekend. We are not aware of any major problems or blockers in beta2, -if you find something, please notify us immediately!</p> - -<p>(More about the remaining steps for the Edu Wheezy release in -another mail to the edu list tonight or tomorrow...)</p> - -<p>Noteworthy changes and software updates for Debian Edu 7.1+edu0~b2 -compared to beta1:</p> - -<ul> - -<li>The KDE proxy setup has been adjusted to use the provided wpad.dat. This -also gets Chromium to use this proxy.</li> -<li>Install kdepim-groupware with KDE desktops to make sure korganizer -understand ical/dav sources.</li> -<li>Increased default maximum size of /var/spool/squid and /skole/backup on the -main server.</li> -<li>A source DVD image containing all source packages is now available as well.</li> -<li>Updates for chromium (29.0.1547.57-1~deb7u1), imagemagick -(6.7.7.10-5+deb7u2), php5 (5.4.4-14+deb7u4), libmodplug -(0.8.8.4-3+deb7u1+git20130828), tiff (4.0.2-6+deb7u2), linux-image -(3.2.0-4-486_3.2.46-1+deb7u1).</li> - -</ul> - -<p>Where to get it:</p> - -<p>To download the multiarch netinstall CD release you can use</p> - -<ul> -<li><a href="ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-CD.iso">ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-CD.iso</a></li> -<li><a href="http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-CD.iso">http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-CD.iso</a></li> -<li>rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-CD.iso .</li> -</ul> - -<p>The SHA1SUM of this image is: 3a1c89f4666df80eebcd46c5bf5fedb866f9472f</p> - -<p>To download the multiarch USB stick ISO release you can use -<ul> -<li><a href="ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-USB.iso">ftp://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-USB.iso</a></li> -<li><a href="http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-USB.iso">http://ftp.skolelinux.org/skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-USB.iso</a></li> -<li>rsync -avzP ftp.skolelinux.org::skolelinux-cd/wheezy/debian-edu-7.1+edu0~b2-USB.iso .</li> -</ul> - -<p>The SHA1SUM of this image is: 702d1718548f401c74bfa6df9f032cc3ee16597e</p> - -<p>The Source DVD image has the filename -debian-edu-7.1+edu0~b2-source-DVD.iso and the SHA1SUM -089eed8b3f962db47aae1f6a9685e9bb2fa30ca5 and is available the same way -as the other isos.</p> - -<p>How to report bugs</p> - -<p>For information how to report bugs please see -<br><a href="http://wiki.debian.org/DebianEdu/HowTo/ReportBugs">http://wiki.debian.org/DebianEdu/HowTo/ReportBugs</a></p> - - -<p>About Debian Edu and Skolelinux</p> - -<p>Debian Edu, also known as Skolelinux, is a Linux distribution based -on Debian providing an out-of-the box environment of a completely -configured school network. Immediately after installation a school -server running all services needed for a school network is set up just -waiting for users and machines being added via GOsa², a comfortable -Web-UI. A netbooting environment is prepared using PXE, so after -initial installation of the main server from CD or USB stick all other -machines can be installed via the network. The provided school server -provides LDAP database and Kerberos authentication service, -centralized home directories, DHCP server, web proxy and many other -services. The desktop contains more than 60 educational software -packages and more are available from the Debian archive, and schools -can choose between KDE, Gnome, LXDE and Xfce desktop environment.</p> - -<p>This is the seventh test release based on Debian Wheezy. Basically -this is an updated and slightly improved version compared to the -Squeeze release.</p> - -<p>Notes for upgrades from Alpha Prereleases</p> - -<p>Alpha based installations should reinstall or downgrade the -versions of gosa and libpam-mklocaluser to the ones used in this beta -release. Both alpha and beta0 based installations should reinstall or -deal with gosa.conf manually; there are two options: (1) Keep -gosa.conf and edit this file as outlined on the mailing list. (2) -Accept the new version of gosa.conf and replace both contained admin -password placeholders with the password hashes found in the old one -(backup copy!). In both cases all users need to change their password -to make sure a password is set for CIFS access to their home -directory.</p> - - -<p>cheers, -<br> Holger</p> -</blockquote> + Lenker for 2014-08-03 + http://people.skolelinux.org/pere/blog/Lenker_for_2014_08_03.html + http://people.skolelinux.org/pere/blog/Lenker_for_2014_08_03.html + Sun, 3 Aug 2014 23:00:00 +0200 + <p>Lenge siden jeg har hatt tid til å publisere lenker til skriverier +jeg har hatt glede og nytte av av å lese. Her er en liten norsk +lenkesamling.</p> + +<p><ul> + +<li><a href="http://www.nrk.no/ytring/sjoslag-om-fiskemilliardene-1.11576109">Sjøslag +om fiskemilliardene</a> (NRK Ytring 2014-03-03) - litt om hvordan de +norske felles matressurser røves fra felleskapet.</li> + +<li><a href="http://www.aftenposten.no/nyheter/Matkrisen-kan-komme-til-Norge-7522341.html">Matkrisen +kan komme til Norge</a> (Aftenposten 2014-4-01) - hvordan miljøendringene vil gjøre matproduksjonen i Norge mer sårbar.</li> + +<li><a href="http://www.nrk.no/ytring/norge-trenger-kornlager-1.11726744">Norge +trenger kornlager</a> (NRK Ytring 2014-06-07) Chr. Anton Smedshaug +forteller litt om Norges sårbare matsituasjon etter at Staten solgte +Norges kornlager.</li> + +<li><a href="http://www.nrk.no/norge/pst-vil-overvake-datatastaturer-1.11583286">PST +vil overvåke datatastaturer</a> (NRK 2014-03-04) - PST ønsker retten +til å bryte seg inn på private PC-er og legge inn spionprogrammer. +Hvilket nok vil gjøre Linux mer populært, men gjør at en i enda mindre +grad enn i dag kan stole på datamaskiner - neppe en god ide for +samfunnet totalt sett.</li> + +<li><a href="http://www.osloby.no/nyheter/Ruter-fremstar-som-et-pobelvelde-7490624.html">«Ruter +fremstår som et pøbelvelde»</a> (OsloBy 2014-03-05) - et eksempel på +hvordan kollektivtransportselskapet i Oslo håndterer sine kunder.</li> + +<li><a href="http://www.dagbladet.no/2014/03/05/nyheter/dbtv/reklame/clear_channel/32123808/">Clear +Channel nektet å vise Greenpeace-reklame i Oslo</a> (Dagbladet +2014-03-05) - forteller litt om hvordan hvilke budskap som når ut i +det offentlige rom kontrolleres i Norge.</li> + +<li><a href="http://www.dagbladet.no/2014/03/06/kultur/meninger/debattinnlegg/kronikk/22_juli/32175854/">Svarte +ikke på kritikken</a> (Dagbladet 2014-03-06) - innlegg fra Norsk +presseforbund der de nok en gang tar opp det forkastelige i at +politiet nå har full tilgang til å bedrive telefonkontroll av +advokater.</li> + +<li><a href="http://www.aftenposten.no/nyheter/uriks/Putin-spiller-poker_-ikke-sjakk-I-sjakk-har-man-regler-7495368.html">«Putin +spiller poker, ikke sjakk. I sjakk har man regler.»</a> (Aftenposten +2014-03-08) - sjakklegenden Kasparov forklarer litt om hvordan han ser +at Russlands politikk fungerer, blant annet i lys av started av +Ukraina-krisen.</li> + +<li><a href="http://www.aftenposten.no/meninger/kronikker/I-seng-med-fienden-7492605.html">I +seng med fienden</a> (Aftenposten 2014-03-10) - kronikk fra Eirik +H. Vinje om hvordan menn og kvinner settes opp mot hverandre i det +offentlige ordskiftet, kanskje på sviktende grunnlag.</li> + +<li><a href="http://www.aftenposten.no/amagasinet/Hvor-er-elevene-7501690.html">Fritt +frem for skulk</a> (Aftenposten 2014-03-14) - skildring av hvordan +norske elever i dag ikke lenger har rimelig krav om oppmøte på +skolen.</li> + +<li><a href="http://www.aftenposten.no/digital/Datalagringsdirektiv-avslorte-abort_-sykdom-og-vapenkjop--7503014.html">«Datalagringsdirektiv» +avslørte abort, sykdom og våpenkjøp</a> (Aftenposten 2014-03-14) - om +hvordan forskere har dokumentert hvordan innsamling av metadata om +telefoni og Internett-bruk kan være svært avslørende.</li> + +<li><a href="http://www.dagbladet.no/2014/03/14/kultur/meninger/ideer/lordagskommentaren/agnes_ravatn/32302856/">Konsentrasjonssvikt +på pensum</a> (Dagbladet 2014-03-14) - Kommentar om hvordan (feil) +bruk IKT i skolen kan ødelegge mer enn det bidrar til læring.</li> + +<li><a href="http://doremusnor.wordpress.com/2014/02/09/reservasjonsrettsstaten/">Reservasjonsrettsstaten</a> +(blogg fra Doremus 2014-02-09) - morsom beskrivelse om hvordan +regjeringens forslag til reservasjonsrett for leger kan utvides til å +gjelde alles samvittighet.</li> + +<li><a href="http://www.aftenposten.no/meninger/kronikker/Autoritar-gjokunge-7514915.html">Autoritær +gjøkunge</a> (Aftenposten 2014-03-25) - Kronikk av Bjørn Stærk om +snurpenots-overvåkningen som varsleren Snowden dokumenterte.</li> + +<li><a href="http://blogg.friprog.no/2014/03/leveransekrise-i-offentlig-sektor-mener-mike-bracken-executive-director-of-digital-in-the-cabinet-office/">Leveransekrise +i Offentlig sektor – mener Mike Bracken, Executive Director of Digital +in the Cabinet Office</a> (blogg fra Friprog-senteret 2014-03-26).</li> + +<li><a href="http://www.dagbladet.no/2014/03/26/kultur/meninger/kronikk/etiopia/avlytting/32499687/">Norge +må stanse avlyttingen</a> (Dagbladet 2014-03-26) - leserinnlegg fra +Felix Horne der han ber om at Norge gjør en innsats for å få slutt på +overvåkning av innbyggerne som gjøres i Norge av Etiopiske +myndigheter.</li> + +<li><a href="http://www.aftenposten.no/meninger/kronikker/Demokrati-er-ingen-naturlig-styreform-7521957.html">Demokrati +er ingen naturlig styreform</a> (Aftenposten 2014-04-01) - kronikk av +Stein Ringen om hvordan demokrati som styreform går tapt når +innbyggerne tar det for gitt.</li> + +<li><a href="http://www.nrk.no/ytring/ytringsansvar-ere-enhver-tilladte_-1.11618934">Ytringsansvar +ere Enhver tilladte!</a> (NRK Ytring 2014-04-01) - innspill fra Trygve +Svensson og Helge Svare om at hver enkelt av oss har et ansvar for å +ytre oss i den offentlige debatten.</li> + +<li><a href="http://www.aftenposten.no/meninger/Jeg-er-ingen-god-samfunnsborger-7527128.html">Jeg +er ingen god samfunnsborger</a> (Aftenposten 2014-04-16), kronikk av +Simen Tveitereid om alternative måter å motiveres i samfunnet, uten å +hige etter mer penger og flere ting.</li> + +<li><a href="http://www.aftenposten.no/meninger/debatt/Avgjorelsen-far-umiddelbar-virkning-7531811.html">DLD-dommen: +Avgjørelsen får umiddelbar virkning</a> (Aftenposten 2014-04-10) - +kronikk av Høyres Michael Tetzschner, en partiutbryter i DLD-saken som +stemte nei til DLD i Stortinget i 2011.</li> + +<li><a href="http://www.uhuru.biz/?p=1466">Datalagringsdirektivets +endelikt</a> (blogg fra John Wessel-Aas 2014-04-11) - oppsummering +av hvordan direktivet ble funnet ugyldig i EU-domstolen.</li> + +<li><a href="http://www.vg.no/nyheter/meninger/kronikk-kapitulasjonspresidenten/a/10147713/">Kronikk: +Kapitulasjonspresidenten</a> (VG 2014-04-22) - kronikk av Einar +Kr. Steffenak om hvordan Stortingspresidenten og regjeringen viser sin +prinsippløshet i møte med Kina.</li> + +<li><a href="http://www.aftenposten.no/meninger/kronikker/Innerst-inne-er-alle-nordmenn-7542617.html">Innerst +inne er alle nordmenn</a> (Aftenposten 2014-04-27) - kronikk fra Bjørn +Stærk om hvordan vi i Vesten i stor grad baserer oss på en fantasi om +at alle i verden bærer på en drøm om å bli som oss.</li> + +<li><a href="http://www.aftenposten.no/viten/uviten/Det-italienske-senatet-gav-seg-selv-134-milliarder-euro-i-sluttpakke--7575312.html">Det +italienske senatet gav seg selv 134 milliarder euro i sluttpakke</a> +(Aftenposten 2014-06-19) - forsker Simen Gaure forteller hvordan +løgner og fantasi fra nettkilder i stor grad blir akseptert som +sannhet - antagelig også av deg og meg.</li> + +<li><a href="http://www.dagbladet.no/2014/05/30/kultur/meninger/kronikk/skole/33576392/">Et +forsvar for bråkmakerne</a> (Dagbladet 2014-05-30) - kronikk av Dag +Øystein Nome som beskriver hvordan dagens skole ikke fungerer så godt +for mange elever.</li> + +<li><a href="http://www.osloby.no/nyheter/Betalte-med-slitt-seddel---havnet-i-arresten-7617208.html">Betalte +med slitt seddel - havnet i arresten</a> (Osloby 2014-06-25)) - +dokumentasjon av Oslopolitiets angrep på vår alles rett til å ferdes +uten elektronisk sporing. Jeg bruker kontanter i så stor grad som +mulig da banken ikke har noe med hvor jeg er og hva jeg kjøper. Vi +som gjør dette risikerer som beskrevet overgrep som frihetsberøvelse +og registrering og lagring av fingeravtrykk og bilde i politiets +database over mistenkte.</li> + +<li><a href="http://www.aftenposten.no/meninger/leder/Fredsprisen-til-Snowden-7620422.html">Fredsprisen +til Snowden</a> (Aftenposten 2014-06-28) - leder som forklarer hvorfor +varsleren Snowden bør få fredsprisen.</li> + +<li><a href="http://www.dagbladet.no/2014/08/01/kultur/meninger/dbmener/leder1/34598010/">Strategi +for politistaten</a> (Dagbladet 2014-08-01) - leder som advarer om +sterke krefter som bruker terrortrusselen til å lirke Norge nærmere å +bli en politistat.</li> + +<li><a href="http://www.nrk.no/ytring/vi-ma-tenke-nytt-om-narkotika-1.11859322">Vi +må tenke nytt om narkotika</a> (NRK Ytring 2014-08-03) - Mark Lewis +forklarer hvorfor legalisering og offentlig kontroll av +narkotikamarkedet er mye bedre enn å overlate det til kriminelle.</li> + + +</ul></p>