Multi-hop mesh network in MIT campus: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
==News==
==News==
* Checkout the status page: http://lyme.media.mit.edu/cgi-bin/one.cgi
* Check out the status page: http://lyme.media.mit.edu/cgi-bin/one.cgi

==How To==
===Ethernet configuration===
# Plug your USB ethernet adapter into another PC (which does not have an active internet connection)
# Register to the MIT network (using your web browser)
# Plug the ethernet adapter back to your XO (and wait a few mins for your registration to take effect)

To verify that your XO is connected to the MIT network, run "ifconfig" in a terminal. One of the network addresses listed (usually the one for eth0) should start with 18.

To get a new IP address without rebooting:
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.

===Installation===
If you update the XO operating system (using [[olpc-update]]), you need to reinstall Cerebro from scratch. You must have a working Ethernet connection to do this.

In a terminal:
<pre>
su -
yum -y remove cerebro
yum -y install git python-setuptools python-devel
git clone git://dev.laptop.org/projects/cerebro
cd cerebro
./install.sh
</pre>
Reboot to start Cerebro and the tracking client.


==HowTo==
=== Starting cerebroui===
=== Starting cerebroui===
Start the Terminal activity and type:
Start the Terminal activity and type:
./cerebroui
./cerebroui

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

With Cerebro version 2.9.7 and later (July 23), you should use "cerebroui" instead of "./cerebroui".


=== Updating your laptop ===
=== Updating your laptop ===
* press ctrl+alt+F1 to go into a console.
* press ctrl+alt+F1 (F1 is the Neighborhood key, with eight dots) 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").
*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:
* Given that you have a valid IP address, please type the following:
cd cerebro
cd cerebro
git pull
git pull
./install
./install.sh


If you get the following errors:<br>
If you get the following errors:<br>
Line 27: Line 54:
./install.sh
./install.sh
and everything should work.
and everything should work.



== People's hacks ==
== People's hacks ==
* [[User:noahs]]
* [[User:noahs]]
* [[User:meeg]]
* Quick'n'dirty way to register with the MIT network:
# Plug your USB ethernet adapter to another PC (which does not have an active internet connection)
# Register to the MIT network (using your web browser)
# Plug the ethernet adapter back to your XO (and wait a few mins for your registration to take effect)
* Change Laptop Name, Color
* 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
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
*You can change your Cerebro profile (the information displayed in the Cerebro UI) by editing /root/cerebro/gui/profile.
* Reacquire IP Address:
*File storage (profile picture, shared files) is now /media/mmc2/tmp/cerebro/, not /tmp/cerebro/ as before.
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


== About ==
== 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!
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 ===

== 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.
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 ===

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


=== Network layout ===

== Network layout ==
The network in the end will look something like this: [http://maps.google.com/maps/ms?hl=en&gl=us&ptab=2&ie=UTF8&oe=UTF8&msa=0&msid=116432384591811010127.00044f046ce8f6f83aae3 Network layout]
The network in the end will look something like this: [http://maps.google.com/maps/ms?hl=en&gl=us&ptab=2&ie=UTF8&oe=UTF8&msa=0&msid=116432384591811010127.00044f046ce8f6f83aae3 Network layout]

Currently the network is centered around 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).


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



==Links==
==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 whereis.mit.edu view of East Campus/Media Lab area]

http://whereis.mit.edu/map-jpg?zoom=level3;centerx=711622;centery=496093
*[http://lyme.media.mit.edu/cgi-bin/one.cgi Status page]
*[http://mailman.mit.edu/mailman/listinfo/mit-mesh Mailing list]


== 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

Latest revision as of 05:16, 25 July 2008

News

How To

Ethernet configuration

  1. Plug your USB ethernet adapter into 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)

To verify that your XO is connected to the MIT network, run "ifconfig" in a terminal. One of the network addresses listed (usually the one for eth0) should start with 18.

To get a new IP address without rebooting:

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.

Installation

If you update the XO operating system (using olpc-update), you need to reinstall Cerebro from scratch. You must have a working Ethernet connection to do this.

In a terminal:

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

Reboot to start Cerebro and the tracking client.

Starting cerebroui

Start the Terminal activity and type:

./cerebroui

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

With Cerebro version 2.9.7 and later (July 23), you should use "cerebroui" instead of "./cerebroui".

Updating your laptop

  • press ctrl+alt+F1 (F1 is the Neighborhood key, with eight dots) to go into a console.
  • 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

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

  • You can change your Cerebro profile (the information displayed in the Cerebro UI) by editing /root/cerebro/gui/profile.
  • File storage (profile picture, shared files) is now /media/mmc2/tmp/cerebro/, not /tmp/cerebro/ as before.

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

Currently the network is centered around 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).

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

Links