Re: Multiple Questions from a SysAdmin

2008-03-03 Thread Morgan Collett
Bryan Berry wrote:
 2. Does Avahi work together w/ Telepathy (local mesh) and EJabber
 (multiple meshes) for the presence service? If so, how?

There are two modes for collaboration: link local (mesh) or server
(Jabber). Link local uses telepathy-salut, which uses avahi (multicast)
to announce presence and shared activities. Server uses
telepathy-gabble, which uses loudmouth to connect to the jabber server
(unicast).

See http://wiki.laptop.org/go/Shared_Sugar_Activities,
http://wiki.laptop.org/go/Presence_Service and
http://wiki.laptop.org/go/Category:Collaboration for current wiki
documentation.

Feel free to ask further questions - the documentation is a work in
progress...

 I would appreciate if someone could point me to a good resource to learn
 more about how avahi works. I have only found a little bit of info about
 it on the web. Or does it simply handle network interface configuration?
 
 3. What aspects of the mesh does Jabber enable that aren't there by
 default?

At this point, scalability. We should handle presence and collaboration
for 100+ XOs on the jabber server, but on link local mesh there are
issues with saturation, and also multicast not working with the
aggressive suspending.

 4. When I turn on an XO it always shows Mesh Networks 1, 6, and 11 even
 if there are no other XO's around. Why is this? I have always presumed
 that Network 1 was the XO's own instance of the mesh in case it didn't
 see a school server. But what about the other two?

That's a UI feature, to allow you to select those wifi channels. It
doesn't mean there is anything on them. It's possible to run some XOs on
each channel, although they will only see those on their channel.

Regards
Morgan
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: storing Activity parameters

2008-03-03 Thread Tomeu Vizoso
On Sun, Mar 2, 2008 at 1:51 PM, Gary C Martin [EMAIL PROTECTED] wrote:
 I'm having some indecision about my own (very simple) activity state
  saving. Just had a though that may add another possibility to this
  thread. What if both journal and file-system were used to store the
  activity state, with the journal settings overriding the file-system
  settings. This way a new activity start-up could inherit the last used
  activity settings, and a specific journal start-up would inherit the
  settings used for that specific entry. So in the case of Speak I could
  have separate favourite journal entries for '3 eyed alien' and another
  for 'Mr square eyes', then if I also just started the activity from
  fresh I'd pick-up whatever the last used setting were (picked up from
  the FS).

I like this idea a lot. Thanks for sharing.

[...]

  On 2 Mar 2008, at 01:29, Joshua Minor wrote:

   I implemented the save/load feature of Speak without fully
   understanding the other options.  Now that I've seen the recent
   discussion about data vs instance vs the journal I think it would make
   more sense to have Speak save its state in a different way.
  
   On the other hand, the new frame redesign makes it much easier to
   resume an Activity, which would mean that parameters saved to the
   Journal, like Speak does now, would naturally be restored when you
   resume the Activity.
  
   A nice best practices document would be very handy.

Yeah, storing some settings both in the fs and in the datastore would
be suggested by these best practices document.

Any activity author would like to start it? I'm sure many interesting
discussions will come from this effort.

Thanks,

Tomeu
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Multiple Questions from a SysAdmin

2008-03-03 Thread sulochan acharya
 1. How can I cryptographically sign my own custom NAND image? We will
 need to do custom images for our pilot. For example, we need to include
 the Nepali activities we have built, Gcompris, and SocialCalc, that are
 not part of the standard build. The 6th graders at our pilot schools
 will require a different image than the 2nd graders.

 I have looked at the wiki page on building custom images and it looks
 fairly difficult. http://wiki.laptop.org/go/Building_custom_images

 Is there a way to cheat hard labor by using nandwrite or nanddump to
 simply copy customized image from an existing XO to a blank USB key?

First get into the usb. I think U: stands for usb drive. Then you can
simply use
nand-copy and nand-save commands to do that.



 4. When I turn on an XO it always shows Mesh Networks 1, 6, and 11 even
 if there are no other XO's around. Why is this? I have always presumed
 that Network 1 was the XO's own instance of the mesh in case it didn't
 see a school server. But what about the other two?

Just to add a few points: channel 1,6,11 are used by the mesh. These
are the three channels with least overlap. I guess we can associate a
XO with one of them to always look at that channel first. All three
appear even though thre is no mesh associated with it.


- talk to you later
sulochan
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Server-devel] Testing 200 XO's in two weeks time for Nepal's pilot

2008-03-03 Thread Michail Bletsas
[EMAIL PROTECTED] wrote on 03/03/2008 02:38:00 AM:


 Questions: 
 
 
 How many XO's can a single active antenna support? We only have two
 active antennas at the moment. 
The answer is always traffic depedent. Given the current status of the 
collaboration software on the XO and assuming that the school server's 
ejabberd works correctly (shutting off multicast traffic on the XOs), you 
should be able to put 30-40 laptops per active antenna. 
You should always keep in mind that in dense deployments (classrooms), 
mesh is sub-optimal compared to standard access points (assuming that 
every XO can talk to the AP). That is because, you have all the path 
discovery control traffic overhead in mesh mode that you don't have in 
infrastructure mode.


 
 Should we buy extra regular access points to back up our active
 antennas? Again, would love to know if particular AP is preferred and
 how many XO's one can support. I read in the devel list today that the
 WRT54G is not preferred. 
Yes, if you can afford them, APs will give you much better performance in 
schools. The issue with the stock firmware in the WRT54Gs is that it tries 
to establish WDS peer links with every other WDS capable node in the 
vicinity. So if you have a few of them in a school, you can end up with 
multiple WDS tunnels between them. Add to that the multicast traffic from 
the XOs and you end up with no spectrum at all, due to multicast/broadcast 
retransmissions.
The solution to that problem is to be able to turn off WDS. The stock 
Linksys firmware doesn't do it, however OpenWRT and its variants can do 
it.
So the answer to whether you should/can use WRT54Gx APs is only if you 
can upgrade them to an OpenWRT variant.

We are working on HostAP support for the active antennas, so that for 
small schools, the school server is all that you need. In the meantime, 
APs with controllable WDS behavior are recommended.


 
 We will have two pilot schools. One w/ 110 students and the other w/ 50
 students.
I would use 3 APs on the first and two on the second. In the future 2 and 
1 will suffice, however as of now we are wasting a lot of airtime in all 
layers of the network stack.


M.


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Today's mesh testing.

2008-03-03 Thread Kim Quirk
Great! Thanks for the update, Chris.

Kim

On Sun, Mar 2, 2008 at 7:05 PM, Chris Ball [EMAIL PROTECTED] wrote:

 Hi,

 Daf and I got the school server jabberd/shared roster working today.
 We connected/registered 32 laptops to it with mesh TTL set to 1 for
 broadcast, and they were all able to see and join a shared chat session
 with each other.  The workload on the spectrum analyzer increased from
 18% (no-one connected) to 26% (all connected).  The chat session is
 consistent -- no-one is dropping out and new messages are seen by each
 laptop, with a few seconds of lag.

 With the mass chat session still running, we shared a 500KiB PDF.  First
 we joined the shared Read session with one laptop, and the download took
 16 seconds to complete.  We then joined two more laptops at once, the
 first download took 26 seconds and the second finished at 30 seconds.
 Five more at once: all finished around 1m00s.  Ten more at once:  the
 first finished at 2m18s, the last finished at 2m40s.  There were no
 failures downloading the PDF.  The sharing was unicast TCP, with mesh
 TTL set to 1, which explains the slightly worse than linear increase in
 download time for more laptops downloading at once.

 This is much more anecdotal than the full test plan, but we thought the
 testers currently in Peru would want to know what they can expect from
 the school server setup ASAP.  We don't have more laptops upgraded and
 ready to join the network yet, but we don't have any reason to believe
 we've saturated the network -- with the PDFs downloaded and Chat still
 running, the duty cycle on the spectrum analyzer is now at 28%.  (In
 general, wireless networks seem to start degrading around 40%.)

 - Chris and Daf.
 --
 Chris Ball   [EMAIL PROTECTED]

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Today's mesh testing.

2008-03-03 Thread Jim Gettys
Wonderful stuff!
  - Jim

On Sun, 2008-03-02 at 19:05 -0500, Chris Ball wrote:
 Hi,
 
 Daf and I got the school server jabberd/shared roster working today.
 We connected/registered 32 laptops to it with mesh TTL set to 1 for
 broadcast, and they were all able to see and join a shared chat session
 with each other.  The workload on the spectrum analyzer increased from
 18% (no-one connected) to 26% (all connected).  The chat session is
 consistent -- no-one is dropping out and new messages are seen by each
 laptop, with a few seconds of lag.
 
 With the mass chat session still running, we shared a 500KiB PDF.  First
 we joined the shared Read session with one laptop, and the download took
 16 seconds to complete.  We then joined two more laptops at once, the
 first download took 26 seconds and the second finished at 30 seconds.
 Five more at once: all finished around 1m00s.  Ten more at once:  the
 first finished at 2m18s, the last finished at 2m40s.  There were no
 failures downloading the PDF.  The sharing was unicast TCP, with mesh
 TTL set to 1, which explains the slightly worse than linear increase in
 download time for more laptops downloading at once.
 
 This is much more anecdotal than the full test plan, but we thought the
 testers currently in Peru would want to know what they can expect from
 the school server setup ASAP.  We don't have more laptops upgraded and
 ready to join the network yet, but we don't have any reason to believe
 we've saturated the network -- with the PDFs downloaded and Chat still
 running, the duty cycle on the spectrum analyzer is now at 28%.  (In
 general, wireless networks seem to start degrading around 40%.)
 
 - Chris and Daf.
-- 
Jim Gettys
One Laptop Per Child


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [sugar] Journal: two quick suggestions

2008-03-03 Thread Eben Eliason
On Fri, Feb 29, 2008 at 11:56 AM, Tomeu Vizoso [EMAIL PROTECTED]
wrote:

 On Fri, Feb 29, 2008 at 5:17 PM, Christoph Derndorfer
 [EMAIL PROTECTED] wrote:
 One can
 imagine that the subject of an activity is actually
subjectively defined,
 and even when it's relatively clear, we might wind up with some
for each of
 math, geometry, trigonometry, algebra, etc.

 To make a similar functionality available, though, we've chosen
to allow
 developers to supply a list of tags within the .info file for
any given
 activities, which could include several subject related words,
as well as
 more abstract or general terms like game, simulation, or
language.  We
 hope that the ability to search by broad terms such as math
 or
games
 will then turn up a list of appropriately related activities.

 Having just typed this and then reviewing the wiki, I notice
that this part
 of the spec doesn't appear to be there yet!  Can those familiar
with this
 respond about the presence or absence of this capability?  If
this isn't
 there, it should get a ticket.  It should be a pretty
straightforward
 addition and simple to implement, it seems.
   
 
   Ahhh, that's indeed interesting, I hadn't been aware of this
   functionality before...
 
   Per Eben's question: Does anyone happen to know whether this is already
   implemented or not?

 Don't think that the implementation of this has been discussed before.
 Eben, can you enter a ticket pointing to a spec?


I now see that this was never given a ticket, but has been hidden in the HIG
since the early days. I've opened ticket #6634 on the subject, generalizing
it as a way for content providers to tag any bundle as appropriate.

- Eben
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [PyCON-Organizers] event scheduling: Board Game Social room and time.

2008-03-03 Thread Edward Cherlin
On Sun, Mar 2, 2008 at 4:41 PM, DeanG [EMAIL PROTECTED] wrote:
 While the notes are open getting the Lab setup, can I ask for a
  recommendation on a designated room for the Board Game Event? Based on
  interest this year I don't expect needing a large room, especially as
  overflow can move to other open spaces.

Can we set up some XOs for people to play networked board games on?
See http://wiki.laptop.org/go/Games for the current selection.

  As far as time, I understand the event will be the same tme as the
  Open Spaces on Friday and Saturday.  I don't see this on the schedule.
   When are the Open Spaces sheduled?

  Thanks,

  Dean
  ___
  Pycon-organizers mailing list
  [EMAIL PROTECTED]
  http://mail.python.org/mailman/listinfo/pycon-organizers




-- 
Edward Cherlin
End Poverty at a Profit by teaching children business
http://www.EarthTreasury.org/
The best way to predict the future is to invent it.--Alan Kay
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: WDS problems observed in today's testing

2008-03-03 Thread Jim Gettys
These were WRT54GL's running OpenWRT, just to ask the exact
configuration?

Note that (the last I heard) some of the newer WRT54G's have too little
RAM to run OpenWRT, which is why the WRT54GL model was introduced, IIRC.
  - Jim

On Mon, 2008-03-03 at 16:47 +1030, Kim Hawtin wrote:
 Javier Cardona wrote:
  What I recall is 50% duty cycle and a channel grade of 22/100.  The
  channel grade takes into account not only the duty cycle but also the
  noise floor.
  I did not re-check those numbers after turning the AP off, but there
  was a drastic improvement of the channel energy profile.
  
  The limit of concurrent users for a low-end AP like the WRT54G is ~30.
 
 these APs are capable of ~65 concurrent users.
 
 at linux.conf.au this year we had associated clients regularly hitting
 over 60 clients *per* WRT54GL. we had about 25 installed around the venue.
 
 the maximum associated clients we saw on one AP was 68.
 we were using the default install of OpenWRT 7.09.
 
  But in the capture we see that the AP is wasting most of its time
  transmitting WDS frames at low rates.  That is very likely to be the
  reason why we could not get more than 17 laptops associated.
 
 regards,
 
 Kim
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel
-- 
Jim Gettys
One Laptop Per Child


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Networking] Issues with the wireless mesh devices

2008-03-03 Thread [EMAIL PROTECTED]
Kim wrote: ...The network admin guys are quiet concerned about the DDOS 
possibilities.

I comment,

Hi Kim,

I am very intested in the networking issue... because I am mounting a small lab 
to emulate
the enviroment of the XOs  Acces Point  wireless work...

About DDOS:

At the end of this message the definition of a DDOS (distributed Denial of 
Service Attack... for those that need to know)

Comments:

a) DDOS is possibe ONLY if you are connected to the Internet (technically is 
possible in any enviroment, but lets analyze the most possible common source of 
problems).
b) I imagine the next scenary: 
  1) Only the School Server (if exists) will be directly connected to the 
Internet
  2) The XOs will have private address, not public internet address.

So only the School Server is available for a DDOS.  This lead us to 2 other 
possibilities:
  I) The S.Server is directly connected to the Internet by... (wich provider? 
VSAT? wich service?)
  II) The S.Server is getting the Internet from a tunnel that connects the 
S.Server with the OLPC foundation Internet connection.
  III) The S.Server is connected to the Internet by local connections to 
local internet providers, directly.  The S.Server has its own public IP.
  IV) The S.Server use a dial up to connect to the Internet.  Each time it 
dials the S.Server gets a dynamic public IP address (that comes from a pool 
that the Internet service provider will assign).  The S.Server is a server 
for the XOs... not a server for the Internet.  If you want to deploy an 
Internet Server and get rid of the problems with DDOS then you can hire (or 
the OLPC can provide) space in their servers to mount any server service (!) 
that a kid in Peru (bravo!) want to mount and put at the service of the whole 
world (super bravo! here we come, naked internet at the root... are coming back 
to the 80's??? sorry... it is a dream... dangerous dream!)
  IV) The S.Server is connected to the Internet by other methods, like a USB 
mule (since I am in Peru I will call it from this moment a USB llama !!!)

  Each of this scenary can be build with some protection against DDOS (and 
nothing is perfect), and using NATs will put the responsability of working 
against DDOS (a daily task, permanent) in the hands of the people/team/company 
that provide the first internet public ip address in the other side of the 
NAT.  Each of this options (I to V) has its own ways to work against DDOS.

I don't think that the network admins should be too worry about DDOS because 
depending on the networking design this should not be a problem at all.

If someone can tell me what is the official network design in this moment, then 
I can analyze more this DDOS possibility and tell more about measures to avoid.

Best regards,

Javier Rodriguez
Lima, Peru
 


-
distributed denial-of-service attack

DEFINITION - On the Internet, a distributed denial-of-service (DDoS) attack is 
one in which a multitude of compromised systems attack a single target, thereby 
causing denial of service for users of the targeted system. The flood of 
incoming messages to the target system essentially forces it to shut down, 
thereby denying service to the system to legitimate users.

A hacker (or, if you prefer, cracker) begins a DDoS attack by exploiting a 
vulnerability in one computer system and making it the DDoS master. It is 
from the master system that the intruder identifies and communicates with other 
systems that can be compromised. The intruder loads cracking tools available on 
the Internet on multiple -- sometimes thousands of -- compromised systems. With 
a single command, the intruder instructs the controlled machines to launch one 
of many flood attacks against a specified target. The inundation of packets to 
the target causes a denial of service.

While the press tends to focus on the target of DDoS attacks as the victim, in 
reality there are many victims in a DDoS attack -- the final target and as well 
the systems controlled by the intruder.

http://searchsecurity.techtarget.com/sDefinition/0,,sid14_gci557336,00.html 
-




Kim Hawtin wrote:
 Forwarding due to the quietness over on [EMAIL PROTECTED] =)

 Kim Hawtin wrote:
   
 Is this the correct forum to post questions around the wireless mesh devices?

 I took an XO to a community wireless[1] monthly meeting this week.
 We had a number of problems with other wireless devices, we believe
 directly related, to the XO being turned on, then stopped when the
 XO was turned off.

 I purchased some kit the same as in the APs that we use and hope to
 either confirm or discount the XO as the culprit. The network admin
 guys are quiet concerned about the DDOS possibilities.

 The access point is a Alix router board with a pair Atheros wireless
 minipci NICs. Here is a snippet from the log on the host;

 
 ath1: device timeout
 ath1: hardware error; 

Re: [OLPC Networking] Issues with the wireless mesh devices

2008-03-03 Thread Ricardo Carrano
  Are there any tools that I can use to determine whats going on here?
  I noticed there was a wireshark patch is that for the XO itself?


Yes, capturing traffic and analyzing in wireshark is a good way to
understand what is going on.
The patch you mentioned will help wireshark in decoding and displaying the
mesh traffic properly.
Could you make this capture files available?

--
Ricardo Carrano
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: WDS problems observed in today's testing

2008-03-03 Thread Javier Cardona
Jim,

On 3/3/08, Jim Gettys [EMAIL PROTECTED] wrote:
 These were WRT54GL's running OpenWRT, just to ask the exact
  configuration?

Not sure if it was a WRT54G or WRT54GL, but I'm certain that it was
running the original Linksys firmware.

Javier

-- 
Javier Cardona
cozybit Inc.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: WDS problems observed in today's testing

2008-03-03 Thread Ricardo Carrano
 I believe it is a WRT54Gv8 model (which, btw has not enough memory to run
some of the openwrt variants around). It is brand new AP (bought it at
BestBuy) with stock LInksys firmware. It is still at 1cc (I brought another
(same model) with me so not to disturb the tests in place).

On Mon, Mar 3, 2008 at 3:22 PM, Javier Cardona [EMAIL PROTECTED] wrote:

 Jim,

 On 3/3/08, Jim Gettys [EMAIL PROTECTED] wrote:
  These were WRT54GL's running OpenWRT, just to ask the exact
   configuration?

 Not sure if it was a WRT54G or WRT54GL, but I'm certain that it was
 running the original Linksys firmware.

 Javier

 --
 Javier Cardona
 cozybit Inc.
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: WDS problems observed in today's testing

2008-03-03 Thread Jim Gettys

On Mon, 2008-03-03 at 10:22 -0800, Javier Cardona wrote:
 Jim,
 
 On 3/3/08, Jim Gettys [EMAIL PROTECTED] wrote:
  These were WRT54GL's running OpenWRT, just to ask the exact
   configuration?
 
 Not sure if it was a WRT54G or WRT54GL, but I'm certain that it was
 running the original Linksys firmware.

Yup.  They will always have the problem.  My point was that if you see a
WRT54G (as opposed to the WRT54GL), you have to dig deeper to figure out
if they can run OpenWRT or not.  Some can; some cannot  Nothing like
changing hardware in a significant way without changing the model
number.

This has details:
http://wiki.openwrt.org/OpenWrtDocs/Hardware/Linksys/WRT54G?highlight=(OpenWrtDocs/Hardware)
 - Jim

-- 
Jim Gettys
One Laptop Per Child


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


RE: WDS problems observed in today's testing

2008-03-03 Thread Ronak Chokshi
We encountered this problem elsewhere and found out that the latest
version of the firmware from Linksys (only works on the WRT54G v8
routers btw; might also work for the WAP54G as well) resolves the WDS
problem.

http://www.linksys.com/servlet/Satellite?blobcol=urldatablobheadername1
=Content-Typeblobheadername2=Content-Dispositionblobheadervalue1=text%
2Fplainblobheadervalue2=inline%3B+filename%3DWRT54G-v8_v8.00.5_fwReleas
eNotes.txtblobkey=idblobtable=MungoBlobsblobwhere=1193773201628ssbin
ary=truelid=8663037401B159

(Please paste the above link on your browser; clicking on the above link
somehow didn't work for me).

In the firmware version 8.00.5, it specifically mentions:

Resolves issue with using a WAP54G in repeater mode.

This looks to be a fairly recent version of the firmware.

Regards,
Ronak

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:devel-
 [EMAIL PROTECTED] On Behalf Of Jim Gettys
 Sent: Monday, March 03, 2008 10:38 AM
 To: [EMAIL PROTECTED]
 Cc: OLPC Developer's List
 Subject: Re: WDS problems observed in today's testing
 
 
 On Mon, 2008-03-03 at 10:22 -0800, Javier Cardona wrote:
  Jim,
 
  On 3/3/08, Jim Gettys [EMAIL PROTECTED] wrote:
   These were WRT54GL's running OpenWRT, just to ask the exact
configuration?
 
  Not sure if it was a WRT54G or WRT54GL, but I'm certain that it was
  running the original Linksys firmware.
 
 Yup.  They will always have the problem.  My point was that if you see
a
 WRT54G (as opposed to the WRT54GL), you have to dig deeper to figure
out
 if they can run OpenWRT or not.  Some can; some cannot  Nothing
like
 changing hardware in a significant way without changing the model
 number.
 
 This has details:

http://wiki.openwrt.org/OpenWrtDocs/Hardware/Linksys/WRT54G?highlight=(O
pe
 nWrtDocs/Hardware)
  - Jim
 
 --
 Jim Gettys
 One Laptop Per Child
 
 
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Testing 200 XO's in two weeks time for Nepal's pilot

2008-03-03 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

John Gilmore wrote:
| I recommend that once you have developer keys, you leave the machines
| unlocked.  You are going to be running a lot of unsigned builds in the
| future -- you're customizing your builds.

Eventually, there must be a way for countries (and even trials) to get
signed custom builds.  Either they get their own signing keys, or OLPC
offers to sign a nepal.1 branch of tweaked releases.  I understand why
this infrastructure has not yet been built, but it will be needed in order
for Bitfrost to be used at all.

- --Ben
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHzGK8UJT6e6HFtqQRAgrlAJ9t3RWJ0Iy41UB1HG9/QdcgTFfzYACglaxN
oyGyaZ/pTCRANRT7ARB4eVc=
=wuVO
-END PGP SIGNATURE-
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Networking] Issues with the wireless mesh devices

2008-03-03 Thread Kim Hawtin
[EMAIL PROTECTED] wrote:
 Kim wrote: ...The network admin guys are quiet concerned about the DDOS 
 possibilities.
 
 I comment,
 
 Hi Kim,
 
 I am very intested in the networking issue... because I am mounting a small 
 lab to emulate
 the enviroment of the XOs  Acces Point  wireless work...
 
 About DDOS:
 
 At the end of this message the definition of a DDOS (distributed Denial of 
 Service Attack... for those that need to know)

Given that a pair of XOs shut down the local access point and the AP on the
other end of the backbone link connected to the local AP there was more than
enough justification to do extra digging.

If some one was malicious enough to find a number of backbone nodes on the WAN
then you see the problem here.

Internet connected or not, the DoS problems remain. Your or my definition of
DDos is not relevant in the big scheme of things, until the problem is better
understood.

regards,

Kim
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Today's mesh testing.

2008-03-03 Thread C. Scott Ananian
On Sun, Mar 2, 2008 at 7:05 PM, Chris Ball [EMAIL PROTECTED] wrote:
  broadcast, and they were all able to see and join a shared chat session
  with each other.  The workload on the spectrum analyzer increased from
  18% (no-one connected) to 26% (all connected).  The chat session is
  consistent -- no-one is dropping out and new messages are seen by each
  laptop, with a few seconds of lag.

I would interpret this as, packets are being dropped like crazy, but
retransmits assure that the chat message gets through by the time a
few seconds elapse.  Is there any reason why chat would not be
instantaneous otherwise?

  With the mass chat session still running, we shared a 500KiB PDF.  First
  we joined the shared Read session with one laptop, and the download took
  16 seconds to complete.  We then joined two more laptops at once, the
  first download took 26 seconds and the second finished at 30 seconds.
  Five more at once: all finished around 1m00s.  Ten more at once:  the
  first finished at 2m18s, the last finished at 2m40s.  There were no
  failures downloading the PDF.  The sharing was unicast TCP, with mesh
  TTL set to 1, which explains the slightly worse than linear increase in
  download time for more laptops downloading at once.

How did you get sharing to use unicast?  Was this a special patch, or
is this actually the default?  (My understanding is that sharing is
multicast.)

Just for reference, a 500kB file transmits over the media lab 802.11
network here in 1cc in just under 4 tenths of a second.  I tested and
it easily scaled up to 10 simultaneous downloads in 4-5 seconds.  So
somehow we're running 40-65 times slower than this on the mesh,
depending on the number of clients.

  This is much more anecdotal than the full test plan, but we thought the
  testers currently in Peru would want to know what they can expect from
  the school server setup ASAP.  We don't have more laptops upgraded and
  ready to join the network yet, but we don't have any reason to believe
  we've saturated the network -- with the PDFs downloaded and Chat still
  running, the duty cycle on the spectrum analyzer is now at 28%.  (In
  general, wireless networks seem to start degrading around 40%.)

Based on my reading of the numbers above, it does seem like you're
pushing the network pretty hard.  But, as wad pointed out, if we can
do 32 clients on one channel of a school server, we can support the
100-laptop school scenario with three active antennas.
 --scott

-- 
 ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Networking] Issues with the wireless mesh devices

2008-03-03 Thread [EMAIL PROTECTED]
Some ideas:

a) Google and other intense information providers have set up their 
servers to refuse too many requests from the same user in a short 
period of time.
b) filtering (nat or caching software) will be a tool to do the same 
not only with http but with all the TCP/IP protocols.
c) If a pair of XOs turn down an AP... it is an internal DOS.  But, in 
my humble opinion, I wont call it a DOS because there is no intentional 
attack to the server. 

Regards,

Javier

Kim Hawtin wrote:
 [EMAIL PROTECTED] wrote:
   
 Kim wrote: ...The network admin guys are quiet concerned about the DDOS 
 possibilities.

 I comment,

 Hi Kim,

 I am very intested in the networking issue... because I am mounting a small 
 lab to emulate
 the enviroment of the XOs  Acces Point  wireless work...

 About DDOS:

 At the end of this message the definition of a DDOS (distributed Denial of 
 Service Attack... for those that need to know)
 

 Given that a pair of XOs shut down the local access point and the AP on the
 other end of the backbone link connected to the local AP there was more than
 enough justification to do extra digging.

 If some one was malicious enough to find a number of backbone nodes on the WAN
 then you see the problem here.

 Internet connected or not, the DoS problems remain. Your or my definition of
 DDos is not relevant in the big scheme of things, until the problem is better
 understood.

 regards,

 Kim


   

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Testing 200 XO's in two weeks time for Nepal's pilot

2008-03-03 Thread Richard A. Smith
Bryan Berry wrote:
 
 Here is the Rough Test Plan I have in mind
 
 1. Boot into firmware and run test-all

Note that the current shipping firmware can sometimes report false 
positives for sticky keys in the keyboard test.  So if you think you 
have sticky keys upgrade the firmware to Q2D13 and also duplicate the 
test under Linux to verify you really have a sticky key.

 I appreciate any other ideas on testing the XO's, particularly testing
 the batteries and the network.

All the battery failures I've seen can be detected with a full 
charge/discharge cycle.  Unplug the laptop from ext power and let it run 
down until you get a red led or it shuts off then plug up to ext power 
and recharge. Re-charge should take at least 1.5 hours.  Then unplug 
again.  Build 656 should run in idle for 3 to 3.5 hours.  If you get a 
green LED in less than 1.5h or the XO shuts off pre-maturely, or if the 
Red light flashes, then RMA that unit.  If you get an early shutoff you 
might repeat the test.  At least one report of a battery getting better 
after a few cycles.  Not sure if this was just user error or really valid.

If the battery-won't-charge problem is there then the charge time drops 
to 10's of minutes so its a quick re-test.

Right now I'm only interested in units that have _flashing_ red led.  So 
if you get a flashing LED contact me please.  I have plenty of data for 
the other problem.

But if you are curious or think you are getting confusing results you 
can run olpc-logbat and watch the numbers or send them to me and we can 
analyze any issues.

-- 
Richard Smith  [EMAIL PROTECTED]
One Laptop Per Child
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Testing 200 XO's in two weeks time for Nepal's pilot

2008-03-03 Thread Edward Cherlin
On Sun, Mar 2, 2008 at 11:38 PM, Bryan Berry [EMAIL PROTECTED] wrote:
 Hey guys,

  Nepal should receive its shipment of 200 XO's in roughly 14 days from
  today.

  Here is the Rough Test Plan I have in mind

  1. Boot into firmware and run test-all
  2. Load customized image based on 656 build
  3. Test localization on each XO (read Nepali, type in Nepali)

You're talking about testing the keyboard layout and fonts. What about
localization of software?

According to Pootle, except possibly for XO-Bundled (89%), the Nepali
localization is not in good shape. The rest of the modules are less
than half translated, and Etoys less than 1%.

Sayamindu, how many people do we have working on this? What
organizations are involved? Why aren't there more?

  4. Test that basic activities like browse, E-Paati, EToys work
  5. Associate XO's w/ school server via active antenna, test basic school
  services, cache, moodle, file downloads, chat
...
  We will have two pilot schools. One w/ 110 students and the other w/ 50
  students.

And 40 spares? Any idea what you want to do with them?

  Notes: These XO's may have been tested thoroughly at the factory but I
  would prefer to at least run the firmware's test-all command after the
  XO's arrive in Nepal. I have been a sysadmin for about 10 years and I
  have always run some kind of diagnostics on new hardware before I put it
  into production.

Quite right.

  Thanks in advance for everyone's help.


  --
  Bryan W. Berry
  Systems Engineer
  OLE Nepal, http://www.olenepal.org

  ___
  Devel mailing list
  Devel@lists.laptop.org
  http://lists.laptop.org/listinfo/devel




-- 
Edward Cherlin
End Poverty at a Profit by teaching children business
http://www.EarthTreasury.org/
The best way to predict the future is to invent it.--Alan Kay
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Testing 200 XO's in two weeks time for Nepal's pilot

2008-03-03 Thread Bryan Berry
We need to do a lot of work on the localization, a lot. There hopefully
will be a renewed effort on this from our team starting next week.

There aren't 40 spare XO's. A chunk of those will go to the teachers
(10-15) leaving some for spares and we may have a special class for kids
not in the lucky grades 2  6 can learn how to use the XO.

Bryan
OLE Nepal
http://www.olenepal.org

On Mon, 2008-03-03 at 18:49 -0800, Edward Cherlin wrote:
 On Sun, Mar 2, 2008 at 11:38 PM, Bryan Berry [EMAIL PROTECTED] wrote:
  Hey guys,
 
   Nepal should receive its shipment of 200 XO's in roughly 14 days from
   today.
 
   Here is the Rough Test Plan I have in mind
 
   1. Boot into firmware and run test-all
   2. Load customized image based on 656 build
   3. Test localization on each XO (read Nepali, type in Nepali)
 
 You're talking about testing the keyboard layout and fonts. What about
 localization of software?
 
 According to Pootle, except possibly for XO-Bundled (89%), the Nepali
 localization is not in good shape. The rest of the modules are less
 than half translated, and Etoys less than 1%.
 
 Sayamindu, how many people do we have working on this? What
 organizations are involved? Why aren't there more?
 
   4. Test that basic activities like browse, E-Paati, EToys work
   5. Associate XO's w/ school server via active antenna, test basic school
   services, cache, moodle, file downloads, chat
 ...
   We will have two pilot schools. One w/ 110 students and the other w/ 50
   students.
 
 And 40 spares? Any idea what you want to do with them?
 
   Notes: These XO's may have been tested thoroughly at the factory but I
   would prefer to at least run the firmware's test-all command after the
   XO's arrive in Nepal. I have been a sysadmin for about 10 years and I
   have always run some kind of diagnostics on new hardware before I put it
   into production.
 
 Quite right.
 
   Thanks in advance for everyone's help.
 
 
   --
   Bryan W. Berry
   Systems Engineer
   OLE Nepal, http://www.olenepal.org
 
   ___
   Devel mailing list
   Devel@lists.laptop.org
   http://lists.laptop.org/listinfo/devel
 
 
 
 

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [OLPC Networking] Issues with the wireless mesh devices

2008-03-03 Thread Kim Hawtin
[EMAIL PROTECTED] wrote:
 Some ideas:
 
 a) Google and other intense information providers have set up their 
 servers to refuse too many requests from the same user in a short 
 period of time.
 b) filtering (nat or caching software) will be a tool to do the same 
 not only with http but with all the TCP/IP protocols.
 c) If a pair of XOs turn down an AP... it is an internal DOS.  But, in 
 my humble opinion, I wont call it a DOS because there is no intentional 
 attack to the server. 

perhaps you miss-read my earlier post. the atheros radios stops working and
need to be reset by a kernel module reload on most occasions or power cycle.

i expect that IP filtering would not help. i've not been able to predictably
repeat it yet.

below is the info from the network admins as to what was running on the AP[1]
running FreeBSD[2].

we have also had the same problem on some cisco APs using atheros with virtual
ESSID support at work. more info as i find it.

regards,

kim
--
[1] system: WRAP2 geode 266mhz
AP interface: Senao 8602 PLUS (FCC) 400mw abg
Backbone interface: Senao 8602 (ETSI) LFP 100mw abg

[2] kern.version: FreeBSD 6.2-RELEASE-p5 #1: Tue Jul 24 20:41:51 CST 2007
hw.ath.hal.version: 0.9.17.2
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: WDS problems observed in today's testing

2008-03-03 Thread Hal Murray

 Yup.  They will always have the problem.  My point was that if you see
 a WRT54G (as opposed to the WRT54GL), you have to dig deeper to figure
 out if they can run OpenWRT or not.  Some can; some cannot

A simple rule of thumb.  Recent units can't.

 Nothing like changing hardware in a significant way without changing
 the model number. 

Be thankful that they made the L version for hackers like us.


-- 
These are my opinions, not necessarily my employer's.  I hate spam.



___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Need Help

2008-03-03 Thread Waqas Toor
Hello All,

I am having a problem and unable to find any solution regarding that,
I have written an activity in using GTK and glade, and have sugarized
it according to the hello world tutorial in wiki. but still i dont
know what is going on as the icon of the activity stays in the ring
and then disappears after some time, i have rechecked my code again
and again and cant find any thing that is of Coding error


can anybody please see the log i am attaching and tell me is rainbow
stoping it ??

regards



-- 
Waqas Toor


org.laptop.sugar.QiratActivity-2.log
Description: Binary data
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Testing 200 XO's in two weeks time for Nepal's pilot

2008-03-03 Thread Sayamindu Dasgupta
On 3/4/08, Edward Cherlin [EMAIL PROTECTED] wrote:

.snipped

 You're talking about testing the keyboard layout and fonts. What about
 localization of software?

 According to Pootle, except possibly for XO-Bundled (89%), the Nepali
 localization is not in good shape. The rest of the modules are less
 than half translated, and Etoys less than 1%.

 Sayamindu, how many people do we have working on this? What
 organizations are involved? Why aren't there more?


As per user account stats in Pootle, we have five people signed up for
Nepali translations.

Thanks,
Sayamindu

-- 
Sayamindu Dasgupta
[http://sayamindu.randomink.org/ramblings]
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Need Help

2008-03-03 Thread Benjamin M. Schwartz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Waqas Toor wrote:
| Hello All,
|
| I am having a problem and unable to find any solution regarding that,
| I have written an activity in using GTK and glade, and have sugarized
| it according to the hello world tutorial in wiki. but still i dont
| know what is going on as the icon of the activity stays in the ring
| and then disappears after some time, i have rechecked my code again
| and again and cant find any thing that is of Coding error
|
|
| can anybody please see the log i am attaching and tell me is rainbow
| stoping it ??

You appear to have discovered a bug in Rainbow, which is dying with an
assertion failure.  Until Rainbow is fixed, you should do as Walter
suggested and disable Rainbow.

- --Ben
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHzOQBUJT6e6HFtqQRAp/UAJ43nJwJBbCSbZdBEOnPU9KAG7UAuQCfasdz
J571RBiFo6T5quGBz4BSAW8=
=2hyy
-END PGP SIGNATURE-
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


uucp for sneakernet (was Re: Emulating the School...]

2008-03-03 Thread Bennett Todd
2008-03-03T05:50:31 [EMAIL PROTECTED]:
 We are studying the Wizzy and all the UUCP related issues.

Don't know what Wizzy is, but _very_ glad to hear uucp is being
looked at for sneakernet[1]. It's been 10 years since I used
uucp, and that was for a truly baroque firewall; 20 years since
I've wielded uucp in anger; but it's the first place I'd turn for
sneaker-netting posix-ish systems together. Usenet was born on uucp,
and a _bunch_ of us olde beezers enjoyed hours-latency email via
polling dialup uucp via modems before we got internet connectivity.
In its dying days I remember doing uucp between MS-DOS and unix over
dialup with free software, so there's a lot of possibly helpful
dried-out bits we can probably dredge out of the storage bins for
re-assembling today.

If this (uucp exploration) goes anywhere, do please Cc me (or
[EMAIL PROTECTED] of course).

-Bennett

[1] sneakernet == delivering network transport over offline media
carried between disconnected computers


pgpMMy2KU4oYj.pgp
Description: PGP signature
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: Testing 200 XO's in two weeks time for Nepal's pilot

2008-03-03 Thread Edward Cherlin
On Mon, Mar 3, 2008 at 10:41 PM, Sayamindu Dasgupta [EMAIL PROTECTED] wrote:
 On 3/4/08, Edward Cherlin [EMAIL PROTECTED] wrote:

  .snipped


   You're talking about testing the keyboard layout and fonts. What about
   localization of software?
  
   According to Pootle, except possibly for XO-Bundled (89%), the Nepali
   localization is not in good shape. The rest of the modules are less
   than half translated, and Etoys less than 1%.
  
   Sayamindu, how many people do we have working on this?
  

  As per user account stats in Pootle, we have five people signed up for
  Nepali translations.

Is there a way for me to find out these things, or do I have to ask
you each time?

Is there a way for me to communicate with these five other than a
blast to the whole localization mailing list?

I asked two other questions:

   What organizations are involved?

   Why aren't there more?

Please take a look at the Recruiting Localizers section of the
Localization Wiki page. I want to see the same information for Nepali.
Do I need to do it myself, as I did for Khmer, or can I get some help?

Actually, I want to see the same kind of information for the 60 or so
languages in Pootle, and quite a few more. Is anybody willing? Having
some of you for each language and country spend a little of your time
on gathering information and recruiting others to the cause will get
us through much faster than keeping all your heads down and doing the
work with the few people we have now.


  Thanks,
  Sayamindu

  --
  Sayamindu Dasgupta
  [http://sayamindu.randomink.org/ramblings]




-- 
Edward Cherlin
End Poverty at a Profit by teaching children business
http://www.EarthTreasury.org/
The best way to predict the future is to invent it.--Alan Kay
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


squid problem

2008-03-03 Thread sulochan acharya
Hey Adrian,
I have a small problem with squid offline mode. I was hoping that you would
point me to right direction.

1. I can not access pages in offline_mode. Here is what i did:

on squid.conf i added

cachemgr_passwd none offline_toggle

then
squidclient mgr:offline_toggle---it said this

HTTP/1.0 200 OK
Server: squid/2.6.STABLE16
Date: Tue, 04 Mar 2008 06:53:39 GMT
Content-Type: text/plain
Expires: Tue, 04 Mar 2008 06:53:39 GMT
Last-Modified: Tue, 04 Mar 2008 06:53:39 GMT
X-Cache: MISS from sugaroffice.ole
X-Cache-Lookup: MISS from sugaroffice.ole:3128
Via: 1.0 sugaroffice.ole:3128 (squid/2.6.STABLE16)
Proxy-Connection: close

offline_mode is now ON


I closed my internet connection, and tried to access a page that i was
viewing earlier but no result

So, what am i missing? Is it something to do with routing? or cache-lookup
not being available.

Thanks in advance.

best,
Sulochan.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel