[Sugar-devel] [support-gang] [XSCE] Re: 32(+) XO-1's on Mesh Potato 2 as AP on XSCE

Jerry Vonau me at jvonau.ca
Fri Apr 18 13:41:11 EDT 2014


Hi Nathan,

> On April 18, 2014 at 11:20 AM "Nathan C. Riddle" <nathanr333 at charter.net>
> wrote:
>
>
> Testing with just 2 XO-1's connected to schoolserver shows that the icon
> for the XO that is shut down (via menu shutdown) will disappear on the
> neighborhood view of the remaining XO-1 at about the 20 minute mark (10
> * 2 min. ?).
>
> "Netstat -nat" on server shows listening on ports 5222 and 5223
> (ejabberd TTL ports) and 5298 not seen (in netstat -nat or netstat).

That looks ok to me, but can you confirm the version of ejabberd that is
installed on the XSCE with "rpm -q ejabberd"? The other thought is has the
domain name of the XSCE changed in any way? What does "hostname" return on
the XSCE? What does /etc/resolv.conf contain on the client XOs?

> On
> XO-1 client, listening on port 5298 and ports 5222 and 5223 not seen).
>

This is bad the schoolserver's ejabberd is NOT being used, have tried to
use the register again option in sugar?

> Again note that schoolserver is running early software 0.4, RC1.  Not
> sure where XSCE bug reports currently located. Since it does work at 20
> minutes, is it to be considered a bug?
> NCR
>

Lets see if we can get this resolved for you,

Jerry

>
> On Thu, Apr 17, 2014 at 7:51 PM, Jerry Vonau wrote:
>
> > Hi all,
> >
> >> On April 17, 2014 at 2:32 AM Ajay Garg <ajaygargnsit at gmail.com>
> >> wrote:
> >>
> >>
> >> Perhaps the following links might be useful ::
> >>
> >>
> >> https://bugs.freedesktop.org/show_bug.cgi?id=51501
> >>
> >> http://www.mail-archive.com/telepathy@lists.freedesktop.org/msg05699.html
> >>
> >> Also, I wrote a patch for Avahi, which allows to customize the TTL
> >> time,
> >> after which the "disconnected" buddy actually gets removed from
> >> Avahi's
> >> list ::
> >>
> >>
> >> http://people.sugarlabs.org/ajay/root/freedesktop_bug_51501/common-patch-for-f14-and-f17/customize-avahi-default-ttl-values.patch
> >>
> >>
> >> Thanks and Regards,
> >> Ajay
> >>
> >>
> >
> > That does make sense if sugar was operating with salut and not gabble
> > as
> > the telepathy backend.
> >
> >>
> >> On Thu, Apr 17, 2014 at 12:46 PM, James Cameron <quozl at laptop.org>
> >> wrote:
> >>
> >>> As this is a question about Sugar, perhaps the Sugar developers
> >>> should
> >>> be involved.
> >>>
> >>> +CC sugar-devel@
> >>>
> >>> Problem description: 32 XO-1 laptops are booted and registered to a
> >>> school server, and all 32 icons are visible in neighbourhood, but
> >>> the
> >>> icons persist after any XO leaves.  Sugar-0.96 (yes, really), on
> >>> OLPC
> >>> OS 12.1.0.
> >>>
> >
> > It would be useful to know what netstat returns to ascertain which
> > client
> > mode is being used for telepathy. If gabble is being used you should
> > see a
> > connection to the schoolserver's 5223 port and salute not running on
> > port
> > 5298.
> >
> >>> Sorry, I don't know how the XO is being asked to leave; forced power
> >>> off, shutdown request using power button, or shutdown using Sugar
> >>> menu.  This would be something to investigate.
> >>>
> >
> > This would be useful information also.
> >
> >>> My experience is that a shutdown request using power button is
> >>> similar
> >>> in effect to typing "shutdown -h now" via sshd, and this leaves the
> >>> SSH client stranded without the connection clearing down.  Perhaps
> >>> all
> >>> that is required is time for the ejabberd connection to time out?
> >>>
> >>> Perhaps this is fixed in a later release of Sugar, and an upgrade or
> >>> field change can be recommended?
> >>>
> >>> On Thu, Apr 17, 2014 at 06:58:40AM +0000, Tim Moody wrote:
> >>>> As far as I know the implementation of ejabberd on xsce was a
> >>>> straight
> >>> port
> >>>> from xs 0.7, so I wouldn't have expected a bug to have been
> >>>> introduced,
> >>> but it
> >>>> is speculation either way.  All we know is that what Nathan
> >>>> observes
> >>>> was
> >>> not
> >>>> previously reported as a bug.
> >>>>
> >>>> Still, it is an annoyance.  So the question is, what is the event
> >>>> that
> >>> causes
> >>>> sugar to remove an icon from the NN and how does it arise.  If it
> >>>> is
> >>>> a
> >>> poll of
> >>>> ejabberd then we should investigate, regardless of whether it is a
> >>>> new
> >>> bug or
> >>>> an old one.
> >>>>
> >>>>> Date: Thu, 17 Apr 2014 15:09:16 +1000
> >>>>> From: quozl at laptop.org
> >>>>> To: support-gang at lists.laptop.org
> >>>>> Subject: Re: [support-gang] 32(+) XO-1's on Mesh Potato 2 as AP on
> >>>>> XSCE
> >>>>>
> >>>>> On Thu, Apr 17, 2014 at 12:54:30AM -0400, Nathan C. Riddle wrote:
> >>>>>> Hopefully, later XSCE (ejabberd) version has corrected issue of
> >>>>>> falsely persistent icons in neighborhood. Not AP model related
> >>>>>> (same on TP Link).
> >>>>>
> >>>>> We don't know that this is an ejabberd problem yet, it could be a
> >>>>> problem with Sugar. It would require deeper investigation.
> >>>>>
> >>>>>> Any comments by XSCE development team ?
> >>>>>
> >>>>> You can write to them at
> >>>>> xsce-devel at googlegroups.com
> >>>>>
> >>>>> There's also
> >>>>> server-devel at lists.laptop.org
> >>>>>
> >>>>> --
> >>>>> James Cameron
> >>>>> http://quozl.linux.org.au/
> >>>>> _______________________________________________
> >>>>> support-gang mailing list
> >>>>> support-gang at lists.laptop.org
> >>>>> http://lists.laptop.org/listinfo/support-gang
> >>>
> >>>> _______________________________________________
> >>>> Server-devel mailing list
> >>>> Server-devel at lists.laptop.org
> >>>> http://lists.laptop.org/listinfo/server-devel
> >>>
> >>>
> >>> --
> >>> James Cameron
> >>> http://quozl.linux.org.au/
> >>> _______________________________________________
> >>> Sugar-devel mailing list
> >>> Sugar-devel at lists.sugarlabs.org
> >>> http://lists.sugarlabs.org/listinfo/sugar-devel
> >>>
> >>
> >>
> >>
> >> --
> >> Regards,
> >> Ajay
> > _______________________________________________
> > support-gang mailing list
> > support-gang at lists.laptop.org
> > http://lists.laptop.org/listinfo/support-gang


More information about the Sugar-devel mailing list