02 Mar
Posted by Harper as Technology at 02:54 AM
Tags: chat, ejabberd, jabber, jabber server, jabber.olpchacks.org, olpc, olpc-chicago, xmpp
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:
- Boot the XO
- Get connected to the internet
- Open a terminal (activity or ctrl-alt-f1)
- in the shell, type: su -
- then type: sugar-control-panel -s jabber jabber.olpchacks.org
- then press ctrl-alt-erase to restart sugar/X
Once this is done, you should start to see other Chicago XOs. You will know you are successful if you see me (Harper) in the community view. Please let me know if you are able to get on, or if you are having trouble.
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.
Unique visitors to post: 9
5 Responses
Jacob
March 2nd, 2008 at 2:25 pm
1Nice work Harper! This works great!
GLOW
March 2nd, 2008 at 7:59 pm
2Good work! Do you plan to keep this going?
Harper
March 2nd, 2008 at 9:42 pm
3I plan to keep it up as long as makes sense. Which means i don’t plan to take it down.
I would like to release some way for people to interact with the OLPC users. I think that would be awesome. So until then, i won’t be bored with it.
Morgan Collett
March 3rd, 2008 at 2:30 am
4Harper, each shared activity uses a MUC. Unfortunately at this stage the MUC names and nicks are not human-friendly, but if you join the right MUC for a shared Chat, you can chat from a regular jabber client.
Harper
March 3rd, 2008 at 2:36 am
5Hi Morgan. Thanks for the comment.
I will have to play around with ejabberd to figure out how to get a list of MUCs. So then i could publish said list and allow outsiders to join.
Does it get all messy in the chat activity when people with without hashed start chatting?
Be sure and take a gander at my photos.
If you want to contact me click here to start a chat.
Status
follow me on Twitter
Pictures
Friends
Popular Tags
action awesome blogs books bush cell chicago chris colorado crobar dylan family food games google hacking harper hiromi humor india insane internet iraq job juggle juggling matiss metal movies music nokia phone php politic reed rock school search server sick Sites Technology travel video war
search
Categories
Archives
Recent Entries
Recent Comments
Most Commented
Nata2.org is © 1997-2008 Harper Reed. Theme stoled and inspired by the great BloggingPro theme by: Design Disease