X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/cbe10cbddb82ec3e8b8b1516296b70e786048645..a114dd473d0796e17b9f31528afa9e82b2f9c5d7:/blog/tags/english/index.html diff --git a/blog/tags/english/index.html b/blog/tags/english/index.html index ea245c92f8..632d74d6a7 100644 --- a/blog/tags/english/index.html +++ b/blog/tags/english/index.html @@ -20,6 +20,3235 @@

Entries tagged "english".

+
+
+ Lets make a wireless community network in Oslo! +
+
+ 13th November 2013 +
+
+

Today NUUG and Hackeriet announced +our +plans to join forces and create a wireless community network in +Oslo. The workshop to help people get started will take place +Thursday 2013-11-28, but we already are collecting the geolocation of +people joining forces to make this happen. We have +9 +locations plotted on the map, but we will need more before we have +a connected mesh spread across Oslo. If this sound interesting to +you, please join us at the workshop. If you are too impatient to wait +15 days, please join us on the IRC channel +#nuug on irc.freenode.net +right away. :)

+ +
+
+ + + Tags: english, mesh network, nuug. + + +
+
+
+ +
+
+ Running TP-Link MR3040 as a batman-adv mesh node using openwrt +
+
+ 10th November 2013 +
+
+

Continuing my research into mesh networking, I was recommended to +use TP-Link 3040 and 3600 access points as mesh nodes, and the pair I +bought arrived on Friday. Here are my notes on how to set up the +MR3040 as a mesh node using +OpenWrt.

+ +

I started by following the instructions on the OpenWRT wiki for +TL-MR3040, +and downloaded +the +recommended firmware image +(openwrt-ar71xx-generic-tl-mr3040-v2-squashfs-factory.bin) and +uploaded it into the original web interface. The flashing went fine, +and the machine was available via telnet on the ethernet port. After +logging in and setting the root password, ssh was available and I +could start to set it up as a batman-adv mesh node.

+ +

I started off by reading the instructions from +Wireless +Africa, which had quite a lot of useful information, but +eventually I followed the recipe from the Open Mesh wiki for +using +batman-adv on OpenWrt. A small snag was the fact that the +opkg install kmod-batman-adv command did not work as it +should. The batman-adv kernel module would fail to load because its +dependency crc16 was not already loaded. I +reported the bug to +the openwrt project and hope it will be fixed soon. But the problem +only seem to affect initial testing of batman-adv, as configuration +seem to work when booting from scratch.

+ +

The setup is done using files in /etc/config/. I did not bridge +the Ethernet and mesh interfaces this time, to be able to hook up the +box on my local network and log into it for configuration updates. +The following files were changed and look like this after modifying +them:

+ +

/etc/config/network

+ +
+
+config interface 'loopback'
+        option ifname 'lo'
+        option proto 'static'
+        option ipaddr '127.0.0.1'
+        option netmask '255.0.0.0'
+
+config globals 'globals'
+        option ula_prefix 'fdbf:4c12:3fed::/48'
+
+config interface 'lan'
+        option ifname 'eth0'
+        option type 'bridge'
+        option proto 'dhcp'
+        option ipaddr '192.168.1.1'
+        option netmask '255.255.255.0'
+        option hostname 'tl-mr3040'
+        option ip6assign '60'
+
+config interface 'mesh'
+        option ifname 'adhoc0'
+        option mtu '1528'
+        option proto 'batadv'
+        option mesh 'bat0'
+
+ +

/etc/config/wireless

+
+
+config wifi-device 'radio0'
+        option type 'mac80211'
+        option channel '11'
+        option hwmode '11ng'
+        option path 'platform/ar933x_wmac'
+        option htmode 'HT20'
+        list ht_capab 'SHORT-GI-20'
+        list ht_capab 'SHORT-GI-40'
+        list ht_capab 'RX-STBC1'
+        list ht_capab 'DSSS_CCK-40'
+        option disabled '0'
+
+config wifi-iface 'wmesh'
+        option device 'radio0'
+        option ifname 'adhoc0'
+        option network 'mesh'
+        option encryption 'none'
+        option mode 'adhoc'
+        option bssid '02:BA:00:00:00:01'
+        option ssid 'meshfx@hackeriet'
+
+

/etc/config/batman-adv

+
+
+config 'mesh' 'bat0'
+        option interfaces 'adhoc0'
+        option 'aggregated_ogms'
+        option 'ap_isolation'
+        option 'bonding'
+        option 'fragmentation'
+        option 'gw_bandwidth'
+        option 'gw_mode'
+        option 'gw_sel_class'
+        option 'log_level'
+        option 'orig_interval'
+        option 'vis_mode'
+        option 'bridge_loop_avoidance'
+        option 'distributed_arp_table'
+        option 'network_coding'
+        option 'hop_penalty'
+
+# yet another batX instance
+# config 'mesh' 'bat5'
+#       option 'interfaces' 'second_mesh'
+
+ +

The mesh node is now operational. I have yet to test its range, +but I hope it is good. I have not yet tested the TP-Link 3600 box +still wrapped up in plastic.

+ +
+
+ + + Tags: english, mesh network, nuug. + + +
+
+
+ +
+
+ Debian init.d boot script example for rsyslog +
+
+ 2nd November 2013 +
+
+

If one of the points of switching to a new init system in Debian is +to get rid of huge +init.d scripts, I doubt we need to switch away from sysvinit and +init.d scripts at all. Here is an example init.d script, ie a rewrite +of /etc/init.d/rsyslog:

+ +

+#!/lib/init/init-d-script
+### BEGIN INIT INFO
+# Provides:          rsyslog
+# Required-Start:    $remote_fs $time
+# Required-Stop:     umountnfs $time
+# X-Stop-After:      sendsigs
+# Default-Start:     2 3 4 5
+# Default-Stop:      0 1 6
+# Short-Description: enhanced syslogd
+# Description:       Rsyslog is an enhanced multi-threaded syslogd.
+#                    It is quite compatible to stock sysklogd and can be 
+#                    used as a drop-in replacement.
+### END INIT INFO
+DESC="enhanced syslogd"
+DAEMON=/usr/sbin/rsyslogd
+

+ +

Pretty minimalistic to me... For the record, the original sysv-rc +script was 137 lines, and the above is just 15 lines, most of it meta +info/comments.

+ +

How to do this, you ask? Well, one create a new script +/lib/init/init-d-script looking something like this: + +

+#!/bin/sh
+
+# Define LSB log_* functions.
+# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
+# and status_of_proc is working.
+. /lib/lsb/init-functions
+
+#
+# Function that starts the daemon/service
+
+#
+do_start()
+{
+	# Return
+	#   0 if daemon has been started
+	#   1 if daemon was already running
+	#   2 if daemon could not be started
+	start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --test > /dev/null \
+		|| return 1
+	start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON -- \
+		$DAEMON_ARGS \
+		|| return 2
+	# Add code here, if necessary, that waits for the process to be ready
+	# to handle requests from services started subsequently which depend
+	# on this one.  As a last resort, sleep for some time.
+}
+
+#
+# Function that stops the daemon/service
+#
+do_stop()
+{
+	# Return
+	#   0 if daemon has been stopped
+	#   1 if daemon was already stopped
+	#   2 if daemon could not be stopped
+	#   other if a failure occurred
+	start-stop-daemon --stop --quiet --retry=TERM/30/KILL/5 --pidfile $PIDFILE --name $NAME
+	RETVAL="$?"
+	[ "$RETVAL" = 2 ] && return 2
+	# Wait for children to finish too if this is a daemon that forks
+	# and if the daemon is only ever run from this initscript.
+	# If the above conditions are not satisfied then add some other code
+	# that waits for the process to drop all resources that could be
+	# needed by services started subsequently.  A last resort is to
+	# sleep for some time.
+	start-stop-daemon --stop --quiet --oknodo --retry=0/30/KILL/5 --exec $DAEMON
+	[ "$?" = 2 ] && return 2
+	# Many daemons don't delete their pidfiles when they exit.
+	rm -f $PIDFILE
+	return "$RETVAL"
+}
+
+#
+# Function that sends a SIGHUP to the daemon/service
+#
+do_reload() {
+	#
+	# If the daemon can reload its configuration without
+	# restarting (for example, when it is sent a SIGHUP),
+	# then implement that here.
+	#
+	start-stop-daemon --stop --signal 1 --quiet --pidfile $PIDFILE --name $NAME
+	return 0
+}
+
+SCRIPTNAME=$1
+scriptbasename="$(basename $1)"
+echo "SN: $scriptbasename"
+if [ "$scriptbasename" != "init-d-library" ] ; then
+    script="$1"
+    shift
+    . $script
+else
+    exit 0
+fi
+
+NAME=$(basename $DAEMON)
+PIDFILE=/var/run/$NAME.pid
+
+# Exit if the package is not installed
+#[ -x "$DAEMON" ] || exit 0
+
+# Read configuration variable file if it is present
+[ -r /etc/default/$NAME ] && . /etc/default/$NAME
+
+# Load the VERBOSE setting and other rcS variables
+. /lib/init/vars.sh
+
+case "$1" in
+  start)
+	[ "$VERBOSE" != no ] && log_daemon_msg "Starting $DESC" "$NAME"
+	do_start
+	case "$?" in
+		0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+		2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+	esac
+	;;
+  stop)
+	[ "$VERBOSE" != no ] && log_daemon_msg "Stopping $DESC" "$NAME"
+	do_stop
+	case "$?" in
+		0|1) [ "$VERBOSE" != no ] && log_end_msg 0 ;;
+		2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
+	esac
+	;;
+  status)
+	status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
+	;;
+  #reload|force-reload)
+	#
+	# If do_reload() is not implemented then leave this commented out
+	# and leave 'force-reload' as an alias for 'restart'.
+	#
+	#log_daemon_msg "Reloading $DESC" "$NAME"
+	#do_reload
+	#log_end_msg $?
+	#;;
+  restart|force-reload)
+	#
+	# If the "reload" option is implemented then remove the
+	# 'force-reload' alias
+	#
+	log_daemon_msg "Restarting $DESC" "$NAME"
+	do_stop
+	case "$?" in
+	  0|1)
+		do_start
+		case "$?" in
+			0) log_end_msg 0 ;;
+			1) log_end_msg 1 ;; # Old process is still running
+			*) log_end_msg 1 ;; # Failed to start
+		esac
+		;;
+	  *)
+		# Failed to stop
+		log_end_msg 1
+		;;
+	esac
+	;;
+  *)
+	echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
+	exit 3
+	;;
+esac
+
+:
+

+ +

It is based on /etc/init.d/skeleton, and could be improved quite a +lot. I did not really polish the approach, so it might not always +work out of the box, but you get the idea. I did not try very hard to +optimize it nor make it more robust either.

+ +

A better argument for switching init system in Debian than reducing +the size of init scripts (which is a good thing to do anyway), is to +get boot system that is able to handle the kernel events sensibly and +robustly, and do not depend on the boot to run sequentially. The boot +and the kernel have not behaved sequentially in years.

+ +
+
+ + + Tags: bootsystem, debian, english. + + +
+
+
+ +
+
+ Browser plugin for SPICE (spice-xpi) uploaded to Debian +
+
+ 1st November 2013 +
+
+

The SPICE protocol for +remote display access is the preferred solution with oVirt and RedHat +Enterprise Virtualization, and I was sad to discover the other day +that the browser plugin needed to use these systems seamlessly was +missing in Debian. The request +for a package was from 2012-04-10 with no progress since +2013-04-01, so I decided to wrap up a package based on the great work +from Cajus Pollmeier and put it in a collab-maint maintained git +repository to get a package I could use. I would very much like +others to help me maintain the package (or just take over, I do not +mind), but as no-one had volunteered so far, I just uploaded it to +NEW. I hope it will be available in Debian in a few days.

+ +

The source is now available from +http://anonscm.debian.org/gitweb/?p=collab-maint/spice-xpi.git;a=summary.

+ +
+
+ + + Tags: debian, english. + + +
+
+
+ +
+
+ Teaching vmdebootstrap to create Raspberry Pi SD card images +
+
+ 27th October 2013 +
+
+

The +vmdebootstrap +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 +Raspberry Pi, as part +of a plan to simplify the build system for +the FreedomBox +project. 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.

+ +

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 +Debian +Jessie based mesh node images for the Raspberry Pi. First, the +--foreign /path/to/binfm_handler 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 --bootsize size and --boottype +fstype 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 --variant +variant option to allow me to create smaller images without the +Debian base system packages installed. Finally, I added an option +--no-extlinux 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 +the +upstream project page.

+ +

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:

+ +

+#!/bin/sh
+set -e # Exit on first error
+rootdir="$1"
+cd "$rootdir"
+cat <<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
+

+ +

Next, fetch the latest vmdebootstrap script and call it like this +to build the image:

+ +
+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
+

+ +

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.

+ +

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.

+ +

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 Raspbian based images.

+ +
+
+ + + Tags: debian, english, freedombox, mesh network. + + +
+
+
+ +
+
+ A Raspberry Pi based batman-adv Mesh network node +
+
+ 21st October 2013 +
+
+

The last few days I have been experimenting with +the +batman-adv mesh technology. I want to gain some experience to see +if it will fit the +Freedombox project, 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.

+ +

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 +Raspberry Pi, 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 the Serval +Project 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.

+ +

To get this working, I've created a debian package +meshfx-node +and a script +build-rpi-mesh-node +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.

+ +

To create an image, run the following with a sudo enabled user +after inserting the target SD card into the build machine:

+ +

+% 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
+%
+

+ +

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 +an +earlier blog post about this mesh testing.

+ +

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:

+ +

+ + + + + + + + +
SupplierModelNOK
TeknikkmagasinetRaspberry Pi model B349.90
TeknikkmagasinetRaspberry Pi type B case99.90
LefdalJensen Air:Link 25150295.-
Clas OhlsonKingston 16 GB SD card199.-
Total cost943.80

+ +

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. :)

+ +
+
+ + + Tags: english, freedombox, mesh network, nuug. + + +
+
+
+ +
+
+ Perl library to control the Spykee robot moved to github +
+
+ 19th October 2013 +
+
+

Back in 2010, I created a Perl library to talk to +the Spykee robot +(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 +the +libspykee-perl github repository.

+ +
+
+ + + Tags: english, nuug, robot. + + +
+
+
+ +
+
+ Good causes: Debian Outreach Program for Women, EFF documenting the spying and Open access in Norway +
+
+ 15th October 2013 +
+
+

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. :)

+ +

Via Debian +Project News for 2013-10-14 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 any donation done to Debian +earmarked for this initiative. I donated a few minutes ago, and +hope you will to. :)

+ +

And the Electronic Frontier Foundation just announced plans to +create video +documentaries about the excessive spying on every Internet user that +take place these days, and their need to fund the work. I've already +donated. Are you next?

+ +

For my Norwegian audience, the organisation Studentenes og +Akademikernes Internasjonale Hjelpefond is collecting signatures for a +statement under the heading +Bloggers United for Open +Access 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.

+ +
+
+ + + Tags: debian, english, opphavsrett, surveillance. + + +
+
+
+ +
+
+ Oslo community mesh network - with NUUG and Hackeriet at Hausmania +
+
+ 11th October 2013 +
+
+

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 +Freifunk and +Athens Wireless Metropolitan Network +(see +wikipedia +for a large list) 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 +dynamically +updated node graph and map, 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.

+ +

I've wanted to check out mesh networks for a while now, and hoped +to do it as part of my involvement with the NUUG member organisation community, and +my recent involvement in +the Freedombox project +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.

+ +

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 +Hackeriet at Husmania. They seem to +have started with some Freifunk based effort using OLSR, called +the Oslo +Freifunk project, but that effort is now dead and the people +behind it have moved on to a batman-adv based system called +meshfx. 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 +youtube):

+ +

+ +

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 +Serval project in Australia +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 +youtube):

+ +

+ +

According to the wikipedia page on +Wireless +mesh network 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.

+ +

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 +good +introduction is available from the Open Mesh project. These are +the key settings needed to join the Oslo meshfx network:

+ +

+ + + + + +
SettingValue
Protocol / kernel modulebatman-adv
ESSIDmeshfx@hackeriet
Channel / Frequency11 / 2462
Cell ID02:BA:00:00:00:01

+ +

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 +"Information +about cell-id splitting, stuck beacons, and failed IBSS merges! +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. :)

+ +

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.

+ +

If you find this project interesting and want to join, please join +us on IRC, either channel +#oslohackerspace +or #nuug on +irc.freenode.net.

+ +

While investigating mesh networks in Oslo, I came across an old +research paper from the university of Stavanger and Telenor Research +and Innovation called +The +reliability of wireless backhaul mesh networks 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?

+ +

Update 2013-10-12: I was just +told +by the Serval project developers that they no longer use +batman-adv (but are compatible with it), but their own crypto based +mesh system.

+ +
+
+ + + Tags: english, freedombox, mesh network, nuug. + + +
+
+
+ +
+
+ Skolelinux / Debian Edu 7.1 install and overview video from Marcelo Salvador +
+
+ 8th October 2013 +
+
+

The other day I was pleased and surprised to discover that Marcelo +Salvador had published a +video on +Youtube 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 Zygote Body 3D model +of the human body, 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 +LTSP server.

+ +

Anyway, check out the video, embedded below and linked to above:

+ + + +

Are there other nice videos demonstrating Skolelinux? Please let +me know. :)

+ +
+
+ + + Tags: debian edu, english, video. + + +
+
+
+ +
+
+ Finally, Debian Edu Wheezy is released today! +
+
+ 29th September 2013 +
+
+

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 +the Debian News +section, translated to several languages. Please check it out.

+ +

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).

+ +
+
+ + + Tags: debian edu, english. + + +
+
+
+ +
+
+ Videos about the Freedombox project - for inspiration and learning +
+
+ 27th September 2013 +
+
+

The Freedombox +project 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.

+ + + +

A larger list is available from +the +Freedombox Wiki.

+ +

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 IRC +(#freedombox on irc.debian.org) and +the +mailing list if you want to help make this vision come true.

+ +
+
+ + + Tags: debian, english, freedombox, sikkerhet, surveillance, web. + + +
+
+
+ +
+
+ Third and probably last beta release of Debian Edu Wheezy +
+
+ 16th September 2013 +
+
+

The third wheezy based beta release of Debian Edu was wrapped up +today. This is the release announcement from Holger Levsen:

+ +
+

Hi,

+ +

it is my pleasure to announce the third beta release (beta 2 for +short) of Debian Edu / +Skolelinux based on Debian Wheezy!

+ +

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!

+ +

(More about the remaining steps for the Edu Wheezy release in +another mail to the edu list tonight or tomorrow...)

+ +

Noteworthy changes and software updates for Debian Edu 7.1+edu0~b2 +compared to beta1:

+ +
    + +
  • The KDE proxy setup has been adjusted to use the provided wpad.dat. This +also gets Chromium to use this proxy.
  • +
  • Install kdepim-groupware with KDE desktops to make sure korganizer +understand ical/dav sources.
  • +
  • Increased default maximum size of /var/spool/squid and /skole/backup on the +main server.
  • +
  • A source DVD image containing all source packages is now available as well.
  • +
  • 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).
  • + +
+ +

Where to get it:

+ +

To download the multiarch netinstall CD release you can use

+ + + +

The SHA1SUM of this image is: 3a1c89f4666df80eebcd46c5bf5fedb866f9472f

+ +

To download the multiarch USB stick ISO release you can use +

+ +

The SHA1SUM of this image is: 702d1718548f401c74bfa6df9f032cc3ee16597e

+ +

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.

+ +

How to report bugs

+ +

For information how to report bugs please see +
http://wiki.debian.org/DebianEdu/HowTo/ReportBugs

+ + +

About Debian Edu and Skolelinux

+ +

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.

+ +

This is the seventh test release based on Debian Wheezy. Basically +this is an updated and slightly improved version compared to the +Squeeze release.

+ +

Notes for upgrades from Alpha Prereleases

+ +

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.

+ + +

cheers, +
Holger

+
+ +
+
+ + + Tags: debian edu, english. + + +
+
+
+ +
+
+ Recipe to test the Freedombox project on amd64 or Raspberry Pi +
+
+ 10th September 2013 +
+
+

I was introduced to the +Freedombox project +in 2010, when Eben Moglen presented his vision about serving the need +of non-technical people to keep their personal information private and +within the legal protection of their own homes. The idea is to give +people back the power over their network and machines, and return +Internet back to its intended peer-to-peer architecture. Instead of +depending on a central service, the Freedombox will give everyone +control over their own basic infrastructure.

+ +

I've intended to join the effort since then, but other tasks have +taken priority. But this summers nasty news about the misuse of trust +and privilege exercised by the "western" intelligence gathering +communities increased my eagerness to contribute to a point where I +actually started working on the project a while back.

+ +

The initial +Debian initiative based on the vision from Eben Moglen, is to +create a simple and cheap Debian based appliance that anyone can hook +up in their home and get access to secure and private services and +communication. The initial deployment platform have been the +Dreamplug, +which is a piece of hardware I do not own. So to be able to test what +the current Freedombox setup look like, I had to come up with a way to install +it on some hardware I do have access to. I have rewritten the +freedom-maker +image build framework to use .deb packages instead of only copying +setup into the boot images, and thanks to this rewrite I am able to +set up any machine supported by Debian Wheezy as a Freedombox, using +the previously mentioned deb (and a few support debs for packages +missing in Debian).

+ +

The current Freedombox setup consist of a set of bootstrapping +scripts +(freedombox-setup), +and a administrative web interface +(plinth + exmachina + +withsqlite), as well as a privacy enhancing proxy based on +privoxy +(freedombox-privoxy). There is also a web/javascript based XMPP +client (jwchat) +trying (unsuccessfully so far) to talk to the XMPP server +(ejabberd). The +web interface is pluggable, and the goal is to use it to enable OpenID +services, mesh network connectivity, use of TOR, etc, etc. Not much of +this is really working yet, see +the +project TODO for links to GIT repositories. Most of the code is +on github at the moment. The HTTP proxy is operational out of the +box, and the admin web interface can be used to add/remove plinth +users. I've not been able to do anything else with it so far, but +know there are several branches spread around github and other places +with lots of half baked features.

+ +

Anyway, if you want to have a look at the current state, the +following recipes should work to give you a test machine to poke +at.

+ +

Debian Wheezy amd64

+ +
    + +
  1. Fetch normal Debian Wheezy installation ISO.
  2. +
  3. Boot from it, either as CD or USB stick.
  4. +
  5. Press [tab] on the boot prompt and add this as a boot argument +to the Debian installer:

    +

    url=http://www.reinholdtsen.name/freedombox/preseed-wheezy.dat
  6. + +
  7. Answer the few language/region/password questions and pick disk to +install on.
  8. + +
  9. When the installation is finished and the machine have rebooted a +few times, your Freedombox is ready for testing.
  10. + +
+ +

Raspberry Pi Raspbian

+ +
    + +
  1. Fetch a Raspbian SD card image, create SD card.
  2. +
  3. Boot from SD card, extend file system to fill the card completely.
  4. +
  5. Log in and add this to /etc/sources.list:

    +
    +deb http://www.reinholdtsen.name/freedombox wheezy main
    +
  6. +
  7. Run this as root:

    +
    +wget -O - http://www.reinholdtsen.name/freedombox/BE1A583D.asc | \
    +   apt-key add -
    +apt-get update
    +apt-get install freedombox-setup
    +/usr/lib/freedombox/setup
    +
  8. +
  9. Reboot into your freshly created Freedombox.
  10. + +
+ +

You can test it on other architectures too, but because the +freedombox-privoxy package is binary, it will only work as intended on +the architectures where I have had time to build the binary and put it +in my APT repository. But do not let this stop you. It is only a +short "apt-get source -b freedombox-privoxy" away. :)

+ +

Note that by default Freedombox is a DHCP server on the +192.168.1.0/24 subnet, so if this is your subnet be careful and turn +off the DHCP server by running "update-rc.d isc-dhcp-server +disable" as root.

+ +

Please let me know if this works for you, or if you have any +problems. We gather on the IRC channel +#freedombox on +irc.debian.org and the +project +mailing list.

+ +

Once you get your freedombox operational, you can visit +http://your-host-name:8001/ to see the state of the plint +welcome screen (dead end - do not be surprised if you are unable to +get past it), and next visit http://your-host-name:8001/help/ +to look at the rest of plinth. The default user is 'admin' and the +default password is 'secret'.

+ +
+
+ + + Tags: debian, english, freedombox, sikkerhet, surveillance, web. + + +
+
+
+ +
+
+ Second beta release (beta 1) of Debian Edu/Skolelinux based on Debian Wheezy +
+
+ 22nd August 2013 +
+
+

The second wheezy based beta release of Debian Edu was wrapped up +today, slightly delayed because of some bugs in the initial Windows +integration fixes . This is the release announcement:

+ +

New features for Debian Edu 7.1+edu0~b1 released 2013-08-22

+ +

These are the release notes for Debian Edu / Skolelinux +7.1+edu0~b1, based on Debian with codename "Wheezy".

+ +

About Debian Edu and Skolelinux

+ +

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.

+ +

This is the sixth test release based on Debian Wheezy. Basically this +is an updated and slightly improved version compared to the Squeeze +release.

+ +

ALERT: 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 every user +need to change their their password to make sure a password is set for +CIFS access to their home directory.

+ +

Software updates

+ + + +

Other changes

+ + + +

Known issues

+ + + +

Where to get it

+ +

To download the multiarch netinstall CD release you can use

+ + + +

The MD5SUM of this image is: 1e357f80b55e703523f2254adde6d78b +
The SHA1SUM of this image is: 7157f9be5fd27c7694d713c6ecfed61c3edda3b2

+ +

To download the multiarch USB stick ISO release you can use

+ + + +

The MD5SUM of this image is: 7a8408ead59cf7e3cef25afb6e91590b +
The SHA1SUM of this image is: f1817c031f02790d5edb3bfa0dcf8451088ad119

+ + +

How to report bugs

+ +

http://wiki.debian.org/DebianEdu/HowTo/ReportBugs + +

+
+ + + Tags: debian edu, english. + + +
+
+
+ +
+
+ Intel 180 SSD disk with Lenovo firmware can not use Intel firmware +
+
+ 18th August 2013 +
+
+

Earlier, I reported about +my +problems using an Intel SSD 520 Series 180 GB disk. Friday I was +told by IBM that the original disk should be thrown away. And as +there no longer was a problem if I bricked the firmware, I decided +today to try to install Intel firmware to replace the Lenovo firmware +currently on the disk.

+ +

I searched the Intel site for firmware, and found +issdfut_2.0.4.iso +(aka Intel SATA Solid-State Drive Firmware Update Tool) which +according to the site should contain the latest firmware for SSD +disks. I inserted the broken disk in one of my spare laptops and +booted the ISO from a USB stick. The disk was recognized, but the +program claimed the newest firmware already were installed and refused +to insert any Intel firmware. So no change, and the disk is still +unable to handle write load. :( I guess the only way to get them +working would be if Lenovo releases new firmware. No idea how likely +that is. Anyway, just blogging about this test for completeness. I +got a working Samsung disk, and see no point in spending more time on +the broken disks.

+ +
+
+ + + Tags: debian, english. + + +
+
+
+ +
+
+ 90 percent done with the Norwegian draft translation of Free Culture +
+
+ 2nd August 2013 +
+
+

It has been a while since my last update. Since last summer, I +have worked on a Norwegian +docbook version of the 2004 book +Free Culture by Lawrence Lessig, +to get a Norwegian text explaining the problems with the copyright +law. Yesterday, I finally broken the 90% mark, when counting the +number of strings to translate. Due to real life constraints, I have +not had time to work on it since March, but when the summer broke out, +I found time to work on it again. Still lots of work left, but the +first draft is nearing completion. I created a graph to show the +progress of the translation:

+ +

+ +

When the first draft is done, the translated text need to be +proof read, and the remaining formatting problems with images and SVG +drawings need to be fixed. There are probably also some index entries +missing that need to be added. This can be done by comparing the +index entries listed in the SiSU version of the book, or comparing the +English docbook version with the paper version. Last, the colophon +page with ISBN numbers etc need to be wrapped up before the release is +done. I should also figure out how to get correct Norwegian sorting +of the index pages. All docbook tools I have tried so far (xmlto, +docbook-xsl, dblatex) get the order of symbols and the special +Norwegian letters ÆØÅ wrong.

+ +

There is still need for translators and people with docbook +knowledge, to be able to get a good looking book (I still struggle +with dblatex, xmlto and docbook-xsl) as well as to do the draft +translation and proof reading. And I would like the figures to be +redrawn as SVGs to make it easy to translate them. Any SVG master +around? There are also some legal terms that are unfamiliar to me. +If you want to help, please get in touch with me, and check out the +project files currently available from +github.

+ +

If you are curious what the translated book currently look like, +the updated +PDF +and +EPUB +are published on github. The HTML version is published as well, but +github hand it out with MIME type text/plain, confusing browsers, so I +saw no point in linking to that version.

+ +
+
+ + + Tags: docbook, english, freeculture. + + +
+
+
+ +
+
+ First beta release of Debian Edu/Skolelinux based on Debian Wheezy +
+
+ 27th July 2013 +
+
+

The first wheezy based beta release of Debian Edu was wrapped up +today. This is the release announcement:

+ +

New features for Debian Edu 7.1+edu0~b0 released +2013-07-27

+ +

These are the release notes for for Debian Edu / Skolelinux +7.1+edu0~b0, based on Debian with codename "Wheezy".

+ +

About Debian Edu and Skolelinux

+ +

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, DVD 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.

+ +

This is the fifth test release based on Debian Wheezy. Basically +this is an updated and slightly improved version compared to the +Squeeze release.

+ +

ALERT: Alpha based installations should reinstall or downgrade the +versions of gosa and libpam-mklocaluser to the ones used in this beta +release.

+ +

Software updates

+ + + +

Other changes

+ + + +

Known issues

+ + + +

Where to get it

+ +

To download the multiarch netinstall CD release you can use

+ + + +

The MD5SUM of this image is: 55d5de9765b6dccd5d9ec33cf1a07109 +
The SHA1SUM of this image is: 996a1d9517740e4d627d100de2d12b23dd545a3f

+ +

To download the multiarch USB stick ISO release you can use

+ + + +

The MD5SUM of this image is: d8f0818c51a78d357de794066f289f69 +
The SHA1SUM of this image is: 49185ca354e8d0543240423746924f76a6cee733

+ + +

How to report bugs

+ +

http://wiki.debian.org/DebianEdu/HowTo/ReportBugs + +

+
+ + + Tags: debian edu, english. + + +
+
+
+ +
+
+ How to fix a Thinkpad X230 with a broken 180 GB SSD disk +
+
+ 17th July 2013 +
+
+

Today I switched to +my +new laptop. I've previously written about the problems I had with +my new Thinkpad X230, which was delivered with an +180 +GB Intel SSD disk with Lenovo firmware that did not handle +sustained writes. My hardware supplier have been very forthcoming in +trying to find a solution, and after first trying with another +identical 180 GB disks they decided to send me a 256 GB Samsung SSD +disk instead to fix it once and for all. The Samsung disk survived +the installation of Debian with encrypted disks (filling the disk with +random data during installation killed the first two), and I thus +decided to trust it with my data. I have installed it as a Debian Edu +Wheezy roaming workstation hooked up with my Debian Edu Squeeze main +server at home using Kerberos and LDAP, and will use it as my work +station from now on.

+ +

As this is a solid state disk with no moving parts, I believe the +Debian Wheezy default installation need to be tuned a bit to increase +performance and increase life time of the disk. The Linux kernel and +user space applications do not yet adjust automatically to such +environment. To make it easier for my self, I created a draft Debian +package ssd-setup to handle this tuning. The +source +for the ssd-setup package is available from collab-maint, and it +is set up to adjust the setup of the machine by just installing the +package. If there is any non-SSD disk in the machine, the package +will refuse to install, as I did not try to write any logic to sort +file systems in SSD and non-SSD file systems.

+ +

I consider the package a draft, as I am a bit unsure how to best +set up Debian Wheezy with an SSD. It is adjusted to my use case, +where I set up the machine with one large encrypted partition (in +addition to /boot), put LVM on top of this and set up partitions on +top of this again. See the README file in the package source for the +references I used to pick the settings. At the moment these +parameters are tuned:

+ + + +

During installation, I cancelled the part where the installer fill +the disk with random data, as this would kill the SSD performance for +little gain. My goal with the encrypted file system is to ensure +those stealing my laptop end up with a brick and not a working +computer. I have no hope in keeping the really resourceful people +from getting the data on the disk (see +XKCD #538 for an explanation why). +Thus I concluded that adding the discard option to crypttab is the +right thing to do.

+ +

I considered using the noop I/O scheduler, as several recommended +it for SSD, but others recommended deadline and a benchmark I found +indicated that deadline might be better for interactive use.

+ +

I also considered using the 'discard' file system option for ext3 +and ext4, but read that it would give a performance hit ever time a +file is removed, and thought it best to that that slowdown once a day +instead of during my work.

+ +

My package do not set up tmpfs on /var/run, /var/lock and /tmp, as +this is already done by Debian Edu.

+ +

I have not yet started on the user space tuning. I expect +iceweasel need some tuning, and perhaps other applications too, but +have not yet had time to investigate those parts.

+ +

The package should work on Ubuntu too, but I have not yet tested it +there.

+ +

As for the answer to the question in the title of this blog post, +as far as I know, the only solution I know about is to replace the +disk. It might be possible to flash it with Intel firmware instead of +the Lenovo firmware. But I have not tried and did not want to do so +without approval from Lenovo as I wanted to keep the warranty on the +disk until a solution was found and they wanted the broken disks +back.

+ +
+
+ + + Tags: debian, english. + + +
+
+
+ +
+
+ Intel SSD 520 Series 180 GB with Lenovo firmware still lock up from sustained writes +
+
+ 10th July 2013 +
+
+

A few days ago, I wrote about +the +problems I experienced with my new X230 and its SSD disk, which +was dying during installation because it is unable to cope with +sustained write. My supplier is in contact with +Lenovo, and they wanted to send a +replacement disk to try to fix the problem. They decided to send an +identical model, so my hopes for a permanent fix was slim.

+ +

Anyway, today I got the replacement disk and tried to install +Debian Edu Wheezy with encrypted disk on it. The new disk have the +same firmware version as the original. This time my hope raised +slightly as the installation progressed, as the original disk used to +die after 4-7% of the disk was written to, while this time it kept +going past 10%, 20%, 40% and even past 50%. But around 60%, the disk +died again and I was back on square one. I still do not have a new +laptop with a disk I can trust. I can not live with a disk that might +lock up when I download a new +Debian Edu / Skolelinux ISO or +other large files. I look forward to hearing from my supplier with +the next proposal from Lenovo.

+ +

The original disk is marked Intel SSD 520 Series 180 GB, +11S0C38722Z1ZNME35X1TR, ISN: CVCV321407HB180EGN, SA: G57560302, FW: +LF1i, 29MAY2013, PBA: G39779-300, LBA 351,651,888, LI P/N: 0C38722, +Pb-free 2LI, LC P/N: 16-200366, WWN: 55CD2E40002756C4, Model: +SSDSC2BW180A3L 2.5" 6Gb/s SATA SSD 180G 5V 1A, ASM P/N 0C38732, FRU +P/N 45N8295, P0C38732.

+ +

The replacement disk is marked Intel SSD 520 Series 180 GB, +11S0C38722Z1ZNDE34N0L0, ISN: CVCV315306RK180EGN, SA: G57560-302, FW: +LF1i, 22APR2013, PBA: G39779-300, LBA 351,651,888, LI P/N: 0C38722, +Pb-free 2LI, LC P/N: 16-200366, WWN: 55CD2E40000AB69E, Model: +SSDSC2BW180A3L 2.5" 6Gb/s SATA SSD 180G 5V 1A, ASM P/N 0C38732, FRU +P/N 45N8295, P0C38732.

+ +

The only difference is in the first number (serial number?), ISN, +SA, date and WNPP values. Mentioning all the details here in case +someone is able to use the information to find a way to identify the +failing disk among working ones (if any such working disk actually +exist).

+ +
+
+ + + Tags: debian, english. + + +
+
+
+ +
+
+ July 13th: Debian/Ubuntu BSP and Skolelinux/Debian Edu developer gathering in Oslo +
+
+ 9th July 2013 +
+
+

The upcoming Saturday, 2013-07-13, we are organising a combined +Debian Edu developer gathering and Debian and Ubuntu bug squashing +party in Oslo. It is organised by the +member assosiation NUUG and +the Debian Edu / Skolelinux +project together with the hack space +Bitraf.

+ +

It starts 10:00 and continue until late evening. Everyone is +welcome, and there is no fee to participate. There is on the other +hand limited space, and only room for 30 people. Please put your name +on the event +wiki page if you plan to join us.

+ +
+
+ + + Tags: debian, debian edu, english, nuug. + + +
+
+
+ +
+
+ The Thinkpad is dead, long live the Thinkpad X230? +
+
+ 5th July 2013 +
+
+

Half a year ago, I reported that I had to find a +replacement +for my trusty old Thinkpad X41. Unfortunately I did not have much +time to spend on it, and it took a while to find a model I believe +will do the job, but two days ago the replacement finally arrived. I +ended up picking a +Thinkpad X230 +with SSD disk (NZDAJMN). I first test installed Debian Edu Wheezy as +a roaming workstation, and it seemed to work flawlessly. But my +second installation with encrypted disk was not as successful. More +on that below.

+ +

I had a hard time trying to track down a good laptop, as my most +important requirements (robust and with a good keyboard) are never +listed in the feature list. But I did get good help from the search +feature at Prisjakt, which +allowed me to limit the list of interesting laptops based on my other +requirements. A bit surprising that SSD disk are not disks according +to that search interface, so I had to drop specifying the number of +disks from my search parameters. I also asked around among friends to +get their impression on keyboards and robustness.

+ +

So the new laptop arrived, and it is quite a lot wider than the +X41. I am not quite convinced about the keyboard, as it is +significantly wider than my old keyboard, and I have to stretch my +hand a lot more to reach the edges. But the key response is fairly +good and the individual key shape is fairly easy to handle, so I hope +I will get used to it. My old X40 was starting to fail, and I really +needed a new laptop now. :)

+ +

Turning off the touch pad was simple. All it took was a quick +visit to the BIOS during boot it disable it.

+ +

But there is a fatal problem with the laptop. The 180 GB SSD disk +lock up during load. And this happen when installing Debian Wheezy +with encrypted disk, while the disk is being filled with random data. +I also tested to install Ubuntu Raring, and it happen there too if I +reenable the code to fill the disk with random data (it is disabled by +default in Ubuntu). And the bug with is already known. It was +reported to Debian as BTS +report #691427 2012-10-25 (journal commit I/O error on brand-new +Thinkpad T430s ext4 on lvm on SSD). It is also reported to the Linux +kernel developers as +Kernel bugzilla +report #51861 2012-12-20 (Intel SSD 520 stops working under load +(SSDSC2BW180A3L in Lenovo ThinkPad T430s)). It is also reported on the +Lenovo forums, both for +T430 +2012-11-10 and for +X230 +03-20-2013. The problem do not only affect installation. The +reports state that the disk lock up during use if many writes are done +on the disk, so it is much no use to work around the installation +problem and end up with a computer that can lock up at any moment. +There is even a +small C program +available that will lock up the hard drive after running a few +minutes by writing to a file.

+ +

I've contacted my supplier and asked how to handle this, and after +contacting PCHELP Norway (request 01D1FDP) which handle support +requests for Lenovo, his first suggestion was to upgrade the disk +firmware. Unfortunately there is no newer firmware available from +Lenovo, as my disk already have the most recent one (version LF1i). I +hope to hear more from him today and hope the problem can be +fixed. :)

+ +
+
+ + + Tags: debian, english. + + +
+
+
+ +
+
+ The Thinkpad is dead, long live the Thinkpad X230 +
+
+ 4th July 2013 +
+
+

Half a year ago, I reported that I had to find a replacement for my +trusty old Thinkpad X41. Unfortunately I did not have much time to +spend on it, but today the replacement finally arrived. I ended up +picking a Thinkpad +X230 with SSD disk (NZDAJMN). I first test installed Debian Edu +Wheezy as a roaming workstation, and it worked flawlessly. As I write +this, it is installing what I hope will be a more final installation, +with a encrypted hard drive to ensure any dope head stealing it end up +with an expencive door stop.

+ +

I had a hard time trying to track down a good laptop, as my most +important requirements (robust and with a good keyboard) are never +listed in the feature list. But I did get good help from the search +feature at Prisjakt, which +allowed me to limit the list of interesting laptops based on my other +requirements. A bit surprising that SSD disk are not disks, so I had +to drop number of disks from my search parameters.

+ +

I am not quite convinced about the keyboard, as it is significantly +wider than my old keyboard, and I have to stretch my hand a lot more +to reach the edges. But the key response is fairly good and the +individual key shape is fairly easy to handle, so I hope I will get +used to it. My old X40 was starting to fail, and I really needed a +new laptop now. :)

+ +

I look forward to figuring out how to turn off the touch pad.

+ +
+
+ + + Tags: debian, english. + + +
+
+
+ +
+
+ Fourth alpha release of Debian Edu/Skolelinux based on Debian Wheezy +
+
+ 3rd July 2013 +
+
+

The fourth wheezy based alpha release of Debian Edu was wrapped up +today. This is the release announcement:

+ +

New features for Debian Edu 7.1+edu0~alpha3 released +2013-07-03

+ +

These are the release notes for for Debian Edu / Skolelinux +7.1+edu0~alpha3, based on Debian with codename "Wheezy".

+ +

About Debian Edu and Skolelinux

+ +

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, DVD 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.

+ +

This is the fourth test release based on Debian Wheezy. Basically +this is an updated and slightly improved version compared to the +Squeeze release.

+ +

Software updates

+ +

Other changes

+ +

Known issues

+ +

Where to get it

+ +

To download the multiarch netinstall CD release you can use

+ + +

The MD5SUM of this image is: 2b161a99d2a848c376d8d04e3854e30c +
The SHA1SUM of this image is: 498922e9c508c0a7ee9dbe1dfe5bf830d779c3c8

+ +

To download the multiarch USB stick ISO release you can use

+ + +

The MD5SUM of this image is: 25e808e403a4c15dbef1d13c37d572ac +
The SHA1SUM of this image is: 15ecfc93eb6b4f453b7eb0bc04b6a279262d9721

+ +

How to report bugs

+ +

http://wiki.debian.org/DebianEdu/HowTo/ReportBugs

+ +
+
+ + + Tags: debian edu, english. + + +
+
+
+ +
+
+ Automatically locate and install required firmware packages on Debian (Isenkram 0.4) +
+
+ 25th June 2013 +
+
+

It annoys me when the computer fail to do automatically what it is +perfectly capable of, and I have to do it manually to get things +working. One such task is to find out what firmware packages are +needed to get the hardware on my computer working. Most often this +affect the wifi card, but some times it even affect the RAID +controller or the ethernet card. Today I pushed version 0.4 of the +Isenkram package +including a new script isenkram-autoinstall-firmware handling the +process of asking all the loaded kernel modules what firmware files +they want, find debian packages providing these files and install the +debian packages. Here is a test run on my laptop:

+ +

+# isenkram-autoinstall-firmware 
+info: kernel drivers requested extra firmware: ipw2200-bss.fw ipw2200-ibss.fw ipw2200-sniffer.fw
+info: fetching http://http.debian.net/debian/dists/squeeze/Contents-i386.gz
+info: locating packages with the requested firmware files
+info: Updating APT sources after adding non-free APT source
+info: trying to install firmware-ipw2x00
+firmware-ipw2x00
+firmware-ipw2x00
+Preconfiguring packages ...
+Selecting previously deselected package firmware-ipw2x00.
+(Reading database ... 259727 files and directories currently installed.)
+Unpacking firmware-ipw2x00 (from .../firmware-ipw2x00_0.28+squeeze1_all.deb) ...
+Setting up firmware-ipw2x00 (0.28+squeeze1) ...
+# 
+

+ +

When all the requested firmware is present, a simple message is +printed instead:

+ +

+# isenkram-autoinstall-firmware 
+info: did not find any firmware files requested by loaded kernel modules.  exiting
+# 
+

+ +

It could use some polish, but it is already working well and saving +me some time when setting up new machines. :)

+ +

So, how does it work? It look at the set of currently loaded +kernel modules, and look up each one of them using modinfo, to find +the firmware files listed in the module meta-information. Next, it +download the Contents file from a nearby APT mirror, and search for +the firmware files in this file to locate the package with the +requested firmware file. If the package is in the non-free section, a +non-free APT source is added and the package is installed using +apt-get install. The end result is a slightly better working +machine.

+ +

I hope someone find time to implement a more polished version of +this script as part of the hw-detect debian-installer module, to +finally fix BTS report +#655507. There really is no need to insert USB sticks with +firmware during a PXE install when the packages already are available +from the nearby Debian mirror.

+ +
+
+ + + Tags: debian, english, isenkram. + + +
+
+
+ +
+
+ The value of a good distro wide test suite... +
+
+ 22nd June 2013 +
+
+

In the Debian Edu / +Skolelinux project, we include a post-installation test suite, +which check that services are running, working, and return the +expected results. It runs automatically just after the first boot on +test installations (using test ISOs), but not on production +installations (using non-test ISOs). It test that the LDAP service is +operating, Kerberos is responding, DNS is replying, file systems are +online resizable, etc, etc. And it check that the PXE service is +configured, which is the topic of this post.

+ +

The last week I've fixed the DVD and USB stick ISOs for our Debian +Edu Wheezy release. These ISOs are supposed to be able to install a +complete system without any Internet connection, but for that to +happen all the needed packages need to be on them. Thanks to our test +suite, I discovered that we had forgotten to adjust our PXE setup to +cope with the new names and paths used by the netboot d-i packages. +When Internet connectivity was available, the installer fall back to +using wget to fetch d-i boot images, but when offline it require +working packages to get it working. And the packages changed name +from debian-installer-6.0-netboot-$arch to +debian-installer-7.0-netboot-$arch, we no longer pulled in the +packages during installation. Without our test suite, I suspect we +would never have discovered this before release. Now it is fixed +right after we got the ISOs operational.

+ +

Another by-product of the test suite is that we can ask system +administrators with problems getting Debian Edu to work, to run the +test suite using /usr/sbin/debian-edu-test-install and see if +any errors are detected. This usually pinpoint the subsystem causing +the problem.

+ +

If you want to help us help kids learn how to share and create, +please join us on +#debian-edu on +irc.debian.org and the +debian-edu@ mailing +list.

+ +
+
+ + + Tags: debian edu, english. + + +
+
+
+ +
+
+ Debian Edu interview: Victor Nițu +
+
+ 17th June 2013 +
+
+

The Debian Edu and +Skolelinux distribution have users and contributors all around the +globe. And a while back, an enterprising young man showed up on +our IRC channel +#debian-edu and started asking questions about how Debian Edu +worked. We answered as good as we could, and even convinced him to +help us with translations. And today I managed to get an interview +with him, to learn more about him.

+ +

Who are you, and how do you spend your days?

+ +

I'm a 25 year old free software enthusiast, living in Romania, +which is also my country of origin. Back in 2009, at a New Year's Eve +party, I had a very nice beer discussion with a +friend, when we realized we have no organised Debian community in our +country. A few days later, we put together the infrastructure for such +community and even gathered a nice Debian-ish crowd. Since then, I +began my quest as a free software hacker and activist and I am +constantly trying to cover as much ground as possible on that +field.

+ +

A few years ago I founded a small web development company, which +provided me the flexible schedule I needed so much for my +activities. For the last 13 months, I have been the Technical Director +of Fundația Ceata, which is a free +software activist organisation endorsed by the FSF and the FSFE, and +the only one we have in our country.

+ +

How did you get in contact with the Skolelinux / Debian Edu +project?

+ +

The idea of participating in the Debian Edu project was a surprise +even to me, since I never used it before I began getting involved in +it. This year I had a great opportunity to deliver a talk on +educational software, and I knew immediately where to look. It was a +love at first sight, since I was previously involved with some of the +technologies the project incorporates, and I rapidly found a lot of +ways to contribute.

+ +

My first contributions consisted in translating the installer and +configuration dialogs, then I found some bugs to squash (I still +haven't fixed them yet though), and I even got my eyes on some other +areas where I can prove myself helpful. Since the appetite for free +software in my country is pretty low, I'll be happy to be the first +one around here advocating for the project's adoption in educational +environments, and maybe even get my hands dirty in creating a flavour +for our own needs. I am not used to make very advanced plannings, so +from now on, time will tell what I'll be doing next, but I think I +have a pretty consistent starting point.

+ +

What do you see as the advantages of Skolelinux/Debian +Edu?

+ +

Not a long time ago, I was in the position of configuring and +maintaining a LDAP server on some Debian derivative, and I must say it +took me a while. A long time ago, I was maintaining a bigger +Samba-powered infrastructure, and I must say I spent quite a lot of +time on it. I have similar stories about many of the services included +with Skolelinux, and the main advantage I see about it is the +out-of-the box availability of them, making it quite competitive when +it comes to managing a school's network, for example.

+ +

Of course, there is more to say about Skolelinux than the +availability of the software included, its flexibility in various +scenarios is something I can't wait to experiment "into the wild" (I +only played with virtual machines so far). And I am sure there is a +lot more I haven't discovered yet about it, being so new within the +project.

+ +

What do you see as the disadvantages of Skolelinux / Debian +Edu?

+ +

As usual, when it comes to Debian Blends, I see as the biggest +disadvantage the lack of a numerous team dedicated to the +project. Every day I see the same names in the changelogs, and I have +a constantly fear of the bus factor in this story. I'd like to see +Debian Edu advertised more as an entry point into the Debian +ecosystem, especially amongst newcomers and students. IMHO there are a +lot low-hanging fruits in terms of bug squashing, and enough +opportunities to get the feeling of the Debian Project's dynamics. Not +to mention it's a very fun blend to work on!

+ +

Derived from the previous statement, is the delay in catching up +with the main Debian release and documentation. This is common though +to all blends and derivatives, but it's an issue we can all work +on.

+ +

Which free software do you use daily?

+ +

I can hardly imagine myself spending a day without Vim, since my +daily routine covers writing code and hacking configuration files. I +am a fan of the Awesome window manager (but I also like the +Enlightenment project a lot!), +Claws Mail due to its ease of +use and very configurable behaviour. Recently I fell in love with +Redshift, which helps me +get through the night without headaches. Of course, there is much more +stuff in this bag, but I'll need a blog on my own for doing this!

+ +

Which strategy do you believe is the right one to use to +get schools to use free software?

+ +

Well, on this field, I cannot do much more than experiment right +now. So, being far from having a recipe for success, I can only assume +that:

+ + + +

I also see some problems in getting Skolelinux into schools; for +example, in our country we have a great deal of corruption issues, so +it might be hard(er) to fight against proprietary solutions. Also, +people who relied on commercial software for all their lives, would be +very hard to convert against their will.

+ +
+
+ + + Tags: debian edu, english, intervju. + + +
+
+
+ +
+
+ Debian Edu interview: Jonathan Carter +
+
+ 12th June 2013 +
+
+

There is a certain cross-over between the +Debian Edu / Skolelinux +project and the Edubuntu +project, and for example the LTSP packages in Debian are a joint +effort between the projects. One person with a foot in both camps is +Jonathan Carter, which I am now happy to present to you.

+ +

Who are you, and how do you spend your days?

+ +

I'm a South-African free software geek who lives in Cape Town. My +days vary quite a bit since I'm involved in too many things. As I'm +getting older I'm learning how to focus a bit more :)

+ +

I'm also an Edubuntu contributor and I love when there are +opportunities for the Edubuntu and Debian Edu projects to benefit from +each other.

+ +

How did you get in contact with the Skolelinux / Debian Edu +project?

+ +

I've been somewhat familiar with the project before, but I think my +first direct exposure to the project was when I met Petter +[Reinholdtsen] and Knut [Yrvin] at the Edubuntu summit in 2005 in +London. They provided great feedback that helped the bootstrapping of +Edubuntu. Back then Edubuntu (and even Ubuntu) was still very new and +it was great getting input from people who have been around longer. I +was also still very excitable and said yes to everything and to this +day I have a big todo list backlog that I'm catching up with. I think +over the years the relationship between Edubuntu and Debian-Edu has +been gradually improving, although I think there's a lot that we could +still improve on in terms of working together on packages. I'm sure +we'll get there one day.

+ +

What do you see as the advantages of Skolelinux / Debian +Edu?

+ +

Debian itself already has so many advantages. I could go on about +it for pages, but in essence I love that it's a very honest project +that puts its users first with no hidden agendas and also produces +very high quality work.

+ +

I think the advantage of Debian Edu is that it makes many common +set-up tasks simpler so that administrators can get up and running +with a lot less effort and frustration. At the same time I think it +helps to standardise installations in schools so that it's easier for +community members and commercial suppliers to support.

+ +

What do you see as the disadvantages of Skolelinux / Debian +Edu?

+ +

I had to re-type this one a few times because I'm trying to +separate "disadvantages" from "areas that need improvement" (which is +what I originally rambled on about)

+ +

The biggest disadvantage I can think of is lack of manpower. The +project could do so much more if there were more good contributors. I +think some of the problems are external too. Free software and free +content in education is a no-brainer but it takes some time to catch +on. When you've been working with the same proprietary eco-system for +years and have gotten used to it, it can be hard to adjust to some +concepts in the free software world. It would be nice if there were +more Debian Edu consultants across the world. I'd love to be one +myself but I'm already so over-committed that it's just not possible +currently.

+ +

I think the best short-term solution to that large-scale problem is +for schools to be pro-active and share their experiences and grow +their skills in-house. I'm often saddened to see how much money +educational institutions spend on 3rd party solutions that they don't +have access to after the service has ended and they could've gotten so +much more value otherwise by being more self-sustainable and +autonomous.

+ +

Which free software do you use daily?

+ +

My main laptop dual-boots between Debian and Windows 7. I was +Windows free for years but started dual-booting again last year for +some games which help me focus and relax (Starcraft II in +particular). Gaming support on Linux is improving in leaps and bounds +so I suppose I'll soon be able to regain that disk space :)

+ +

Besides that I rely on Icedove, Chromium, Terminator, Byobu, irssi, +git, Tomboy, KVM, VLC and LibreOffice. Recently I've been torn on +which desktop environment I like and I'm taking some refuge in Xfce +while I figure that out. I like tools that keep things simple. I enjoy +Python and shell scripting. I went to an Arduino workshop recently and +it was awesome seeing how easy and simple the IDE software was to get +up and running in Debian compared to the users running Windows and OS +X.

+ +

I also use mc which some people frown upon slightly. I got used to +using Norton Commander in the early 90's and it stuck (I think the +people who sneer at it is just jealous that they don't know how to use +it :p) + +

Which strategy do you believe is the right one to use to +get schools to use free software?

+ +

I think trying to force it is unproductive. I also think that in +many cases it's appropriate for schools to use non-free systems and I +don't think that there's any particular moral or ethical problem with +that.

+ +

I do think though that free software can already solve so so many +problems in educational institutions and it's just a shame not taking +advantage of that.

+ +

I also think that some curricula need serious review. For example, +some areas of the world rely heavily on very specific versions of MS +Office, teaching students to parrot menu items instead of learning the +general concepts. I think that's very unproductive because firstly, MS +Office's interface changes drastically every few years and on top of +that it also locks in a generation to a product that might not be the +best solution for them.

+ +

To answer your question, I believe that the right strategy is to +educate and inform, giving someone the information they require to +make a decision that would work for them.

+ +
+
+ + + Tags: debian edu, english, intervju. + + +
+
+
+ +
+
+ Fixing the Linux black screen of death on machines with Intel HD video +
+
+ 11th June 2013 +
+
+

When installing RedHat, Fedora, Debian and Ubuntu on some machines, +the screen just turn black when Linux boot, either during installation +or on first boot from the hard disk. I've seen it once in a while the +last few years, but only recently understood the cause. I've seen it +on HP laptops, and on my latest acquaintance the Packard Bell laptop. +The reason seem to be in the wiring of some laptops. The system to +control the screen background light is inverted, so when Linux try to +turn the brightness fully on, it end up turning it off instead. I do +not know which Linux drivers are affected, but this post is about the +i915 driver used by the +Packard Bell +EasyNote LV, Thinkpad X40 and many other laptops.

+ +

The problem can be worked around two ways. Either by adding +i915.invert_brightness=1 as a kernel option, or by adding a file in +/etc/modprobe.d/ to tell modprobe to add the invert_brightness=1 +option when it load the i915 kernel module. On Debian and Ubuntu, it +can be done by running these commands as root:

+ +
+echo options i915 invert_brightness=1 | tee /etc/modprobe.d/i915.conf
+update-initramfs -u -k all
+
+ +

Since March 2012 there is +a +mechanism in the Linux kernel to tell the i915 driver which +hardware have this problem, and get the driver to invert the +brightness setting automatically. To use it, one need to add a row in +the +intel_quirks array in the driver source +drivers/gpu/drm/i915/intel_display.c (look for "static +struct intel_quirk intel_quirks"), specifying the PCI device +number (vendor number 8086 is assumed) and subdevice vendor and device +number.

+ +

My Packard Bell EasyNote LV got this output from lspci +-vvnn for the video card in question:

+ +

+00:02.0 VGA compatible controller [0300]: Intel Corporation \
+    3rd Gen Core processor Graphics Controller [8086:0156] \
+    (rev 09) (prog-if 00 [VGA controller])
+ Subsystem: Acer Incorporated [ALI] Device [1025:0688]
+ Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- \
+    ParErr- Stepping- SE RR- FastB2B- DisINTx+
+ Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- \
+    SERR-  [disabled]
+ Capabilities: 
+ Kernel driver in use: i915
+

+ +

The resulting intel_quirks entry would then look like this:

+ +

+struct intel_quirk intel_quirks[] = {
+       ...
+        /* Packard Bell EasyNote LV11HC needs invert brightness quirk */
+	{ 0x0156, 0x1025, 0x0688, quirk_invert_brightness },
+       ...
+}
+

+ +

According to the kernel module instructions (as seen using +modinfo i915), information about hardware needing the +invert_brightness flag should be sent to the +dri-devel +(at) lists.freedesktop.org mailing list to reach the kernel +developers. But my email about the laptop sent 2013-06-03 have not +yet shown up in +the +web archive for the mailing list, so I suspect they do not accept +emails from non-subscribers. Because of this, I sent my patch also to +the Debian bug tracking system instead as +BTS report #710938, to make +sure the patch is not lost.

+ +

Unfortunately, it is not enough to fix the kernel to get Laptops +with this problem working properly with Linux. If you use Gnome, your +worries should be over at this point. But if you use KDE, there is +something in KDE ignoring the invert_brightness setting and turning on +the screen during login. I've reported it to Debian as +BTS report #711237, and +have no idea yet how to figure out exactly what subsystem is doing +this. Perhaps you can help? Perhaps you know what the Gnome +developers did to handle this, and this can give a clue to the KDE +developers? Or you know where in KDE the screen brightness is changed +during login? If so, please update the BTS report (or get in touch if +you do not know how to update BTS).

+ +

Update 2013-07-19: The correct fix for this machine seem to be +acpi_backlight=vendor, to disable ACPI backlight support completely, +as the ACPI information on the machine is trash and it is better to +leave it to the intel video driver to control the screen +backlight.

+ +
+
+ + + Tags: debian, english. + + +
+
+
+ +
+
+ Third alpha release of Debian Edu / Skolelinux based on Debian Wheezy +
+
+ 10th June 2013 +
+
+

The third wheezy based alpha release of Debian Edu was wrapped up +today. This is the release announcement:

+ +

New features for Debian Edu 7.0.0 alpha2 released +2013-06-10

+ +

This is the release notes for for Debian Edu / Skolelinux 7.0.0 edu +alpha2, based on Debian with codename "Wheezy".

+ +

About Debian Edu and Skolelinux

+ +

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, DVD 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.

+ +

This is the third test release based on Debian Wheezy. Basically +this is an updated and slightly improved version compared to the +Squeeze release.

+ +

Software updates

+ + + +

Other changes

+ + + +

Known issues

+ + + +

Where to get it

+ +

To download the multiarch netinstall CD release you can use

+ + + +

The MD5SUM of this image is: 27bbcace407743382f3c42c08dbe8178 +
The SHA1SUM of this image is: e35f7d7908566cd3075375b3721fa10ee420d419

+ +

How to report bugs

+ +

http://wiki.debian.org/DebianEdu/HowTo/ReportBugs + +

+
+ + + Tags: debian edu, english. + + +
+
+
+ +
+
+ Is there a PHP expert in the building? Debian Edu need help! +
+
+ 5th June 2013 +
+
+

Here is a call for help from the Debian Edu / Skolelinux project. +We have two problems blocking the release of the Wheezy version we +hope to get released soon. The two problems require some with PHP +skills, and we seem to lack anyone with both time and PHP skills in +the project: + +

    + +
  1. It is impossible to log into the slbackup web interface + (slbackup-php) using the root user and password. This is + BTS report #700257. + This used to work, but stopped working some time since Squeeze. + Perhaps some obsolete PHP feature was used?
  2. + +
  3. It is not possible to "mass import" user lists in Gosa, neither + using ldif nor using CSV files. The feature was disabled after a + major rewrite of Gosa, and need to be ported to the new system. + This is BTS report + #698840.
  4. + +
+ +

If you can help us, please join us on IRC +(#debian-edu on +irc.debian.org) and provide patches via the BTS.

+ +
+
+ + + Tags: debian edu, english. + + +
+
+
+ +
+
+ Debian Edu interview: Cédric Boutillier +
+
+ 4th June 2013 +
+
+

It has been a while since my last English +Debian Edu and Skolelinux +interview last November. But the developers and translators are still +pulling along to get the Wheezy based release out the door, and this +time I managed to get an interview from one of the French translators +in the project, Cédric Boutillier.

+ +

Who are you, and how do you spend your days?

+ +

I am 34 year old. I live near Paris, France. I am an assistant +professor in probability theory. I spend my daytime teaching +mathematics at the university and doing fundamental research in +probability in connexion with combinatorics and statistical physics.

+ +

I have been involved in the Debian project for a couple of years +and became Debian Developer a few months ago. I am working on Ruby +packaging, publicity and translation.

+ +

How did you get in contact with the Skolelinux / Debian Edu +project?

+ +

I came to the Debian Edu project after a call for translation of +the +Debian Edu manual for the release of Debian Edu Squeeze. Since +then, I have been working on updating the French translation of the +manual. + +

I had the opportunity to make an installation of Debian Edu in a +virtual machine when I was preparing localised version of some screen +shots for the manual. I was amazed to see it worked out of the box and +how comprehensive the list of software installed by default was.

+ +

What amazed me was the complete network infrastructure directly +ready to use, which can and the nice administration interface provided +by GOsa². What pleased +me also was the fact that among the software installed by default, +there were many "traditional" educative software to learn languages, +to count, to program... but also software to develop creativity and +artistic skills with music (Ardour, +Audacity) and +movies/animation (I was especially thinking of +Stopmotion).

+ +

I am following the development of Debian Edu and am hanging out on +#debian-edu. +Unfortunately, I don't much time to get more involved in this +beautiful project.

+ +

What do you see as the advantages of Skolelinux / Debian +Edu?

+ +

For me, the main advantages of Skolelinux/Debian Edu are its +community of experts and its precise documentation, as well as the +fact that it provides a solution ready to use.

+ +

I would add also the fact that it is based on the rock solid Debian +distribution, which ensures stability and provides a huge collection +of educational free software.

+ +

What do you see as the disadvantages of Skolelinux / Debian +Edu?

+ +

Maybe the lack of manpower to do lobbying on the +project. Sometimes, people who need to take decisions concerning IT do +not have all the elements to evaluate properly free software +solutions. The fact that support by a company may be difficult to find +is probably a problem if the school does not have IT personnel.

+ +

One can find support from a company by looking at +the +wiki dokumentation, where some countries already have a number of +companies providing support for Debian Edu, like Germany or +Norway. This list is easy to find readily from the manual. However, +for other countries, like France, the list is empty. I guess that +consultants proposing support for Debian would be able to provide some +support for Debian Edu as well.

+ +

Which free software do you use daily?

+ +

I am using the KDE Plasma Desktop. But the pieces of software I use +most runs in a terminal: Mutt and OfflineIMAP for emails, latex for +scientific documents, mpd for music. VIM is my editor of choice. I am +also using the mathematical software +Scilab and +Sage (built from +source as not completely packaged for Debian, yet). + +

Do you have any suggestions for teachers interested in +using the free software in Debian to teach mathematics and +statistics?

+ +

I do not have any "nice" recommendations for statistics. At our +university, we use both R and +Scilab to teach statistics and probabilistic simulations. For +geometry, there are nice programs:

+ + + +

I like also +cantor, which +provides a uniform interface to SciLab, Sage, +Octave, etc...

+ +

Which strategy do you believe is the right one to use to +get schools to use free software?

+ +

My suggestions would be to

+ + + +
+
+ + + Tags: debian edu, english, intervju. + + +
+
+
+ +
+
+ Educational applications included in Debian Edu / Skolelinux (the screenshot collection :-) +
+
+ 1st June 2013 +
+
+

Included in Debian Edu / +Skolelinux, there are quite a lot of educational software. +Created to help teachers teach, and pupils learn. We have tried to +tag them all using debtags use::learning and role::program, and using +the debtags I was happy to be able to create a collage of the +educational software packages installed by default, sorted by the +debtag field. Here it is. Click on a image to learn more about the +program.

+ + + +

field::arts

+

+audacity +childsplay +denemo +freebirth +gcompris +gimp +hydrogen +lilypond +lmms +rosegarden +scribus +solfege +stopmotion +tuxpaint +

+ +

field::astronomy

+

+celestia-gnome +gpredict +kstars +planets +stellarium +xplanet +

+ +

field::biology:structural

+

+pymol +

+ +

field::chemistry

+

+atomix +chemtool +easychem +gchempaint +gdis +ghemical +gperiodic +kalzium +pymol +[viewmol] +xdrawchem +

+ +

field::electronics

+

+gcompris +[gpsim] +

+ +

field::geography

+

+kgeography +marble +xplanet +

+ +

field::linguistics

+

+gcompris +kanagram +khangman +klettres +parley +

+ +

field::mathematics

+

+childsplay +drgeo +gcompris +geogebra +[geomview] +grace +graphmonkey +graphthing +kalgebra +kbruch +kig +kmplot +mathwar +rocs +scratch +tuxmath +xabacus +

+ +

field::physics

+

+gcompris +step +

+ +

field::TODO

+

+blinken +cgoban +childsplay +gcompris +gnuchess +gnugo +gtans +ktouch +librecad +scratch +

+ +

In total, 61 applications. 3 of them lacked screen shots on +screenshot.debian.net. If +you know of some packages we should install by default, please let us +know on IRC, #debian-edu +on irc.debian.org, or our +mailing list +debian-edu@.

+ +
+
+ + + Tags: debian edu, english. + + +
+
+
+ +
+
+ How to install Linux on a Packard Bell Easynote LV preinstalled with Windows 8 +
+
+ 27th May 2013 +
+
+

Two days ago, I asked +how +I could install Linux on a Packard Bell EasyNote LV computer +preinstalled with Windows 8. I found a solution, but am horrified +with the obstacles put in the way of Linux users on a laptop with UEFI +and Windows 8.

+ +

I never found out if the cause of my problems were the use of UEFI +secure booting or fast boot. I suspect fast boot was the problem, +causing the firmware to boot directly from HD without considering any +key presses and alternative devices, but do not know UEFI settings +enough to tell.

+ +

There is no way to install Linux on the machine in question without +opening the box and disconnecting the hard drive! This is as far as I +can tell, the only way to get access to the firmware setup menu +without accepting the Windows 8 license agreement. I am told (and +found description on how to) that it is possible to configure the +firmware setup once booted into Windows 8. But as I believe the terms +of that agreement are completely unacceptable, accepting the license +was never an alternative. I do not enter agreements I do not intend +to follow.

+ +

I feared I had to return the laptops and ask for a refund, and +waste many hours on this, but luckily there was a way to get it to +work. But I would not recommend it to anyone planning to run Linux on +it, and I have become sceptical to Windows 8 certified laptops. Is +this the way Linux will be forced out of the market place, by making +it close to impossible for "normal" users to install Linux without +accepting the Microsoft Windows license terms? Or at least not +without risking to loose the warranty?

+ +

I've updated the +Linux Laptop +wiki page for Packard Bell EasyNote LV, to ensure the next person +do not have to struggle as much as I did to get Linux into the +machine.

+ +

Thanks to Bob Rosbag, Florian Weimer, Philipp Kern, Ben Hutching, +Michael Tokarev and others for feedback and ideas.

+ +
+
+ + + Tags: debian, english. + + +
+
+
+
How can I install Linux on a Packard Bell Easynote LV preinstalled with Windows 8? @@ -53,7 +3282,7 @@ installed on this machine, please get in touch or update that wiki page. If I can't find a way to install Linux, I will have to return the laptop to the seller and find another machine for my parents.

-

I wonder, is this the way Linux will be forced out of the marked +

I wonder, is this the way Linux will be forced out of the market using UEFI and "secure boot" by making it impossible to install Linux on new Laptops?

@@ -168,7 +3397,7 @@ release today. This is the release announcement:

2013-05-14

This is the release notes for for Debian Edu / Skolelinux 7.0.0 edu -alpha1, based on Debian with +alpha1, based on Debian with codename "Wheezy".

About Debian Edu and Skolelinux

@@ -14801,7 +18030,19 @@ be the only one fitting our needs. :/

  • April (6)
  • -
  • May (8)
  • +
  • May (9)
  • + +
  • June (10)
  • + +
  • July (7)
  • + +
  • August (3)
  • + +
  • September (5)
  • + +
  • October (7)
  • + +
  • November (4)
  • @@ -14947,33 +18188,35 @@ be the only one fitting our needs. :/

  • bitcoin (7)
  • -
  • bootsystem (12)
  • +
  • bootsystem (13)
  • bsa (2)
  • -
  • debian (75)
  • +
  • debian (90)
  • -
  • debian edu (128)
  • +
  • debian edu (142)
  • digistan (10)
  • -
  • docbook (9)
  • +
  • docbook (10)
  • drivstoffpriser (4)
  • -
  • english (193)
  • +
  • english (227)
  • fiksgatami (21)
  • fildeling (12)
  • -
  • freeculture (11)
  • +
  • freeculture (12)
  • + +
  • freedombox (5)
  • frikanalen (11)
  • -
  • intervju (34)
  • +
  • intervju (37)
  • -
  • isenkram (6)
  • +
  • isenkram (7)
  • kart (18)
  • @@ -14983,19 +18226,21 @@ be the only one fitting our needs. :/

  • ltsp (1)
  • +
  • mesh network (5)
  • +
  • multimedia (25)
  • -
  • norsk (233)
  • +
  • norsk (236)
  • -
  • nuug (152)
  • +
  • nuug (158)
  • offentlig innsyn (8)
  • open311 (2)
  • -
  • opphavsrett (44)
  • +
  • opphavsrett (45)
  • -
  • personvern (65)
  • +
  • personvern (67)
  • raid (1)
  • @@ -15003,7 +18248,7 @@ be the only one fitting our needs. :/

  • rfid (2)
  • -
  • robot (7)
  • +
  • robot (8)
  • rss (1)
  • @@ -15011,29 +18256,29 @@ be the only one fitting our needs. :/

  • scraperwiki (2)
  • -
  • sikkerhet (29)
  • +
  • sikkerhet (32)
  • sitesummary (4)
  • skepsis (4)
  • -
  • standard (42)
  • +
  • standard (43)
  • stavekontroll (3)
  • -
  • stortinget (7)
  • +
  • stortinget (9)
  • -
  • surveillance (15)
  • +
  • surveillance (20)
  • sysadmin (1)
  • -
  • valg (7)
  • +
  • valg (8)
  • -
  • video (38)
  • +
  • video (39)
  • vitenskap (4)
  • -
  • web (26)
  • +
  • web (28)