<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Daniel Bennett wrote:
<blockquote
cite="mid:c13fbca20904251017k78e0c635sc37a5534b9e31bba@mail.gmail.com"
type="cite">I just sent this to Reuben. I have done some digging
through the log file and haven't seen anything useful. Do I perhaps
need to set the ejabberd.cfg file to 5:debug instead of 4:Verbose? i
remember seeing something about that inside it.
<div><br>
</div>
<div>Unfortunately, we we haven't set up a GUI, web browser, or
emailing capabilities of any kind on the server itself so emailing the
log file will be a roadblock for me. I haven't worked in linux for
about 5 years now until trying to tackle this project. I'm relearning
how to do basic things like ls, pipe to less, and use vi for simple
text edits. Setting that stuff up is likely to take a loooong time.
Is there anything specific I can do offline to find what you're hoping
for inside. In writing you this email I just recalled the existence of
grep. is there something I could grep for in the log file and give you
some feedback on it? </div>
<div><br>
</div>
<div>On the subject of following instructions, there have been two
of us working on the server, sometimes one at a time so I can't <span
class="Apple-style-span" style="font-style: italic;">guarantee</span> that
we've followed them to a T, but we both believe that we have. We've
gone so far as to rerun the initial scripts, recheck hostname, reset
the acl lines in ejabberd.cfg repeatedly, connect to the jabber server
with 2 different jabber clients (which has been successful, we've
chatted back and forth using our server. <br>
</div>
</blockquote>
<br>
<blockquote
cite="mid:c13fbca20904251017k78e0c635sc37a5534b9e31bba@mail.gmail.com"
type="cite">
<div>We just can't access the admin inteface at <a
moz-do-not-send="true" href="http://192.168.0.162:5280/admin">http://192.168.0.162:5280/admin</a>,
we keep getting 401 unauthorized), read every wiki page that sounded
remotely relevant, etc.</div>
<div><br>
</div>
</blockquote>
Where is this IP coming from? How are you changing this?<br>
<br>
Martin, also note (below) they have one nic.. Can you remind us what
the default behavior is for one nic?<br>
<br>
<blockquote
cite="mid:c13fbca20904251017k78e0c635sc37a5534b9e31bba@mail.gmail.com"
type="cite">
<div>And we've been following hunches at each step so we have pulled
some of the instructions out of related pages from the wiki.</div>
<div><br>
</div>
<div>I've been careful to comment out all of the original lines in
the ejabberd.cfg file and mark all of my changes for easy resetting of
each segment to it's original state. Which I've since done. So
theoretically, the file should be in it's original state except for the
{acl, admin {... line that we added to give admin privs to our sample
user. </div>
<div><br>
</div>
<div>But of course, I could have made missed something. However, the
server is still working fine when we connect via 3rd party clients
(pidgin pis), so I don't think I've done anything critical...</div>
<div><br>
</div>
<div>Let me know if I should grep anything out of the log file for
you.</div>
<div><br>
</div>
<div>Thanks for the help!</div>
<div>-Dan<br>
<br>
<div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">Daniel Bennett</b> <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:dantana@gmail.com">dantana@gmail.com</a>></span><br>
Date: Sat, Apr 25, 2009 at 5:57 PM<br>
Subject: Re: [Server-devel] Hoping for assistance with XS 0.5
configuration difficulties (ejabberd)<br>
To: "Reuben K. Caron" <<a moz-do-not-send="true"
href="mailto:reuben@laptop.org">reuben@laptop.org</a>><br>
Cc: Michael Ishaku <<a moz-do-not-send="true"
href="mailto:michaelishaku@gmail.com">michaelishaku@gmail.com</a>><br>
<br>
<br>
Reuben,
<div><br>
</div>
<div>Thank you for the quick reply and the hints. I've cc'd Michael
Ishaku on this thread. He's and I have been working on this issue
together and he is going to be administering the server once I head
back to the states.</div>
<div><br>
</div>
<div>I've replied to your statements inline below to the best of my
ability. Please take a look.</div>
<div><br>
<div class="gmail_quote">
<div class="im">
<blockquote>On Sat, Apr 25, 2009 at 5:19 PM, Reuben K. Caron <span
dir="ltr"><<a moz-do-not-send="true" href="mailto:reuben@laptop.org"
target="_blank">reuben@laptop.org</a>></span> wrote:<br>
</blockquote>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Daniel,<br>
<br>
I am sorry to hear about all your difficulties. I'd like to work with
you to get this to work.<br>
<br>
If you cannot enter the ejabberd web interface to setup the online
group then XOs will not collaborate.<br>
<br>
I'd like to know about your hardware, 2 nics or 1?</blockquote>
</div>
<div><span style="color: rgb(51, 51, 255);">We have one LAN card for
ethernet, but have also installed a wireless networking card for
communication with Access Points. That should work, right? I'm really
no IT professional... :)</span> </div>
<div class="im">
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
I'm sure you have read through this but please be sure to follow this
line by line:<br>
<br>
<a moz-do-not-send="true"
href="http://wiki.laptop.org/go/XS_Installing_Software#Initial_Configuration"
target="_blank">http://wiki.laptop.org/go/XS_Installing_Software#Initial_Configuration</a><br>
<br>
One particular point I'd like to make in the instructions is this:<br>
<br>
--->Set the hostname of the machine like this (until we fix bug
8983) by editing /etc/sysconfig/network to set HOSTNAME=<a
moz-do-not-send="true" href="http://schoolserver.example.org"
target="_blank">schoolserver.example.org</a><br>
</blockquote>
<div><br>
</div>
</div>
<div><span style="color: rgb(51, 51, 255);">contents of
/etc/sysconfig/network:</span></div>
<div><span style="color: rgb(51, 51, 255);">NETWORKING=yes</span></div>
<div><span style="color: rgb(51, 51, 255);">HOSTNAME=<a
moz-do-not-send="true" href="http://schoolserver.lccnyola.org"
target="_blank">schoolserver.lccnyola.org</a> </span></div>
<div><span style="color: rgb(51, 51, 255);">~</span></div>
<div><span style="color: rgb(51, 51, 255);">~</span></div>
<div><span style="color: rgb(51, 51, 255);">"/etc/sysconfig/network"
2L, 50C</span></div>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
-->and restarting.</blockquote>
<div> </div>
<div><span style="color: rgb(51, 51, 255);">We had this problem
yesterday when we left, and when i arrived this morning I had to turn
the server back on (it had powered off overnight due to the generator
being shut down and the UPS running out of juice). I'm fairly certain
that we tried rebooting a couple of times during the day yesterday as
well. I'm certain that we used the command shell to: service ejabberd
restart many many times both days. This would cover the
restarting, right?</span> </div>
<div class="im">
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
It is important to restart before moving on; otherwise, the ejabberd db
will be intialized using the wrong domain.<br>
<br>
Is the bandwidth too limited to download the new 0.5.2 ISO? If yes, I'd
recommend a fresh install, connect to internet, and then after install
run: yum update. After an up to date install run through the setup
steps.<br>
</blockquote>
<div><br>
</div>
</div>
<div><span style="color: rgb(51, 51, 255);">I left the states on
3/23/09. I believe that 0.5.2 was released on 3/18/09. This is the
file name for the image I brought with me (and that we are currently
running: OLPC-School-Server-0.5.2-i386.iso</span></div>
<div><span style="color: rgb(51, 51, 255);">we could probably
download a fresh image with 12/24 hours if it were really critical, but
I'd like to avoid that much waiting around if possible.</span></div>
<div class="im">
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
It appears you have dived into the ejabberd.conf file. Good for you!
But I'd like to note you shouldn't have to perform this. The linked
directions have worked for me on many installs on much different
hardware.<br>
<br>
Does the XS have a public IP address?</blockquote>
<div><br>
</div>
</div>
<div><span style="color: rgb(51, 51, 255);">Michael works in the
building where we are temporarily housing the XS and when i asked him
if it would be possible for me to access it remotely he said that
unfortunately the entire building is a sub-network of some kind that is
managed by University staff from a separate location. We've plugged
our hardware into the LAN port here and it's found a local IP address
of 192.168.0.162. That's how we've been accessing the <a
moz-do-not-send="true" href="http://192.168.0.162:5280/admin"
target="_blank">http://192.168.0.162:5280/admin</a> interface. Or,
failing to access it depending upon your take on the situation.</span></div>
<div><span style="color: rgb(51, 51, 255);"><br>
</span></div>
<div><span style="color: rgb(51, 51, 255);">That all means no public
IP address, right?</span></div>
<div class="im">
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Let's get this working :-)<br>
</blockquote>
<div><span style="color: rgb(51, 51, 255);"><br>
</span></div>
</div>
<div><span style="color: rgb(51, 51, 255);">Please, let's! I'll
probably head for dinner sometime relatively soon, but come back and
check mail an hour or so later if you have a chance to reply.</span></div>
<div><span style="color: rgb(51, 51, 255);"><br>
</span></div>
<div><span style="color: rgb(51, 51, 255);">Thanks again for the help!</span></div>
<div><span style="color: rgb(51, 51, 255);">-Dan </span></div>
<div class="im">
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Reuben<br>
<br>
Daniel Bennett wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Hi all, <br>
I am working on an unofficial 100 XO pilot project in Jimeta, Nigeria
until the end of the month and I've run into a wall configuring the
school server. I outlined it on IRC before bringing it here. Because
of the time difference and inconsistent internet connection, email is
probably a better medium for assistance.<br>
<br>
I hope that someone can help. I really need to move through this issue
as quickly as possible if we're going to have a working school server
at this deployment before Ieave town next Saturday morning. There is
much left to do besides tackling the XS. <br>
Thanks!<br>
-Dan<br>
<br>
</div>
dbennetthi all, I'm working on a deployment in Nigeria this afternoon
and we are having a tough time getting the XS jabber server web admin
interface to work16:05dbennettwe have managed to get it to prompt for a
user/pass combo which seems to require <a class="moz-txt-link-abbreviated" href="mailto:user@node.domain">user@node.domain</a> which in my
case is <a class="moz-txt-link-abbreviated" href="mailto:dan@schoolserver.lccnyola.org16:06dbennettif">dan@schoolserver.lccnyola.org16:06dbennettif</a> we get any part of
that or the password in correct, it just empties both fields of the
prompt and waits for new info. However, if we enter user@fqdn as I
showed above and enter the correct password then it accepts our input
and the prompt disappears. However, all it returns is a "401
Unauthorized" page16:11dbennettWe've added the: {acl admin {user,
"dan", "<a moz-do-not-send="true"
href="http://schoolserver.lccnyola.org" target="_blank">schoolserver.lccnyola.org</a>
<<a moz-do-not-send="true" href="http://schoolserver.lccnyola.org"
target="_blank">http://schoolserver.lccnyola.org</a>>"}}. line to
the access control list in /etc/ejabberd/ejabberd.cfg16:11dbennettWe
are running XS 0.516:13dbennettWe are able to connect to the server
with multiple users via jabber clients like pidgin and psi. However, we
can't seem to get admin rights to stick to any of the users. I also
can't figure out if there are multiple types of admin rights (rights to
<a moz-do-not-send="true" href="http://server/admin/"
target="_blank">http://server/admin/</a>) vs admin rights within a
jabber client (show all online users, etc)16:18 *** jg joined
#olpc-devel <<a moz-do-not-send="true"
href="http://www.mibbit.com/chat/#" target="_blank">http://www.mibbit.com/chat/#</a>>16:18dbennettIf
anyone can lend any insight it would be much appreciated. This is my
3rd day working on this issue. I'm learning more bits about ejabberd,
but i've only got a week left before coming back to the states and
would like to have my local server admin running a working school
server before I leave. 16:52dbennettIf you reply to this later in the
day and I don't reply to your reply, PLEASE send your replies to the
email based version of this request sent to <a moz-do-not-send="true"
href="mailto:server-devel@lists.laptop.org" target="_blank">server-devel@lists.laptop.org</a>
<mailto:<a moz-do-not-send="true"
href="mailto:server-devel@lists.laptop.org" target="_blank">server-devel@lists.laptop.org</a>>
as I have only infrequent internet access, and no ability to use an
external IRC client from my present location. Thanks! -Dan<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Server-devel mailing list<br>
<a moz-do-not-send="true"
href="mailto:Server-devel@lists.laptop.org" target="_blank">Server-devel@lists.laptop.org</a><br>
<a moz-do-not-send="true"
href="http://lists.laptop.org/listinfo/server-devel" target="_blank">http://lists.laptop.org/listinfo/server-devel</a><br>
<br>
</blockquote>
<br>
</blockquote>
</div>
</div>
<br>
</div>
</div>
<br>
</div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Server-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Server-devel@lists.laptop.org">Server-devel@lists.laptop.org</a>
<a class="moz-txt-link-freetext" href="http://lists.laptop.org/listinfo/server-devel">http://lists.laptop.org/listinfo/server-devel</a>
</pre>
</blockquote>
<br>
</body>
</html>