X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/b0f84574aa2d390f052c356db7991b3070546e7b..2377a19a2fcd67c09830cbb4a2a81cfd5a6f00d6:/blog/archive/2013/11/11.rss diff --git a/blog/archive/2013/11/11.rss b/blog/archive/2013/11/11.rss index fc3891309c..6146f6a699 100644 --- a/blog/archive/2013/11/11.rss +++ b/blog/archive/2013/11/11.rss @@ -6,6 +6,421 @@ http://people.skolelinux.org/pere/blog/ + + Dugnadsnett for alle, a wireless community network in Oslo, take shape + http://people.skolelinux.org/pere/blog/Dugnadsnett_for_alle__a_wireless_community_network_in_Oslo__take_shape.html + http://people.skolelinux.org/pere/blog/Dugnadsnett_for_alle__a_wireless_community_network_in_Oslo__take_shape.html + Sat, 30 Nov 2013 10:10:00 +0100 + <p>If you want the ability to electronically communicate directly with +your neighbors and friends using a network controlled by your peers in +stead of centrally controlled by a few corporations, or would like to +experiment with interesting network technology, the +<a href="http://www.dugnadsnett.no/">Dugnasnett for alle i Oslo</a> +might be project for you. 39 mesh nodes are currently being planned, +in the freshly started initiative from NUUG and Hackeriet to create a +wireless community network. The work is inspired by +<a href="http://freifunk.net/">Freifunk</a>, +<a href="http://www.awmn.net/">Athens Wireless Metropolitan +Network</a>, <a href="http://en.wikipedia.org/wiki/Roofnet">Roofnet</a> +and other successful mesh networks around the globe. Two days ago we +held a workshop to try to get people started on setting up their own +mesh node, and there we decided to create a new mailing list +<a href="http://lists.nuug.no/mailman/listinfo/dugnadsnett">dugnadsnett +(at) nuug.no</a> and IRC channel +<a href="irc://irc.freenode.net/#dugnadsnett.no">#dugnadsnett.no</a> to +coordinate the work. See also the NUUG blog post +<a href="http://www.nuug.no/news/E_postliste_og_IRC_kanal_for_Dugnadsnett_for_alle_i_Oslo.shtml">announcing +the mailing list and IRC channel</a>.</p> + + + + + Hvor godt fungerer Linux-klienter mot MS Exchange? + http://people.skolelinux.org/pere/blog/Hvor_godt_fungerer_Linux_klienter_mot_MS_Exchange_.html + http://people.skolelinux.org/pere/blog/Hvor_godt_fungerer_Linux_klienter_mot_MS_Exchange_.html + Tue, 26 Nov 2013 18:50:00 +0100 + <p>Jeg +<a href="http://people.skolelinux.org/pere/blog/_pent_m_te_p__onsdag_om_bruken_av_Microsoft_Exchange_ved_Universitetet_i_Oslo.html">skrev +i juni om protestene</a> på planene til min arbeidsplass, +<a href="http://www.uio.no/">Universitetet i Oslo</a>, om å gå bort fra +fri programvare- og åpne standardløsninger for å håndtere epost, +vekk fra IETF-standarden SIEVE for filtrering av epost og over til +godseide spesifikasjoner og epostsystemet Microsoft Exchange. +Protestene har fått litt ny omtale i media de siste dagene, i tillegg +til de oppslagene som kom i mai.</p> + +<ul> + +<li>2013-11-26 <a href="http://www.version2.dk/artikel/gigantisk-outlook-konvertering-moeder-protester-paa-universitet-55147">Gigantisk Outlook-konvertering møder protester på universitet</a> - versjon2.dk</li> + +<li>2013-11-25 + <a href="http://www.idg.no/computerworld/article279407.ece">Microsoft-protest + på Universitetet</a> - Computerworld</li> + +<li>2013-11-25 + <a href="http://www.uniforum.uio.no/nyheter/2013/11/uio-bor-bruke-apen-programvare.html">Kjemper + mot innføring av Microsoft Exchange på UiO</a> - Uniforum</li> + +<li>2013-11-25 + <a href="http://www.uniforum.uio.no/nyheter/2013/11/uio-utsetter-innforing-av-nytt-e-postsystem.html">Utsetter + innføring av nytt e-postsystem</a> - Uniforum</li> + +<li>2013-05-29 + <a href="http://universitas.no/nyhet/58462/forsvarer-nytt-it-system">Forsvarer + nytt IT-system</a> - Universitas</li> + +<li>2013-05-23 + <a href="http://www.uniforum.uio.no/nyheter/2013/05/uio-innforer-nytt-epost-og-kalendersystem.html">UiO + innfører nytt epost- og kalenderverktøy</a> - Uniforum</li> + +<li>2013-05-22 + <a href="http://universitas.no/nyhet/58424/protestgruppe-vil-stanse-it-system">Protestgruppe + vil stanse IT-system</a> - Universitas</li> + +<li>2013-05-15 + <a href="http://www.uniforum.uio.no/leserbrev/2013/uio-ma-ha-kontroll-over-sitt-eget-epostsystem.html">UiO + må ha kontroll over sitt eget epostsystem</a> - Uniforum</li> + +</ul> + +<p>Prosjektledelsen har fortalt at dette skal fungere like godt for +Linux-brukere som for brukere av Microsoft Windows og Apple MacOSX, +men jeg lurer på hva slags erfaringer Linux-brukere i eksisterende +miljøer som bruker MS Exchange har gjort. Hvis du har slik erfaring +hadet det vært veldig fint om du kan send et leserbrev til +<a href="http://www.uniforum.uio.no/">Uniforum</a> og fortelle om hvor +greit det er å bruke Exchange i kryss-platform-miljøer? De jeg har +snakket med sier en greit får lest e-posten sin hvis Exchange har +slått på IMAP-funksjonalitet, men at kalender og møtebooking ikke +fungerer godt for Linux-klienter. Jeg har ingen personlig erfaring å +komme med, så jeg er nysgjerrig på hva andre kan dele av erfaringer +med universitetet.</p> + +<p>Mitt ankerpunkt mot å bytte ut fri programvare som fungerer godt +med godseid programvare er at en mister kontroll over egen +infrastruktur, låser seg inn i en løsning det vil bli dyrt å komme ut +av, uten at en får funksjonalitet en ikke kunne skaffet seg med fri +programvare, eventuelt videreutviklet med de pengene som brukes på +overgangen til MS Exchange. Personlig planlegger jeg å fortsette å +laste ned all eposten min til lokal maskin for indeksering og lesing +med <a href=="http://notmuchmail.org">notmuch</a>, så jeg håper jeg +ikke blir veldig skadelidende av overgangen.</p> + +<p><a href="http://dinis.linguateca.pt/Diana/ImotMSUiO.html">Underskriftslista +for oss som er mot endringen</a>, som omtales i artiklene, er fortsatt +åpen for de som vil signere på oppropet. Akkurat nå er det 298 +personer som har signert.</p> + + + + + New chrpath release 0.15 + http://people.skolelinux.org/pere/blog/New_chrpath_release_0_15.html + http://people.skolelinux.org/pere/blog/New_chrpath_release_0_15.html + Sun, 24 Nov 2013 09:30:00 +0100 + <p>After many years break from the package and a vain hope that +development would be continued by someone else, I finally pulled my +acts together this morning and wrapped up a new release of chrpath, +the command line tool to modify the rpath and runpath of already +compiled ELF programs. The update was triggered by the persistence of +Isha Vishnoi at IBM, which needed a new config.guess file to get +support for the ppc64le architecture (powerpc 64-bit Little Endian) he +is working on. I checked the +<a href="http://packages.qa.debian.org/chrpath">Debian</a>, +<a href="https://launchpad.net/ubuntu/+source/chrpath">Ubuntu</a> and +<a href="https://admin.fedoraproject.org/pkgdb/acls/name/chrpath">Fedora</a> +packages for interesting patches (failed to find the source from +OpenSUSE and Mandriva packages), and found quite a few nice fixes. +These are the release notes:</p> + +<p>New in 0.15 released 2013-11-24:</p> + +<ul> + + <li>Updated config.sub and config.guess from the GNU project to work + with newer architectures. Thanks to isha vishnoi for the heads + up.</li> + + <li>Updated README with current URLs.</li> + + <li>Added byteswap fix found in Ubuntu, credited Jeremy Kerr and + Matthias Klose.</li> + + <li>Added missing help for -k|--keepgoing option, using patch by + Petr Machata found in Fedora.</li> + + <li>Rewrite removal of RPATH/RUNPATH to make sure the entry in + .dynamic is a NULL terminated string. Based on patch found in + Fedora credited Axel Thimm and Christian Krause.</li> + +</ul> + +<p>You can +<a href="https://alioth.debian.org/frs/?group_id=31052">download the +new version 0.15 from alioth</a>. Please let us know via the Alioth +project if something is wrong with the new release. The test suite +did not discover any old errors, so if you find a new one, please also +include a testsuite check.</p> + + + + + RSS-kilde for fritekstsøk i offentlige anbud hos Doffin + http://people.skolelinux.org/pere/blog/RSS_kilde_for_friteksts_k_i_offentlige_anbud_hos_Doffin.html + http://people.skolelinux.org/pere/blog/RSS_kilde_for_friteksts_k_i_offentlige_anbud_hos_Doffin.html + Fri, 22 Nov 2013 13:40:00 +0100 + <p>I fjor sommer lagde jeg en +<a href="http://people.skolelinux.org/pere/blog/SQL_database_med_anbud_publisert_p__Doffin.html">offentlig +tilgjengelig SQL-database over offentlig anbud</a> basert på skraping +av HTML-data fra Doffin. Den har stått og gått siden da, og har nå +ca. 28000 oppføringer. Jeg oppdaget da jeg tittet innom at noen +oppføringer var ikke blitt med, antagelig på grunn av at de fikk +tildelt sekvensnummer i Doffin en godt stund før de ble publisert, +slik at min nettsideskraper som fortsatte skrapingen der den slapp +sist ikke fikk dem med seg. Jeg har fikset litt slik at skraperen nå +ser litt tilbake i tid for å se om den har gått glipp av noen +oppføringer, og har skrapet på nytt fra midten av september 2013 og +fremover. Det bør dermed bli en mer komplett database for kommende +måneder. Hvis jeg får tid skal jeg forsøke å skrape "glemte" data fra +før midten av september 2013, men tør ikke garantere at det blir +prioritert med det første. </p> + +<p>Men målet med denne bloggposten er å vise hvordan denne +Doffin-databasen kan brukes og integreres med en RSS-leser, slik at en +kan la datamaskinen holde et øye med Doffin-annonseringer etter +nøkkelord. En kan lage sitt eget søk ved å besøke +<ahref="https://classic.scraperwiki.com/docs/api?name=norwegian-doffin#sqlite">API-et +hos Scraperwiki</a>, velge format rss2 og så legge inn noe ala dette i +"query in SQL":</p> + +<p><pre> +select title, scrapedurl as link, abstract as description, + publishdate as pubDate from 'swdata' + where abstract like '%linux%' or title like '%linux%' + order by seq desc limit 20 +</pre></p> + +<p>Dette vil søke opp alle anbud med ordet linux i oppsummering eller +tittel. En kan lage mer avanserte søk hvis en ønsker det. URL-en som +dukker opp nederst på siden kan en så gi til sin RSS-leser (jeg bruker +akregator selv), og så automatisk få beskjed hvis det dukker opp anbud +med det aktuelle nøkkelordet i teksten. Merk at kapasiteten og +ytelsen hos Scraperwiki er begrenset, så ikke be RSS-leseren hente ned +oftere enn en gang hver dag.</p> + +<p>Du lurer kanskje på hva slags informasjon en kan få ut fra denne +databasen. Her er to RSS-kilder, med søkeordet +"<a href="https://api.scraperwiki.com/api/1.0/datastore/sqlite?format=rss2&name=norwegian-doffin&query=select%20title%2C%20scrapedurl%20as%20link%2C%20abstract%20as%20description%2C%0A%20%20%20%20%20%20%20publishdate%20as%20pubDate%20from%20'swdata'%0A%20%20%20where%20abstract%20like%20'%25linux%25'%20or%20title%20like%20'%25linux%25'%0A%20%20%20order%20by%20seq%20desc%20limit%2020">linux</a>", +søkeordet +"<a href="https://api.scraperwiki.com/api/1.0/datastore/sqlite?format=rss2&name=norwegian-doffin&query=select%20title%2C%20scrapedurl%20as%20link%2C%20abstract%20as%20description%2C%0A%20%20%20%20%20%20%20publishdate%20as%20pubDate%20from%20'swdata'%0A%20%20%20where%20abstract%20like%20'%25fri%20programvare%25'%20or%20title%20like%20'%25fri%20programvare%25'%0A%20%20%20order%20by%20seq%20desc%20limit%2020">fri +programvare</a>" +og søkeordet +"<a href="https://api.scraperwiki.com/api/1.0/datastore/sqlite?format=rss2&name=norwegian-doffin&query=select%20title%2C%20scrapedurl%20as%20link%2C%20abstract%20as%20description%2C%0A%20%20%20%20%20%20%20publishdate%20as%20pubDate%20from%20'swdata'%0A%20%20%20where%20abstract%20like%20'%25odf%25'%20or%20title%20like%20'%25odf%25'%0A%20%20%20order%20by%20seq%20desc%20limit%2020">odf</a>". +Det er bare å søke på det en er interessert i. Kopier gjerne +datasettet og sett opp din egen tjeneste hvis du vil gjøre mer +avanserte søk. SQLite-filen med Doffin-oppføringer kan lastes med fra +Scraperwiki for de som vil grave dypere.</p> + + + + + All drones should be radio marked with what they do and who they belong to + http://people.skolelinux.org/pere/blog/All_drones_should_be_radio_marked_with_what_they_do_and_who_they_belong_to.html + http://people.skolelinux.org/pere/blog/All_drones_should_be_radio_marked_with_what_they_do_and_who_they_belong_to.html + Thu, 21 Nov 2013 15:40:00 +0100 + <p>Drones, flying robots, are getting more and more popular. The most +know ones are the killer drones used by some government to murder +people they do not like without giving them the chance of a fair +trial, but the technology have many good uses too, from mapping and +forest maintenance to photography and search and rescue. I am sure it +is just a question of time before "bad drones" are in the hands of +private enterprises and not only state criminals but petty criminals +too. The drone technology is very useful and very dangerous. To have +some control over the use of drones, I agree with Daniel Suarez in his +TED talk +"<a href="https://archive.org/details/DanielSuarez_2013G">The kill +decision shouldn't belong to a robot</a>", where he suggested this +little gem to keep the good while limiting the bad use of drones:</p> + +<blockquote> + +<p>Each robot and drone should have a cryptographically signed +I.D. burned in at the factory that can be used to track its movement +through public spaces. We have license plates on cars, tail numbers on +aircraft. This is no different. And every citizen should be able to +download an app that shows the population of drones and autonomous +vehicles moving through public spaces around them, both right now and +historically. And civic leaders should deploy sensors and civic drones +to detect rogue drones, and instead of sending killer drones of their +own up to shoot them down, they should notify humans to their +presence. And in certain very high-security areas, perhaps civic +drones would snare them and drag them off to a bomb disposal facility.</p> + +<p>But notice, this is more an immune system than a weapons system. It +would allow us to avail ourselves of the use of autonomous vehicles +and drones while still preserving our open, civil society.</p> + +</blockquote> + +<p>The key is that <em>every citizen</em> should be able to read the +radio beacons sent from the drones in the area, to be able to check +both the government and others use of drones. For such control to be +effective, everyone must be able to do it. What should such beacon +contain? At least formal owner, purpose, contact information and GPS +location. Probably also the origin and target position of the current +flight. And perhaps some registration number to be able to look up +the drone in a central database tracking their movement. Robots +should not have privacy. It is people who need privacy.</p> + + + + + Lets make a wireless community network in Oslo! + http://people.skolelinux.org/pere/blog/Lets_make_a_wireless_community_network_in_Oslo_.html + http://people.skolelinux.org/pere/blog/Lets_make_a_wireless_community_network_in_Oslo_.html + Wed, 13 Nov 2013 21:00:00 +0100 + <p>Today NUUG and Hackeriet announced +<a href="http://www.nuug.no/news/Bli_med___bygge_dugnadsnett_for_alle_i_Oslo.shtml">our +plans to join forces and create a wireless community network in +Oslo</a>. 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 +<a href="https://github.com/petterreinholdtsen/meshfx-node/blob/master/oslo-nodes.geojson">9 +locations plotted on the map</a>, 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 +<a href="irc://irc.freenode.net/%23nuug">#nuug on irc.freenode.net</a> +right away. :)</p> + + + + + Running TP-Link MR3040 as a batman-adv mesh node using openwrt + http://people.skolelinux.org/pere/blog/Running_TP_Link_MR3040_as_a_batman_adv_mesh_node_using_openwrt.html + http://people.skolelinux.org/pere/blog/Running_TP_Link_MR3040_as_a_batman_adv_mesh_node_using_openwrt.html + Sun, 10 Nov 2013 23:00:00 +0100 + <p>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 +<a href="http://www.openwrt.org/">OpenWrt</a>.</p> + +<p>I started by following the instructions on the OpenWRT wiki for +<a href="http://wiki.openwrt.org/toh/tp-link/tl-mr3040">TL-MR3040</a>, +and downloaded +<a href="http://downloads.openwrt.org/snapshots/trunk/ar71xx/openwrt-ar71xx-generic-tl-mr3040-v2-squashfs-factory.bin">the +recommended firmware image</a> +(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.</p> + +<p>I started off by reading the instructions from +<a href="http://wirelessafrica.meraka.org.za/wiki/index.php?title=Antoine's_Research">Wireless +Africa</a>, which had quite a lot of useful information, but +eventually I followed the recipe from the Open Mesh wiki for +<a href="http://www.open-mesh.org/projects/batman-adv/wiki/Batman-adv-openwrt-config">using +batman-adv on OpenWrt</a>. A small snag was the fact that the +<tt>opkg install kmod-batman-adv</tt> 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 +<a href="https://dev.openwrt.org/ticket/14452">reported the bug</a> 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.</p> + +<p>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:</p> + +<p><tt>/etc/config/network</tt></p> + +<pre> + +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' +</pre> + +<p><tt>/etc/config/wireless</tt></p> +<pre> + +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' +</pre> +<p><tt>/etc/config/batman-adv</tt></p> +<pre> + +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' +</pre> + +<p>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.</p> + + + Debian init.d boot script example for rsyslog http://people.skolelinux.org/pere/blog/Debian_init_d_boot_script_example_for_rsyslog.html