[Server-devel] XS 0.5.1-dev03 with ejabberd goodness, kernel bling, Access Point workingness... looking for xmas testers

David Leeming leeming at pipolfastaem.gov.sb
Wed Dec 31 01:32:06 EST 2008


Hi Rueben,

 

.         I did all that you mention in my previous install (I forgot to
tell you about editing /etc/sysconfig/network

.         All the XOs were registered (from 8.2) and were repeatedly
deregistered and re-registered, I even deleted all the ejabberd data and
started again but still observe this issue

.         I tried upgrading to 5.1 (the image dated Dec 24th) and that was
achieved successfully but then discovered that ejabberd is no longer running
(status reports : "Node ejabbered at schoolserver1 is started. Status: started.
ejabbered is not running" (sic). The 4 laptops are all showing as connected
to school mesh, and can see each other, but are using Telepathy type
"salut". This happened before - I got it going again by deleting all the
ejabberd data.

.         Ejabberd data deleted, all XO s deregistered and reregistered and
still no joy....

 

I want to do a new install but can you let me know if I can install Samba
and how to set up access to a shared folder on a Windows PC on the LAN as I
have a large content collection and it takes ages to copy it all again by
flash drive. Or maybe there is a better way to do it. 

 

BTW downloading each new 500MB+ image is extremely difficult or impossible
in most of the 26 countries in the Pacific Islands. When I work in PNG you
have to stay in hotels in Port Moresby where there is no generally available
DSL and wireless access is only available at the hotels at USD 30 for 100MB.


 

 

David Leeming

Technical Advisor, People First Network, Honiara, Solomon Islands

Alternative email address: leemingdavid at yahoo.com.au 

 

 

From: Reuben Caron [mailto:caron.reuben at gmail.com] On Behalf Of Reuben K.
Caron
Sent: Wednesday, 31 December 2008 3:30 a.m.
To: David Leeming
Cc: 'XS Devel'; 'Martin Langhoff'
Subject: Re: [Server-devel] XS 0.5.1-dev03 with ejabberd goodness, kernel
bling, Access Point workingness... looking for xmas testers

 

David,

Thank you for the information.

Can you attempt to perform a clean install again with edits in line below.

David Leeming wrote: 

Hi Reuben
 
 
 
-          Installed 0.5 Nov 19th download on Toshiba notebook computer with
black box prototype AA (USB)
 
-          Fresh install (overwriting not upgrading the previously fully
working 0.4 installation
 
-          Set location Guadalcanal, use local time
  

(I did not change this in my tests; I doubt this has any effect but want to
note I left this at the default setting)



 
-          No optional application selected
 
-          Install...... restart
 
-          /etc/sysconfig/olpc-scripts/domain_config oceania.org
  

After running domain_config

Then edit the file /etc/sysconfig/network and set hostname to
schoolserver.oceania.org (nano /etc/sysconfig/network)

Then restart (shutdown -r now)




 
-          chkconfig --level 345 ejabberd on
 
-          service ejabberd start
 
  

Wait a few minutes for ejabberd to completely startup. You can check it's
status by running: service ejabberd status



-          ejabberdctl register admin schoolserver.oceania.org admin 
 
  


With a fresh install of 0.5.1 dev 3 you don't need the following from here
-->

-          restart
 
-          yum --enablerepo=olpcxs-testing update
 
-          restart
 
  

to here <--



-          One one of 4 XOs, log onto ejabberd web admin and set up shared
roster "Online"
 
-          restart
 
-          start all four XOs and register, then restart
 
 
  

On the XOs are registering from a fresh OS install, 8.2? If the XOs have
been previously registered; you will need to clean out their registration by
removing the server fields in /home/olpc/.sugar/default/config. 

After removing these fields; restart the XOs
Then connect the XOs to the appropriate SSID or AA.
Then register the XO.
Then restart the XO.

I hope this helps. Please let us know.



 
At this stage I cannot see any other XO, and still had to do the work around
of removing all four users from the ejabberd webadmin and restarting
everything before I could see them in the neighbourhood views.  (as advised
by Martin):
 
 
 
(Martin wrote...) To avoid re-installing the XS to re-test the "just
registered" scenario you can
 
 - go with a webbrowser to the ejabberd admin panel, go into the
'schoolserver' vhost listed there and delete all the users registered
 
 - restart ejabberd
 
 - restart the laptops
 
 
 
This happens each time a laptop is restarted. 
 
 
 
However, once all going, it is fine: 
 
- All four show up in the eJabberd control panel as users
 
- All have the same correct results for olpc-netstatus 
 
- I tried sharing Memorize - all four OK
 
- Video chat is OK between any two
 
- Server access and Internet browsing all OK (updated them each online)
 
 
 
 
 
Log attached
 
 
 
 
 
 
 
 
 
David Leeming
 
Technical Advisor, People First Network, Honiara, Solomon Islands
 
Alternative email address: leemingdavid at yahoo.com.au 
 
 
 
 
 
From: Reuben Caron [mailto:caron.reuben at gmail.com] On Behalf Of Reuben K.
Caron
Sent: Tuesday, 30 December 2008 12:15 p.m.
To: David Leeming
Cc: XS Devel; Martin Langhoff
Subject: Re: [Server-devel] XS 0.5.1-dev03 with ejabberd goodness, kernel
bling, Access Point workingness... looking for xmas testers
 
 
 
Hmm..
 
Are you upgrading or doing this from fresh install? 
 
If upgrade from what previous version?
 
If from fresh install can you give more detail to the exact steps you are
performing?
 
(pardon me if you provided this information earlier; I quickly reviewed the
archive and could not find anything)
 
Reuben
 
 
Martin Langhoff wrote: 
 
On Mon, Dec 29, 2008 at 10:04 PM, David Leeming
  <mailto:leeming at pipolfastaem.gov.sb> <mailto:leeming at pipolfastaem.gov.sb>
<mailto:leeming at pipolfastaem.gov.sb> <leeming at pipolfastaem.gov.sb> wrote:
  
 
It works but you have to run through the procedure below each time you start
the XOs up with the server.
    
 
 
Hmmm, well, that's definitely not normal procedure!
 
  
 
- I have to log onto ejabberd web admin with all XOs turned off and delete
all users (time consuming for a class of 40....) and then start them up.
Then it will work fine and the neighbourhood screens populate, until you
want to start again. Next time you start everything up, you will not see the
other XOs, until the procedure is repeated.
    
 
 
I suspect there's something else happening there... on the server
there should be a log for ejabberd, /var/log/ejabberd.log I think. Can
you post it to the list or to me? That should give us something to
chew on...
 
cheers,
 
 
m
  
 
 
 
 
  

 

-- 
Reuben K. Caron
Country Support Engineer
One Laptop per Child
Mobile: +1-617-230-3893
reuben at laptop.org
Deployments Support <http://wiki.laptop.org/go/Deployments_Support>  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.laptop.org/pipermail/server-devel/attachments/20081231/9e0fdea3/attachment.htm 


More information about the Server-devel mailing list