Multi-hop mesh network in MIT campus

From OLPC
Revision as of 10:01, 23 July 2008 by Meeg (talk | contribs)
Jump to navigation Jump to search

News

HowTo

Starting cerebroui

Start the Terminal activity and type:

./cerebroui

To stop cerebroui go back to the Terminal activity (F3) and press Ctrl+C

Updating your laptop

  • press ctrl+alt+F1 to go into a console.
  • check that you have a valid IP address that starts with 18. by typing the following (if not, please stop here and let me know):
ifconfig
  • Make sure you are root and you are in the /root directory (your console prompt should be a # and "pwd" should return "/root").
  • Given that you have a valid IP address, please type the following:
cd cerebro
git pull
./install.sh

If you get the following errors:
fatal: Entry 'install.sh' not uptodate. Cannot merge.
and
./install: No such file or directory
You need to delete install.sh so a new copy can be downloaded. In the same directory as before (/root/cerebro) type:

rm install.sh
git pull
./install.sh

and everything should work.


People's hacks

  • User:noahs
  • Quick'n'dirty way to register with the MIT network:
  1. Plug your USB ethernet adapter to another PC (which does not have an active internet connection)
  2. Register to the MIT network (using your web browser)
  3. Plug the ethernet adapter back to your XO (and wait a few mins for your registration to take effect)
  • Change Laptop Name, Color

To change your laptop's name (which others see in mesh view), or change the colors of your XO icon, go to Sugar Control Panel and go to the nickname and color sections. If you want to post your laptop's name so that other people in the study know that you are also in the study (and maybe a good person to try to chat/collaborate on a program with), list it here (completely optional). --Noah

  • Reacquire IP Address:
ifdown eth0
ifup eth0

This should help if for some reason you want to update your IP address or one is not being assigned. You must of course already be registered with the MIT network. --Fernando

  • I needed to install python-setuptools-devel before I could update Cerebro. Meeg 09:36, 8 July 2008 (UTC)

About

We are establishing a network of XO laptops to run experiments on campus and we would like to have as many laptops in East Campus and Senior House as possible. Other people from around the campus will eventually participate also, so this may be a good chance to chat with other users directly and possibly make new friends!


Participation terms

Would you like to participate? You will be able to use the laptop as much as you want, in (almost) any way you want, as long as you feed it (with power that is) and don't break its connection to the rest of the network. This means that the laptop must be constantly connected over ethernet cable for remote access (mainly for software updates), while the wireless network is used for communication with other laptops.


Termination

The laptop will be the property of OLPC and you may be asked to return at any time.


Network layout

The network in the end will look something like this: Network layout

More laptops may be added, depending on availability and position in campus.


Links

This is a zoom in on buildings 62 and 64 (the two parallel buildings of East Campus), building E2 (Senior House) and E15 (Media Lab). There is a slight chance to achieve connectivity with building NE18 (OLPC at 1CC) and building E55 (Eastgate).


http://whereis.mit.edu/map-jpg?zoom=level3;centerx=711622;centery=496093


Installation

The following set of instructions concerns building the XOs that are used in the MIT mesh testbed.

  • Install build version 708
  • Install git (requires internet connection):
yum -y install git python-setuptools.noarch
  • Install Cerebro:
cd /root/
git clone git://dev.laptop.org/projects/cerebro
cd cerebro
./install.sh

From Joyride

Current joyride builds have a cerebro package that interferes with parts of install.sh.

In a terminal:

su -
yum -y remove cerebro
yum -y install git python-setuptools-devel.noarch
git clone git://dev.laptop.org/projects/cerebro
cd cerebro
./install.sh

Reboot.