Home
 
Bay Area Linux Events

User login

Request an account

Like to set up a new account on this site? Request for one now.


Hop, skip and jump

Hop, skip and jump
Submitted by sverma on Tuesday, February 19, 2008 - 12:33 OLPC | SFSU | XO

At the previous meeting for OLPC enthusiasts at SF State, we ran a test where we took three XO laptops and walked to locations on campus where the three were aligned as follows:

  • A can talk to B
  • B can talk to C

A cannot talk to C directly, because the distance between the two is too much for XO's Wi-Fi radios - they cannot "see" each other directly. At this point, we set up pings to see if data sent from A would get to C and it did! In spite of the fact that A cannot see C on the radio, it can see B, so the packets hop off the XO in the middle and reach out to C. Well, this is no surprise because this is how the XO mesh is supposed to work.

 

a-b-c-hop
A-B-C hop
 
Andrew Johnson and Chris Raleigh laying out the mesh

I recreated the experiment at home by borrowing an XO unit from Bonnie Homan (thanks, Bonnie!)

  • I set up one link between an XO in my car (A) and another one at home (B). The XOs barely managed to ping each other.
  • Then I added a third XO to the mix (C) and started pinging A while I was standing next to B.
  • At this point, I fired up another Terminal activity and used tracepath to capture hop info. A to C was one hop.
  • Next, I walked away from B so as to get further away from A and B.
  • Sure enough, at one point, the pings stopped...and picked up again. This time tracepath showed two hops! 

In the following screenshots, you can see the hops change back from 2 to 1 as I come back inside the house. The moment C is able to see A directly, it stops hopping via B. It self-configures. Self-heals. The word "organic" comes to mind (hey, I live in California).

For the following screenshots, A is 169.254.6.215 B is 169.254.9.4 and C is 169.254.4.206 

xo-hop-ping
pinging
xo-hop-tracepath
tracepath

 

 



 


This website runs on Drupal, an open source content management system available at http://drupal.org/. All content posted here is the property of individual posters.

This website is hosted at:

San Francisco State University, 1600 Holloway Avenue, San Francisco, CA 94132 USA