
|
English language planetList of feeds
One Week with an OpenMoko Freerunner
About one week ago, I received my OpenMoko Freerunner. This is an openly developed mobile phone that runs purely on Free Software. So this is what I have to tell about it. The hardwareIt was smaller than I thought, and is quite light. My girlfriend says it’s ugly, but I’m fine with the look of it. Besides being a GSM-phone, it comes with some nice gimmics: GPS, accelerometer, WLAN. The touchscreen works fine, although I don’t have anything to compare it with. The softwareThe system it comes with, even after upgrading, is still very rough. It mostly works for doing phone calls and SMSs, but there are a number of unsolved quirks that prevent me from using the Freerunner as my sole phone for now. The suspend mode is left too often, resulting in a battery life of about eight hours, and there are issues with the audio for the conversation partners, who will hear static and echoes. But, as this is free software, there is hope that this will be fixed eventually. DevelopmentThe ?OpenMoko distribution is based on Openembedded, which uses bitbake for building software. So if I got it right, and this is not sure, because documentation is rare and spread, there is the git repository at git.openmoko.org, which is a copy of the openembedded git repository. This contains bitbake recipies for all the packages, which includes where they can be downloaded, the package metadata (such as dependencies and version numbers) and sometimes patches. These recipies reference upstream tarballs or subversion URLs. For the “native” ?OpenMoko applications, the source is in the OpenMoko subversion repository. One of the suggested ways of compiling software for the ?FreeRunner is by using a “toolchain” tarball, that can easily be extracted somewhere and used to build the software from the subversion repository, or other (hopefully autoconf’ed) software. This builds the binaries, but does not produce “proper” .ipk files, so no version number or dependencies. The other way is the full openembedded setup, made easy using the MokoMakefile. This, automatically, fetches and builds everything needed for the cross compiliation and all available packages, producing the same output as can be found on the openmoko servers. Setting this up requires about 6 gigabytes of storage and takes over a day the first time, but then hacking the phone is relatively painless, as it resolves dependencies and is self-contained. The communityFor a free software project, the state of the community is very important. The ?OpenMoko seems to suffer from a rush of interested people on the mailing lists, so it’s hard to follow real development in a mass of frequently asked questions and nice ideas from people who have neither an ?OpenMoko phone nor wil do any coding. On the other hand, it’s not easy for new contributers. I have written some code that make sure the phone can handle numbers such as 0172/123 456 instead of the “official” +49172123456 in the phonebook and the SMS app, something that other users have complained about as well. But no one could tell me where and how I should submit my patches, and the mail to the mailing list with the patches and the bug report is unanswered. It is not clear, at least to me, who is responsible for what part of the project – quite different to what I’m used to from Debian, where there is a clear list of maintainers for each package, and a well known way of submitting patches (by going through bugs.debian.org). For interested users, I have published my branch of the git repository at git.nomeata.de, and I will hopefully add more features and bugfixes later – at least when I find out how to properly contribute to ?OpenMoko. Posted Mon Jul 21 09:18:00 2008
Vaile’s gone
http://www.abc.net.au/news/stories/2008/07/19/2308522.htm Looks like Lyne will be going to the polls again. But will Labor run a candidate? Seeing how they won’t in Mayo, where Downer has a smaller margin than Vaile, it seems unlikely. I hope they do run, if only to provide a choice other than the Greens. If they could somehow convince Jamie Harrison to run for the ALP they’d have a good chance of getting a swing towards them - not that Harrison would do that, of course.
Report from LSM/RMLL 2008 on communautary development track
There’s probably much more to say than I’ll remember, but here’s an attempt at reporting from the excellent edition of RMLL/LSM which was held in Mont-de-Marsan (France) early july. I’ve been chairing one of the tracks, on Communautary
development, where I’ve had the pleasure to chair and attend
excellent presentations. The rest of the LSM/RMLL was very good
too, but being stuck in a room, I couldn’t attend much of it
To summ-up, there have been very interesting talks and discussions on the following subjects (links to descriptions of talks and their slides included) :
I hope the content was enjoyable to the audiance too (although I disturbed the presentations with my silly jokes or my facist approach to schedules ;). See you in next edition. Posted Tue Jul 15 15:00:20 2008
FLAC and OGG on your iPod
Thankfully he did not only rant, but provided the world with a cure. I also appreciate the ironic twist of suffering from the problem of having a music collection that is not proprietary enough. It is a bit like being daft enough to buy biofuel for your stealth bomber. As if the point of owning such a thing in the first place was to limit the damage.
Git, CIA and branch merging
Dear Joey, we also had this problem for dpkg, that’s why I hacked the /usr/local/bin/git-commit-notice script that we’re using on Alioth to do something like this instead: while read oldrev newrev refname; do branchname=${refname#refs/heads/} [ "$branchname" = "master" ] && branchname="" for merged in $(git rev-parse --not --branches | grep -v $(git rev-parse $refname) | git rev-list --reverse --stdin $oldrev..$newrev); do /usr/local/bin/git-ciabot.pl $merged $branchname done done It will stop git rev-list each time that it encounters a commit that is available in any of the other branches present in the repository and thus when you merge a branch, you only see the merge commit in CIA. You should also note that the script is smarter as it calls CIA only for branch updates, not for tag creation (and other kinds of updates) where it only leads to strange errors IIRC. Partagez cet article / Share This Posted Mon Jul 7 07:36:42 2008
HOWTO install HedgeWars (Worms clone) in an EEE PC
![]() Hedgewars, it's a Blast! This is the funniest and most addictive game you'll ever play - hilarious fun that you can enjoy anywhere, anytime. Hedgewars is a turn based strategy game but the real buzz is from watching the devastation caused by those pesky hedgehogs with those fantastic weapons - sneaky little blighters with a bad attitude!By popular demand, here's a (quick and simple) HOW TO of how to install this game on an EEE PC (where it runs awesomely):
deb http://www.backports.org/debian etch-backports main contrib non-free
Liberated and migrated
An hour ago the ttf-liberation
package finally migrated to Lenny, yay! In case this doesn't ring a
bell for you, check out wikipedia or
the original
announcement. Those are free fonts with the same metrics as
Times, Arial and Courier.
Shortcomings of the Nokia E51
I put the Nokia E51, which I had previously acquired, onto Ebay last night, and it sold within minutes. Even though I made a 50€ loss on the whole affair, this made me very happy! The phone is crap in so many ways that it made me quite angry. I now consider those 50€ the investment I had to make to bring you this post: First of all, the reason why I bought the phone was because it sports wireless LAN as well as Voice-over-IP. Since I’ve recently gotten into VoIP, I was looking for reasonable VoIP phones and even though the Siemens C450IP DECT phone works very well, it only does so at home, or where I find a switch port for it. So my theory was to get this Wifi+VoIP phone and be able to use my VoIP infrastructure from anywhere around the world. Penny has the Nokia E65 and loves it, so I went for the E51, a newer model that promised to address some of the issues she had with hers. All of the following is based on the E51 with the 100.34.20 firmware dated 29 September 2007, which runs the (crippled) Symbian S60r3 operating system. Good thingsLet’s start with the few good things up front: the E51 comes with a regular USB jack, allowing you to plug it into any computer and use it as mass storage device without the need for any Nokia-specific cables. I also liked the remote lock functionality: in the event of a stolen phone, you could send it a pre-defined “passphrase” that would cause the phone to lock itself. Also, the phone could be configured to lock itself (like a screensaver) after a given amount of idle time. Other than that, I could not find anything outstanding, so let’s turn to the downsides, of which there are many more: VoIP/SIP shortcomingsI had previously dismissed the E series phones for good reasons, but both the E65 and the E51 improved their SIP clients a fair bit, and with the SIP VoIP settings utility, it was even possible to configure STUN. But unfortunately, the SIP client, while a nice toy, ended up being unusable in production. Here are some of the reasons: I got VoIP working at home and in some other places, but
definitely not everywhere. It may be that some of those networks
blocked the SIP port ( To get the phone to log on to the SIP server automatically, I
had to define a home network for the SIP profile. Changing the
access point for that network required a phone reboot to get SIP
working again. It was possible to define multiple SIP profiles with
different access points and add them all to the one, global VoIP
profile, and theoretically get auto-login to work across multiple
Wifi networks; unfortunately, I cannot say that this worked, there
were always some problems requiring me to change defaults and shift
things around. Also, after I had defined a few of those profiles
and needed to make a change to the SIP settings (move the SIP port
to I found it mildly annoying that I couldn’t use One can define “Internet calls” to be the default call type, thus routing all calls via VoIP if available. Unfortunately, once I dialed a number, the event was hardwired to the call type: I could not redial a number used previously for a VoIP call when all I had available was GSM coverage. Gripes with the IMAP clientThe IMAP client, while an interesting addition to my day, turned out to be pretty unusable. The first mistake I made was to tell it to synchronise all messages in some of my larger mailboxes, which caused the phone to take tens of seconds until it switched a folder, and a few seconds just to scroll to the next screen in any given folder. I found that once any mailbox accumulates more than 100 messages, the client turns useless (Nokia’s default is to synchronise 30 messages). I could tell the client to synchronise every hour, but only if I locked it to an access point, the “home network”. If I roamed to a different Wifi network, I could no longer connect to the IMAP server, as this access point would not be found. The phone would not let me use a different access point unless I changed the home access point, but changing that turned off the automatic mail sycnhronisation. If I say mail synchronisation, I mean header synchronisation. Even though there is an option for “Headers only”, it only applies to POP3; it is impossible to have the phone download message bodies automatically, only manually and then only per-message or per-folder, not for all folders at once. The IMAP client could delete messages, but it could not move a message to a different folder, nor create or delete folders. And even though I could turn off the message tone the phone would play when it received new email, it insisted on vibrating nevertheless. The only other IMAP client I found for Symbian phones is ProfiMail, which looked interesting and much more powerful, but which would randomly crash on me while browsing or operating on larger mailboxes. Connection hickupsWhile the an application was running that was using the network, the Wifi connection stayed open, but I could not make it stay open between sessions. The phone would obtains an IP, do what I asked it to, and then immediately close the connection. From a power management perspective, this makes sense, but not from the usability angle. I could not make the phone connect to a Wifi network that advertised both, WPA and WPA2 and had to disable WPA at home to let it connect. At times, it was not possible to reuse an existing connection. I haven’t been able to figure out the details, but it seemed to me that whenever an application like the IMAP client was locked to an access point, it would be unable to make a connection to the IMAP server, even if e.g. the VoIP client was connected to the server by way of exactly the same access point. The phone would just say that “a connection was already active” and that I should “close it and try again”. I had a really hard time working with SSL-enabled websites and IMAP servers, because even though the phone presented me with the server certificate and offered the choice of accepting it permanently, it didn’t and would ask the question again and again (which made the phone pretty unusable if the IMAP client was running in the background). Only after I had found out how to import the CACert root certificates, did this problem become irrelevant. Other pet-peevesThe phone came with a lot of smaller issues that made me ask the question of whether its designed ever had to use it too often. Possibly the most annoying aspect of the phone was its speed. It’s a lot faster than the E61, but it still takes on the order of seconds to update screens or display simple text messages. Speaking of text messages, I am a little spoiled by the Sony Ericsson K610i (to which I now return), which would offer the contacts with whom I’d recently interacted instead of presenting me with the full list, like the E51 does. I could filter the full list, but only by typing the start of the name — substring matching was not implemented. It was impossible to receive text files via bluetooth and have them put onto the filesystem. On receipt, the phone just said “text file saved”, and it took me a while to figure out that it had stored them into the notepad, from where it could not be exported. To get my SSH identity onto the filesystem for PuTTY to use required me to access the phone via USB. The phone could receive vCards with new contacts, but it only offered to import the first contact, even though the standard allows for an arbitrary number of contacts per file. What’s even worse though is that the phone silently failed to import contacts with non-ASCII characters in their name, such as Ä or Å — they just didn’t show up even though the phone gave every indication of a successful import; creating such contacts on the phone worked, on the other hand. Each time I started the phone, the Nokia greeting screen would show up, accompanied with the Nokia tune, which could not be disabled. Enough said. The last problem I feel worth mentioning is hardly a Nokia or Symbian problem: battery life. With Wifi turned on, the phone would last about 24 hours on standby, which makes it pretty unusable for roaming Wifi or even VoIP usage. Summing upI am happy to have sold the phone and look forward to returning to my Sony Ericsson K610i. After checking out the E61/E71 a bit, playing with the E65, and trying the E51 out for several weeks, I can conclude that Nokia has a long way to go before they can offer a usable smartphone with Wifi/VoIP capability. It would be a good step forward if they would open-source the Symbian operating system, but until that’s done, I am going to look at the OpenMoko ?FreeRunner next. The E51 once again made it perfectly clear for me that proprietary software is no alternative for my use case. NP: Fat Freddy’s Drop: Live at the Matterhorn Posted Sat Jun 28 11:18:21 2008
Tatort: quality television
When I got home last night, I couldn’t sleep and instead popped a DVD into the drive and sat back to watch an episode of the famous Tatort series (German only). Tatort (“crime site”) episodes tell the tale of police investigations, but without stuntmen and special effects, without sci-fi elements or threadbare settings and stories, without technology and gadgets. In fact, it just feels plain as if it could happen next door tomorrow. The characters are normal as you and I, but played beautifully, with witty and enjoyable dialogues, which seem familiar and natural to me as a German, rather than trying to be funny or cool. Yet, the two main investigators, Batic and Leitmayr, are awesome and it’s good fun to watch them inch towards solving the mysteries. I watched the episode “Norbert”, and I really enjoyed it. The plot is full of surprises, and the viewer is (purposely) mislead on various occasions. It was suspenseful until the end. I’ve seen maybe 20 of the thousands of episodes (it airs every Sunday night since 1970), and this one was so far my favourite. Quality television! It’s a shame the (Dutch) DVDs I have do not have English subtitles. NP: Dimmer: I Believe You Are a Star Posted Sat Jun 28 09:16:28 2008
Sivember
Please remind me to take November off and have some holidays.
khtxbye
Posted Thu Jun 26 22:53:40 2008
Euro 2008 rage
As some of you may know, the Euro 2008 football championships are on in Austria and Switzerland at the moment. I am not a football fan at all, although I won’t mind watching a game between two skilled and fairplaying teams (which is becoming a rarity, I heard). But I don’t care much about it, unless it negatively affects those who don’t care (which includes myself). For instance, last night, after Germany beat Turkey in the semi-finals, a group of hooligans roamed about in Dresden and vandalised Turkish food shops and hurt the people working there (German only). I can kind of understand fans getting overly excited and driving their cars madly through the city, honking the horns at frequencies directly proportional to their cumulative personality disorders (or inversely proportional to their penis size), but violence in reaction to winning? Fuck you, you low pieces of shit. ! Update: there seems to be no information on whether the attackers were German. A foreigner living in Berlin has written in to complain that my blog post casts a negative light onto Germany in terms of hostility towards foreigners, which he disputes. Germany has had to fight that image for decades, and my blog post puts fresh petrol on the fire. I do not intend that. I leave it up to each individual to make up their own mind, and to me, a group of hooligans is in no way representative of an entire nation. End update Quite clearly, there are people on the street who should be locked up. I won’t go there though, at least not in this post. Instead, let’s talk more about football and its effects, because encouraging this sort of violence is only one of many consequences, which we are forced to tolerate in the interest of the public. Everyone wants football, right? What follows are somewhat related, but otherwise incoherent rants. Enjoy, or stop reading. I’m not a misanthrope, I think. There are many other aspects of this football event which make me want to throw up. One of them is the (sight of the) average organism who participates in the craze. Look at them! Monkeys are more intelligent than that! Has evolution taken a 180 degree turn? Of course, you can’t blame the individuals, as their brains have been flooded and effectively shut off, so they don’t make any trouble when they trott along the path to dumbification. It’s the big companies and the media industry, blinded by short sight, do everything in their power to speed up this decline, fueling the consumerism of the stupified morons making up our the populace, just for the paycheck at the end of the day. The UEFA is primarily a huge money-making machine, and if you want more information on that I suggest that you look a bit into the distribution of media rights for the event. Another instance, which has a little more relevance to the normal person on the street is their ticket distribution: people have to pay hundreds of Euros to UEFA a year before the event for a “chance” to be given a ticket for any random day. The ticket is made out in their name and cannot be transferred. If you can’t make the game, you can return the ticket to get you money back… after the event. If you don’t get a ticket, you’ll also get your money back… a year later. Interest-free loans, anyone? But hey, I actually don’t care about most of that. Let those who want to consume consume, let those who can’t entertain themselves watch television, let the UEFA and media people get rich by making people stupid, and let me go about my daily business. We held a small barbeque party some days ago, and I went out to buy a few kegs of beer from a local brewery. That was my first confrontation with the football circus, as the brewery happens to be about half a kilometre from the stadium where a match was on that night. It took me at least 40 minutes until I had argued successfully with five police officers and could pick up the kegs. Swap brewery for any of the other shops in the area, who did not receive any compensation whatsoever, and you’ll note how the football circus takes priority over everyone’s everyday life, even if you don’t give a single flying food for the sport. I love Zurich, and just like most people, taking a stroll along the lakeside, between Bellevue and the Chinese Garden on a sunny afternoon is one of the more delightful ways to spend time in the city and enjoy its beauty… unless they are putting up massive “public viewing areas” everywhere (and make shitloads of noise in doing so), and even dump elevated “VIP platforms” into the lake to add noise in the view to the noise in the ear. The official entities of Switzerland surely pushed for the event, as it drives tourism and brings money into the country. But were the people actually considered? Could we have done anything against this craze? I bet noone ever asked. I find it very sad how much garbage these fan monkeys produce. Switzerland is well-organised, and there are plenty of garbage cans around, many of which have been put in place specifically for the event, but it’s already too much to ask of these low organisms to put the shit left from their consumption into those bins. And I won’t even go near the question of how much energy this entire event wastes. Yay entertainment! Yay stupification of the populace! If you have football to celebrate, you don’t have to consider the environment, or poverty, or other such annoying issues. Sunday night, the circus will come to an end, and what’ll be left is a few days of cleaning and tearing down all the structures. Then this place will finally retun back to normal, and there’ll be a little less idiots on the street, at least in the places I frequent. NP: Dimmer: There My Dear Posted Thu Jun 26 10:39:22 2008
Installing Second Life on an EEE PC
I've been playing with an EEE PC lately. This 299€
(in Portugal) GNU/Linux ASUS laptop is awsome, and I'm really happy
that ASUS did it. They did some mistakes, like using Xandros Server
2.0 as base for their distro, making me think, for instance, that
if I had one of these I would replace their Operating System with
something like Debian
Eee PC, eeexubuntu or
even eeedora. I
might write about my thoughts on EEE PC later, but for now, a quick
HOWTO (because I think this isn't documented nowhere) on installing
Second Life on EEE PC.
HOWTO Install Second Life on an EEE PC:
Regarding to using Second Life itself, you'll notice that the windowed view assumes a bigger resolution than the one you have, so I recommend you to start by going to the options, changing the ratio scale and remove the windowed mode. Et voilá, you're on Second Life! ![]()
Samsung Q-series laptops and Linux
Dear lazyweb: I’ve been a satisfied IBM Thinkpad X40 user for about three years, and the fact that the X40 is still one of the most commonly seen laptops at geek conferences speaks for the machine. However, as my baby’s end-of-warranty approaches, I am toying with the thought of a new laptop, with which I’d also like to address some of the issues I have with the X40, namely that it supports at most 1024x768 pixels on the screen, is limited to 1.8” harddrives (which to my knowledge come in 40Gb and 60Gb variants only and are quite slow), and whose Pentium M 1.4GHz processor often reaches its limits, even though I rarely do very computationally-intensive stuff. On the other hand, I get a good 4 hours of battery run-time out of the machine. The Lenovo Thinkpad X61 would be a logical successor, but it has not won me over: it looks and feels a bit clunkier, has under 3 hours of battery time, and the screen is still limited to 1024x768 pixels. There’s the Lenovo Thinkpad X300, which comes with a 64Gb solid-state disk which will weigh even less on the battery, but the the machine is still too expensive, it’s first generation (meaning it’ll have more problems than a second generation issue), and the options for extending the storage capacity seem limited. While visiting Penny in London,
we passed by a number of electronics stores, and the Samsung
Q45 and
Q70 models attracted our attention. We would love to hear any
feedback from owners out there (and maybe you could send us the
output of The “ultra-mobile” Q45 (which would be a Thinkpad X-series competitor) comes with an Intel Core Solo, Duo, or Duo 2 processor, clocked at 1.6GHz, an Intel graphics card and the 3945BG wireless chipset (or its 4xxx successor), uses a 2.5” harddrive, and its 12.1” screen can display a resolution of 1280x800 pixels. It weight just under 2kg. We’ve seen models with 3Gb of RAM and a 320Gb harddrive for a little over 1000€. The “business class” Q70 (a Thinkpad T-series competitor) has an Intel Core 2 Duo processor clocked between 1.8GHz and 2.4GHz, and its 13.1” display can also display 1280x800 pixels. It seems like it will require a bit of effort to find one with an Intel graphics card, though — I am not going to get a laptop with anything else, mainly because of Intel’s excellent dedication to open source. The devices are over 2kg in weight, and a 3Gb RAM, 320Gb harddrive version costs about 1400€. Does anyone have experience with these laptops and could speak for or against them? Also, what other laptops (not desktop replacements or lap warmers) might be worth looking at? You can leave a comment, or write to me. Thanks! NP: Oceansize: Frames Posted Sun Jun 22 20:04:47 2008
there is no fair use and no fair trials - YOU are the enemy
"The Motion Picture Association of America said Friday
intellectual-property holders should have the right to collect
damages, perhaps as much as $150,000 per copyright violation,
without having to prove infringement."
Preventing mail loss due to braindead IMAP clients
It happened a number of times now that my inbox would shrink in message count without my explicit doing. Generally, your inbox automatically emptying should be conceived a good thing, but it isn’t always. It took me a while to put together the pieces:
I think I unvealed the mystery: some IMAP clients automatically mark read messages as deleted. Don’t ask me why, I did not configure it, and even though I told Thunderbird specifically not to do it, I have no other explanation than to assume that it doesn’t care about what I want, but marks them for deletion anyway. Firefox decides to block cookies several times a day, despite my explicit requests to store them, and the two are from the same project, so it seems plausible. Once marked for deletion (by way of an IMAP flag),
I gave up fighting and solved the problem at a different point, namely mutt (which was doing the deleting anyway):
Since I can’t see any negative consequences of the above hook. NP: Oceansize: Efflorescence Posted Sat Jun 21 06:06:30 2008
Upload your websites with bzr-upload
I was lucky enough to be able to attend the Bazaar Sprint back
in March, mostly thanks to Canonical sponsoring my entire trip
across the globe Long story short, Vincent asked some questions, sat down, wrote tests, wrote code to work with those tests (TDD, FTW), and after some fiddling, we can now upload websites (and anything else, actually) using bzr’s knowledge of what we’ve changed, and it’s solid transport libraries (ftp, sftp). So… how does this work? Simple. Now that we have the plugin installed, go to the branch
containing your website, and with a simple: Done! Did more work?
That’s it! bzr-upload will remember the last revision you uploaded, and make sure it only sends what you’ve changed. Project’s page: https://launchpad.net/bzr-upload Comments, feedback, patches, etc are very welcome. Posted Sat Jun 21 02:37:20 2008
Auto-subscribing to Debian bugs I file
It happens from time to time that bug reports I file receive attention, but I don’t notice because our bug tracking system still does not auto-subscribe bug submitters to their own bugs (see bug #37078 and bug #351856). I thus decided to take the matter into my own hands. Just in time, before I started hacking this up myself, I found
Justin Pryzby’s
procmail recipies, which are installed to
For completeness, I also wanted to subscribe to all bugs that I
have submitted. This turned out to be easier than I thought, thanks
to
NP: The Dukes of Leisure: The Dukes of Leisure Posted Fri Jun 20 10:17:37 2008
IPv6 with Debian
Even though I’ve dealt with IPv6 for almost a decade, have delivered presentations, and given multi-day courses on IPv6 security aspects, I’ve never actually added IPv6 to my own server/home network infrastructure because it seemed that Linux and/or Debian just weren’t ready for it. This seems to have changed (although there are still a number of problems) and in less than a day, I put a few of my machines online. In the following, I’d like to share with you how I did it. Kernel versions and stateful connection trackingUnfortunately, I have to start off with some bad news: even though Debian etch, our current stable release, which uses a Linux kernel version 2.6.18, speaks IPv6, I cannot recommend it for deployment, as the 2.6.18 kernel does not support proper stateful connection tracking for IPv6, and thus makes it impossible to firewall hosts in a sensible manner (I always add local packet filters to all my hosts, and if only to guard against the situation when a user installs a malicious programme to listen on a high port). Of course, it is possible to configure a packet filter statelessly in an acceptable manner once you know the use case, so do with this information what you wish; I prefer to stay general for now. For me, a remedy is almost around the corner: the 2.6.24 kernel seems to support stateful connection tracking for IPv6, and it’s even available for etch as it will be included in the upcoming etch-and-a-half release. I simply ended up using the kernel packages pre-release, and so far have not had a problem with it. To do so, add the following line to your
I then just upgraded the system and pulled in all proposed
updates. As that may have let in software that won’t be part of
etch-and-a-half, or even lenny, you may want to pin the archive and
only upgrade the kernel packages, by adding to
Alternatively, you could use the 2.6.24 linux kernel packages on backports.org. Xen and IPv6One drawback of switching to 2.6.24 is that you cannot run a
Configuring the packet filterThe first thing I did was to configure the packet filter on each
host appropriately. Unfortunately, this is harder than it should
be, because — to quote one of the netfilter developers — “when ip6tables
was conceived, someone had a big bad brainfart”: rather than adding
IPv6 rules to your existing Anyway, we want to get stuff working now! Thus, let’s configure
ourselves a packet filter. (Almost) all IPv6-related filtering must
be configured via
Note that this recipe is pretty much unusable on pre-2.6.20 kernels due to their broken implementation of stateful connection tracking. The ruleset should be fairly obvious, but you might wonder about
my use of Well, to hell with all that! I don’t see a single reason or
attack vector that is foiled by Then there is RFC 4890, which almost made me puke. This document is part of the reason why I say: let’s fix problems in the kernel, rather than shielding them with unreadable and unmanageable rulesets! Getting connectedIf you already have an IPv6 address, you’re basically ready to go, but may want to read further down on how to connect your local network to the IPv6 Internet as well. If you are searching for a provider, have a look at the list of providers with native IPv6 connectivity over at sixxs.net. If you are reading up to here, I assume you are connected to the
‘Net with IPv4. There are two ways for you to move towards IPv6:
6to4 or by way of a
tunnel provider. A Kiwi website explains how to setting up 6to4
connectivity, and thus I will concentrate only on the tunnel
approach. Even though everyone can set up
With the tunnel approach, IPv6 packets are wrapped up in IPv4
packets on your host, and sent to the IPv4 address of your tunnel
provider, who has native IPv6 connectivity. The tunnel provider
unwraps your packet and shoves the contained IPv6 packet onto the
backbone. The IPv6 address you used as source address is routed to
the tunnel provider, so any replies arrive at their machines, where
they’re again wrapped into IPv4 packets and sent to your
(publicly-accessible) IPv4 address. Those IPv4 packets specify
payload type 41 (“ipv6”), which is why we need those There are a few tunnel providers out there. I chose SixXS and have not regretted my choice. I shall thus assume that you do the same: sign up for an account right now, so that you have it by the time you finished reading this document! SixXS works on a credit system: tunnels and subnets cost credits, which you can accumulate by maintaining your tunnels properly. This ensures that everyone can play around, but to do more advanced stuff, you need to first display competence with the basic concepts. Your first step with SixXS will be to request a tunnel. SixXS offers three types of tunnels:
Each of these tunnels have advantages and disadvantages, as
everything does: the first two types of tunnels use IP protocol 41
packets to encapsulate the IPv6 packets. As such, there are
security considerations involving the impersonation by spoofing,
and all upstream firewalls must let protocol 41 pass.
I suggest to use the first type of tunnel that fits your
situation. Debian’s aiccu package can take care
of heartbeat and During registration, you will also need to choose a “PoP”, which
stands for “Point of Presence”. If your country only has a single
PoP, that’s the one you will end up using (unless you have a good
reason for another one), but if there are more options, I strongly
suggest that you go through the list of ?PoPs and select the one with the best roundtrip
time and lowest latency from your location! Note that you
must answer ping requests ( Once your tunnel request gets approved, you’ll get a
Joey Hess taught me that
Make sure to read about MTU values of the tunnel and adjust the 1480 value in the above to your tunnel settings and ISP connectivity. Also set Unfortunately, this will probably not work. The reason is that
your regular IP packet filter (
For AYIYA, you need to open port 5072, either for UDP, TCP, or SCTP, depending on how you configured it. Also have a look at this FAQ entry on what a firewall needs to pass. If it still doesn’t work, you have an upstream packet filter that needs some of those holes poked. Good luck. In most situations, the Now bring up the interface and verify the connection:
Welcome to the Internet of the future! Setting up an IPv6-capable gatewayYour IPv6 connection works, but it’s limited to a single
address, and you do not get to specify the reverse DNS
First, request a subnet for your tunnel from your PoP via your
SixXS homepage. Once approved, you will get a The way I set it up is to add the first of these addresses to
your internal interface on the gateway, by adding the following two
lines to the interface’s stanza in
Instead of bringing the interface down and up, just run The
Now is also a good time to enable IPv6 forwarding, e.g. like so:
Obviously, you will also need to change the policy on the
Bringing IPv6 to your local networkThe final step is to spread the love to your local network. Refrain from selecting addresses from your subnet and assigning them to the local hosts, or wondering how to configure the DHCP server, because IPv6 does it differently: your gateway will advertise its routes (which includes a default route) to your network, and each host will pick an address based on its MAC address (unless it already has an EUI-64 address assigned. This all happens automagically, at least with current Debian and Windows machines. On the gateway, you need to install radvd and simply tell it
which prefix to use on which interface. My
Note again how we advertise a Restart If you don’t like the automagic aspect of this, look into stateful configuration, using DHCPv6, as provided by dibbler-server and ?wide-dhcpv6-server. Resolving namesTake note of the IPv6 address of each host. There’s a way to
determine it given the host’s MAC address, but this is easier
(ipv6calc is also
useful). You might want to let your local DNS server know by adding
If you’re serious about IPv6, you can tell SixXS to delegate reverse lookups for the IPv6 addresses to your DNS servers, but you ought to refrain from polluting the DNS namespace. Note that bind9-host provides
an improved
Oh, and if you’re really that curious about how IPv6 addresses
are computed from MAC addresses, read RFC 2464. Basically,
given a prefix
If you find your (Windows) IPv6 addresses changing all the time, you might be faced by “privacy features”. Remaining issuesEven though my IPv6 connectivity works, I have two remaining issues. Sending larger amounts of data to the networkI am experiencing a curious issue where outgoing ssh IPv6 connections time out and outgoing data transfers hiccup. I have yet to find out what’s going on. Mapping names to laptopsLaptops generally have two interfaces, one with a cable, and the other wireless. Both of these interfaces will have separate MAC addresses, and by extension, the laptop will have different IPv6 addresses depending on how it is connected to the local network. I want to be able to connect to laptops without knowing the medium they use to connect to the network. Unfortunately, there seems to be no feasible way. The solutions I see are:
The second solution works for me for now, but I am interested in the third. In response to this document, Andreas Henriksson has suggested
the replace the stateless configuration ( Jeroen Massar suggests to unite cable and wireless into a bridged interface, which seems like a very good idea. CreditsThanks to Bernhard Schmidt, William Boughton, and Jeroen Massar,
and everyone on
MySQL migrates to Bazaar!
This just in, MySQL has
migrated from ?BitKeeper to Bazaar. They also seem to be
using Launchpad quite
extensively, and have already updated their
installation from source instructions. Congratulations to all the Canonical folks to helped with the
move (I hear John and
Elliot had a lot to do with
it in particular), and welcome ?MySQLers
Tips for those trying to blow up planes
If you’re trying to blow up an airplane, and you’re hip and plan to use liquids to take down the silver bird, the following tips may be useful to you:
Of course, if you’re serious about blowing up an aircraft, you’re probably not going to need any of the above, as you’ll already have a more convenient way to get your substances on the plane. At the checkpoint, you’ll behave like the perfect citizen abiding by all rules; you wouldn’t want to arouse suspicion, now would you? PS: this post purposely avoids the use of the word “terrorist”. PPS: of all the great experiences in airports this week, I especially loved how passengers, who checked in at the counters (and had to present their passports there), were again checked after border control in Düsseldorf, while passengers like myself, who used the quick check-in terminals, were just waved through. NP: Disturbed: The Sickness Posted Wed Jun 18 10:11:06 2008
Links:
planets
|

