OLPC Chicago Jabber Server
Posted on Mar 2, 2008
Today I spent a minute setting up a Ejabberd Server for the OLPC Chicago group. This will allow all of us OLPC XO hackers to be on the same “mesh.” To get started using the jabber server with your XO follow these simple steps:
Getting the server going was pretty simple. I was able to jump right in thanks to this awesome write up by Morgan Collett of Collabora. The install goes like this: you get your debian install primed, download the source, patch the source, compile the source, install the compiled binaries, edit the config, start the server and edit the server roster config. Then BAM you have a ejabberd server rocking and ready to go with your XO. The only caveat i ran into was that the config file from the ejabberd wiki page details using IPV6 because eventually all the laptops will be using IPV6 to get around. However, the server i used was balking at this - and kept crashing ejabberd with the MOST verbose errors ever (I.E. no error). When i finally figured out what the problem was, it was smooth sailing.
One thing to note - ejabberd is seriously business. Erlang is interesting to work with. I was lost for about 2 hours before I gave up trying to understand what was going on and just dived in. Then it didn’t make sense, but was working and I was happy.
It is really neat how the XO uses jabber to group people together. I really think that jabber is the future and seeing something use XMPP so elegantly is quite inspiring. I found one of the coolest parts of the implementation is how the rosters are forced to see everyone online - which i imagine is what powers the neighborhood view on the XO. This makes me wonder if this could be tweaked to create a more interactive or social networking aspect to the XO neighborhood.
One thing I would like to know about is how the XO uses the Multi User Chat features of the jabber server. I am not sure if the Chat Activity uses MUC to work, but it would be cool if you could chat with XO users with a regular user account on the jabber server by joining a specific room. I will have to research that.